This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Releases: tobyzerner/json-api-php
Releases · tobyzerner/json-api-php
v0.4.1
v0.4.0
Added
Changed
- #106: Convert snake_case into camelCase when calling a relationship method. (@ustrugany)
Fixed
v0.3.0
Added
- #79, #81: Allow serializers to add links and metadata to resources. (@bwaidelich)
Changed
- #62: Allow PHPUnit 5.0. (@vinkla)
- #85: Allow creation of relationships without data. (@josephmcdermott)
Fixed
- #65: Convert snake-case into camelCase when calling a relationship method. (@avoelpel)
- #70: Include related resources even if relationship is not listed in sparse fieldset. (@Damith88)
- #72: Return
null
inParameters::getLimit
if no limit is set. (@byCedric) - 46142e5: Prevent primary "data" resources from showing up again in the "included" array. (@tobscure)
v0.2.1
- Improve performance when working with large numbers of resources
v0.2.0
Completely rewrite to improve all the things.
- Resources and Collections now contain data and are responsible for serializing it when they are converted to JSON-API output (whereas before serializers were responsible for creating concrete Resources/Collections containing pre-serialized data). Serializers are now only responsible for building attributes and relationships. This is a much more logical/testable workflow, and it makes some really cool syntax possible!
- Support for sparse fieldsets.
- Simplified relationship handling.
- Renamed Criteria to Parameters, add validation.
- Added ErrorHandler for serializing exceptions as JSON-API error documents.
- Updated docs.
- Wrote some tests.
- It should go without saying that this is not at all backwards-compatible with 0.1.
v0.1.1
- Rename abstract serializer
v0.1.0
Initial testing release