mezzio / mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.
https://docs.mezzio.dev/mezzio-authentication-oauth2/
BSD 3-Clause "New" or "Revised" License
25 stars 17 forks source link

Update Laminas packages (major) #68

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 11 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-coding-standard (source) ~2.5.0 -> ~3.0.0 age adoption passing confidence
laminas/laminas-servicemanager (source) ^3.23.0 -> ^4.0.0 age adoption passing confidence

Release Notes

laminas/laminas-coding-standard (laminas/laminas-coding-standard) ### [`v3.0.1`](https://redirect.github.com/laminas/laminas-coding-standard/releases/tag/3.0.1) [Compare Source](https://redirect.github.com/laminas/laminas-coding-standard/compare/3.0.0...3.0.1) ##### Release Notes for [3.0.1](https://redirect.github.com/laminas/laminas-coding-standard/milestone/20) 3.0.x bugfix release (patch) ##### 3.0.1 - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **1** ##### Documentation,Enhancement - [86: docs: Add missing docs for v3](https://redirect.github.com/laminas/laminas-coding-standard/pull/86) thanks to [@​michalbundyra](https://redirect.github.com/michalbundyra) - [85: chore: Update links from squizlabs to PHPCSStandards](https://redirect.github.com/laminas/laminas-coding-standard/pull/85) thanks to [@​michalbundyra](https://redirect.github.com/michalbundyra) ### [`v3.0.0`](https://redirect.github.com/laminas/laminas-coding-standard/releases/tag/3.0.0) [Compare Source](https://redirect.github.com/laminas/laminas-coding-standard/compare/2.5.0...3.0.0) ##### Release Notes for [3.0.0](https://redirect.github.com/laminas/laminas-coding-standard/milestone/6) Backwards incompatible release (major) ##### 3.0.0 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **2** ##### renovate - [84: Lock file maintenance](https://redirect.github.com/laminas/laminas-coding-standard/pull/84) thanks to [@​renovate](https://redirect.github.com/renovate)\[bot] ##### Enhancement - [83: feat: upgrade to `slevomat/coding-standard` ^8](https://redirect.github.com/laminas/laminas-coding-standard/pull/83) thanks to [@​alexraputa](https://redirect.github.com/alexraputa) ##### BC Break,renovate - [75: chore(deps): update dependency slevomat/coding-standard to v8 - abandoned](https://redirect.github.com/laminas/laminas-coding-standard/pull/75) thanks to [@​renovate](https://redirect.github.com/renovate)\[bot]
laminas/laminas-servicemanager (laminas/laminas-servicemanager) ### [`v4.2.1`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.2.1) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/4.2.0...4.2.1) ##### Release Notes for [4.2.1](https://redirect.github.com/laminas/laminas-servicemanager/milestone/58) 4.2.x bugfix release (patch) ##### 4.2.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Documentation,Enhancement - [244: Add mixed as array shape](https://redirect.github.com/laminas/laminas-servicemanager/pull/244) thanks to [@​grizzm0](https://redirect.github.com/grizzm0) ### [`v4.2.0`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.2.0) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/4.1.0...4.2.0) ##### Release Notes for [4.2.0](https://redirect.github.com/laminas/laminas-servicemanager/milestone/57) Feature release (minor) ##### 4.2.0 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Enhancement - [237: Allow varexporter v0.5](https://redirect.github.com/laminas/laminas-servicemanager/pull/237) thanks to [@​snapshotpl](https://redirect.github.com/snapshotpl) ### [`v4.1.0`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.1.0) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/4.0.2...4.1.0) ##### Release Notes for [4.1.0](https://redirect.github.com/laminas/laminas-servicemanager/milestone/52) Feature release (minor) ##### 4.1.0 - Total issues resolved: **1** - Total pull requests resolved: **3** - Total contributors: **2** ##### Documentation - [234: Merge release 4.0.2 into 4.1.x](https://redirect.github.com/laminas/laminas-servicemanager/pull/234) thanks to [@​github-actions](https://redirect.github.com/github-actions)\[bot] - [232: Merge release 4.0.1 into 4.1.x](https://redirect.github.com/laminas/laminas-servicemanager/pull/232) thanks to [@​github-actions](https://redirect.github.com/github-actions)\[bot] ##### Documentation,Enhancement - [230: Make `ServiceLocatorInterface#get()` generic](https://redirect.github.com/laminas/laminas-servicemanager/pull/230) thanks to [@​InvisibleSmiley](https://redirect.github.com/InvisibleSmiley) ### [`v4.0.2`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.0.2) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/4.0.1...4.0.2) ##### Release Notes for [4.0.2](https://redirect.github.com/laminas/laminas-servicemanager/milestone/54) 4.0.x bugfix release (patch) ##### 4.0.2 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug,Documentation - [233: Update docs-build workflow triggers and environment variables](https://redirect.github.com/laminas/laminas-servicemanager/pull/233) thanks to [@​froschdesign](https://redirect.github.com/froschdesign) ### [`v4.0.1`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.0.1) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/4.0.0...4.0.1) ##### Release Notes for [4.0.1](https://redirect.github.com/laminas/laminas-servicemanager/milestone/51) 4.0.x bugfix release (patch) ##### 4.0.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug,Documentation - [226: Fixes documentation to support different versions](https://redirect.github.com/laminas/laminas-servicemanager/pull/226) thanks to [@​froschdesign](https://redirect.github.com/froschdesign) ### [`v4.0.0`](https://redirect.github.com/laminas/laminas-servicemanager/releases/tag/4.0.0) [Compare Source](https://redirect.github.com/laminas/laminas-servicemanager/compare/3.23.0...4.0.0) ##### Release Notes for [4.0.0](https://redirect.github.com/laminas/laminas-servicemanager/milestone/2) ##### Release Notes for [4.0.0](https://redirect.github.com/laminas/laminas-servicemanager/milestone/2) `laminas-servicemanager` 4.0.0 is here and finally enables projects to consume `psr/container` v2.0.0 after 2 years along with several type-additions and plugin manager decoupling. The migration guide is not written yet but will be at some point (once we added support for SM v4 to other components) later. ##### Added - Several native type-additions including property-, argument- and return-types and a lot more psalm types - `ServiceManager#get`, `PluginManagerInterface#get` and `ServiceLocatorInterface#build` now explicitly implement `mixed` as return-type to synchronize types with `ContainerInterface#get` - Support for `psr/container` v1.1 **and** v2.0 - [Ahead of Time factory creation](https://redirect.github.com/laminas/laminas-servicemanager/blob/9c92e9879a18398a53edd893378ca75d70658c51/docs/book/v4/console-tools.md#generate-ahead-of-time-factories) for services explicitly using `ReflectionBasedAbstractFactory` via `laminas-cli` ##### Removed - Dropped support for PHP <8.1 - Removed deprecated interfaces such as - `Laminas\ServiceManager\AbstractFactoryInterface` - `Laminas\ServiceManager\FactoryInterface` - `Laminas\ServiceManager\InitializerInterface` - `Laminas\ServiceManager\DelegatorFactoryInterface` - CLI commands which were exposed via `vendor/bin` are removed in favor of the `laminas-cli` integration. All CLI commands of v3.x are accessible via `vendor/bin/laminas servicemanager:` once `laminas/laminas-cli` is required in the projects dependencies - Removed deprecated `ConfigInterface` and `Config`-class since these files did not provide any validation logic and were just used to proxy the configuration array structure - Removed `AbstractPluginManager#validate` and `AbstractPluginManager::$instanceOf` property as in v3.x, implementing plugin managers were able to implicitly `validate` `mixed`. In case an implementing plugin manager is providing a single `$instanceOf` such as `laminas-cache`, there is a new class `AbstractSingleInstancePluginManager` available which requires the `$instanceOf` property to be configured ##### Breaking Changes - `AbstractPluginManager` does not extend `ServiceManager` anymore and instead uses an own `ServiceManager` instance under the hood to manage plugin manager related services which can be configured the same way as in v3.x - Dedicated CLI commands which were previously linked to `vendor/bin` are now integrated via `laminas-cli` and can be called via `vendor/bin/laminas` once `laminas/laminas-cli` is part of the projects requirements. Read more about how to consume these commands [here](https://redirect.github.com/laminas/laminas-servicemanager/blob/9c92e9879a18398a53edd893378ca75d70658c51/docs/book/v4/console-tools.md). - `AbstractPluginManager` does not provide the `validate`-Method anymore and requires migration action such as: - extend `AbstractSingleInstancePluginManager` in case the plugin manager only provides instances of a specific interface- or class-string (please be aware that the `$instanceOf` property now requires native `string` property type) - implement `validate` method and verify whatever type has to be returned and/or just allow `mixed` as v3.x did when omitting `$instanceOf` property - Removed deprecated `ConfigInterface` and `Config`-class since these files did not provide any validation logic and were just used to proxy the configuration array structure - neither `ServiceManager` nor `AbstractPluginManager` do validate the provided configuration at runtime anymore. due to the psalm-types provided to `ServiceManager#__construct`, `ServiceManager#configure`, `AbstractPluginManager#__construct` and `AbstractPluginManager#configure`, the configuration schema is strictly typed and thus, a miss-configuration can be mitigated on static-analysis level prior actual runtime - `AbstractPluginManager#get` does not accept options anymore, in case an instance with options needs to be created, `AbstractPluginManager#build` has to be used ##### 4.0.0 - Total issues resolved: **7** - Total pull requests resolved: **14** - Total contributors: **6** ##### Enhancement - [204: Introduce plugin manager static analysis file](https://redirect.github.com/laminas/laminas-servicemanager/pull/204) thanks to [@​boesing](https://redirect.github.com/boesing) - [200: Replace scope to retrieve plugin manager from `$this` to `self`](https://redirect.github.com/laminas/laminas-servicemanager/pull/200) thanks to [@​boesing](https://redirect.github.com/boesing) - [194: Narrow return type of single instance plugin managers](https://redirect.github.com/laminas/laminas-servicemanager/pull/194) thanks to [@​boesing](https://redirect.github.com/boesing) - [187: Remove removed binaries from composer](https://redirect.github.com/laminas/laminas-servicemanager/pull/187) thanks to [@​boesing](https://redirect.github.com/boesing) - [171: AOT factory creation CLI command for `ReflectionBasedAbstractFactory` mapped factories](https://redirect.github.com/laminas/laminas-servicemanager/issues/171) thanks to [@​boesing](https://redirect.github.com/boesing) - [58: Merge release 3.5.0 into 4.0.x](https://redirect.github.com/laminas/laminas-servicemanager/pull/58) thanks to [@​github-actions](https://redirect.github.com/github-actions)\[bot] ##### BC Break,Enhancement - [191: Modernize codebase](https://redirect.github.com/laminas/laminas-servicemanager/pull/191) thanks to [@​boesing](https://redirect.github.com/boesing) - [188: Add support for `psr/container` v2](https://redirect.github.com/laminas/laminas-servicemanager/pull/188) thanks to [@​boesing](https://redirect.github.com/boesing) and [@​danielspk](https://redirect.github.com/danielspk) - [181: Remove deprecated `ServiceManager#getServiceLocator` method](https://redirect.github.com/laminas/laminas-servicemanager/pull/181) thanks to [@​boesing](https://redirect.github.com/boesing) - [179: Remove `ServiceManager` inheritance for `AbstractPluginManager`](https://redirect.github.com/laminas/laminas-servicemanager/pull/179) thanks to [@​boesing](https://redirect.github.com/boesing) - [176: Convert old CLI standalone commands to laminas-cli commands](https://redirect.github.com/laminas/laminas-servicemanager/pull/176) thanks to [@​boesing](https://redirect.github.com/boesing) - [172: Convert commands to laminas-cli symfony commands](https://redirect.github.com/laminas/laminas-servicemanager/issues/172) thanks to [@​boesing](https://redirect.github.com/boesing) - [46: #​44 add strict type declarations](https://redirect.github.com/laminas/laminas-servicemanager/pull/46) thanks to [@​GeeH](https://redirect.github.com/GeeH) ##### RFC - [182: Remove `AbstractPluginManager#validate`](https://redirect.github.com/laminas/laminas-servicemanager/issues/182) thanks to [@​boesing](https://redirect.github.com/boesing) - [174: Mark `ServiceManager` as `final` and change `AbstractPluginManager` to use composition over inheritance](https://redirect.github.com/laminas/laminas-servicemanager/issues/174) thanks to [@​boesing](https://redirect.github.com/boesing) ##### BC Break - [170: Remove deprecated factories](https://redirect.github.com/laminas/laminas-servicemanager/pull/170) thanks to [@​boesing](https://redirect.github.com/boesing) - [169: Remove `container-interop/container-interop` polyfill](https://redirect.github.com/laminas/laminas-servicemanager/pull/169) thanks to [@​boesing](https://redirect.github.com/boesing) ##### renovate - [151: Update dependency psr/container to v2](https://redirect.github.com/laminas/laminas-servicemanager/pull/151) thanks to [@​renovate](https://redirect.github.com/renovate)\[bot] ##### Bug - [89: AbstractPluginManager::get has parameter name mismatch with ContainerInterface::get](https://redirect.github.com/laminas/laminas-servicemanager/issues/89) thanks to [@​Slamdunk](https://redirect.github.com/Slamdunk)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



Read more information about the use of Renovate Bot within Laminas.