- Use a string key instead of a symbol key to copy the request body to a
_jsonapiparam. - Only test against Rails 7.0.0 and Ruby 3.x.
- Changed the Railtie to copy the request body to a
_jsonapiparam, rather than moving it.
- Renamed the base import file back to lib/jsonapi/rails.rb in order for bundler to correctly require the gem.
- Renamed base JSONAPI::Rails module to JSONAPI::RailsIntegration for compatibliity with the jsonapi-resources gem.
- Configurable logger and logsubscriber for instrumented events.
- Default configuration and hooks for the
metaparameter. - Default configuration and hooks for the
cacheparameter. - Default configuration and hooks for the
linksparameter. - Default configuration and hooks for the
fieldsparameter. - Default configuration and hooks for the
includeparameter.
- Broken default inferrer.
- Broken initializer generator.
- Default configuration and hooks for the
classparameter (for resources and errors). - Default configuration and hooks for the
exposeparameter. - Default configuration and hooks for the
jsonapi_objectparameter. - Default configuration and hooks for pagination links.
- Support for errors rendering.
- Automatic
ActionController::Errorsserialization.
- Automatic
- Add configuration and initializer generator (
$ rails g jsonapi:initializer). - Fragment caching.
- Deserialization reverse-mapping available in controller via
jsonapi_pointers.
classrenderer parameter now always takes a hash/lambda.- Rename
JSONAPI::Rails::ActionControllertoJSONAPI::Rails::Controller.
namespaceandinferrerrenderer parameter.