Laminas Cache v2.8.0 Release Notes
Release Date: 2018-04-24 // about 6 years ago-
β Added
π zendframework/zend-cache#148 adds support for PHP 7.1 and 7.2.
π zendframework/zend-cache#46, zendframework/zend-cache#155, and zendframework/zend-cache#161 add support for PSR-6 (Caching Interface). They provides an implementation of
Psr\Cache\CacheItemPoolInterface
viaLaminas\Cache\Psr\CacheItemPool\CacheItemPoolDecorator
, which accepts aLaminas\Cache\Storage\StorageInterface
instance to its constructor, and proxies the various PSR-6 methods to it. It also provides aPsr\Cache\CacheItemInterface
implementation viaLaminas\Cache\Psr\CacheItemPool\CacheItem
, which provides a value object for both introspecting cache fetch results, as well as providing values to cache.zendframework/zend-cache#152, zendframework/zend-cache#155, zendframework/zend-cache#159, and zendframework/zend-cache#161 add an adapter providing PSR-16 (Caching Library Interface) support. The new class,
Laminas\Cache\Psr\SimpleCache\SimpleCacheDecorator
, accepts aLaminas\Cache\Storage\StorageInterface
instance to its constructor, and proxies the various PSR-16 methods to it.zendframework/zend-cache#154 adds an ext-mongodb adapter,
Laminas\Cache\Storage\Adapter\ExtMongoDb
. You may use theStorageFactory
to create an instance using either the fully qualified class name as the adapter name, or the stringsext_mongo_db
orExtMongoDB
(or most variations on case of the latter string). The options it accepts are the same as for the existingLaminas\Cache\Storage\Adapter\MongoDb
, and it provides the same capabilities. The adapter requires the mongodb/mongodb package to operate.π§ zendframework/zend-cache#120 adds the ability to configure alternate file suffixes for both cache and tag cache files within the Filesystem adapter. Use the
suffix
andtag_suffix
options to set them; they will default todat
andtag
, respectively.zendframework/zend-cache#79 Add capability for the "lock-on-expire" feature (ΓΊsed by Zend Data Cache)
π Changed
- zendframework/zend-cache#116 adds docblock method chaining consistency.
π Deprecated
- Nothing.
β Removed
π zendframework/zend-cache#101 removes support for PHP 5.5.
π zendframework/zend-cache#148 removes support for HHVM.
π Fixed
zendframework/zend-cache#151 adds logic to normalize options before creating the underlying Redis resource when using a Redis adapter, fixing issues when using an array with the server and port to use for connecting to the server.
zendframework/zend-cache#151 adds logic to prevent changing the underlying resource within Redis adapter instances.
π zendframework/zend-cache#150 fixes an issue with how CAS tokens are handled when using the memcached adapter.
zendframework/zend-cache#61 sets the Zend Data Cache minTtl value to 1.
π zendframework/zend-cache#147 fixes the Redis extension by ensuring it casts the results of
exists()
to a boolean when testing if the storage contains an item.π zendframework/zend-cache#146 fixes several methods to change
@return
annotations to@throws
where applicable.zendframework/zend-cache#134 adds a missing import statement for
Traversable
within theAdapterOptions
class.zendframework/zend-cache#128 Fixed incorrect variable usage in MongoDbResourceManager