Skip to content

Releases: ellipsesynergie/api-response

Add support for custom headers for errors, item and collection

08 Jan 18:22
Compare
Choose a tag to compare

You can now pass custom headers in every methods.

Bump fractal version to 0.13

04 Jan 16:44
Compare
Choose a tag to compare

Bump fractal version

Remove usage of facade for Lumen implementation

23 Sep 18:26
Compare
Choose a tag to compare
0.10.1

Remove usage of facade for Lumen

Add support for Lumen 1.0

20 Apr 14:54
Compare
Choose a tag to compare
0.10.0

Release 0.10

Add support for Laravel 5

19 Mar 17:11
Compare
Choose a tag to compare
  • Add support for Laravel 5
  • Remove support for Laravel 4
  • Bump fractal version to 0.12.*

Bump fractal version to 0.11

10 Dec 19:30
Compare
Choose a tag to compare
0.8.0

Bump the fractal version

Add support for custom resource key

07 Oct 13:02
Compare
Choose a tag to compare

This release contain breaking change if you use meta in the following method :

  • Response::api()->withPaginator($paginator, $transformer, $meta) is now Response::api()->withPaginator($paginator, $transformer, $resourceKey, $meta)
  • Response::api()->withItem($data, $transformer, $meta) is now Response::api()->withItem($data, $transformer, $resourceKey, $meta)
  • Response::api()->withCollection($data, $transformer, $cursor, $meta) is now Response::api()->withCollection($data, $transformer, $resourceKey, $cursor, $meta)

You can now set the $resourceKey for your custom Serializer.

Bump fractal 0.8.0 to 0.9.0

10 Jul 15:54
Compare
Choose a tag to compare
0.5.0

Bump fractal version to 0.9

Add laravel paginator support

20 Jun 12:39
Compare
Choose a tag to compare
0.4.0

Update comment

Bump fractal 0.7.0 to 0.8.0

31 May 20:05
Compare
Choose a tag to compare

See https://github.com/thephpleague/fractal/releases/tag/0.8.0 for fractal changelog. This release is only to update the version of fractal and be compatible with it.