All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.4.1 - 2017-03-06
0.4.0 - 2017-03-05
- #106: Convert snake_case into camelCase when calling a relationship method. (@ustrugany)
- #94: Properly support empty to-one relationships.
- #99: Omit attributes on resource identifier objects. (@anthonyhendrickson)
- #103: Prevent resource relationships from being built twice per resource.
- #110: Omit empty attributes on resources. (@f3ath)
0.3.0 - 2016-03-31
- #79, #81: Allow serializers to add links and metadata to resources. (@bwaidelich)
- #62: Allow PHPUnit 5.0. (@vinkla)
- #85: Allow creation of relationships without data. (@josephmcdermott)
- #65: Convert kebab-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)
0.2.1 - 2015-11-02
- Improve performance when working with large numbers of resources
0.2.0 - 2015-10-30
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.
0.1.1 - 2015-08-07
- Rename abstract serializer
- Initial release