All Versions
23
Latest Version
Avg Release Cycle
102 days
Latest Release
1607 days ago

Changelog History
Page 1

  • v0.19.2 Changes

    January 24, 2020
  • v0.19.1 Changes

    January 24, 2020
    • ๐Ÿ‘ Allow sub relations with modifier #490 - thanks @onursimsek - docs
    • โšก๏ธ Update TravisCI to allow failures on PHP 5.4 and 5.5 - thanks @matthewtrask
  • v0.19 Changes

    January 24, 2020
    • ๐Ÿ‘ Allow sub relations with modifier #490 - thanks @onursimsek - docs
    • โšก๏ธ Update TravisCI to allow failures on PHP 5.4 and 5.5 - thanks @matthewtrask
  • v0.18.0 Changes

    May 10, 2019

    โœจ Enhancements

    • ๐Ÿ‘ Allow PHPUnit 7+ where available - Thanks @ramsey
    • ๐Ÿ”„ Changed the paginator to not call $paginator->getPaginate() in PhalconFrameworkPaginatorAdapter constructor - Thanks @niden
    • Output an object for attributes when none are provided instead of an array in JsonApiSerializer - Thanks @BastianHofmann
    • Include meta key for relationships in JsonApiSerializer - Thanks @rawaludin
    • ๐Ÿ‘ Allow self link to override defaults in JsonApiSerializer - Thanks @biggator
    • Preserve numeric keys when converting Scopes 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 in ArraySerializer pagination - Thanks @basavind
    • ๐Ÿ‘ Allow arrays for field lists in $fractal->parseFieldsets() - Thanks @flugger
  • v0.17.0 Changes

    August 18, 2017

    โœจ Enhancements

    • โž• Add ScopeFactoryInterface and ScopeFactory
    • โž• Add $options parameter to toJson
    • โž• Added Serializer interface to SerializerAbstract
    • โž• Add Primitive resource type, allows to use primitives
    • โšก๏ธ optimized primitive transformation when transformer is not given
  • v0.16.0 Changes

    April 05, 2017

    โœจ Enhancements:

    • #358 Allow the ability to define meta on each object in collection
    • #362 Add DoctrinePaginatorAdapter to interface with Doctrine pagination
    • ๐Ÿ“œ Implement sparse fieldset
  • v0.15.0 Changes

    January 17, 2017
    • Custom links in serializer
    • PhalconPHP Paginator
    • โœ… tested on 7.1
  • v0.14.0 Changes

    August 29, 2016

    โž• 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 a ResourceInterface
    • getIncludeParams now always return ParamBag
    • ๐Ÿ“„ cody styling, method naming and docs
  • v0.13.0 Changes

    October 16, 2015

    โž• Added

    • ->setData(...) and ->setTransformer(...) methods to resources
    • able to set url include parameters with no set variables, ie. include=comments:limit(5|1):new

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ Finally, much improved JSON-API support thanks to @felixkiss

    โœจ Enhancements

    • Short array syntax throughout
    • โœ… Test improvements
  • v0.12.0 Changes

    March 19, 2015

    โž• Added

    • โž• Added PHP 7.0-dev support.
    • โž• Add the support for Laravel 5 paginator. Issue #153

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Now accessing the default and available includes in Transformers via getters Issue #158

    โœ‚ Removed

    • โฌ‡๏ธ Dropped PHP 5.3 support. Use [v0.11] if you're still stuck on PHP 5.3.
    • โœ‚ Removed getData() and getTransformer() from League\Fractal\Resource\Collection as they were already defined in ResourceAbstract.

    ๐Ÿš€ [v0.11]: https://github.com/thephpleague/fractal/releases/tag/0.11.0