All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #25 adds support for PHP 7.3.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Usage of zend-expressive-authentication ^1.0.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #16 adds support for PSR-15.
-
#18 changes the constructor of the
Zend\Expressive\Authorization\AuthorizationMiddleware
class to accept a callable$responseFactory
instead of aPsr\Http\Message\ResponseInterface
response prototype. The$responseFactory
should produce aResponseInterface
implementation when invoked. -
#18 updates the
AuthorizationMiddlewareFactory
to no longer useZend\Expressive\Authentication\ResponsePrototypeTrait
, and instead always depend on thePsr\Http\Message\ResponseInterface
service to correctly return a PHP callable capable of producing aResponseInterface
instance.
- Nothing.
-
#19 removes the file
config/authorization.php
and merges its contents into theZend\Expressive\Authorization\ConfigProvider
class. -
#16 and #11 remove support for http-interop/http-middleware and http-interop/http-server-middleware.
- Nothing.
- #13 adds a requirement on the zend-expressive-authentication package, v 0.2.0 and up.
-
#13 modifies the
AuthorizationMiddleware
workflow. It now looks for aZend\Expressive\Authentication\UserInterface
request parameter that implements that interface; with none available, it returns a 401 status. Additionally, it now usesUserInterface::getUserRoles()
, which returns an array of roles; as such, it loops through each, delegating request processing for the first role granted permission. -
#13 pins to http-interop/http-middleware 0.4.1, as that is the most recent version supported by zend-expressive-authentication.
- Nothing.
- Nothing.
- Nothing.
- #8 adds support for http-interop/http-middleware 0.5.0 via a polyfill provided by the package webimpress/http-middleware-compatibility. Essentially, this means you can drop this package into an application targeting either the 0.4.1 or 0.5.0 versions of http-middleware, and it will "just work".
- Nothing.
- Nothing.
- Nothing.
- Nothing.
Initial release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.