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

zend-expressive-hal 0.6.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 07 Nov 20:22
· 131 commits to master since this release

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.