Update dependency laminas/laminas-cache to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| laminas/laminas-cache (source) | ^3.12.2 -> ^4.0.4 |
Release Notes
laminas/laminas-cache (laminas/laminas-cache)
v4.0.4
Release Notes for 4.0.4
4.0.4
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 1
Documentation
- 328: Add new
max&#​95;itemsMemoryadapter option thanks to @boesing - 327: Add new
FilesystemOptionsrelated toFilesystemv3.0 thanks to @boesing - 326: Update documentation to reflect most recent changes regarding v4 and adapters thanks to @boesing
v4.0.3
Release Notes for 4.0.3
4.0.3
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
v4.0.2
Release Notes for 4.0.2
4.0.x bugfix release (patch)
4.0.2
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
v4.0.1
Release Notes for 4.0.1
4.0.x bugfix release (patch)
4.0.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
v4.0.0
Release Notes for 4.0.0
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.
Added
- Every adapter which supports
metadatanow implementsMetadataCapableInterfaceand provides a dedicated object containing all the metadata values it supports - Adds support for
psr/cacheandpsr/simple-cachev2 & v3
Removed
supportedMetadatacapability fromCapabilitiesKeyListIterator::CURRENT_AS_METADATAmode along withLaminas\Cache\Exception\MissingKeyException- automatic instantiation of
SerializerInterfacewhen callingPluginOptions#getSerializer - Increment and decrement feature from
StorageInterface, so there is no moreStorageInterface#incrementItem,StorageInterface#decrementItem,StorageInterface#decrementItemsandStorageInterface#incrementItems- this also removes
incrementItem,incrementItems,decrementItem,derementItemsevents (pre,postandexception)
- this also removes
- dependency inversion on virtual package
laminas/laminas-cache-storage-adapter-implementationwhich now allowslaminas-cacheto be required without a concrete storage adapter implementation - removed support for
psr/cacheandpsr/simple-cachev1
Breaking Changes
AbstractAdapterandStorageInterfaceare not aware of the methodsgetMetadataanymore. These were moved to the newMetadataCapableInterfaceCapabilitiesdo not providesupportedMetadataanymore. 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 anywayKeyListIteratorand the correspondingIteratorInterfacedoes not provide themodeCURRENT_AS_METADATAanymorePluginOptions#getSerializerdoes not create a serializer anymore if astringoption was passed, instead, thestringis returned- Increment and decrement feature was removed from
StorageInterface, so there is no moreStorageInterface#incrementItem,StorageInterface#decrementItem,StorageInterface#decrementItemsandStorageInterface#incrementItems- this also removes
incrementItem,incrementItems,decrementItem,derementItemsevents (pre,postandexception)
- this also removes
- Every method now has native return types
- Every property now has native types
- Every method argument now has native types
ObjectCachedoes not inherit theCallbackCachepattern 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 thanks to @boesing
- 310: Enhance type strictness and add
finalto a bunch of classes thanks to @boesing - 308: Provide
Capabilitiesas a read-only class thanks to @boesing - 296: Support for
laminas/laminas-servicemanagerv4 thanks to @boesing - 275: Introduce support for PSR-6 and PSR-16 v2 & v3 thanks to @boesing
- 273: Introduce
MetadataCapableInterfacethanks to @boesing - 14: reduce arguments by reference thanks to @weierophinney
Enhancement
- 316: Narrow some more string types to
non-empty-stringthanks to @boesing - 291: Remove
laminas/laminas-feeddev-dependency thanks to @boesing - 290: Update
vimeo/psalmto v5.20.0 thanks to @boesing - 289: Remove virtual package dependency of
laminas/laminas-cache-storage-implementationthanks to @boesing - 277: Update
vimeo/psalmto v5.16 once available thanks to @boesing
Bug,Enhancement
BC Break,Feature Removal
- 311: Remove unsupported array configuration structure (array shape) thanks to @boesing
- 309: Remove deprecated configuration support thanks to @boesing
BC Break
- 295: Introduce native type-hints and pass-by-reference values thanks to @boesing and @ravcz
- 294: Removal of
incrementanddecrementfunctionality thanks to @boesing - 272: Remove dependency on real storage adapters and therefore benchmarks thanks to @boesing
Feature Request
BC Break,Bug
- 276:
Serializerplugin has to serializetokento enableStorageInterface#checkAndSetItemcomparing the correct values thanks to @boesing
Documentation
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.
- [ ] If you want to rebase/retry this PR, check this box
Config source: https://github.com/Slamdunk/.github/blob/main/renovate-config.json