Skip to content

JSONAPI RC2b

Pre-release
Pre-release
Compare
Choose a tag to compare
@lgebhardt lgebhardt released this 23 Mar 17:32
· 1375 commits to master since this release

More changes for JSONAPI RC2 compliance. Since the JSONAPI RC has changed some of these changes will break code built with the v0.2.0 release.

As JSONAPI 1.0 isn't fully locked down there may be more changes. In addition this project may still be missing some changes to be fully compliant with the current draft. Please raise an issue if you find that's the case.

Changes:

  • Removes support for Ruby 1.9
  • Updates to README
  • Allow {"data":null} to clear has-one relationship
  • Fetching multiple resources by ids has been removed
  • linked key has been renamed included
  • resource key has been renamed related
  • PATCH is now used for updates
  • Adds new records_for method to allow overriding the process of fetching related resource records
  • General code cleanup

Bug fixes:

  • Routes were being generated wrong for associations
  • Fields and includes formats were not being enforced for non underscored keys