Releases: open-southeners/laravel-apiable
Releases · open-southeners/laravel-apiable
1.3.1
1.3.0
1.2.0
1.1.0
Added
AllowedFilter::scoped
method for Laravel query scopes filters to specify the filter is not an actual attribute but a query builder scopeenforce_scoped_names
toconfig/apiable.php
to be used so they rename scoped filters in case there are attributes with the same name on the model (remember to usevendor:publish
artisan command to update the config file)include_allowed
toconfig/apiable.php
to be used so anyJsonApiResponse
will include allowed filters and sorts (like usingJsonApiResponse::includeAllowedToResponse
but on all requests)AssertableJsonApi::hasNotAttribute
andAssertableJsonApi::hasNotAttributes
methods for negative test assertions (counter part ofAssertableJsonApi::hasAttribute
andAssertableJsonApi::hasAttributes
)
Fixed
- Scoped filters now can be allowed & applied to requested response
- Issue with
allowAppends
&allowFields
sending array of attributes will wrongly parse them
1.0.2
1.0.1
1.0.0
Removed
- Custom transformers (out of package scope / purpose)
Fixed
- Method
allowIncludes
adds nested array which leads into issues
Changed
- Model setup not needed (
OpenSoutheners\LaravelApiable\JsonApiOptions
replaced byOpenSoutheners\LaravelApiable\Facades\Apiable::modelResourceTypeMap
facade method)
Added
- Support for laravel/scout
- Support for hammerstone/fast-paginate