Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Releases: zendframework/zend-expressive-hal

zend-expressive-hal 0.6.2

03 Jan 21:18
Compare
Choose a tag to compare

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 the XmlRenderer, allowing them to be rendered.

zend-expressive-hal 0.6.1

12 Dec 23:00
Compare
Choose a tag to compare

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

07 Nov 20:22
Compare
Choose a tag to compare

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 an AbstractMetadata instance. Metadata types are mapped to their factories under the zend-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

07 Nov 20:18
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #21 fixes the LinkGeneratorFactory to properly use the Zend\Expressive\Hal\LinkGenerator\UrlGeneratorInterface service when creating and returning the LinkGenerator instance. (0.5.0 was incorrectly attempting to use the UrlGenerator service, which does not exist.)

zend-expressive-hal 0.5.0

30 Oct 21:55
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #20 renames the following interfaces and traits to have Interface and Trait 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 to ExceptionInterface, in order to be consistent with other ZF packages.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-hal 0.4.3

30 Oct 20:45
Compare
Choose a tag to compare

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 be void.

  • #13 updates ExtractCollection::extractPaginator() to validate that the pagination parameter is within the range of pages represented by the paginator instance; if not, an OutOfBoundsException 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

20 Sep 22:13
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #7 fixes a number of issues in the various exception implementations due to failure to import classes referenced in typehints.

  • #6 fixes a number of docblock annotations to reference HalResource vs Resource (which is a reserved word).

zend-expressive-hal 0.4.1

08 Aug 14:24
Compare
Choose a tag to compare

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

08 Aug 13:30
Compare
Choose a tag to compare

First release under zendframework organization.

Added

  • Nothing.

Changed

  • The package name was changed to "zendframework/zend-expressive-hal".
  • The namespace was changed from Hal to Zend\Expressive\Hal.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.