2017-01-08 14:05:34 +00:00
CHANGELOG
=========
2019-05-09 07:56:57 +01:00
4.4.0
-----
* added support for connecting to Redis Sentinel clusters
2018-11-15 20:07:46 +00:00
4.3.0
-----
* removed `psr/simple-cache` dependency, run `composer require psr/simple-cache` if you need it
* deprecated all PSR-16 adapters, use `Psr16Cache` or `Symfony\Contracts\Cache\CacheInterface` implementations instead
* deprecated `SimpleCacheAdapter` , use `Psr16Adapter` instead
2018-04-15 01:21:41 +01:00
4.2.0
-----
2018-10-02 20:16:25 +01:00
* added support for connecting to Redis clusters via DSN
* added support for configuring multiple Memcached servers via DSN
2018-06-19 20:18:37 +01:00
* added `MarshallerInterface` and `DefaultMarshaller` to allow changing the serializer and provide one that automatically uses igbinary when available
2018-10-19 08:34:54 +01:00
* implemented `CacheInterface` , which provides stampede protection via probabilistic early expiration and should become the preferred way to use a cache
2018-04-24 13:56:46 +01:00
* added sub-second expiry accuracy for backends that support it
2018-06-19 21:28:47 +01:00
* added support for phpredis 4 `compression` and `tcp_keepalive` options
2018-06-22 11:02:59 +01:00
* added automatic table creation when using Doctrine DBAL with PDO-based backends
2018-04-15 01:21:41 +01:00
* throw `LogicException` when `CacheItem::tag()` is called on an item coming from a non tag-aware pool
2018-04-23 17:02:04 +01:00
* deprecated `CacheItem::getPreviousTags()` , use `CacheItem::getMetadata()` instead
2018-06-19 20:18:37 +01:00
* deprecated the `AbstractAdapter::unserialize()` and `AbstractCache::unserialize()` methods
2018-07-11 13:10:39 +01:00
* added `CacheCollectorPass` (originally in `FrameworkBundle` )
* added `CachePoolClearerPass` (originally in `FrameworkBundle` )
* added `CachePoolPass` (originally in `FrameworkBundle` )
* added `CachePoolPrunerPass` (originally in `FrameworkBundle` )
2018-04-15 01:21:41 +01:00
2017-07-08 01:26:52 +01:00
3.4.0
-----
2017-08-24 19:57:21 +01:00
* added using options from Memcached DSN
2017-07-08 01:26:52 +01:00
* added PruneableInterface so PSR-6 or PSR-16 cache implementations can declare support for manual stale cache pruning
2017-09-03 12:14:53 +01:00
* added prune logic to FilesystemTrait, PhpFilesTrait, PdoTrait, TagAwareAdapter and ChainTrait
2017-07-20 18:13:39 +01:00
* now FilesystemAdapter, PhpFilesAdapter, FilesystemCache, PhpFilesCache, PdoAdapter, PdoCache, ChainAdapter, and
ChainCache implement PruneableInterface and support manual stale cache pruning
2017-07-08 01:26:52 +01:00
2017-01-03 18:51:00 +00:00
3.3.0
-----
2018-04-23 17:02:04 +01:00
* added CacheItem::getPreviousTags() to get bound tags coming from the pool storage if any
2017-01-03 18:51:00 +00:00
* 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)
2017-01-08 14:05:34 +00:00
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