8000 Tags · DominicDetta/zend-expressive-hal · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

1.3.1

Toggle 1.3.1's commit message
zend-expressive-hal 1.3.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework#56](zendframework#56) fixes an issue calculating the offset when generating a paginated Doctrine collection.

1.3.0

Toggle 1.3.0's commit message
zend-expressive-hal 1.3.0

Added
-----

- [zendframework#55](zendframework#55) adds the ability to generate paginated HAL collections from
  `Doctrine\ORM\Tools\Pagination\Paginator` instances.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.2.0

Toggle 1.2.0's commit message
zend-expressive-hal 1.2.0

Added
-----

- [zendframework#51](zendframework#51) adds support for zend-hydrator version 3 releases. You may continue to use
  version 2 releases as well.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.1.1

Toggle 1.1.1's commit message
zend-expressive-hal 1.1.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework#50](zendframework#50) fixes the `Halresource` constructor documentation of the `$embedded`
  argument to correctly be an array of `HalResource` arrays (and not just an
  array of `HalResource` instances).

- [zendframework#41](zendframework#41) fixes how `null` values in resources are handled when rendering as XML.
  Previously, these would lead to an `InvalidResourceValueException`; now they
  are rendered as content-less tags.

1.1.0

Toggle 1.1.0's commit message
zend-expressive-hal 1.1.0

Added
-----

- [zendframework#39](zendframework#39) adds a cookbook recipe detailing how to create a fully contained, path-segregated
  module, complete with its own router, capable of generating HAL resources.

Changed
-------

- [zendframework#39](zendframework#39) updates `LinkGeneratorFactory` to allow passing an alternate service name to use when
  retrieving the `LinkGenerator\UriGeneratorInterface` dependency.

- [zendframework#39](zendframework#39) updates `ResourceGeneratorFactory` to allow passing an alternate service name to use when
  retrieving the `LinkGenerator` dependency.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.0.2

Toggle 1.0.2's commit message
zend-expressive-hal 1.0.2

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework#37](zendframework#37) modifies
  `HalResource` to no longer treat empty arrays as embedded collections when
  passed via the constructor or `withElement()`. If an empty embedded collection
  is required, use `embed()` with a boolean third argument to force
  representation as an array of resources.

1.0.1

Toggle 1.0.1's commit message
zend-expressive-hal 1.0.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zendframework#36](zendframework#36)
  fixes an issue whereby query string arguments were not being added to
  links generated for a resource. It now correctly merges those specified in
  metadata with those from the request when generating links.

1.0.0

Toggle 1.0.0's commit message
zend-expressive-hal 1.0.0

Added
-----

- Nothing.

Changed
-------

- [zendframework#31](zendframework#31) changes
  the constructor signature of `Zend\Expressive\Hal\HalResponseFactory` to read:

  ```php
  public function __construct(
      callable $responseFactory,
      Renderer\JsonRenderer $jsonRenderer = null,
      Renderer\XmlRenderer $xmlRenderer = null
  )
  ```

  Previously, the `$responseFactory` argument was a
  `Psr\Http\Message\ResponseInterface $responsePrototype`; it is now a PHP
  callable capable of producing a new, empty instance of that type.

  Additionally, the signature previously included a callable `$streamFactory`;
  this has been removed.

- [zendframework#31](zendframework#31) updates
  the `HalResponseFactoryFactory` to follow the changes made to the
  `HalResponseFactory` constructor. It now **requires** that a
  `Psr\Http\Message\ResponseInterface` service be registered, and that the
  service resolve to a `callable` capable of producing a `ResponseInterface`
  instance.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

0.6.3

Toggle 0.6.3's commit message
zend-expressive-hal 0.6.3

Added
-----

- Nothing.

Changed
-------

- [zendframework#32](zendframework#32) modifies
  `HalResponseFactoryFactory` to test if a `ResponseInterface` service instance
  is `callable` before returning it; if it is, it calls it first. This allows
  the `ResponseInterface` service to return a response _factory_ instead of an
  instance.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

1.0.0alpha1

Toggle 1.0.0alpha1's commit message
zend-expressive-hal 1.0.0alpha1

Added
-----

- Nothing.

Changed
-------

- [zendframework#31](zendframework#31) changes
  the constructor signature of `Zend\Expressive\Hal\HalResponseFactory` to read:

  ```php
  public function __construct(
      callable $responseFactory,
      Renderer\JsonRenderer $jsonRenderer = null,
      Renderer\XmlRenderer $xmlRenderer = null
  )
  ```

  Previously, the `$responseFactory` argument was a
  `Psr\Http\Message\ResponseInterface $responsePrototype`; it is now a PHP
  callable capable of producing a new, empty instance of that type.

  Additionally, the signature previously included a callable `$streamFactory`;
  this has been removed.

- [zendframework#31](zendframework#31) updates
  the `HalResponseFactoryFactory` to follow the changes made to the
  `HalResponseFactory` constructor. It now **requires** that a
  `Psr\Http\Message\ResponseInterface` service be registered, and that the
  service resolve to a `callable` capable of producing a `ResponseInterface`
  instance.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.
0