Releases: zendframework/zend-expressive-hal
zend-expressive-hal 0.6.2
Added
- Nothing.
Changed
- #27 modifies the
XmlRenderer
to raise an exception when attempting to render objects that are not serializable to strings.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #27 adds handling for
DateTime
and string serializable objects to theXmlRenderer
, allowing them to be rendered.
zend-expressive-hal 0.6.1
Added
- #26 adds support for the zend-expressive-helpers 5.0 series of releases.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 0.6.0
Added
- Nothing.
Changed
-
#23 modifies how the resource generator factory adds strategies and maps metadata to strategies. It now adds the following factories under the
Zend\Expressive\Hal\Metadata
namespace:RouteBasedCollectionMetadataFactory
RouteBasedResourceMetadataFactory
UrlBasedCollectionMetadataFactory
UrlBasedResourceMetadataFactory
Each implements a new
MetadataFactoryInterface
under that same namespace that accepts the requested metadata type name and associated metadata in order to create anAbstractMetadata
instance. Metadata types are mapped to their factories under thezend-expressive-hal.metadata-factories
key.Strategies are now configured as metadata => strategy class pairings under the
zend-expressive-hal.resource-generator.strategies
key.In both cases, defaults that mimic previous behavior are provided via the
ConfigProvider
.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 0.5.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #21 fixes the
LinkGeneratorFactory
to properly use theZend\Expressive\Hal\LinkGenerator\UrlGeneratorInterface
service when creating and returning theLinkGenerator
instance. (0.5.0 was incorrectly attempting to use theUrlGenerator
service, which does not exist.)
zend-expressive-hal 0.5.0
Added
- Nothing.
Changed
-
#20 renames the following interfaces and traits to have
Interface
andTrait
suffixes, respectively; this was done for consistency with existing ZF packages. (Values after the:
retain the namespace, which is omitted for brevity.)Zend\Expressive\Hal\LinkGenerator\UrlGenerator
:UrlGeneratorInterface
Zend\Expressive\Hal\Renderer\Renderer
:RendererInterface
Zend\Expressive\Hal\ResourceGenerator\Strategy
:StrategyInterface
Zend\Expressive\Hal\ResourceGenerator\ExtractCollection
:ExtractCollectionTrait
Zend\Expressive\Hal\ResourceGenerator\ExtractInstance
:ExtractInstanceTrait
-
#16 renames the various
Exception
interfaces toExceptionInterface
, in order to be consistent with other ZF packages.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-hal 0.4.3
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#19 fixes the behavior of
ResourceGenerator
when nesting a collection inside another resource to properly nest it as an array of items, rather than a collection resource. -
#18 fixes the return type hint of
RouteBasedResourceMetadata::setRouteParams()
to correctly bevoid
. -
#13 updates
ExtractCollection::extractPaginator()
to validate that the pagination parameter is within the range of pages represented by the paginator instance; if not, anOutOfBoundsException
is raised. -
#12 fixes how pagination metadata (
_page
,_page_count
,_total_items
) is represented in generated resources, ensuring values are cast to integers.
zend-expressive-hal 0.4.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
zend-expressive-hal 0.4.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #6 fixes an issue with the XML renderer when creating resource elements that represent an array.
zend-expressive-hal 0.4.0
First release under zendframework organization.
Added
- Nothing.
Changed
- The package name was changed to "zendframework/zend-expressive-hal".
- The namespace was changed from
Hal
toZend\Expressive\Hal
.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.