laminas / laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output
https://docs.laminas.dev/laminas-cache/
BSD 3-Clause "New" or "Revised" License
99 stars 51 forks source link

Update Laminas packages (major) - autoclosed #313

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-serializer (source) ^2.14 -> ^3.0 age adoption passing confidence
laminas/laminas-servicemanager (source) ^3.21 -> ^3.21 \|\| ^4.0 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

laminas/laminas-serializer (laminas/laminas-serializer) ### [`v3.0.0`](https://togithub.com/laminas/laminas-serializer/releases/tag/3.0.0) [Compare Source](https://togithub.com/laminas/laminas-serializer/compare/2.17.0...3.0.0) ##### Release Notes for [3.0.0](https://togithub.com/laminas/laminas-serializer/milestone/4) Backwards incompatible release (major) With v3.0.0, a huge maintenance release is rolled out. Every property and every method is now fully typed, starting with method arguments up to object properties. These kind of changes were necessary due to the changes in `laminas-servicemanager` v4.0.0 which is also fully typed starting with v4.0. To reduce further maintenance effort, some niche serializers were dropped in favor or faster CI pipelines and due to the lack of cross-platform checks. Laminas wants to provide fully tested code which was not properly possible for at least the `Wddx` adapter. The migration guide is available on the documentation website: https://docs.laminas.dev/laminas-serializer/v3/migration/to-version-3/ ##### Breaking Changes - All methods within this component now have typed arguments and typed return - All properties within this component are now typed ##### Removed - `Laminas\Serializer\Serializer` is removed in favor of proper dependency injection - `Laminas\Serializer\Adapter\MsgPack` is removed to reduce the amount of maintenance within this component - `Laminas\Serializer\Adapter\PythonPickle` is removed to reduce the amount of maintenance within this component - `Laminas\Serializer\Adapter\Wddx` is removed to reduce the amount of maintenance within this component ##### Changed - Due to the removal of `Laminas\Serializer\Serializer`, projects now have to either instantiate the default serializer implementation or inject it by consuming the `Laminas\Serializer\Adapter\AdapterInterface` service ##### Added - `Laminas\Serializer\GenericSerializerFactory` in case projects want to re-configure the default serializer (`PhpSerialize`) provided by the `Laminas\Serializer\Adapter\AdapterInterface` service - Compatibility with `laminas/laminas-servicemanager` v4.0.0 and therefore `psr/container` v2.0.0 ##### 3.0.0 - Total issues resolved: **2** - Total pull requests resolved: **12** - Total contributors: **3** ##### Documentation - [66: Documentation: Normalize intro table](https://togithub.com/laminas/laminas-serializer/pull/66) thanks to [@​boesing](https://togithub.com/boesing) - [40: Documentation and initial migration guide for 3.0.0](https://togithub.com/laminas/laminas-serializer/pull/40) thanks to [@​boesing](https://togithub.com/boesing) ##### Enhancement - [65: Update `laminas/laminas-servicemanager` to v4.1.0+](https://togithub.com/laminas/laminas-serializer/pull/65) thanks to [@​boesing](https://togithub.com/boesing) - [57: Introduce some static analysis checks](https://togithub.com/laminas/laminas-serializer/pull/57) thanks to [@​boesing](https://togithub.com/boesing) - [43: Require stable v4.0 of `laminas-servicemanager`](https://togithub.com/laminas/laminas-serializer/pull/43) thanks to [@​boesing](https://togithub.com/boesing) - [36: Remove support for PHP 8.0, Upgrade PHPUnit to 10.x](https://togithub.com/laminas/laminas-serializer/pull/36) thanks to [@​gsteel](https://togithub.com/gsteel) ##### Documentation,Enhancement - [51: Updates documentation for version 3](https://togithub.com/laminas/laminas-serializer/pull/51) thanks to [@​froschdesign](https://togithub.com/froschdesign) ##### BC Break,Enhancement,Feature Removal - [39: Provide default serializer via configuration](https://togithub.com/laminas/laminas-serializer/pull/39) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break,Enhancement - [37: Implementing native type-hints](https://togithub.com/laminas/laminas-serializer/pull/37) thanks to [@​boesing](https://togithub.com/boesing) - [25: Support and require `laminas-servicemanager` v4.0](https://togithub.com/laminas/laminas-serializer/pull/25) thanks to [@​boesing](https://togithub.com/boesing) - [20: Remove zend compatibility](https://togithub.com/laminas/laminas-serializer/pull/20) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break,Documentation,Enhancement - [27: Removal of niche serializer adapters](https://togithub.com/laminas/laminas-serializer/pull/27) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break,RFC - [21: \[RFC\]: Drop support for niche serializers `MsgPack`, `PhpCode`, `PythonPickle` and `Wddx`](https://togithub.com/laminas/laminas-serializer/issues/21) thanks to [@​boesing](https://togithub.com/boesing) ### [`v2.17.0`](https://togithub.com/laminas/laminas-serializer/releases/tag/2.17.0) [Compare Source](https://togithub.com/laminas/laminas-serializer/compare/2.16.2...2.17.0) ##### Release Notes for [2.17.0](https://togithub.com/laminas/laminas-serializer/milestone/15) Feature release (minor) ##### 2.17.0 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Enhancement - [49: Add support for PHP 8.3](https://togithub.com/laminas/laminas-serializer/pull/49) thanks to [@​MauricioFauth](https://togithub.com/MauricioFauth) ### [`v2.16.2`](https://togithub.com/laminas/laminas-serializer/releases/tag/2.16.2) [Compare Source](https://togithub.com/laminas/laminas-serializer/compare/2.16.1...2.16.2) ##### Release Notes for [2.16.2](https://togithub.com/laminas/laminas-serializer/milestone/16) 2.16.x bugfix release (patch) ##### 2.16.2 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug,Documentation - [50: Updates workflow file for docs build to use DEPLOY_TOKEN](https://togithub.com/laminas/laminas-serializer/pull/50) thanks to [@​froschdesign](https://togithub.com/froschdesign) ### [`v2.16.1`](https://togithub.com/laminas/laminas-serializer/releases/tag/2.16.1) [Compare Source](https://togithub.com/laminas/laminas-serializer/compare/2.16.0...2.16.1) ##### Release Notes for [2.16.1](https://togithub.com/laminas/laminas-serializer/milestone/14) 2.16.x bugfix release (patch) ##### 2.16.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug - [46: Add missing `AdapterPluginManager` service to `ConfigProvider`](https://togithub.com/laminas/laminas-serializer/pull/46) thanks to [@​boesing](https://togithub.com/boesing) ### [`v2.16.0`](https://togithub.com/laminas/laminas-serializer/releases/tag/2.16.0) [Compare Source](https://togithub.com/laminas/laminas-serializer/compare/2.15.0...2.16.0) ##### Release Notes for [2.16.0](https://togithub.com/laminas/laminas-serializer/milestone/13) Feature release (minor) ##### Added - [#​41](https://togithub.com/laminas/laminas-serializer/issues/41) `Laminas\Serializer\GenericSerializerFactory` which is registered with `Laminas\Serializer\Adapter\AdapterInterface` in `mezzio` and `laminas-mvc` configuration to provide project default `PhpSerialize` serializer adapter via the container. Can be used in projects to reconfigure projects default serializer by overriding the `Laminas\Serializer\Adapter\AdapterInterface` in the container confgiuration in (`dependencies`/`service_manager`)`.factories`. ##### Deprecated - [#​41](https://togithub.com/laminas/laminas-serializer/issues/41) `Laminas\Serializer\Serializer` is deprecated and marked to be removed in v3.0.0. ##### 2.16.0 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Enhancement - [41: Deprecate `Laminas\Serializer\Serializer`](https://togithub.com/laminas/laminas-serializer/pull/41) thanks to [@​boesing](https://togithub.com/boesing)
laminas/laminas-servicemanager (laminas/laminas-servicemanager) ### [`v4.1.0`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/4.1.0) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/4.0.2...4.1.0) ##### Release Notes for [4.1.0](https://togithub.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://togithub.com/laminas/laminas-servicemanager/pull/234) thanks to [@​github-actions](https://togithub.com/github-actions)\[bot] - [232: Merge release 4.0.1 into 4.1.x](https://togithub.com/laminas/laminas-servicemanager/pull/232) thanks to [@​github-actions](https://togithub.com/github-actions)\[bot] ##### Documentation,Enhancement - [230: Make `ServiceLocatorInterface#get()` generic](https://togithub.com/laminas/laminas-servicemanager/pull/230) thanks to [@​InvisibleSmiley](https://togithub.com/InvisibleSmiley) ### [`v4.0.2`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/4.0.2) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/4.0.1...4.0.2) ##### Release Notes for [4.0.2](https://togithub.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://togithub.com/laminas/laminas-servicemanager/pull/233) thanks to [@​froschdesign](https://togithub.com/froschdesign) ### [`v4.0.1`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/4.0.1) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/4.0.0...4.0.1) ##### Release Notes for [4.0.1](https://togithub.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://togithub.com/laminas/laminas-servicemanager/pull/226) thanks to [@​froschdesign](https://togithub.com/froschdesign) ### [`v4.0.0`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/4.0.0) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/3.22.1...4.0.0) ##### Release Notes for [4.0.0](https://togithub.com/laminas/laminas-servicemanager/milestone/2) ##### Release Notes for [4.0.0](https://togithub.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://togithub.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://togithub.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://togithub.com/laminas/laminas-servicemanager/pull/204) thanks to [@​boesing](https://togithub.com/boesing) - [200: Replace scope to retrieve plugin manager from `$this` to `self`](https://togithub.com/laminas/laminas-servicemanager/pull/200) thanks to [@​boesing](https://togithub.com/boesing) - [194: Narrow return type of single instance plugin managers](https://togithub.com/laminas/laminas-servicemanager/pull/194) thanks to [@​boesing](https://togithub.com/boesing) - [187: Remove removed binaries from composer](https://togithub.com/laminas/laminas-servicemanager/pull/187) thanks to [@​boesing](https://togithub.com/boesing) - [171: AOT factory creation CLI command for `ReflectionBasedAbstractFactory` mapped factories](https://togithub.com/laminas/laminas-servicemanager/issues/171) thanks to [@​boesing](https://togithub.com/boesing) - [58: Merge release 3.5.0 into 4.0.x](https://togithub.com/laminas/laminas-servicemanager/pull/58) thanks to [@​github-actions](https://togithub.com/github-actions)\[bot] ##### BC Break,Enhancement - [191: Modernize codebase](https://togithub.com/laminas/laminas-servicemanager/pull/191) thanks to [@​boesing](https://togithub.com/boesing) - [188: Add support for `psr/container` v2](https://togithub.com/laminas/laminas-servicemanager/pull/188) thanks to [@​boesing](https://togithub.com/boesing) and [@​danielspk](https://togithub.com/danielspk) - [181: Remove deprecated `ServiceManager#getServiceLocator` method](https://togithub.com/laminas/laminas-servicemanager/pull/181) thanks to [@​boesing](https://togithub.com/boesing) - [179: Remove `ServiceManager` inheritance for `AbstractPluginManager`](https://togithub.com/laminas/laminas-servicemanager/pull/179) thanks to [@​boesing](https://togithub.com/boesing) - [176: Convert old CLI standalone commands to laminas-cli commands](https://togithub.com/laminas/laminas-servicemanager/pull/176) thanks to [@​boesing](https://togithub.com/boesing) - [172: Convert commands to laminas-cli symfony commands](https://togithub.com/laminas/laminas-servicemanager/issues/172) thanks to [@​boesing](https://togithub.com/boesing) - [46: #​44 add strict type declarations](https://togithub.com/laminas/laminas-servicemanager/pull/46) thanks to [@​GeeH](https://togithub.com/GeeH) ##### RFC - [182: Remove `AbstractPluginManager#validate`](https://togithub.com/laminas/laminas-servicemanager/issues/182) thanks to [@​boesing](https://togithub.com/boesing) - [174: Mark `ServiceManager` as `final` and change `AbstractPluginManager` to use composition over inheritance](https://togithub.com/laminas/laminas-servicemanager/issues/174) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break - [170: Remove deprecated factories](https://togithub.com/laminas/laminas-servicemanager/pull/170) thanks to [@​boesing](https://togithub.com/boesing) - [169: Remove `container-interop/container-interop` polyfill](https://togithub.com/laminas/laminas-servicemanager/pull/169) thanks to [@​boesing](https://togithub.com/boesing) ##### renovate - [151: Update dependency psr/container to v2](https://togithub.com/laminas/laminas-servicemanager/pull/151) thanks to [@​renovate](https://togithub.com/renovate)\[bot] ##### Bug - [89: AbstractPluginManager::get has parameter name mismatch with ContainerInterface::get](https://togithub.com/laminas/laminas-servicemanager/issues/89) thanks to [@​Slamdunk](https://togithub.com/Slamdunk) ### [`v3.22.1`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/3.22.1) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/3.22.0...3.22.1) ##### Release Notes for [3.22.1](https://togithub.com/laminas/laminas-servicemanager/milestone/48) 3.22.x bugfix release (patch) ##### 3.22.1 - Total issues resolved: **1** - Total pull requests resolved: **1** - Total contributors: **1** ##### Enhancement - [213: Narrow array type for `services` in ServiceManager configuration](https://togithub.com/laminas/laminas-servicemanager/pull/213) thanks to [@​rieschl](https://togithub.com/rieschl) ### [`v3.22.0`](https://togithub.com/laminas/laminas-servicemanager/releases/tag/3.22.0) [Compare Source](https://togithub.com/laminas/laminas-servicemanager/compare/3.21.0...3.22.0) ##### Release Notes for [3.22.0](https://togithub.com/laminas/laminas-servicemanager/milestone/46) ##### 3.22.0 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Enhancement - [207: Add support for PHP 8.3](https://togithub.com/laminas/laminas-servicemanager/pull/207) thanks to [@​glo71317](https://togithub.com/glo71317)

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.

renovate[bot] commented 3 months ago

āš ļø Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

ā™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update laminas/laminas-serializer:3.0.0 laminas/laminas-servicemanager:4.1.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency laminas/laminas-stdlib is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laminas/laminas-serializer ^3.0 -> satisfiable by laminas/laminas-serializer[3.0.0].
    - laminas/laminas-serializer 3.0.0 requires laminas/laminas-stdlib ^3.19 -> found laminas/laminas-stdlib[3.19.0] but the package is fixed to 3.17.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.