v1.0.0-beta.4
Pre-release
Pre-release
·
104 commits
to main
since this release
Added
- Add support for generating OpenAPI Definitions
- Add
CollectionActionandResourceActionendpoints - Allow including relationships by default (#96 by @SychO9)
- Add support for conditional linkage (#110 by @SychO9)
- Add
Enumsupport toStrtype - Add the ability to make a field
sparseby default - Add the ability to add
aftercallbacks to theCreateendpoint - Add the ability to pass a condition to
writableOnCreate - Add
Relationship::notIncludable() - Allow
psr/http-messagev2 - Laravel: Add
ToOneandToManysubclasses which support constraining relationship queries (#103 by @SychO9) - Laravel: Support array of abilities in
canhelper
Changed
- Laravel:
EloquentCollectionqueries now keep the resource'sEloquent\Builderinstead of converting to the baseQuery\Builder - Laravel: Apply
EloquentResourcescope when applyingWhereHasfilter
Fixed
- Fix error when request body
data.attributesis null (#98 by @SychO9) - Fix support for nested includes on polymorphic relationships
- Fix
multipleOfbugs (#114 by @bertramakers) - Fix error when using
Context::withRequest(#107 by @SychO9) - The
selflink for a resource now only appears if theShowendpoint is present in a collection - Laravel: Support dynamically resolved relationships (#100 by @SychO9)
- Laravel: Fix serialization for
MorphTorelationships (#97 by @SychO9) - Laravel: Only attempt to preload related
EloquentResources - Laravel: Fix error parameter name in
WhereBelongsTofilter - Laravel: Fix limiting
ToManyrelation results (#112 by @SychO9)