All notable changes to laravel-fractal
will be documented in this file
- Fix wrongly tagged commit
- Laravel 5.5 support, dropped support for all older versions
- renamed config file from
laravel-fractal
tofractal
- added auto-includes
- add
default_paginator
to config file
- add
fractal_class
to config file
- Add baseUrl support for the JsonApi serializer
- Nothing changed! Something went wrong with tagging the last version so we had to bump the version a bit?
- Fixes bug where a passed serializer wouldn't be used
- Add compatiblity with fractal 0.16 through fractalistic 2.0
- Add compatiblity with Lumen
- Fix resolving
Fractal::class
out of the container
- Add support for passing paginators to the
data
argument offractal()
- Bind
laravel-fractal
as a singleton
- Add support for Laravel 5.4
- Improve descriptions of generator command
- Allow closures to be used as serializers
- Fixed missing namespace import in Fractal
- The facade will now use the configured serializer
- Fix wrong implementation of the
respond
method.
If you encounter errors when upgrading from 3.1.0
to this version, replace all usages of Spatie\Fractal\Response
by Illuminate\Http\JsonResponse
. All calls to the headers
method on that class should be replaced by withHeaders
.
- Add
respond
method
- Fix dependencies in
composer.json
- Make use of
spatie/fractalistic
- Add
make:transformer
artisan command.
- Made compatible with fractal
0.14
- Improvements to the
fractal
-helper function. - Added excludes
- Added L5.3 compatibility
- Added support for cursors
- The
Fractal
-class now implements theJsonSerializable
-interface
- Fixed a bug when passing a null value to parseIncludes
- Fixed bug when adding multiple includes in one go
- Fix for adding multiple includes in one go.
** this version contains a bug when adding multiple includes in one go, please upgrade to v1.7.3 **
- Fix for setting the default_serializer as an instantiation in Lumen
- Allow default_serializer to be set as an instantiation
- Dependency version number of fractal in composer.json
- Compatiblity with version v0.13 of Fractal
Please not that the output of JsonApiSerializer
has been changed in v0.13 of Fractal.
- Support for including meta data
- Pagination methods
- Custom resource names
- Support for Lumen
- Methods to use includes
- Create data method
- Made the
getResource
-function public
- Initial release