Skip to content

Releases: swisnl/json-api-client

1.3.2

28 Oct 12:02
89943d7
Compare
Choose a tag to compare

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

22 Oct 07:58
97600c0
Compare
Choose a tag to compare

Fixed

  • Do not prepend the base uri if the endpoint is already absolute #82.

1.3.0

25 Sep 14:54
78423d2
Compare
Choose a tag to compare

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

16 Sep 13:19
1357cac
Compare
Choose a tag to compare

Added

  • Added support for Laravel 8 #81.

1.1.1

05 Aug 17:12
bebca08
Compare
Choose a tag to compare

Fixed

  • Document, Jsonapi, Links and Meta classes will be serialized as object when empty.
  • Properly handle relations without data #78.

1.1.0

06 Mar 11:02
ce8fe8f
Compare
Choose a tag to compare

Added

  • Added support for Laravel 7 #75.

1.0.2

02 Dec 13:55
19694c7
Compare
Choose a tag to compare

Fixed

  • Do not break out of loop when hydrating relations #71.

1.0.1

21 Nov 13:41
53f5d74
Compare
Choose a tag to compare

Fixed

  • Do not require error links object to contain an about member #69.

1.0.0

18 Nov 08:48
d5ebbc2
Compare
Choose a tag to compare

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

30 Sep 08:51
Compare
Choose a tag to compare

Fixed

  • Fixed parsing of empty singular relationships #63.