Skip to content

Tags: ppaulis/api-tools-mvc-auth

Tags

1.6.0

Toggle 1.6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [1.6.0](https://github.com/laminas-api-tools/ap…

…i-tools-mvc-auth/milestone/1)

### Added

- This release adds support for PHP 8.0.

### Removed

- This release removes support for PHP versions prior to 7.3.

- This release drops support for laminas-eventmanager releases prior to 3.2.0.

### 1.6.0

- Total issues resolved: **3**
- Total pull requests resolved: **3**
- Total contributors: **4**

#### Enhancement

 - [36: Add Psalm integration](laminas-api-tools#36) thanks to @weierophinney and @boesing
 - [34: Switch to GHA CI workflow](laminas-api-tools#34) thanks to @internalsystemerror and @weierophinney
 - [32: PHP 8.0 support](laminas-api-tools#32) thanks to @eimkua1 and @boesing

1.5.1

Toggle 1.5.1's commit message
api-tools-mvc-auth 1.5.1

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.5.1 (commit cf08f973696f8f3f9f7bb5d964406be79c21e56b in this repo)

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zfcampus/zf-mvc-auth#143](zfcampus/zf-mvc-auth#143) provides an update to `Laminas\ApiTools\MvcAuth\Factory\OAuth2ServerFactory` to allow the `api-tools-oauth2.options.use_openid_connect`
  option (or adapter-specific setting `options.use_openid_connect`) to vary which class is used for an
  `authorization_code` grant type. If the setting is present and a boolean `true` value, the class
  `OAuth2\OpenID\GrantType\AuthorizationCode` will be used instead of `OAuth2\GrantType\AuthorizationCode`.

1.5.0

Toggle 1.5.0's commit message
api-tools-mvc-auth 1.5.0

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.5.0 (commit 923b51d4da0e04d165df6135681d9a742d0af98d in this repo)

Added
-----

- [zfcampus/zf-mvc-auth#137](zfcampus/zf-mvc-auth#137) adds support for laminas-permissions-rbac 3.0.

- [zfcampus/zf-mvc-auth#137](zfcampus/zf-mvc-auth#137) adds support for PHP 7.1 and 7.2.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- [zfcampus/zf-mvc-auth#137](zfcampus/zf-mvc-auth#137) removes support for HHVM.

Fixed
-----

- [zfcampus/zf-mvc-auth#136](zfcampus/zf-mvc-auth#136) provides changes to the `OAuth2Adapter` that prevent hitting
  the database twice when the token is valid.

1.4.3

Toggle 1.4.3's commit message
api-tools-mvc-auth 1.4.3

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.4.3 (commit a9d1371509301ad31b5f688912e1840b773efa43 in this repo)

Added
-----

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zfcampus/zf-mvc-auth#128](zfcampus/zf-mvc-auth#128) fixes an issue
  stemming from changes in the Admin API; controller service names are often
  written in configuration using dash, versus namespace, separators, which
  causes authorization lookups to fail. This version now converts dashes to
  namespace separators in the controller names when creating the ACL.

1.4.2

Toggle 1.4.2's commit message
api-tools-mvc-auth 1.4.2

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.4.2 (commit 96c8ebfa2f737476cc06e3cea003b04d5dd4b25e in this repo)

Added
-----

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zfcampus/zf-mvc-auth#125](zfcampus/zf-mvc-auth#125) updates the
  `MvcRouteListener` to trigger events using `triggerEventUntil()` instead
  of using argument overloading on `trigger()`; this change ensures that the
  code will work with laminas-eventmanager v3 properly.

1.4.1

Toggle 1.4.1's commit message
api-tools-mvc-auth 1.4.1

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.4.1 (commit 748dc8ba542738ef9f7125e446c20adf0f8a52f1 in this repo)

Added
-----

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zfcampus/zf-mvc-auth#120](zfcampus/zf-mvc-auth#120) fixes the
  `Module::onBootstrap()` method to re-introduce attachment of the
  `MvcRouteListener`.
- [zfcampus/zf-mvc-auth#119](zfcampus/zf-mvc-auth#119) fixes a comparisoin
  in `DefaultResourceResolverListener::getIdentifier()` whereby an identifier of
  `0` was incorrectly resulting in matching to a collection request. As
  collections and entities often have different permissions, this could lead to
  potential false-positiive authorization checks.

1.4.0

Toggle 1.4.0's commit message
api-tools-mvc-auth 1.4.0

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.4.0 (commit 045de211def6f4af5c9a73cd2e574db9809e281e in this repo)

Added
-----

- [zfcampus/zf-mvc-auth#114](zfcampus/zf-mvc-auth#114) and
  [zfcampus/zf-mvc-auth#116](zfcampus/zf-mvc-auth#116) add support for both
  PHP 7 and version 3 components from Laminas (while retaining
  compatibility for version 2 components).

Deprecated
----------

- Nothing.

Removed
-------

- [zfcampus/zf-mvc-auth#116](zfcampus/zf-mvc-auth#116) removes support for
  PHP 5.5.

Fixed
-----

- Nothing.

1.3.2

Toggle 1.3.2's commit message
api-tools-mvc-auth 1.3.2

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.3.2 (commit 452e21a940a1d0c6dcbd24d554b97d4c2dfd29f4 in this repo)

Added
-----

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [zfcampus/zf-mvc-auth#111](zfcampus/zf-mvc-auth#111) adds a check for the
  `unset_refresh_token_after_use` configuration flag when creating an
  `OAuth2\Server` instance, passing it to the instance when discovered.

1.3.1

Toggle 1.3.1's commit message
api-tools-mvc-auth 1.3.1

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.3.1 (commit fedc534945c309f3ae89309f407d2c8255565931 in this repo)

- [zfcampus/zf-mvc-auth#94](zfcampus/zf-mvc-auth#94) fixes a bug in the HttpAdapter, ensuring that it now correctly returns a `GuestIdentity` instance when no `Authorization` header is present.

1.2.1

Toggle 1.2.1's commit message
api-tools-mvc-auth 1.2.1

Based on https://github.com/zfcampus/zf-mvc-auth/releases/tag/1.2.1 (commit 8bf7e70afdc39be11387010e541a8bc6683dff44 in this repo)

- [zfcampus/zf-mvc-auth#94](zfcampus/zf-mvc-auth#94) fixes a bug in the HttpAdapter, ensuring that it now correctly returns a `GuestIdentity` instance when no `Authorization` header is present.