Skip to content

Latest commit

 

History

History
300 lines (160 loc) · 6.72 KB

CHANGELOG.md

File metadata and controls

300 lines (160 loc) · 6.72 KB

Changelog

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

6.0.3 - 2023-02-15

What's Changed

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

New Contributors

  • @patinthehat made their first contribution in spatie#237
  • @dependabot made their first contribution in spatie#239
  • @AyoobMH made their first contribution in spatie#244
  • @laravel-shift made their first contribution in spatie#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 spatie#226

New Contributors

  • @osbre made their first contribution in spatie#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 spatie#221

New Contributors

  • @deniscsz made their first contribution in spatie#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 spatie#211
  • fix readme macroable push meta by @greg0x46 in spatie#217

New Contributors

  • @ahmadmayahi made their first contribution in spatie#211
  • @greg0x46 made their first contribution in spatie#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