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\Paginator
instances.
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
Halresource
constructor documentation of the$embedded
argument to correctly be an array ofHalResource
arrays (and not just an
array ofHalResource
instances). -
#41 fixes how
null
values 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
LinkGeneratorFactory
to allow passing an alternate service name to use when
retrieving theLinkGenerator\UriGeneratorInterface
dependency. -
#39 updates
ResourceGeneratorFactory
to allow passing an alternate service name to use when
retrieving theLinkGenerator
dependency.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 1.0.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #37 modifies
HalResource
to 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\HalResponseFactory
to read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactory
argument 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
HalResponseFactoryFactory
to follow the changes made to theHalResponseFactory
constructor. It now requires that aPsr\Http\Message\ResponseInterface
service be registered, and that the service resolve to acallable
capable of producing aResponseInterface
instance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 0.6.3
Added
- Nothing.
Changed
- #32 modifies
HalResponseFactoryFactory
to test if aResponseInterface
service instance iscallable
before returning it; if it is, it calls it first. This allows theResponseInterface
service 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\HalResponseFactory
to read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactory
argument 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
HalResponseFactoryFactory
to follow the changes made to theHalResponseFactory
constructor. It now requires that aPsr\Http\Message\ResponseInterface
service be registered, and that the service resolve to acallable
capable of producing aResponseInterface
instance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.