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

Commit 2114044

Browse files
committed
Adds CHANGELOG for #23
1 parent c04a143 commit 2114044

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file, in reverse
44

55
Versions prior to 0.4.0 were released as the package "weierophinney/hal".
66

7+
## 0.6.0 - 2017-11-07
8+
9+
### Added
10+
11+
- Nothing.
12+
13+
### Changed
14+
15+
- [#23](https://github.com/zendframework/zend-expressive-hal/pull/23) modifies
16+
how the resource generator factory adds strategies and maps metadata to
17+
strategies. It now adds the following factories under the
18+
`Zend\Expressive\Hal\Metadata` namespace:
19+
20+
- `RouteBasedCollectionMetadataFactory`
21+
- `RouteBasedResourceMetadataFactory`
22+
- `UrlBasedCollectionMetadataFactory`
23+
- `UrlBasedResourceMetadataFactory`
24+
25+
Each implements a new `MetadataFactoryInterface` under that same namespace
26+
that accepts the requested metadata type name and associated metadata in order
27+
to create an `AbstractMetadata` instance. Metadata types are mapped to their
28+
factories under the `zend-expressive-hal.metadata-factories` key.
29+
30+
Strategies are now configured as metadata => strategy class pairings under the
31+
`zend-expressive-hal.resource-generator.strategies` key.
32+
33+
In both cases, defaults that mimic previous behavior are provided via the
34+
`ConfigProvider`.
35+
36+
### Deprecated
37+
38+
- Nothing.
39+
40+
### Removed
41+
42+
- Nothing.
43+
44+
### Fixed
45+
46+
- Nothing.
47+
748
## 0.5.1 - 2017-11-07
849

950
### Added

0 commit comments

Comments
 (0)