Skip to content

Releases: laminas/laminas-cache

4.3.0

10 Mar 15:07
Immutable release. Only release title and notes can be modified.
4.3.0
bc1b835

Choose a tag to compare

Release Notes for 4.3.0

Feature release (minor)

4.3.0

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

Dependencies

Bug,Documentation

3.14.0

05 Feb 15:49
Immutable release. Only release title and notes can be modified.
3.14.0
c4b556b

Choose a tag to compare

Release Notes for 3.14.0

Feature release (minor)

3.14.0

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

Dependencies

4.2.0

04 Feb 23:09
Immutable release. Only release title and notes can be modified.
4.2.0
c5f2192

Choose a tag to compare

Release Notes for 4.2.0

Feature release (minor)

4.2.0

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

Dependencies,Enhancement

renovate

3.13.0

21 Jan 12:35
3.13.0
8225b16

Choose a tag to compare

Release Notes for 3.13.0

3.13.0

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

Enhancement

4.1.0

26 Nov 08:09
4.1.0
557c340

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

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

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

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

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

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