Releases: laminas/laminas-cache-storage-adapter-redis
Releases · laminas/laminas-cache-storage-adapter-redis
3.1.0
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
- 127: PHP 8.4 support added thanks to @renovate[bot]
Enhancement
- 123: Update to use PHP 8.1 syntax thanks to @samsonasik
- 122: Add support for specific
username
setting inRedisCluster
thanks to @robin-brabants
renovate
3.0.0
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 allowsRedisResourceManagerInterface
to be set viaRedis#setResourceManager
Redis
has nowRedis#getPersistentId
which returns the persistent ID in case of persistent connections
Changed
RedisClusterResourceManagerInterface#hasSerializationSupport
now requires bothStorageInterface
andPluginCapableInterface
RedisCluster#setResourceManager
is not marked as internal anymoreRedisResourceManager
now implementsRedisResourceManagerInterface
and is reworked to work the same way asRedisClusterResourceManager
RedisResourceManager
as the resource manager is nowRedisOptions
aware
Removed
- Removed
RedisClusterResourceManagerInterface#getVersion
(which also removes that method fromRedisClusterResourceManager
as well) - there is no replacement - Removed
RedisClusterResourceManagerInterface#getLibOption
(which also removes that method fromRedisClusterResourceManager
as well) - UseRedisOptions#getLibOption
instead - Removed support for
ext-redis
less than v6.0.0 sinceRedisResourceManager
now instantiatesRedis
with options which were introduced in 6.0.0 - Removed obsolete
RedisOptions
such asresource_id
andresource_manager
RedisResourceManager#getVersion
- useRedisOptions#getVersion
instead. There is no way to receive the actualredis-server
version from the server itself.RedisResourceManager#hasResource
- there is no replacementRedisResourceManager#setResource
- there is no replacementRedisResourceManager#removeResource
- there is no replacementRedisResourceManager#getMajorVersion
- there is no replacementRedisResourceManager#setDatabase
- useRedisOptions#setDatabase
insteadRedisResourceManager#getDatabase
- useRedisOptions#getDatabase
insteadRedisResourceManager#setPassword
- useRedisOptions#setPassword
insteadRedisResourceManager#getPassword
- useRedisOptions#getPassword
insteadRedisResourceManager#getUser
- useRedisOptions#getUser
insteadRedisResourceManager#setUser
- useRedisOptions#setUser
insteadRedisResourceManager#getServer
- useRedisOptions#getServer
insteadRedisResourceManager#setServer
- useRedisOptions#setServer
insteadRedisResourceManager#setPersistentId
- useRedisOptions#setPersistentId
insteadRedisResourceManager#getPersistentId
- useRedisOptions#getPersistentId
orRedis#getPersistentId
insteadRedisResourceManager#setLibOptions
- useRedisOptions#setLibOptions
insteadRedisResourceManager#getLibOptions
- useRedisOptions#getLibOptions
instead
Breaking Changes
- Removed some options in
RedisOptions
which also removes the following methodsRedisOptions#setResourceId
as it is not possible to have multiple shared resources anymoreRedisOptions#setResourceManager
as the resource manager is nowRedisOptions
aware
- Removed option related methods from
RedisResourceManager
which are mostly replaced by theRedisOptions
equivalentRedisResourceManager#getVersion
- useRedisOptions#getVersion
instead. There is no way to receive the actualredis-server
version from the server itself.RedisResourceManager#hasResource
- there is no replacementRedisResourceManager#setResource
- there is no replacementRedisResourceManager#removeResource
- there is no replacementRedisResourceManager#getMajorVersion
- there is no replacementRedisResourceManager#setDatabase
- useRedisOptions#setDatabase
insteadRedisResourceManager#getDatabase
- useRedisOptions#getDatabase
insteadRedisResourceManager#setPassword
- useRedisOptions#setPassword
insteadRedisResourceManager#getPassword
- useRedisOptions#getPassword
insteadRedisResourceManager#getUser
- useRedisOptions#getUser
insteadRedisResourceManager#setUser
- useRedisOptions#setUser
insteadRedisResourceManager#getServer
- useRedisOptions#getServer
insteadRedisResourceManager#setServer
- useRedisOptions#setServer
insteadRedisResourceManager#setPersistentId
- useRedisOptions#setPersistentId
insteadRedisResourceManager#getPersistentId
- useRedisOptions#getPersistentId
orRedis#getPersistentId
insteadRedisResourceManager#setLibOptions
- useRedisOptions#setLibOptions
insteadRedisResourceManager#getLibOptions
- useRedisOptions#getLibOptions
instead
3.0.0
- Total issues resolved: 2
- Total pull requests resolved: 5
- Total contributors: 1
Bug
BC Break,Enhancement,Feature Removal
Enhancement
- 98: Rename
Metadata#$ttl
toMetadata#$remainingTimeToLive
thanks to @boesing - 96: Add new library options which were introduced with
ext-redis
v6 thanks to @boesing
BC Break,Enhancement
RFC
2.9.0
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
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
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
- 83: Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 thanks to @renovate[bot]
renovate
- 70: Lock file maintenance thanks to @renovate[bot]
2.6.0
Release Notes for 2.6.0
Feature release (minor)
Added
- Added support for
ext-redis
v6.0.
PLEASE NOTE: withext-redis
v6, almost all constants fromRedisCluster
have been removed and are only available fromRedis
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
- 79: Add support for
ext-redis
v6.0 thanks to @boesing
Bug
2.5.0
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
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
- 52: Lock file maintenance thanks to @renovate[bot]
2.3.1
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
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
- 47: Apply PHP 7.4 syntax and typed property thanks to @samsonasik
- 39: Update dependencies thanks to @boesing
renovate
- 42: Update dependency laminas/laminas-coding-standard to ~2.4.0 thanks to @renovate[bot]
- 36: chore(deps): lock file maintenance thanks to @renovate[bot]
- 34: chore(deps): lock file maintenance thanks to @renovate[bot]