Skip to content

Releases: laminas/laminas-cache-storage-adapter-redis

3.1.0

09 Dec 10:07
3.1.0
687730a
Compare
Choose a tag to compare

Release Notes for 3.1.0

Feature release (minor)

This release adds support for PHP 8.4.

3.1.0

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

renovate,stop-updating

Enhancement

renovate

3.0.0

23 Jun 13:53
3.0.0
327f59c
Compare
Choose a tag to compare

Release Notes for 3.0.0

Backwards incompatible release (major)

laminas-cache-storage-adapter-redis 3.0.0 is here and finally adds native types everywhere and supports laminas/laminas-cache v4.
The RedisResourceManager is now adapted to work the same way as RedisClusterResourceManager while this also removes a bunch of methods which are not meant to be part of both resource managers.

Added

  • Redis adapter now allows RedisResourceManagerInterface to be set via Redis#setResourceManager
  • Redis has now Redis#getPersistentId which returns the persistent ID in case of persistent connections

Changed

  • RedisClusterResourceManagerInterface#hasSerializationSupport now requires both StorageInterface and PluginCapableInterface
  • RedisCluster#setResourceManager is not marked as internal anymore
  • RedisResourceManager now implements RedisResourceManagerInterface and is reworked to work the same way as RedisClusterResourceManager
  • RedisResourceManager as the resource manager is now RedisOptions aware

Removed

  • Removed RedisClusterResourceManagerInterface#getVersion (which also removes that method from RedisClusterResourceManager as well) - there is no replacement
  • Removed RedisClusterResourceManagerInterface#getLibOption (which also removes that method from RedisClusterResourceManager as well) - Use RedisOptions#getLibOption instead
  • Removed support for ext-redis less than v6.0.0 since RedisResourceManager now instantiates Redis with options which were introduced in 6.0.0
  • Removed obsolete RedisOptions such as resource_id and resource_manager
  • RedisResourceManager#getVersion - use RedisOptions#getVersion instead. There is no way to receive the actual redis-server version from the server itself.
  • RedisResourceManager#hasResource - there is no replacement
  • RedisResourceManager#setResource - there is no replacement
  • RedisResourceManager#removeResource - there is no replacement
  • RedisResourceManager#getMajorVersion - there is no replacement
  • RedisResourceManager#setDatabase - use RedisOptions#setDatabase instead
  • RedisResourceManager#getDatabase - use RedisOptions#getDatabase instead
  • RedisResourceManager#setPassword - use RedisOptions#setPassword instead
  • RedisResourceManager#getPassword - use RedisOptions#getPassword instead
  • RedisResourceManager#getUser - use RedisOptions#getUser instead
  • RedisResourceManager#setUser - use RedisOptions#setUser instead
  • RedisResourceManager#getServer - use RedisOptions#getServer instead
  • RedisResourceManager#setServer - use RedisOptions#setServer instead
  • RedisResourceManager#setPersistentId - use RedisOptions#setPersistentId instead
  • RedisResourceManager#getPersistentId- use RedisOptions#getPersistentId or Redis#getPersistentId instead
  • RedisResourceManager#setLibOptions - use RedisOptions#setLibOptions instead
  • RedisResourceManager#getLibOptions - use RedisOptions#getLibOptions instead

Breaking Changes

  • Removed some options in RedisOptions which also removes the following methods
    • RedisOptions#setResourceId as it is not possible to have multiple shared resources anymore
    • RedisOptions#setResourceManager as the resource manager is now RedisOptions aware
  • Removed option related methods from RedisResourceManager which are mostly replaced by the RedisOptions equivalent
    • RedisResourceManager#getVersion - use RedisOptions#getVersion instead. There is no way to receive the actual redis-server version from the server itself.
    • RedisResourceManager#hasResource - there is no replacement
    • RedisResourceManager#setResource - there is no replacement
    • RedisResourceManager#removeResource - there is no replacement
    • RedisResourceManager#getMajorVersion - there is no replacement
    • RedisResourceManager#setDatabase - use RedisOptions#setDatabase instead
    • RedisResourceManager#getDatabase - use RedisOptions#getDatabase instead
    • RedisResourceManager#setPassword - use RedisOptions#setPassword instead
    • RedisResourceManager#getPassword - use RedisOptions#getPassword instead
    • RedisResourceManager#getUser - use RedisOptions#getUser instead
    • RedisResourceManager#setUser - use RedisOptions#setUser instead
    • RedisResourceManager#getServer - use RedisOptions#getServer instead
    • RedisResourceManager#setServer - use RedisOptions#setServer instead
    • RedisResourceManager#setPersistentId - use RedisOptions#setPersistentId instead
    • RedisResourceManager#getPersistentId- use RedisOptions#getPersistentId or Redis#getPersistentId instead
    • RedisResourceManager#setLibOptions - use RedisOptions#setLibOptions instead
    • RedisResourceManager#getLibOptions - use RedisOptions#getLibOptions instead

3.0.0

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

Bug

BC Break,Enhancement,Feature Removal

Enhancement

BC Break,Enhancement

RFC

2.9.0

21 May 20:09
2.9.0
3b234a8
Compare
Choose a tag to compare

Release Notes for 2.9.0

Feature release (minor)

Changed

  • Providing an invalid password for non-password authenticated redis servers was silently ignored when using exception plugin. With this version, invalid passwords lead to uninitialized connections and therefore may have impact on read and write functionality. Please check your configuration and remove passwords when your server does not require a password

2.9.0

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

Enhancement

2.8.0

16 Apr 09:22
2.8.0
82c636c
Compare
Choose a tag to compare

Release Notes for 2.8.0

Feature release (minor)

2.8.0

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

Enhancement,Feature Request

2.7.0

08 Jan 19:33
2.7.0
76f8663
Compare
Choose a tag to compare

Release Notes for 2.7.0

Feature release (minor)

2.7.0

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

Enhancement,renovate,stop-updating

renovate

2.6.0

13 Sep 21:45
2.6.0
8673eb4
Compare
Choose a tag to compare

Release Notes for 2.6.0

Feature release (minor)

Added

  • Added support for ext-redis v6.0.
    PLEASE NOTE: with ext-redis v6, almost all constants from RedisCluster have been removed and are only available from Redis class.

Removed

  • Removed support for ext-redis v4 as it is only available for PHP 5.3 - 7.4. PHP 7.4 support was dropped with v2.5.0

2.6.0

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

Enhancement

Bug

2.5.0

18 Dec 14:08
2.5.0
81aea68
Compare
Choose a tag to compare

Release Notes for 2.5.0

Feature release (minor)

2.5.0

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

Enhancement,dependency update

2.4.0

17 Dec 04:32
2.4.0
0135f35
Compare
Choose a tag to compare

Release Notes for 2.4.0

Feature release (minor)

2.4.0

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

Bug,Enhancement

Enhancement

Enhancement,Help Wanted

renovate

2.3.1

16 Dec 20:43
2.3.1
637fd98
Compare
Choose a tag to compare

Release Notes for 2.3.1

2.3.x bugfix release (patch)

2.3.1

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

Bug

2.3.0

20 Sep 15:27
2.3.0
087fce1
Compare
Choose a tag to compare

Release Notes for 2.3.0

Feature release (minor)

2.3.0

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

Enhancement

renovate