- Configurable logger and logsubscriber for instrumented events.
- Default configuration and hooks for the
meta
parameter. - Default configuration and hooks for the
cache
parameter. - Default configuration and hooks for the
links
parameter. - Default configuration and hooks for the
fields
parameter. - Default configuration and hooks for the
include
parameter.
- Broken default inferrer.
- Broken initializer generator.
- Default configuration and hooks for the
class
parameter (for resources and errors). - Default configuration and hooks for the
expose
parameter. - Default configuration and hooks for the
jsonapi_object
parameter. - Default configuration and hooks for pagination links.
- Support for errors rendering.
- Automatic
ActionController::Errors
serialization.
- Automatic
- Add configuration and initializer generator (
$ rails g jsonapi:initializer
). - Fragment caching.
- Deserialization reverse-mapping available in controller via
jsonapi_pointers
.
class
renderer parameter now always takes a hash/lambda.- Rename
JSONAPI::Rails::ActionController
toJSONAPI::Rails::Controller
.
namespace
andinferrer
renderer parameter.