Skip to content

Releases: swisnl/json-api-client

2.6.0

28 May 08:52
bc603c0
Compare
Choose a tag to compare

Added

2.5.0

24 Feb 08:12
95a489b
Compare
Choose a tag to compare

Added

Removed

  • Dropped PHP <8.0 support.

2.4.0

15 May 07:18
d1a8e31
Compare
Choose a tag to compare

Added

  • Added the ability to send headers through repositories #103 (thanks @rapkis).

2.3.2

05 Mar 08:09
190554f
Compare
Choose a tag to compare

Added

  • Added support for Laravel 11 #101.

2.3.1

04 Sep 14:48
3997963
Compare
Choose a tag to compare

Added

2.3.0

14 Feb 19:54
33ae6d3
Compare
Choose a tag to compare

Added

  • Added support for Laravel 10 #99.

Removed

  • Dropped PHP <7.4 support.
  • Dropped Laravel <8 support #99.

2.2.0

08 Sep 07:18
295d69c
Compare
Choose a tag to compare

Added

  • Added getData method on relationships to get the relationship data #97.

Fixed

  • Fix relationship data meta issue #97.

2.1.0

17 Aug 10:00
5eed90e
Compare
Choose a tag to compare

Changed

  • The Repository is split up into one trait per action #91. This allows you to build your own repository by extending the BaseRepository and including just the actions/traits you need. See the (updated) readme for usage instructions. The Repository now uses these new traits and should be fully backwards compatible.

Fixed

  • Fix ParamNameMismatch issue #96.

2.0.1

08 Feb 19:52
746a431
Compare
Choose a tag to compare

Added

  • Added support for Laravel 9.

Fixed

  • Temporarily suppress PHP 8.1 notices about inconsistencies with interfaces.

2.0.0

04 Jan 08:03
b353de4
Compare
Choose a tag to compare

Please also check the changes in 2.0.0-beta and see UPGRADING for details on how to upgrade.

Changed

  • All classes now use strict typing #93.
  • All JSON-actions (json_encode and json_decode) will throw JsonExceptions on error #94.

Removed

  • Dropped PHP <7.3 support.