Skip to content

Commit 6dd093e

Browse files
committed
Merge branch release-1.0.0 to master in preparation for 0.4.0 release
2 parents 9d4dcb4 + 88caabe commit 6dd093e

17 files changed

+473
-309
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ script:
4949
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
5050

5151
after_script:
52-
- if [[ $TEST_COVERAGE == 'true' ]]; then vendor/bin/php-coveralls -v ; fi
52+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
5353

5454
notifications:
5555
email: false

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,47 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 0.4.0 - 2018-03-15
6+
7+
### Added
8+
9+
- [#16](https://github.com/zendframework/zend-expressive-authorization/pull/16) adds
10+
support for PSR-15.
11+
12+
### Changed
13+
14+
- [#18](https://github.com/zendframework/zend-expressive-authorization/pull/18)
15+
changes the constructor of the `Zend\Expressive\Authorization\AuthorizationMiddleware`
16+
class to accept a callable `$responseFactory` instead of a
17+
`Psr\Http\Message\ResponseInterface` response prototype. The
18+
`$responseFactory` should produce a `ResponseInterface` implementation when
19+
invoked.
20+
21+
- [#18](https://github.com/zendframework/zend-expressive-authorization/pull/18)
22+
updates the `AuthorizationMiddlewareFactory` to no longer use
23+
`Zend\Expressive\Authentication\ResponsePrototypeTrait`, and instead always
24+
depend on the `Psr\Http\Message\ResponseInterface` service to correctly return
25+
a PHP callable capable of producing a `ResponseInterface` instance.
26+
27+
### Deprecated
28+
29+
- Nothing.
30+
31+
### Removed
32+
33+
- [#19](https://github.com/zendframework/zend-expressive-authorization/pull/19)
34+
removes the file `config/authorization.php` and merges its contents into the
35+
`Zend\Expressive\Authorization\ConfigProvider` class.
36+
37+
- [#16](https://github.com/zendframework/zend-expressive-authorization/pull/16) and
38+
[#11](https://github.com/zendframework/zend-expressive-authorization/pull/11)
39+
remove support for http-interop/http-middleware and
40+
http-interop/http-server-middleware.
41+
42+
### Fixed
43+
44+
- Nothing.
45+
546
## 0.3.0 - 2017-11-28
647

748
### Added

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"authorization",
77
"middleware",
88
"psr-7",
9+
"psr-15",
910
"zf",
1011
"zendframework",
1112
"zend-expressive"
@@ -20,23 +21,22 @@
2021
},
2122
"require": {
2223
"php": "^7.1",
23-
"http-interop/http-middleware": "^0.4.1",
2424
"psr/container": "^1.0",
2525
"psr/http-message": "^1.0.1",
26-
"webimpress/http-middleware-compatibility": "^0.1.1",
27-
"zendframework/zend-expressive-authentication": "^0.2 || ^1.0"
26+
"psr/http-server-middleware": "^1.0",
27+
"zendframework/zend-expressive-authentication": "^0.4.0"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^6.4.3",
30+
"phpunit/phpunit": "^7.0.2",
3131
"roave/security-advisories": "dev-master",
3232
"zendframework/zend-coding-standard": "~1.0.0"
3333
},
3434
"conflict": {
3535
"container-interop/container-interop": "<1.2.0"
3636
},
3737
"suggest": {
38-
"zendframework/zend-expressive-authorization-acl": "^0.1 || ^1.0; provides a zend-permissions-acl-backed adapter",
39-
"zendframework/zend-expressive-authorization-rbac": "^0.1 || ^1.0; provides a zend-permissions-rbac-backed adapter"
38+
"zendframework/zend-expressive-authorization-acl": "^1.0; provides a zend-permissions-acl-backed adapter",
39+
"zendframework/zend-expressive-authorization-rbac": "^1.0; provides a zend-permissions-rbac-backed adapter"
4040
},
4141
"autoload": {
4242
"psr-4": {
@@ -53,8 +53,7 @@
5353
},
5454
"extra": {
5555
"branch-alias": {
56-
"dev-master": "0.3.x-dev",
57-
"dev-release-1.0.0": "1.0.x-dev"
56+
"dev-master": "1.0.x-dev"
5857
},
5958
"zf": {
6059
"config-provider": "Zend\\Expressive\\Authorization\\ConfigProvider"

0 commit comments

Comments
 (0)