packagist league/fractal 0.8.0
v0.8.0

latest releases: dev-master, 0.20.1, dev-fix/551-null-values-for-data-arrays...
10 years ago

Features

  • Added Serializers with ArraySerializer, DataArraySerializer (default) and a provisional JsonApiSerializer. (#47).
  • Added ResourceAbstract::setMeta('foo', mixed) to allow custom meta data
  • Replaced Manager::setRequestedScopes() with Manager::parseIncludes('foo,bar') which can be an array or CSV string. It can
    also take "Smart Syntax" such as Manager::parseIncludes('bars:limit(5|1):order(-something)'), which can come from a URL query
    param: /foo?include=bars:limit(5|1):order(-something).
  • Made all pagination (paginators and cursors) use meta output logic, so it sits with your custom meta data
  • Moved League\Fractal\Cursor\Cursor and League\Fractal\Cursor\CursorInterface into League\Fractal\Pagination.

Don't miss a new fractal release

NewReleases is sending notifications on new releases.