All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed Ruby 2.7 deprecation warnings
- Added
inertia_partial?
method - Fixed homepage in the gemspec
- Make the InertiaRails module data threadsafe
- Fix a typo in the README (inertia only has 1 t!)
- Added request.inertia? method
- Added patches to allow Rails errors to show properly in the inertia modal
- Fixed a middleware issue caused by a breaking change in Rack v2.1.*
- Change page url to use path instead of url
- Moved Inertia Share logic to a before_action to ensure it runs on every request
- Added rspec helpers
- Make sure that
inertia_share
properties are reset before each request
- Switches mattr_accessor defaults to block syntax to allow pre Rails 5.2 compatibility
- Allow
Intertia.share
within a controller to access controller methods
- Initial release