Skip to content

Releases: sane/sails-hook-jsonapi

v0.0.4

21 Aug 13:38
Compare
Choose a tag to compare

Adds support for creating, updating and deleting resources. CRUD on resources is now implemented. There is just one limitation: If you update a resource which has a to-many relationship but you don't updated that one, the relationship is neither included as related link nor as resource linkage.

Adds support for sort (descending, multiple fields) and filter on fetching resources.

Including related resources as attributes has been dropped since it's not covered by spec. Therefore include option has been removed and compoundDoc changed behavior. Details are provided in #10.

v0.0.3

04 Apr 12:37
Compare
Choose a tag to compare

This release is courtesy of @jelhan.

  • Upgraded to jsonapi-serializer ^2.1.0
  • Set correct content type

v0.0.2

23 Feb 02:39
Compare
Choose a tag to compare

Thanks to @listepo, this release adds support for node < 4, updates some dependencies, and adds some build infrastructure.