All notable changes to laravel-fractal
will be documented in this file
- fix: wrong
return
annotation by @Mohammad-Alavi in #258
- @Mohammad-Alavi made their first contribution in #258
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.2.0...6.2.1
- Auto excludes by @simondotwhite in #253
- @simondotwhite made their first contribution in #253
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.1.0...6.2.0
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #247
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in #248
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in #249
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #250
- Bump actions/checkout from 3 to 4 by @dependabot in #251
- Laravel 11.x Compatibility by @laravel-shift in #254
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.3...6.1.0
- Add Dependabot Automation by @patinthehat in #237
- Bump actions/checkout from 2 to 3 by @dependabot in #239
- Add PHP 8.2 Support by @patinthehat in #238
- Fix broken tests by @patinthehat in #240
- Refactor tests to pest by @AyoobMH in #244
- Laravel 10.x Compatibility by @laravel-shift in #245
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #246
- @patinthehat made their first contribution in #237
- @dependabot made their first contribution in #239
- @AyoobMH made their first contribution in #244
- @laravel-shift made their first contribution in #245
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.2...6.0.3
- Make stubs compatible with the latest
league/fractal
version by @osbre in #226
- @osbre made their first contribution in #226
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.1...6.0.2
- Updated compose.json to handle with previous version by @deniscsz in #221
- @deniscsz made their first contribution in #221
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.0...6.0.1
- Add support for Laravel 9
- Fix style by @ahmadmayahi in #211
- fix readme macroable push meta by @greg0x46 in #217
Full Changelog: https://github.com/spatie/laravel-fractal/compare/5.8.1...6.0.0
- add support for PHP 8
- add support for Laravel 8
- add support for Laravel 7
- update transformer stub (#200)
- make compatible with Laravel 6
- add
Spatie\Fractal\Facades\Fractal
- drop support for PHP 7.1
- drop support for PHP 7.0
- add support for Laravel 5.8
- improve singleton definition
- support Lumen
- add support for Laravel 5.7
- make fractal macroable
- fixed #153
- add support for L5.6
- add
transformWith
collection macro
- add compatibility with Lumen 5.5
- allow json encoding options to be passed to the
respond
method
- 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