Zend Cache v2.8.0 Release Notes
Release Date: 2018-04-24 // about 6 years ago-
β Added
π #148 adds support for PHP 7.1 and 7.2.
π #46, #155, and #161 add support for PSR-6 (Caching Interface).
π They provides an implementation ofPsr\Cache\CacheItemPoolInterface
via
Zend\Cache\Psr\CacheItemPool\CacheItemPoolDecorator
, which accepts a
Zend\Cache\Storage\StorageInterface
instance to its constructor, and proxies
the various PSR-6 methods to it. It also provides a
Psr\Cache\CacheItemInterface
implementation viaZend\Cache\Psr\CacheItemPool\CacheItem
,
which provides a value object for both introspecting cache fetch results, as
well as providing values to cache.#152, #155, #159, and #161
β add an adapter providing PSR-16 (Caching Library Interface) support.
The new class,Zend\Cache\Psr\SimpleCache\SimpleCacheDecorator
, accepts a
Zend\Cache\Storage\StorageInterface
instance to its constructor, and proxies
the various PSR-16 methods to it.#154 adds an ext-mongodb adapter,
Zend\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 existing
Zend\Cache\Storage\Adapter\MongoDb
, and it provides the same capabilities. The adapter
π¦ requires the mongodb/mongodb package to operate.π§ #120 adds the ability to configure alternate file suffixes for both
cache and tag cache files within the Filesystem adapter. Use thesuffix
andtag_suffix
0οΈβ£ options to set them; they will default todat
andtag
, respectively.#79
β Add capability for the "lock-on-expire" feature (ΓΊsed by Zend Data Cache)π Changed
- #116 adds docblock method chaining consistency.
π Deprecated
- Nothing.
β Removed
π #101 removes support for PHP 5.5.
π #148 removes support for HHVM.
π Fixed
#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.#151 adds logic to prevent changing the underlying resource within Redis adapter instances.
π #150 fixes an issue with how CAS tokens are handled when using the memcached adapter.
#61 sets the Zend Data Cache minTtl value to 1.
π #147 fixes the Redis extension by ensuring it casts the results of
exists()
to a
β boolean when testing if the storage contains an item.π #146 fixes several methods to change
@return
annotations to@throws
where applicable.#134 adds a missing import statement for
Traversable
within theAdapterOptions
class.#128
π Fixed incorrect variable usage in MongoDbResourceManager