Skip to content

v0.4.0 - JSONAPI 1.0

Choose a tag to compare

@lgebhardt lgebhardt released this 10 Jun 15:53
· 1129 commits to master since this release

This is a fairly substantial set of changes made to comply with JSONAPI 1.0. Expect that using this release will significantly change the behavior of your app.

Major Changes

  • JSON Serializer Output has been updated
  • Payload format for CRUD has been updated to JSONAPI 1.0 format. The older request format will now produce errors.
  • Includes now include intermediate resources, per the spec
  • ValueFormatters no longer accept a context parameter
  • Fixed the order of events related to saving a resource
  • Fix paged based pagination issue page limits
  • Fixed issue with N+1 queries being run for included resources
  • Controller logic moved to ActsAsResourceController module (does not break backwards compatibility)
  • Fixed issue with primary key names
  • All controller actions converted to Operations
  • Top level meta information procedure created
  • updateable Resource method has been deprecated in favor of updatable
  • createable Resource method has been deprecated in favor of creatable