Releases: ellipsesynergie/api-response
Releases · ellipsesynergie/api-response
Add support for custom headers for errors, item and collection
You can now pass custom headers in every methods.
Bump fractal version to 0.13
Bump fractal version
Remove usage of facade for Lumen implementation
0.10.1 Remove usage of facade for Lumen
Add support for Lumen 1.0
0.10.0 Release 0.10
Add support for Laravel 5
- Add support for Laravel 5
- Remove support for Laravel 4
- Bump fractal version to 0.12.*
Bump fractal version to 0.11
0.8.0 Bump the fractal version
Add support for custom resource key
This release contain breaking change if you use meta in the following method :
Response::api()->withPaginator($paginator, $transformer, $meta)
is nowResponse::api()->withPaginator($paginator, $transformer, $resourceKey, $meta)
Response::api()->withItem($data, $transformer, $meta)
is nowResponse::api()->withItem($data, $transformer, $resourceKey, $meta)
Response::api()->withCollection($data, $transformer, $cursor, $meta)
is nowResponse::api()->withCollection($data, $transformer, $resourceKey, $cursor, $meta)
You can now set the $resourceKey for your custom Serializer.
Bump fractal 0.8.0 to 0.9.0
0.5.0 Bump fractal version to 0.9
Add laravel paginator support
0.4.0 Update comment
Bump fractal 0.7.0 to 0.8.0
See https://github.com/thephpleague/fractal/releases/tag/0.8.0 for fractal changelog. This release is only to update the version of fractal and be compatible with it.