Releases: zendframework/zend-expressive-hal
zend-expressive-hal 1.3.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #56 fixes an issue calculating the offset when generating a paginated Doctrine collection.
zend-expressive-hal 1.3.0
Added
- #55 adds the ability to generate paginated HAL collections from
Doctrine\ORM\Tools\Pagination\Paginatorinstances.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 1.2.0
Added
- #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.
zend-expressive-hal 1.1.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#50 fixes the
Halresourceconstructor documentation of the$embedded
argument to correctly be an array ofHalResourcearrays (and not just an
array ofHalResourceinstances). -
#41 fixes how
nullvalues in resources are handled when rendering as XML.
Previously, these would lead to anInvalidResourceValueException; now they
are rendered as content-less tags.
zend-expressive-hal 1.1.0
Added
- #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
-
#39 updates
LinkGeneratorFactoryto allow passing an alternate service name to use when
retrieving theLinkGenerator\UriGeneratorInterfacedependency. -
#39 updates
ResourceGeneratorFactoryto allow passing an alternate service name to use when
retrieving theLinkGeneratordependency.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 1.0.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #37 modifies
HalResourceto no longer treat empty arrays as embedded collections when
passed via the constructor orwithElement(). If an empty embedded collection
is required, useembed()with a boolean third argument to force
representation as an array of resources.
zend-expressive-hal 1.0.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #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.
zend-expressive-hal 1.0.0
Added
- Nothing.
Changed
-
#31 changes the constructor signature of
Zend\Expressive\Hal\HalResponseFactoryto read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactoryargument was aPsr\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. -
#31 updates the
HalResponseFactoryFactoryto follow the changes made to theHalResponseFactoryconstructor. It now requires that aPsr\Http\Message\ResponseInterfaceservice be registered, and that the service resolve to acallablecapable of producing aResponseInterfaceinstance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 0.6.3
Added
- Nothing.
Changed
- #32 modifies
HalResponseFactoryFactoryto test if aResponseInterfaceservice instance iscallablebefore returning it; if it is, it calls it first. This allows theResponseInterfaceservice to return a response factory instead of an instance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 1.0.0alpha1
Added
- Nothing.
Changed
-
#31 changes the constructor signature of
Zend\Expressive\Hal\HalResponseFactoryto read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactoryargument was aPsr\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. -
#31 updates the
HalResponseFactoryFactoryto follow the changes made to theHalResponseFactoryconstructor. It now requires that aPsr\Http\Message\ResponseInterfaceservice be registered, and that the service resolve to acallablecapable of producing aResponseInterfaceinstance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.