Releases: swisnl/json-api-client
Releases · swisnl/json-api-client
1.3.2
Fixed
- The service provider will not set the base uri if it's empty. This allows you to set it in a custom container binding without using the config file.
1.3.1
Fixed
- Do not prepend the base uri if the endpoint is already absolute #82.
1.3.0
Added
- Added factory methods to
DocumentClient
, ResponseParser
and DocumentParser
. This will make it easier to use these without an IOC container. See the (updated) readme for usage instructions. #79
1.2.0
Added
- Added support for Laravel 8 #81.
1.1.1
Fixed
Document
, Jsonapi
, Links
and Meta
classes will be serialized as object when empty.
- Properly handle relations without data #78.
1.1.0
Added
- Added support for Laravel 7 #75.
1.0.2
Fixed
- Do not break out of loop when hydrating relations #71.
1.0.1
Fixed
- Do not require error links object to contain an about member #69.
1.0.0
The first stable release! 🎉 This release includes some bugfixes and changes in order to align with the specification.
Changed
- Reworded
ValidationException
messages to align them with the wordings used in the specification.
DocumentParser
throws a ValidationException
when it encounters duplicate resources #64.
TypeMapperInterface
and TypeMapper
are now registered as the same singleton #65.
Fixed
ItemHydrator
unsets a relation when null (singular) or empty array (plural) instead of hydrating a relation with id null
#67.
1.0.0-beta.3
Fixed
- Fixed parsing of empty singular relationships #63.