Skip to content

Releases: nilportugues/php-hal

2.1.0

21 Mar 13:12

Choose a tag to compare

  • Supporting pagination with the usage of the new HalPagination object.
  • Using HalPagination object prevents pagination errors and linking errors when constructing list of objects
  • Kept the old behaviour for legacy reasons, but marked as @deprecated for future deletion.

2.0.3

11 Jun 00:27

Choose a tag to compare

  • Fixing missing self link for first level objects: d8e272d

2.0.2

10 Jun 22:06

Choose a tag to compare

  • Counting in collection was broken.

2.0.1

26 Dec 11:54

Choose a tag to compare

  • Fixed serialization for value objects in JsonTransformer::setEmbeddedForResource 49b218e

2.0.0

26 Dec 09:54

Choose a tag to compare

  • Supports both HAL+JSON and HAL+XML transformation.
  • Renamed HalJsonTransformer to JsonTransformer.
  • Added XmlTransformer class and HalTransformer interface.
  • Changed namespace from NilPortugues\Api\HalJson to NilPortugues\Api\Hal to reflect it now outputs XML too.
  • JSON Responses will now return Content-type: application/hal+json; charset=utf-8
  • XML Responses will return Content-type: application/hal+xml; charset=utf-8

1.0.11

24 Nov 20:51

Choose a tag to compare

  • Composer: "nilportugues/api-transformer": "~1.3"

1.0.10

02 Nov 22:19

Choose a tag to compare

  • Moved nilportugues/php_backslasher from required dependency to require-dev.

1.0.9

02 Nov 21:59

Choose a tag to compare

  • Added backslash to PHP internal functions

1.0.8

20 Oct 19:09

Choose a tag to compare

  • Updated dependency to nilportugues/api-transformer ~1.2

1.0.7

17 Oct 00:17

Choose a tag to compare

  • Upgraded dependency nilportugues/api-transformer from 1.0 to 1.1