Skip to content

Releases: floor9design-ltd/json-api-formatter

Minor bug fixes/maintenance

18 Feb 01:15

Choose a tag to compare

Bug fix: improved the reset to avoid issues with the jsonapi object being encoded poorly.

Improvements to relationships

21 Oct 17:53

Choose a tag to compare

Added a fix to the relationships process method that fixes a bug in single data resource outputs.

Fix to bug in Relationships object

29 Jul 12:31

Choose a tag to compare

This fixes the Relationship::process method.

Packagist sync

20 Jul 18:21

Choose a tag to compare

Quick release fixing the version numbers as it de-synced with packagist.

Improved relationships

20 Jul 18:08

Choose a tag to compare

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

17 Mar 20:10

Choose a tag to compare

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

25 Feb 19:12

Choose a tag to compare

Added validation to DataResource objects as per the JSONAPI spec.
Also improved documentation.

1.3.0 Adding phpunit 10 support

20 Feb 11:16

Choose a tag to compare

Following phpunit v10, this now supports v9|10.

1.2.5 More fixes to advanced Error responses

03 Feb 18:26

Choose a tag to compare

Ongoing fixes to the Error responses

1.2.4 More fixes to advanced Error responses

03 Feb 15:39

Choose a tag to compare

Completed all possible advanced properties for Error responses. Added improved documentation.