Releases: dynamiccast/sails-json-api-blueprints
Releases · dynamiccast/sails-json-api-blueprints
0.12.0
0.11.6
Sails.js integration
- Call
.toJson
prior to serialization
0.11.5
Sails.js integration
- Fix race condition if model had more than one many to many associations to save
- Fiz serializer was expecting input data to have relationships even if they did not
- Fix bug null attributes were detected as relationships
- Fix update requests did not go through global policies
0.11.1
JSON API
- Included record's relationships are ignore in returned payload
Sails.js integration
- Optimize the way relationship are updated by removing potential race condition
0.11.0
This release includes experimental support for relationship
JSON API
- Automatically serialize records as included relationships when retrieved with
populate
Sails.js integration
- Update given relationships on update (PATCH)
0.10.2
Sails.js integration
Fix payload was not deserialized before calling default blueprint for updates (PATCH)
0.10.0
Sails.js integration
Fix create() not working if primaryKey was different from id
0.9.0
0.8.0
Sails.js integration
Fix PATCH method not working if sails.config.blueprints.prefix was set
0.7.0
Sails.js integration
- Waterline validation errors returns valid JSON API error objects
- Validate input data and PATCH and POST before treating them
- Allow to configure resources attributes' keys case for both sails model and JSON API serialized form
Repository
- Add tests for JsonApiService