Slamdunk / phpstan-laminas-framework

Laminas Framework 3 extensions for PHPStan
MIT License
16 stars 10 forks source link

Update dependency laminas/laminas-cache to v4 #60

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-cache (source) ^3.12.2 -> ^4.0.4 age adoption passing confidence

Release Notes

laminas/laminas-cache (laminas/laminas-cache) ### [`v4.0.4`](https://togithub.com/laminas/laminas-cache/releases/tag/4.0.4) [Compare Source](https://togithub.com/laminas/laminas-cache/compare/4.0.3...4.0.4) ##### Release Notes for [4.0.4](https://togithub.com/laminas/laminas-cache/milestone/62) ##### 4.0.4 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **1** ##### Documentation - [328: Add new `max&#​95;items` `Memory` adapter option](https://togithub.com/laminas/laminas-cache/pull/328) thanks to [@​boesing](https://togithub.com/boesing) - [327: Add new `FilesystemOptions` related to `Filesystem` v3.0](https://togithub.com/laminas/laminas-cache/pull/327) thanks to [@​boesing](https://togithub.com/boesing) - [326: Update documentation to reflect most recent changes regarding v4 and adapters](https://togithub.com/laminas/laminas-cache/pull/326) thanks to [@​boesing](https://togithub.com/boesing) ### [`v4.0.3`](https://togithub.com/laminas/laminas-cache/releases/tag/4.0.3) [Compare Source](https://togithub.com/laminas/laminas-cache/compare/4.0.2...4.0.3) ##### Release Notes for [4.0.3](https://togithub.com/laminas/laminas-cache/milestone/61) ##### 4.0.3 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug - [322: Add adapter options template to StorageInterface usage](https://togithub.com/laminas/laminas-cache/pull/322) thanks to [@​boesing](https://togithub.com/boesing) ### [`v4.0.2`](https://togithub.com/laminas/laminas-cache/releases/tag/4.0.2) [Compare Source](https://togithub.com/laminas/laminas-cache/compare/4.0.1...4.0.2) ##### Release Notes for [4.0.2](https://togithub.com/laminas/laminas-cache/milestone/60) 4.0.x bugfix release (patch) ##### 4.0.2 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug - [321: Add adapter options template to `StorageInterface` usage](https://togithub.com/laminas/laminas-cache/pull/321) thanks to [@​boesing](https://togithub.com/boesing) ### [`v4.0.1`](https://togithub.com/laminas/laminas-cache/releases/tag/4.0.1) [Compare Source](https://togithub.com/laminas/laminas-cache/compare/4.0.0...4.0.1) ##### Release Notes for [4.0.1](https://togithub.com/laminas/laminas-cache/milestone/57) 4.0.x bugfix release (patch) ##### 4.0.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** ##### Bug - [319: Add missing template param for `StorageInterface`](https://togithub.com/laminas/laminas-cache/pull/319) thanks to [@​boesing](https://togithub.com/boesing) ### [`v4.0.0`](https://togithub.com/laminas/laminas-cache/releases/tag/4.0.0) [Compare Source](https://togithub.com/laminas/laminas-cache/compare/3.12.2...4.0.0) ##### Release Notes for [4.0.0](https://togithub.com/laminas/laminas-cache/milestone/11) `laminas-cache` 4.0.0 is here and finally adds native types **everywhere**, adds support for `psr/cache` and `psr/simple-cache` v2 & v3 and introduces an all new metadata logic which allows adapters to provide metadata they actually support. Please read more on how to migrate your project in our [migration guideline](https://togithub.com/laminas/laminas-cache/blob/5fc9681221c9120adeb091e084524e953e1434a0/docs/book/v4/migration/to-version-4.md). ##### Added - Every adapter which supports `metadata` now implements `MetadataCapableInterface` and provides a dedicated object containing all the metadata values it supports - Adds support for `psr/cache` and `psr/simple-cache` v2 & v3 ##### Removed - `supportedMetadata` capability from `Capabilities` - `KeyListIterator::CURRENT_AS_METADATA` mode along with `Laminas\Cache\Exception\MissingKeyException` - automatic instantiation of `SerializerInterface` when calling `PluginOptions#getSerializer` - Increment and decrement feature from `StorageInterface`, so there is no more `StorageInterface#incrementItem`, `StorageInterface#decrementItem`, `StorageInterface#decrementItems` and `StorageInterface#incrementItems` - this also removes `incrementItem`, `incrementItems`, `decrementItem`, `derementItems` events (`pre`, `post` and `exception`) - dependency inversion on virtual package `laminas/laminas-cache-storage-adapter-implementation` which now allows `laminas-cache` to be required without a concrete storage adapter implementation - removed support for `psr/cache` and `psr/simple-cache` v1 ##### Breaking Changes - `AbstractAdapter` and `StorageInterface` are not aware of the methods `getMetadata` anymore. These were moved to the new `MetadataCapableInterface` - `Capabilities` do not provide `supportedMetadata` anymore. The supported metadata is tied to the used storage adapter and thus, was already requiring projects to explicitly know the exact implementation of the cache backend in case of using these metadatas anyway - `KeyListIterator` and the corresponding `IteratorInterface` does not provide the `mode` `CURRENT_AS_METADATA` anymore - `PluginOptions#getSerializer` does not create a serializer anymore if a `string` option was passed, instead, the `string` is returned - Increment and decrement feature was removed from `StorageInterface`, so there is no more `StorageInterface#incrementItem`, `StorageInterface#decrementItem`, `StorageInterface#decrementItems` and `StorageInterface#incrementItems` - this also removes `incrementItem`, `incrementItems`, `decrementItem`, `derementItems` events (`pre`, `post` and `exception`) - Every method now has native return types - Every property now has native types - Every method argument now has native types - `ObjectCache` does not inherit the `CallbackCache` pattern anymore ##### 4.0.0 - Total issues resolved: **9** - Total pull requests resolved: **18** - Total contributors: **4** ##### BC Break,Enhancement - [317: Allow integer keys for some more methods](https://togithub.com/laminas/laminas-cache/pull/317) thanks to [@​boesing](https://togithub.com/boesing) - [310: Enhance type strictness and add `final` to a bunch of classes](https://togithub.com/laminas/laminas-cache/pull/310) thanks to [@​boesing](https://togithub.com/boesing) - [308: Provide `Capabilities` as a read-only class](https://togithub.com/laminas/laminas-cache/pull/308) thanks to [@​boesing](https://togithub.com/boesing) - [296: Support for `laminas/laminas-servicemanager` v4](https://togithub.com/laminas/laminas-cache/pull/296) thanks to [@​boesing](https://togithub.com/boesing) - [275: Introduce support for PSR-6 and PSR-16 v2 & v3](https://togithub.com/laminas/laminas-cache/pull/275) thanks to [@​boesing](https://togithub.com/boesing) - [273: Introduce `MetadataCapableInterface`](https://togithub.com/laminas/laminas-cache/pull/273) thanks to [@​boesing](https://togithub.com/boesing) - [14: reduce arguments by reference](https://togithub.com/laminas/laminas-cache/issues/14) thanks to [@​weierophinney](https://togithub.com/weierophinney) ##### Enhancement - [316: Narrow some more string types to `non-empty-string`](https://togithub.com/laminas/laminas-cache/pull/316) thanks to [@​boesing](https://togithub.com/boesing) - [291: Remove `laminas/laminas-feed` dev-dependency](https://togithub.com/laminas/laminas-cache/pull/291) thanks to [@​boesing](https://togithub.com/boesing) - [290: Update `vimeo/psalm` to v5.20.0](https://togithub.com/laminas/laminas-cache/pull/290) thanks to [@​boesing](https://togithub.com/boesing) - [289: Remove virtual package dependency of `laminas/laminas-cache-storage-implementation`](https://togithub.com/laminas/laminas-cache/pull/289) thanks to [@​boesing](https://togithub.com/boesing) - [277: Update `vimeo/psalm` to v5.16 once available](https://togithub.com/laminas/laminas-cache/issues/277) thanks to [@​boesing](https://togithub.com/boesing) ##### Bug,Enhancement - [315: Allow integerish keys in methods handling multiple keys at once](https://togithub.com/laminas/laminas-cache/pull/315) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break,Feature Removal - [311: Remove unsupported array configuration structure (array shape)](https://togithub.com/laminas/laminas-cache/pull/311) thanks to [@​boesing](https://togithub.com/boesing) - [309: Remove deprecated configuration support](https://togithub.com/laminas/laminas-cache/pull/309) thanks to [@​boesing](https://togithub.com/boesing) ##### BC Break - [295: Introduce native type-hints and pass-by-reference values](https://togithub.com/laminas/laminas-cache/pull/295) thanks to [@​boesing](https://togithub.com/boesing) and [@​ravcz](https://togithub.com/ravcz) - [294: Removal of `increment` and `decrement` functionality](https://togithub.com/laminas/laminas-cache/pull/294) thanks to [@​boesing](https://togithub.com/boesing) - [272: Remove dependency on real storage adapters and therefore benchmarks](https://togithub.com/laminas/laminas-cache/pull/272) thanks to [@​boesing](https://togithub.com/boesing) ##### Feature Request - [292: Incompatibility of laminas-cache and newer psr/cache versions ](https://togithub.com/laminas/laminas-cache/issues/292) thanks to [@​smsalert-mobi](https://togithub.com/smsalert-mobi) ##### BC Break,Bug - [276: `Serializer` plugin has to serialize `token` to enable `StorageInterface#checkAndSetItem` comparing the correct values](https://togithub.com/laminas/laminas-cache/pull/276) thanks to [@​boesing](https://togithub.com/boesing) ##### Documentation - [274: Documentation for v4.0.0 including migration guide](https://togithub.com/laminas/laminas-cache/pull/274) thanks to [@​boesing](https://togithub.com/boesing)

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 becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



Config source: https://github.com/Slamdunk/.github/blob/main/renovate-config.json