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

Commit ca16639

Browse files
committed
Merging release-1.0.0 to master in preparation for 1.0.0 release
2 parents 3892fc3 + 5d27561 commit ca16639

File tree

58 files changed

+634
-617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+634
-617
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.0 - 2018-03-15
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.3 - 2018-03-12
853

954
### Added

composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,17 @@
2323
"slack": "https://zendframework-slack.herokuapp.com",
2424
"forum": "https://discourse.zendframework.com/c/questions/expressive"
2525
},
26+
"minimum-stability": "alpha",
2627
"require": {
2728
"php": "^7.1",
2829
"psr/http-message": "^1.0.1",
29-
"psr/http-message-implementation": "^1.0",
3030
"psr/link": "^1.0",
3131
"willdurand/negotiation": "^2.3.1"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "^6.4.3",
34+
"phpunit/phpunit": "^7.0.1",
3535
"zendframework/zend-coding-standard": "~1.0.0",
36-
"zendframework/zend-diactoros": "^1.6",
37-
"zendframework/zend-expressive-helpers": "^4.2 || ^5.0.0-dev || ^5.0.0",
36+
"zendframework/zend-expressive-helpers": "^5.0.0alpha3",
3837
"zendframework/zend-hydrator": "^2.3.1",
3938
"zendframework/zend-paginator": "^2.7"
4039
},
@@ -43,7 +42,7 @@
4342
},
4443
"suggest": {
4544
"psr/container-implementation": "^1.0 in order to use the provided PSR-11 factories",
46-
"zendframework/zend-expressive-helpers": "^4.2 in order to use UrlHelper/ServerUrlHelper-based ExpressiveUrlGenerator with the LinkGenerator",
45+
"zendframework/zend-expressive-helpers": "^5.0 in order to use UrlHelper/ServerUrlHelper-based ExpressiveUrlGenerator with the LinkGenerator",
4746
"zendframework/zend-hydrator": "^2.3.1 in order to use the ResourceGenerator to create Resource instances from objects",
4847
"zendframework/zend-paginator": "^2.7 in order to provide paginated collections"
4948
},
@@ -61,6 +60,10 @@
6160
"sort-packages": true
6261
},
6362
"extra": {
63+
"branch-alias": {
64+
"dev-master": "1.0.x-dev",
65+
"dev-develop": "1.1.x-dev"
66+
},
6467
"zf": {
6568
"config-provider": "Zend\\Expressive\\Hal\\ConfigProvider"
6669
}

0 commit comments

Comments
 (0)