Releases: thephpleague/fractal
Releases · thephpleague/fractal
0.20.1
What's Changed
- Update supported versions in the readme by @jdreesen in #546
- Fix supported version in the readme by @jdreesen in #547
- Move stale config to the correct location by @Nyholm in #548
- Add static analysis by @matthewtrask in #549
- allow for null values to be passed to Scope by @matthewtrask in #553
- Explicitly default TransformerAbstract::currentScope to null since it's not defined in the constructor by @Plastonick in #552
New Contributors
- @jdreesen made their first contribution in #546
- @Plastonick made their first contribution in #552
Full Changelog: 0.20...0.20.1
0.20.0
This release moves Fractal up to modern PHP.
We have dropped support for 5.x with this release. Fractal now supports PHP 7.4 as the lowest PHP version. Should you need to keep using Fractal with PHP 5.x, please use 0.19.2 or lower. We will continue to patch security fixes for 0.19 but all new features and changes will be in the 0.20 release and more going forward. We will aim for a 1.0 release this summer targeting 8.x
What's Changed
- Update branch alias to reflect current status by @KorvinSzanto in #516
- Move to Github Actions by @JustSteveKing in #517
- Test against php 8.0 by @sergiy-petrov in #520
- clean up php code sniffer violations and update composer.json to 7.0 by @matthewtrask in #534
- jsonSerialize fix php8 interface compatibility by @madagon in #527
- Add support for PHP 8.1 by @annuh in #528
- Make sure CI is green by @Nyholm in #535
- Run tests on PHP 8.1 by @Nyholm in #536
- Clean up CI by @Nyholm in #537
- Added .editorconfig by @Nyholm in #538
- Adding phpstan and psalm by @Nyholm in #539
- Fix issues with PHPStan and Psalm by @Nyholm in #540
- Support for PHP 81 by @Nyholm in #542
- Add ResourceInterface::getMeta() by @Nyholm in #541
- Added baseline for static analyzers by @Nyholm in #543
- Added PHP 7.4 types by @Nyholm in #544
- Add stale bot by @Nyholm in #545
New Contributors
- @JustSteveKing made their first contribution in #517
- @sergiy-petrov made their first contribution in #520
- @madagon made their first contribution in #527
- @annuh made their first contribution in #528
- @Nyholm made their first contribution in #535
Full Changelog: 0.19.2...0.20
0.19.2
- Support PHP 5.4 and 5.5 and 5.6 - #502 - thanks @KorvinSzanto
0.19.1
- Allow sub relations with modifier #490 - thanks @onursimsek - docs
- Update TravisCI to allow failures on PHP 5.4 and 5.5 - thanks @matthewtrask
0.19
- Allow sub relations with modifier #490 - thanks @onursimsek - docs
- Update TravisCI to allow failures on PHP 5.4 and 5.5 - thanks @matthewtrask
0.18.0
Enhancements
- Allow PHPUnit 7+ where available - Thanks @ramsey
- Changed the paginator to not call
$paginator->getPaginate()
inPhalconFrameworkPaginatorAdapter
constructor - Thanks @niden - Output an object for
attributes
when none are provided instead of an array inJsonApiSerializer
- Thanks @BastianHofmann - Include
meta
key for relationships inJsonApiSerializer
- Thanks @rawaludin - Allow
self
link to override defaults inJsonApiSerializer
- Thanks @biggator - Preserve numeric keys when converting
Scope
s to arrays by using array union instead of array_merge - Thanks @andrewtweber - Output an object for
links
when none are provided instead of an array inArraySerializer
pagination - Thanks @basavind - Allow arrays for field lists in
$fractal->parseFieldsets()
- Thanks @Flugger - Add links for all available includes to JsonApiSerializer - Thanks @matt-allan
0.17.0
0.16.0
0.15.0
0.14.0
Added
null()
method for serializing null resource.- Adds pagination to JsonApiSerializer
- Added JSON-API serializer collection links
Enhancements
- Fix issue including relationships on collections
TransformerAbstract
now returns aResourceInterface
getIncludeParams
now always returnParamBag
- cody styling, method naming and docs