Skip to content
  • 0.19.2
  • 06dc15f
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.19.2
  • 06dc15f
  • Compare
    Choose a tag to compare
    Search for a tag

@matthewtrask matthewtrask released this Jan 24, 2020

Assets 2
  • 0.19.1
  • 141c97e
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.19.1
  • 141c97e
  • Compare
    Choose a tag to compare
    Search for a tag

@matthewtrask matthewtrask released this Jan 24, 2020 · 2 commits to master since this release

Assets 2
  • 0.19
  • d409754
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.19
  • d409754
  • Compare
    Choose a tag to compare
    Search for a tag

@matthewtrask matthewtrask released this Jan 24, 2020 · 4 commits to master since this release

Assets 2
  • 0.18.0
  • 4e553da
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.18.0
  • 4e553da
  • Compare
    Choose a tag to compare
    Search for a tag

@matthewtrask matthewtrask released this May 10, 2019 · 16 commits to master since this release

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
  • Add links for all available includes to JsonApiSerializer - Thanks @matt-allan
Assets 2

@greydnls greydnls released this Aug 18, 2017 · 53 commits to master since this release

  • 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
Assets 2

@greydnls greydnls released this Apr 5, 2017 · 76 commits to master since this release

Enhancements:

  • #358 Allow the ability to define meta on each object in collection
  • #362 Add DoctrinePaginatorAdapter to interface with Doctrine pagination
  • Implement sparse fieldset
Assets 2

@greydnls greydnls released this Jan 17, 2017 · 90 commits to master since this release

  • Custom links in serializer
  • PhalconPHP Paginator
  • tested on 7.1
Assets 2

@greydnls greydnls released this Aug 29, 2016 · 120 commits to master since this release

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
Assets 2

@willishq willishq released this Oct 16, 2015 · 150 commits to master since this release

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
Assets 2

@philsturgeon philsturgeon released this Mar 19, 2015 · 224 commits to master since this release

Added

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

Changed

  • 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.
Assets 2
You can’t perform that action at this time.