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

Commit 026858f

Browse files
committed
Adds CHANGELOG entries for #31
1 parent a0a0890 commit 026858f

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,51 @@ 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+
## 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+
752
## 0.6.2 - 2018-01-03
853

954
### Added

0 commit comments

Comments
 (0)