# Changelog

All notable changes to `laravel-fractal` will be documented in this file

## 6.3.1 - 2024-12-16

### What's Changed

* feat: disable fieldsets by default by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/262

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.3.0...6.3.1

## 6.3.0 - 2024-12-09

### What's Changed

* Allow auto parsing the `fieldsets` by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/261

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.2.2...6.3.0

## 6.2.2 - 2024-12-09

### What's Changed

* Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/257
* Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/259
* fix phpdoc mismatch by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/260

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.2.1...6.2.2

## 6.2.1 - 2024-06-04

### What's Changed

* fix: wrong `return` annotation by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/258

### New Contributors

* @Mohammad-Alavi made their first contribution in https://github.com/spatie/laravel-fractal/pull/258

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.2.0...6.2.1

## 6.2.0 - 2024-03-18

### What's Changed

* Auto excludes by @simondotwhite in https://github.com/spatie/laravel-fractal/pull/253

### New Contributors

* @simondotwhite made their first contribution in https://github.com/spatie/laravel-fractal/pull/253

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.1.0...6.2.0

## 6.1.0 - 2024-03-02

### What's Changed

* Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/247
* Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/248
* Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-fractal/pull/249
* Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/250
* Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-fractal/pull/251
* Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-fractal/pull/254

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.0.3...6.1.0

## 6.0.3 - 2023-02-15

### What's Changed

- Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-fractal/pull/237
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-fractal/pull/239
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-fractal/pull/238
- Fix broken tests by @patinthehat in https://github.com/spatie/laravel-fractal/pull/240
- Refactor tests to pest by @AyoobMH in https://github.com/spatie/laravel-fractal/pull/244
- Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-fractal/pull/245
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-fractal/pull/246

### New Contributors

- @patinthehat made their first contribution in https://github.com/spatie/laravel-fractal/pull/237
- @dependabot made their first contribution in https://github.com/spatie/laravel-fractal/pull/239
- @AyoobMH made their first contribution in https://github.com/spatie/laravel-fractal/pull/244
- @laravel-shift made their first contribution in https://github.com/spatie/laravel-fractal/pull/245

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.0.2...6.0.3

## 6.0.2 - 2022-04-04

## What's Changed

- Make stubs compatible with the latest `league/fractal` version by @osbre in https://github.com/spatie/laravel-fractal/pull/226

## New Contributors

- @osbre made their first contribution in https://github.com/spatie/laravel-fractal/pull/226

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.0.1...6.0.2

## 6.0.1 - 2022-03-31

## What's Changed

- Updated compose.json to handle with previous version by @deniscsz in https://github.com/spatie/laravel-fractal/pull/221

## New Contributors

- @deniscsz made their first contribution in https://github.com/spatie/laravel-fractal/pull/221

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/6.0.0...6.0.1

## 6.0.0 - 2022-01-13

## What's Changed

- Add support for Laravel 9
- Fix style by @ahmadmayahi in https://github.com/spatie/laravel-fractal/pull/211
- fix readme macroable push meta by @greg0x46 in https://github.com/spatie/laravel-fractal/pull/217

## New Contributors

- @ahmadmayahi made their first contribution in https://github.com/spatie/laravel-fractal/pull/211
- @greg0x46 made their first contribution in https://github.com/spatie/laravel-fractal/pull/217

**Full Changelog**: https://github.com/spatie/laravel-fractal/compare/5.8.1...6.0.0

## 5.8.1 - 2020-11-12

- add support for PHP 8

## 5.8.0 - 2020-09-08

- add support for Laravel 8

## 5.7.0 - 2020-03-02

- add support for Laravel 7

## 5.6.1 - 2019-11-19

- update transformer stub (#200)

## 5.6.0 - 2019-09-04

- make compatible with Laravel 6

## 5.5.1 - 2019-03-13

- add `Spatie\Fractal\Facades\Fractal`

## 5.5.0 - 2019-02-27

- drop support for PHP 7.1

## 5.4.4 - 2019-02-27

- drop support for PHP 7.0
- add support for Laravel 5.8

## 5.4.3 - 2019-01-16

- improve singleton definition

## 5.4.2 - 2018-09-28

- support Lumen

## 5.4.1 - 2018-08-24

- add support for Laravel 5.7

## 5.4.0 - 2018-07-19

- make fractal macroable

## 5.3.2 - 2018-06-13

- fixed #153

## 5.3.1 - 2018-02-08

- add support for L5.6

## 5.3.0 - 2017-11-28

- add `transformWith` collection macro

## 5.2.0 - 2017-09-15

- add compatibility with Lumen 5.5

## 5.1.0 - 2017-09-08

- allow json encoding options to be passed to the `respond` method

## 5.0.1 - 2017-08-30

- Fix wrongly tagged commit

## 5.0.0 - 2017-08-30

- Laravel 5.5 support, dropped support for all older versions
- renamed config file from `laravel-fractal` to `fractal`
- added auto-includes

## 4.5.0 - 2017-08-20

- add `default_paginator` to config file

## 4.4.0 - 2017-08-20

- add `fractal_class` to config file

## 4.3.0 - 2017-07-26

- Add baseUrl support for the JsonApi serializer

## 4.2.0 - 2017-07-18

- Nothing changed! Something went wrong with tagging the last version so we had to bump the version a bit?

## 4.0.1 - 2017-05-05

- Fixes bug where a passed serializer wouldn't be used

## 4.0.0 - 2017-04-26

- Add compatiblity with fractal 0.16 through fractalistic 2.0

## 3.5.0 - 2017-02-22

- Add compatiblity with Lumen

## 3.4.1 - 2017-02-07

- Fix resolving `Fractal::class` out of the container

## 3.4.0 - 2017-02-04

- Add support for passing paginators to the `data` argument of `fractal()`

## 3.3.1 - 2017-01-27

- Bind `laravel-fractal` as a singleton

## 3.3.0 - 2017-01-23

- Add support for Laravel 5.4

## 3.2.1 - 2017-01-20

- Improve descriptions of generator command

## 3.2.0 - 2017-01-14

- Allow closures to be used as serializers

## 3.1.3 - 2017-01-08

- Fixed missing namespace import in Fractal

## 3.1.2 - 2017-01-08

- The facade will now use the configured serializer

## 3.1.1 - 2017-01-08

- 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`.

## 3.1.0 - 2017-01-05

- Add `respond` method

## 3.0.1 - 2016-12-09

- Fix dependencies in `composer.json`

## 3.0.0 - 2016-12-09

- Make use of `spatie/fractalistic`

## 2.1.0 - 2016-12-02

- Add `make:transformer` artisan command.

## 2.0.0 - 2016-09-27

- Made compatible with fractal `0.14`
- Improvements to the `fractal`-helper function.
- Added excludes

## 1.9.1 - 2016-08-23

- Added L5.3 compatibility

## 1.9.0 - 2016-03-30

- Added support for cursors

## 1.8.0 - 2016-02-18

- The `Fractal`-class now implements the `JsonSerializable`-interface

## 1.7.4 - 2015-12-16

- Fixed a bug when passing a null value to parseIncludes

## 1.7.3 - 2015-11-09

- Fixed bug when adding multiple includes in one go

## 1.7.2 - 2015-11-09

- 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 **

## 1.7.1 - 2015-10-26

- Fix for setting the default_serializer as an instantiation in Lumen

## 1.7.0 - 2015-10-26

- Allow default_serializer to be set as an instantiation

## 1.6.1 - 2015-10-21

- Dependency version number of fractal in composer.json

## 1.6.0 - 2015-10-20

- Compatiblity with version v0.13 of Fractal

Please not that the output of `JsonApiSerializer` has been changed in v0.13 of Fractal.

## 1.5.0 - 2015-10-14

- Support for including meta data

## 1.4.0 - 2015-10-13

- Pagination methods
- Custom resource names

## 1.3.0 - 2015-10-13

- Support for Lumen

## 1.2.0 - 2015-10-11

- Methods to use includes
- Create data method

## 1.1.0 - 2015-10-08

- Made the `getResource`-function public

## 1.0.0 - 2015-10-07

- Initial release
