Skip to content

@Xerkus Xerkus released this Jun 18, 2019 · 1 commit to master since this release

Added

  • #25 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@ezimuel ezimuel released this Sep 11, 2018 · 11 commits to master since this release

Added

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Mar 15, 2018 · 18 commits to master since this release

Added

  • #16 adds support for PSR-15.

Changed

  • #18 changes the constructor of the Zend\Expressive\Authorization\AuthorizationMiddleware class to accept a callable $responseFactory instead of a Psr\Http\Message\ResponseInterface response prototype. The $responseFactory should produce a ResponseInterface implementation when invoked.

  • #18 updates the AuthorizationMiddlewareFactory to no longer use Zend\Expressive\Authentication\ResponsePrototypeTrait, and instead always depend on the Psr\Http\Message\ResponseInterface service to correctly return a PHP callable capable of producing a ResponseInterface instance.

Deprecated

  • Nothing.

Removed

  • #19 removes the file config/authorization.php and merges its contents into the Zend\Expressive\Authorization\ConfigProvider class.

  • #16 and #11 remove support for http-interop/http-middleware and http-interop/http-server-middleware.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Feb 27, 2018 · 26 commits to master since this release

Added

  • Nothing.

Changed

  • #18 changes the constructor of the Zend\Expressive\Authorization\AuthorizationMiddleware class to accept a callable $responseFactory instead of a Psr\Http\Message\ResponseInterface response prototype. The $responseFactory should produce a ResponseInterface implementation when invoked.

  • #18 updates the AuthorizationMiddlewareFactory to no longer use Zend\Expressive\Authentication\ResponsePrototypeTrait, and instead always depend on the Psr\Http\Message\ResponseInterface service to correctly return a PHP callable capable of producing a ResponseInterface instance.

Deprecated

  • Nothing.

Removed

  • #19 removes the file config/authorization.php and merges its contents into the Zend\Expressive\Authorization\ConfigProvider class.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Feb 7, 2018 · 35 commits to master since this release

Added

  • #16 adds support for PSR-15.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #16 and #11 remove support for http-interop/http-middleware and http-interop/http-server-middleware.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Nov 28, 2017 · 74 commits to master since this release

Added

  • #13 adds a requirement on the zend-expressive-authentication package, v 0.2.0 and up.

Changed

  • #13 modifies the AuthorizationMiddleware workflow. It now looks for a Zend\Expressive\Authentication\UserInterface request parameter that implements that interface; with none available, it returns a 401 status. Additionally, it now uses UserInterface::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.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Oct 9, 2017 · 82 commits to master since this release

Added

  • #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".

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Sep 28, 2017 · 106 commits to master since this release

Initial release.

Assets 2
You can’t perform that action at this time.