Skip to content

Releases: laminas/laminas-cache

4.1.0

26 Nov 08:09
4.1.0
557c340
Compare
Choose a tag to compare

Release Notes for 4.1.0

Feature release (minor)

This release adds support for PHP 8.4.

4.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 3

Dependencies,Enhancement

Dependencies,Enhancement,QA

Documentation,QA

Enhancement

renovate

4.0.4

10 Jul 16:02
4.0.4
7c72bc9
Compare
Choose a tag to compare

Release Notes for 4.0.4

4.0.4

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 1

Documentation

4.0.3

21 Jun 18:43
4.0.3
6bf742f
Compare
Choose a tag to compare

Release Notes for 4.0.3

4.0.3

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

4.0.2

21 Jun 18:39
4.0.2
03b73c8
Compare
Choose a tag to compare

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

4.0.1

21 Jun 16:57
4.0.1
03b73c8
Compare
Choose a tag to compare

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

4.0.0

16 Jun 17:42
4.0.0
512dc92
Compare
Choose a tag to compare

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 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

Enhancement

Bug,Enhancement

BC Break,Feature Removal

BC Break

Feature Request

BC Break,Bug

Documentation

3.12.2

14 Jun 13:40
3.12.2
f99d10d
Compare
Choose a tag to compare

Release Notes for 3.12.2

3.12.x bugfix release (patch)

3.12.2

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

Documentation

3.12.1

19 Jan 20:42
3.12.1
bf8bc7f
Compare
Choose a tag to compare

Release Notes for 3.12.1

3.12.x bugfix release (patch)

3.12.1

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug

3.12.0

06 Nov 18:53
3.12.0
66cf9a2
Compare
Choose a tag to compare

Release Notes for 3.12.0

3.12.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

3.11.0

31 Jul 10:42
3.11.0
76cc49a
Compare
Choose a tag to compare

Release Notes for 3.11.0

Feature release (minor)

Added

  • AdapterPluginManager is now configurable via storage_adapters

Changed

  • Added direct support for PSR-20
  • minimum laminas/laminas-servicemanager version was raised to 3.21.0

Removed

  • PHP 8.0 support was removed

3.11.0

  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 2

Enhancement

Enhancement,Good First Issue,Help Wanted