Releases: open-southeners/laravel-apiable
Releases · open-southeners/laravel-apiable
3.14.2
3.14.1
Fixed
- Performance degradation issue on serialisation (infinite loop on nested includeds)
3.14.0
Added
- Laravel 11 support
3.13.3
Fixed
- Raw response without pagination returning query builder
3.13.2
Added
- Raw response formatting to
JsonApiResponse
3.13.1
Added
- Type generics into:
OpenSoutheners\LaravelApiable\Http\JsonApiResponse
OpenSoutheners\LaravelApiable\Http\RequestQueryObject
OpenSoutheners\LaravelApiable\Http\Resources\JsonApiResource
OpenSoutheners\LaravelApiable\Http\Resources\JsonApiCollection
OpenSoutheners\LaravelApiable\Contracts\ViewQueryable
OpenSoutheners\LaravelApiable\Contracts\ViewableBuilder
3.13.0
Added
Handler::withHeader
(used asapiable()->jsonApiRenderable()->withHeader
) to add headers to JSON errors
3.12.0
Added
- Includes relationships counts with
tags_count
(needs to end with_count
). E.g:
JsonApiResponse::using(Post::class)->allowInclude(['tags_count']);
// Then request this with ?include=tags_count
Fixed
- Some IDEs getting confused with returning
self
types in traits (replaced tostatic
)
3.11.5
Changed
- Fix
open-southeners/laravel-helpers
utilities package version constrain so other packages can use similar versions under the same major release
3.11.4
Fixed
- Query
withCount
method usage with apiable is replacing the underlying added selects for these counts