Releases: swisnl/json-api-client
Releases · swisnl/json-api-client
2.0.0
04 Jan 08:03
Compare
Sorry, something went wrong.
No results found
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.
2.0.0-beta
01 Jul 17:52
Compare
Sorry, something went wrong.
No results found
Please see UPGRADING for details on how to upgrade.
Added
Added Item::mergeAppends, Item::mergeCasts, Item::mergeFillable and Item::mergeGuarded.
Changed
Renamed Item::addHidden to Item::makeHidden.
Merged Item::addVisible and Item::withHidden into Item::makeVisible.
Changed visibility of Item::getAttributeValue to public.
The item's toArray method will now cast any attributes that implement Illuminate\Contracts\Support\Arrayable to an array.
The item's newInstance method will now copy the type of the original item.
Removed
Dropped Laravel <6 and PHP <7.2 support.
Removed jenssegers/model dependency and added the classes into the package.
Removed unintended array access to internal properties on the item (e.g. $item['attributes']).
Extracted Laravel parts (config, service provider and facades) into swisnl/json-api-client-laravel .
1.3.3
18 Jan 09:45
Compare
Sorry, something went wrong.
No results found
1.3.2
28 Oct 12:02
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Fixed
Do not prepend the base uri if the endpoint is already absolute #82 .
1.3.0
25 Sep 14:54
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Added
Added support for Laravel 8 #81 .
1.1.1
05 Aug 17:12
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
Added
Added support for Laravel 7 #75 .
1.0.2
02 Dec 13:55
Compare
Sorry, something went wrong.
No results found
Fixed
Do not break out of loop when hydrating relations #71 .