Releases: floor9design-ltd/json-api-formatter
Minor bug fixes/maintenance
Improvements to relationships
Added a fix to the relationships process method that fixes a bug in single data resource outputs.
Fix to bug in Relationships object
This fixes the Relationship::process method.
Packagist sync
Quick release fixing the version numbers as it de-synced with packagist.
Improved relationships
Improved relationships
Identified and fixed a bug which was outputting invalid JSONAPI.
The fix
Relationships is an object made of different Relationship objects. This now correctly outputs as an object instead of an array.
2.0.0 Release
Version 2 launch
This is a major update to the json-api-formatter that hugely improves the system.
It's had a substantial upgrade and re-write. Classes are better formed, with better validation and structure.
This offers formal support for v.1.1 of the JSON API spec.
Changes
There are likely to be breaking changes, as many json elements have been upgraded to objects from elements such as arrays.
However, the upgrade process should not take long - the upgrades are simple and offer improved or identical functionality.
The documentation is substantially improved - but as always, these things are work in progress.
Please refer to the documentation. There are numerous examples, as well as class based examples and tests specifically to show how it all works.
Left to do in v.2
Some documentation is left to be done, and this will be completed on master as soon as possible.
1.3.1 Improvements to DataResource objects
Added validation to DataResource objects as per the JSONAPI spec.
Also improved documentation.
1.3.0 Adding phpunit 10 support
Following phpunit v10, this now supports v9|10.
1.2.5 More fixes to advanced Error responses
Ongoing fixes to the Error responses
1.2.4 More fixes to advanced Error responses
Completed all possible advanced properties for Error responses. Added improved documentation.