This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file, in reverse
4
4
5
5
Versions prior to 0.4.0 were released as the package "weierophinney/hal".
6
6
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
+
7
48
## 0.5.1 - 2017-11-07
8
49
9
50
### Added
You can’t perform that action at this time.
0 commit comments