Changelog History
Page 1
-
v2.10.0 Changes
November 08, 2020As decided within the TSC meeting in November 2020, v2.10 is the last minor version in the v2 series.
β Added
- π #21 Adds new
PluginAwareInterface
andPluginCapableInterface
to provide better typehinting against plugin capable storage adapters - π #40 Adds installation instructions to documentation.
π Changed
- π¦ #23 Move APC adapter to its own satellite package
- π¦ #24 Move APCu adapter to its own satellite package
- π¦ #25 Move BlackHole adapter to its own satellite package
- π¦ #27 Move DBA adapter to its own satellite package
- π¦ #28 Move ExtMongodb adapter to its own satellite package
- π¦ #29 Move Filesystem adapter to its own satellite package
- π¦ #30 Move Memcache adapter to its own satellite package
- π¦ #31 Move Memcached adapter to its own satellite package
- π¦ #32 Move Memory adapter to its own satellite package
- π¦ #33 Move Mongodb adapter to its own satellite package
- π¦ #34 Move Redis adapter to its own satellite package
- π¦ #35 Move Session adapter to its own satellite package
- π¦ #36 Move WinCache adapter to its own satellite package
- π¦ #37 Move XCache adapter to its own satellite package
- π¦ #38 Move ZendServer adapter to its own satellite package
π Deprecated
- π§ #21 In case the
StorageFactory
has to create a customStorageAdapterInterface
implementation which does not extend theAbstractAdapter
, the factory will trigger a deprecation message due to the missingPluginAwareInterface
implementation when aplugins
configuration was provided.
β Removed
- π¦ #45 Removed abstract test classes as they're moved to an own package.
- π #21 Adds new
-
v2.9.0 Changes
August 29, 2019β Added
- π zendframework/zend-cache#178 adds support for PHP 7.3.
π Changed
- zendframework/zend-cache#186 replaces
deprecated
delete()
calls withdel()
in Redis adapter.delete()
function is deprecated since version 5.0.0 anddel()
is available since version 2.1.0.
π Deprecated
- Nothing.
β Removed
- π zendframework/zend-cache#178 removes support for laminas-stdlib v2 releases.
π Fixed
- Nothing.
-
v2.8.3 Changes
August 28, 2019β Added
- Nothing.
π Changed
- Nothing.
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
π zendframework/zend-cache#184 fixes an issue with SimpleCacheDecorator where elements were deleted after creation. Wrong TTL was set instead of using default value from options.
π zendframework/zend-cache#182 fixes a typo in variable name within the
ExtMongoDbResourceManager::getResource
method which prevented using custom db name when using that adapter.
-
v2.8.2 Changes
May 01, 2018β Added
- Nothing.
π Changed
- Nothing.
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
- π zendframework/zend-cache#168 fixes a typo in a variable name within the
Filesystem::setTags()
method which prevented clearing of tags when using that adapter.
-
v2.8.1 Changes
April 26, 2018β Added
- Nothing.
π Changed
- Nothing.
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
- π zendframework/zend-cache#165 fixes an issue with the memcached adapter ensuring that retrieval returns boolean false when unable to retrieve the requested item.
-
v2.8.0 Changes
April 24, 2018β 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
-
v2.7.2 Changes
December 16, 2016β Added
- zendframework/zend-cache#124 New coding standard
π Deprecated
- zendframework/zend-cache#123 Deprecate capability "expiredRead". It's basically providing the same information as staticTtl but from a wrong PoV
β Removed
- Nothing.
π Fixed
- zendframework/zend-cache#122 Fixed redis doc for lib_options (not lib_option)
- zendframework/zend-cache#118 fixed redis tests in case running with different server
- zendframework/zend-cache#119 Redis: Don't call method Redis::info() every time
- zendframework/zend-cache#113 Travis: Moved coverage reporting to latest env
- zendframework/zend-cache#114 Travis: removed fast_finish flag
- zendframework/zend-cache#107 fixed redis server version test in Redis::internalGetMetadata()
- zendframework/zend-cache#111 Fixed typo in storage adapter doc
- zendframework/zend-cache#102 filesystem: fixes a lot of possible race conditions
-
v2.7.1 Changes
May 12, 2016β Added
- zendframework/zend-cache#35 Added benchmarks using PHPBench
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
- zendframework/zend-cache#76 LaminasServer: fixed return null on missing item
- zendframework/zend-cache#88 Redis: fixed segfault on storing NULL and fixed supported datatypes capabilities
- zendframework/zend-cache#95 don't try to unserialize missing items
- zendframework/zend-cache#66 fixed Memcached::internalSetItems in PHP-7 by reducing variables by reference
- zendframework/zend-cache#57 Memcached: HHVM compatibility and reduced duplicated code
- zendframework/zend-cache#91 fixed that order of adapter options may cause exception
- β‘οΈ zendframework/zend-cache#98 updates the plugin manager alias list to ensure all adapter name permutations commonly used are accepted.
-
v2.7.0 Changes
April 12, 2016β Added
- zendframework/zend-cache#59 XCache >= 3.1.0 works in CLI mode
- zendframework/zend-cache#23 zendframework/zend-cache#47 Added an Apcu storage adapter as future replacement for Apc
- zendframework/zend-cache#63 Implemented ClearByNamespaceInterface in Stoage\Adapter\Redis
- zendframework/zend-cache#94 adds factories for
each of the
PatternPluginManager
,AdapterPluginManager
, and storagePluginManager
. - π¦ zendframework/zend-cache#94 exposes the package
as a standalone config-provider / Laminas component, by adding:
Laminas\Cache\ConfigProvider
, which enables theStorageCacheAbstractServiceFactory
, and maps factories for all plugin managers.Laminas\Cache\Module
, which does the same, for laminas-mvc contexts.
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
- zendframework/zend-cache#44 Filesystem: fixed race condition in method clearByTags
- zendframework/zend-cache#59 XCache: fixed broken internalSetItem() with empty namespace
- zendframework/zend-cache#58 XCache: Fatal error storing objects
- β‘οΈ zendframework/zend-cache#94 updates the
PatternPluginManager
to accept$options
toget()
andbuild()
, cast them to aPatternOptions
instance, and inject them into the generated plugin instance. This change allows better standalone usage of the plugin manager. - β‘οΈ zendframework/zend-cache#94 updates the
StorageCacheFactory
andStorageCacheAbstractServiceFactory
to seed theStorageFactory
with the storage plugin manager and/or adapter plugin manager as pulled from the provided container, if present. This change enables re-use of pre-configured plugin managers (e.g., those seeded with custom plugins and/or adapters).
-
v2.6.1 Changes
February 12, 2016β Added
- Nothing.
π Deprecated
- Nothing.
β Removed
- Nothing.
π Fixed
- π zendframework/zend-cache#73 fixes how the
EventManager
instance is lazy-instantiated inLaminas\Cache\Storage\Adapter\AbstractAdapter::getEventManager()
. In 2.6.0, it was using the v3-specific syntax; it now uses syntax compatible with both v2 and v3.