Skip to content

Releases: zendframework/zend-expressive-authorization

zend-expressive-authorization 1.0.1

18 Jun 11:55
1.0.1
041deb0
Compare
Choose a tag to compare

Added

  • #25 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-authorization 1.0.0

11 Sep 14:19
Compare
Choose a tag to compare

Added

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-authorization 0.4.0

15 Mar 18:38
Compare
Choose a tag to compare

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.

zend-expressive-authorization 1.0.0alpha2

27 Feb 15:14
Compare
Choose a tag to compare

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.

zend-expressive-authorization 1.0.0alpha1

07 Feb 21:11
Compare
Choose a tag to compare

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.

zend-expressive-authorization 0.3.0

28 Nov 20:21
Compare
Choose a tag to compare

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.

zend-expressive-authorization 0.2.0

09 Oct 20:17
Compare
Choose a tag to compare

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.

zend-expressive-authorization 0.1.0

28 Sep 13:34
Compare
Choose a tag to compare