mirror of
https://github.com/symfony/cache.git
synced 2026-03-23 23:22:07 +01:00
* 7.4: Postal mailer transport message ID retrieval [PHPDoc] Fix various PHPDoc syntax errors Bump Symfony version to 7.3.7 Update VERSION for 7.3.6 Update CHANGELOG for 7.3.6 Bump Symfony version to 6.4.29 Update VERSION for 6.4.28 Update CONTRIBUTORS for 6.4.28 Update CHANGELOG for 6.4.28 [Validator] Reviewed and corrected Belarussian translations for the Validator component in the validators.be.xlf file re-allow ext-redis 6.1
6.2 KiB
6.2 KiB
CHANGELOG
8.0
- Remove
CouchbaseBucketAdapter, useCouchbaseCollectionAdapterinstead
7.4
- Bump ext-redis to 6.1 and ext-relay to 0.12 minimum
7.3
- Add support for
\Relay\ClusterinRedisAdapter - Add support for
valkey:/valkeys:schemes - Add support for namespace-based invalidation
- Rename options "redis_cluster" and "redis_sentinel" to "cluster" and "sentinel" respectively
7.2
igbinary_serialize()is no longer used instead ofserialize()by default when the igbinary extension is installed, due to behavior compatibilities between the two- Add optional
Psr\Clock\ClockInterfaceparameter toArrayAdapter
7.1
- Add option
sentinel_masteras an alias forredis_sentinel - Deprecate
CouchbaseBucketAdapter, useCouchbaseCollectionAdapter - Add support for URL encoded characters in Couchbase DSN
- Add support for using DSN with PDOAdapter
- The algorithm for the default cache namespace changed from SHA256 to XXH128
7.0
- Add parameter
$isSameDatabasetoDoctrineDbalAdapter::configureSchema() - Drop support for Postgres < 9.5 and SQL Server < 2008 in
DoctrineDbalAdapter
6.4
EarlyExpirationHandlerno longer implementsMessageHandlerInterface, rely onAsMessageHandlerinstead
6.3
- Add support for Relay PHP extension for Redis
- Updates to allow Redis cluster connections using predis/predis:^2.0
- Add optional parameter
$isSameDatabasetoDoctrineDbalAdapter::configureSchema()
6.1
- Add support for ACL auth in RedisAdapter
- Improve reliability and performance of
TagAwareAdapterby making tag versions an integral part of item value
6.0
- Remove
DoctrineProviderandDoctrineAdapter - Remove support of Doctrine DBAL in
PdoAdapter
5.4
- Deprecate
DoctrineProviderandDoctrineAdapterbecause these classes have been added to thedoctrine/cachepackage - Add
DoctrineDbalAdapteridentical toPdoAdapterforDoctrine\DBAL\Connectionor DBAL URL - Deprecate usage of
PdoAdapterwithDoctrine\DBAL\Connectionor DBAL URL
5.3
- added support for connecting to Redis Sentinel clusters when using the Redis PHP extension
- add support for a custom serializer to the
ApcuAdapterclass
5.2.0
- added integration with Messenger to allow computing cached values in a worker
- allow ISO 8601 time intervals to specify default lifetime
5.1.0
- added max-items + LRU + max-lifetime capabilities to
ArrayCache - added
CouchbaseBucketAdapter - added context
cache-adapterto log messages
5.0.0
- removed all PSR-16 implementations in the
Simplenamespace - removed
SimpleCacheAdapter - removed
AbstractAdapter::unserialize() - removed
CacheItem::getPreviousTags()
4.4.0
- added support for connecting to Redis Sentinel clusters
- added argument
$prefixtoAdapterInterface::clear() - improved
RedisTagAwareAdapterto support Redis server >= 2.8 and up to 4B items per tag - added
TagAwareMarshallerfor optimized data storage when usingAbstractTagAwareAdapter - added
DeflateMarshallerto compress serialized values - removed support for phpredis 4
compression - [BC BREAK]
RedisTagAwareAdapteris not compatible withRedisClusterfromPredisanymore, usephpredisinstead - Marked the
CacheDataCollectorclass as@final. - added
SodiumMarshallerto encrypt/decrypt values using libsodium
4.3.0
- removed
psr/simple-cachedependency, runcomposer require psr/simple-cacheif you need it - deprecated all PSR-16 adapters, use
Psr16CacheorSymfony\Contracts\Cache\CacheInterfaceimplementations instead - deprecated
SimpleCacheAdapter, usePsr16Adapterinstead
4.2.0
- added support for connecting to Redis clusters via DSN
- added support for configuring multiple Memcached servers via DSN
- added
MarshallerInterfaceandDefaultMarshallerto allow changing the serializer and provide one that automatically uses igbinary when available - implemented
CacheInterface, which provides stampede protection via probabilistic early expiration and should become the preferred way to use a cache - added sub-second expiry accuracy for backends that support it
- added support for phpredis 4
compressionandtcp_keepaliveoptions - added automatic table creation when using Doctrine DBAL with PDO-based backends
- throw
LogicExceptionwhenCacheItem::tag()is called on an item coming from a non tag-aware pool - deprecated
CacheItem::getPreviousTags(), useCacheItem::getMetadata()instead - deprecated the
AbstractAdapter::unserialize()andAbstractCache::unserialize()methods - added
CacheCollectorPass(originally inFrameworkBundle) - added
CachePoolClearerPass(originally inFrameworkBundle) - added
CachePoolPass(originally inFrameworkBundle) - added
CachePoolPrunerPass(originally inFrameworkBundle)
3.4.0
- added using options from Memcached DSN
- added PruneableInterface so PSR-6 or PSR-16 cache implementations can declare support for manual stale cache pruning
- added prune logic to FilesystemTrait, PhpFilesTrait, PdoTrait, TagAwareAdapter and ChainTrait
- now FilesystemAdapter, PhpFilesAdapter, FilesystemCache, PhpFilesCache, PdoAdapter, PdoCache, ChainAdapter, and ChainCache implement PruneableInterface and support manual stale cache pruning
3.3.0
- added CacheItem::getPreviousTags() to get bound tags coming from the pool storage if any
- added PSR-16 "Simple Cache" implementations for all existing PSR-6 adapters
- added Psr6Cache and SimpleCacheAdapter for bidirectional interoperability between PSR-6 and PSR-16
- added MemcachedAdapter (PSR-6) and MemcachedCache (PSR-16)
- added TraceableAdapter (PSR-6) and TraceableCache (PSR-16)
3.2.0
- added TagAwareAdapter for tags-based invalidation
- added PdoAdapter with PDO and Doctrine DBAL support
- added PhpArrayAdapter and PhpFilesAdapter for OPcache-backed shared memory storage (PHP 7+ only)
- added NullAdapter
3.1.0
- added the component with strict PSR-6 implementations
- added ApcuAdapter, ArrayAdapter, FilesystemAdapter and RedisAdapter
- added AbstractAdapter, ChainAdapter and ProxyAdapter
- added DoctrineAdapter and DoctrineProvider for bidirectional interoperability with Doctrine Cache