Releases: Ark4ne/laravel-json-api
Releases · Ark4ne/laravel-json-api
v1.2.1
19 Dec 20:37
Compare
Sorry, something went wrong.
No results found
Fixes
Merge values: don't erase concrete values by missing value when merge values
v1.2.0
27 Sep 21:16
Compare
Sorry, something went wrong.
No results found
v1.2.0
Added
Implement described notation
Implement applyWhen, Unlike mergeWhen, applyWhen keeps the keys even when the condition is not met.
Breaking change
Resources\Concerns\Identifier::toType: by default return type computed from resource class insteadof model class
v1.1.10
12 Sep 15:11
Compare
Sorry, something went wrong.
No results found
Added
Conditionally loads fields
v1.1.9
09 Jun 13:27
Compare
Sorry, something went wrong.
No results found
Fixes
JsonApiResource::toArray don't filter on type and id
v1.1.8
01 Jun 13:40
Compare
Sorry, something went wrong.
No results found
Add
Skeleton::class present skeleton of a JsonApiResource::class
Changes
@deprecated Support\With is replaced by Support\Arr
Resources\Schema::schema return Skeleton
Resources\SchemaCollection::schema return Skeleton
Fixes
JsonApiResource::toArray return true deep array
Support\Includes when request has empty parameter include
v1.1.7
11 May 09:35
Compare
Sorry, something went wrong.
No results found
Fixes
Request rules: fix $failures not initialized
v1.1.6
11 May 09:02
Compare
Sorry, something went wrong.
No results found
Fixes
Request rules: check type of value before assert
v1.1.5
28 Apr 15:37
Compare
Sorry, something went wrong.
No results found
Fixes
Relationships::mapRelationships when data is empty
v1.1.4
27 Apr 09:59
Compare
Sorry, something went wrong.
No results found
Changes
phpstan lvl 6 compliant
Schema safe instantiate self for structure generation
Relationships allow conditional relation
Fixes
Schema correct handle attributes
v1.1.3
26 Apr 15:43
Compare
Sorry, something went wrong.
No results found
Added
Includes::includes return the remaining includes for current resource
Fixes
FakeModel implement correctly ArrayAccess (add missing return type on offsetGet)