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 +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,51 @@ 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
+ ## 1.0.0alpha1 - 2018-02-27
8
+
9
+ ### Added
10
+
11
+ - Nothing.
12
+
13
+ ### Changed
14
+
15
+ - [ #31 ] ( https://github.com/zendframework/zend-expressive-hal/pull/31 ) changes
16
+ the constructor signature of ` Zend\Expressive\Hal\HalResponseFactory ` to read:
17
+
18
+ ``` php
19
+ public function __construct(
20
+ callable $responseFactory,
21
+ Renderer\JsonRenderer $jsonRenderer = null,
22
+ Renderer\XmlRenderer $xmlRenderer = null
23
+ )
24
+ ```
25
+
26
+ Previously, the ` $responseFactory ` argument was a
27
+ ` Psr\Http\Message\ResponseInterface $responsePrototype ` ; it is now a PHP
28
+ callable capable of producing a new, empty instance of that type.
29
+
30
+ Additionally, the signature previously included a callable ` $streamFactory ` ;
31
+ this has been removed.
32
+
33
+ - [ #31 ] ( https://github.com/zendframework/zend-expressive-hal/pull/31 ) updates
34
+ the ` HalResponseFactoryFactory ` to follow the changes made to the
35
+ ` HalResponseFactory ` constructor. It now ** requires** that a
36
+ ` Psr\Http\Message\ResponseInterface ` service be registered, and that the
37
+ service resolve to a ` callable ` capable of producing a ` ResponseInterface `
38
+ instance.
39
+
40
+ ### Deprecated
41
+
42
+ - Nothing.
43
+
44
+ ### Removed
45
+
46
+ - Nothing.
47
+
48
+ ### Fixed
49
+
50
+ - Nothing.
51
+
7
52
## 0.6.2 - 2018-01-03
8
53
9
54
### Added
You can’t perform that action at this time.
0 commit comments