PackageTrack
Sign in Get early access

zendframework/zend-cache

Abandoned; use laminas/laminas-cache. Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

2.9.0 12M downloads/mo #3149 most downloaded on Packagist zendframework/zend-cache

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.4 years

Rarely documented

notes for 12 of 71 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

71 releases · first in 2012

0 releases in the last 12 months

see the full history below

Release timeline

41 releases · Oct 2012 to Aug 2019
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 71
  1. 2.9.0 29 Aug 2019
    Release notes

    Added

    • #178 adds support for PHP 7.3.

    Changed

    • #186 replaces
      deprecated delete() calls with del() in Redis adapter. delete()
      function is deprecated since version 5.0.0 and del() is available
      since version 2.1.0.

    Deprecated

    • Nothing.

    Removed

    • #178 removes support for zend-stdlib v2 releases.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #178 adds support for PHP 7.3.

    Changed

    • #186 replaces deprecated delete() calls with del() in Redis adapter. delete() function is deprecated since version 5.0.0 and del() is available since version 2.1.0.

    Deprecated

    • Nothing.

    Removed

    • #178 removes support for zend-stdlib v2 releases.

    Fixed

    • Nothing.
    Open source →
  2. 2.8.3 28 Aug 2019
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #184 fixes an issue with SimpleCacheDecorator where elements were deleted after creation. Wrong TTL was set instead of using default value from options.

    • #182 fixes a typo in variable name within the ExtMongoDbResourceManager::getResource method which prevented using custom db name when using that adapter.

    Open source →
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #184 fixes an issue with SimpleCacheDecorator where elements were deleted after creation. Wrong TTL was set instead of using default value from options.

    • #182 fixes a typo in variable name within the ExtMongoDbResourceManager::getResource method which prevented using custom db name when using that adapter.

    Open source →
  3. 2.8.2 01 May 2018
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #168 fixes a typo in a variable name within the Filesystem::setTags() method which
      prevented clearing of tags when using that adapter.
    Open source →
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #168 fixes a typo in a variable name within the Filesystem::setTags() method which prevented clearing of tags when using that adapter.
    Open source →
  4. 2.8.1 26 Apr 2018
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #165 fixes an issue
      with the memcached adapter ensuring that retrieval returns boolean false when
      unable to retrieve the requested item.
    Open source →
    Release notes

    Added

    • Nothing.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #165 fixes an issue with the memcached adapter ensuring that retrieval returns boolean false when unable to retrieve the requested item.
    Open source →
  5. 2.8.0 24 Apr 2018
    Release notes

    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 of Psr\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 via Zend\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 the StorageFactory to create an instance using either the fully qualified class
      name as the adapter name, or the strings ext_mongo_db or ExtMongoDB (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 the suffix and tag_suffix
      options to set them; they will default to dat and tag, 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 the AdapterOptions class.

    • #128
      Fixed incorrect variable usage in MongoDbResourceManager

    Open source →
    Release notes

    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 of Psr\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 via Zend\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 the StorageFactory to create an instance using either the fully qualified class name as the adapter name, or the strings ext_mongo_db or ExtMongoDB (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 the suffix and tag_suffix options to set them; they will default to dat and tag, 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 the AdapterOptions class.

    • #128 Fixed incorrect variable usage in MongoDbResourceManager

    Open source →
  6. 2.7.2 16 Dec 2016
    Release notes

    Added

    • #124
      New coding standard

    Deprecated

    • #123
      Deprecate capability "expiredRead".
      It's basically providing the same information as staticTtl but from a wrong PoV

    Removed

    • Nothing.

    Fixed

    • #122
      Fixed redis doc for lib_options (not lib_option)
    • #118
      fixed redis tests in case running with different server
    • #119
      Redis: Don't call method Redis::info() every time
    • #113
      Travis: Moved coverage reporting to latest env
    • #114
      Travis: removed fast_finish flag
    • #107
      fixed redis server version test in Redis::internalGetMetadata()
    • #111
      Fixed typo in storage adapter doc
    • #102
      filesystem: fixes a lot of possible race conditions
    Open source →
    Release notes

    Added

    • #124 New coding standard

    Deprecated

    • #123 Deprecate capability "expiredRead". It's basically providing the same information as staticTtl but from a wrong PoV

    Removed

    • Nothing.

    Fixed

    • #122 Fixed redis doc for lib_options (not lib_option)
    • #118 fixed redis tests in case running with different server
    • #119 Redis: Don't call method Redis::info() every time
    • #113 Travis: Moved coverage reporting to latest env
    • #114 Travis: removed fast_finish flag
    • #107 fixed redis server version test in Redis::internalGetMetadata()
    • #111 Fixed typo in storage adapter doc
    • #102 filesystem: fixes a lot of possible race conditions
    Open source →
  7. 2.7.1 12 May 2016
    Release notes

    Added

    • #35 Added benchmarks using PHPBench

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #76 ZendServer: fixed return null on missing item
    • #88 Redis: fixed segfault on storing NULL and fixed supported datatypes capabilities
    • #95 don't try to unserialize missing items
    • #66 fixed Memcached::internalSetItems in PHP-7 by reducing variables by reference
    • #57 Memcached: HHVM compatibility and reduced duplicated code
    • #91 fixed that order of adapter options may cause exception
    • #98 updates the plugin manager alias list to ensure all adapter name permutations commonly used are accepted.
    Open source →
    Release notes

    Added

    • #35 Added benchmarks using PHPBench

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #76 ZendServer: fixed return null on missing item
    • #88 Redis: fixed segfault on storing NULL and fixed supported datatypes capabilities
    • #95 don't try to unserialize missing items
    • #66 fixed Memcached::internalSetItems in PHP-7 by reducing variables by reference
    • #57 Memcached: HHVM compatibility and reduced duplicated code
    • #91 fixed that order of adapter options may cause exception
    • #98 updates the plugin manager alias list to ensure all adapter name permutations commonly used are accepted.
    Open source →
  8. 2.7.0 12 Apr 2016
    Release notes

    Added

    • #59 XCache >= 3.1.0 works in CLI mode
    • #23 #47 Added an Apcu storage adapter as future replacement for Apc
    • #63 Implemented ClearByNamespaceInterface in Stoage\Adapter\Redis
    • #94 adds factories for each of the PatternPluginManager, AdapterPluginManager, and storage PluginManager.
    • #94 exposes the package as a standalone config-provider / ZF component, by adding:
      • Zend\Cache\ConfigProvider, which enables the StorageCacheAbstractServiceFactory, and maps factories for all plugin managers.
      • Zend\Cache\Module, which does the same, for zend-mvc contexts.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #44 Filesystem: fixed race condition in method clearByTags
    • #59 XCache: fixed broken internalSetItem() with empty namespace
    • #58 XCache: Fatal error storing objects
    • #94 updates the PatternPluginManager to accept $options to get() and build(), cast them to a PatternOptions instance, and inject them into the generated plugin instance. This change allows better standalone usage of the plugin manager.
    • #94 updates the StorageCacheFactory and StorageCacheAbstractServiceFactory to seed the StorageFactory 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).
    Open source →
  9. 2.6.1 12 Feb 2016
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #73 fixes how the EventManager instance is lazy-instantiated in Zend\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.
    Open source →
  10. 2.6.0 11 Feb 2016
    Release notes

    Added

    • #70 adds, revises, and publishes the documentation to https://zendframework.github.io/zend-cache/

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #22, #64, #68, and #69 update the component to be forwards-compatible with zend-eventmanager, zend-servicemanager, and zend-stdlib v3.
    • #31 Check Documentation Code Blocks
    • #53 fixed seg fault in redis adapter on PHP 7
    • #50 fixed APC tests not running on travis-ci since apcu-5 was released
    • #36 fixed AbstractAdapter::internalDecrementItems
    • #38 better test coverage of AbstractAdapter
    • #45 removed unused internal function Filesystem::readInfoFile
    • #25 MongoDd: fixed expiration support and removed duplicated tests
    • #40 Fixed TTL support of Redis::addItem
    • #18 Fixed Redis::getCapabilities and RedisResourceManager::getMajorVersion if resource wasn't initialized before
    Open source →
  11. 2.5.3 15 Sep 2015
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #15 fixes an issue observed on HHVM when merging a list of memcached servers to add to the storage resource.
    • #17 Composer: moved zendframework/zend-serializer from require to require-dev as using the serializer is optional.
    • A fix was provided for ZF2015-07, ensuring that any directories or files created by the component use umask 0002 in order to prevent arbitrary local execution and/or local privilege escalation.
    Open source →
  12. 2.5.2 16 Jul 2015
    Release notes

    Added

    • #10 adds TTL support for the Redis adapter.
    • #6 adds more suggestions to the composer.json for PHP extensions supported by storage adapters.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #9 fixes an issue when connecting to a Redis instance with the persistent_id option.
    Open source →
  13. 2.5.1 03 Jun 2015

    Nothing published for this version

  14. 2.5.0 03 Jun 2015

    Nothing published for this version

  15. 2.4.13 15 Sep 2015

    Nothing published for this version

  16. 2.4.12 no date

    Nothing published for this version

  17. 2.4.11 no date

    Nothing published for this version

  18. 2.4.10 no date

    Nothing published for this version

  19. 2.4.9 no date

    Nothing published for this version

  20. 2.4.8 no date

    Nothing published for this version

  21. 2.4.7 07 May 2015

    Nothing published for this version

  22. 2.4.6 no date

    Nothing published for this version

  23. 2.4.5 no date

    Nothing published for this version

  24. 2.4.4 no date

    Nothing published for this version

  25. 2.4.3 no date

    Nothing published for this version

  26. 2.4.2 no date

    Nothing published for this version

  27. 2.4.1 no date

    Nothing published for this version

  28. 2.4.0 25 Mar 2015

    Nothing published for this version

  29. 2.3.9 03 Mar 2015

    Nothing published for this version

  30. 2.3.8 no date

    Nothing published for this version

  31. 2.3.7 no date

    Nothing published for this version

  32. 2.3.6 no date

    Nothing published for this version

  33. 2.3.5 13 Jan 2015

    Nothing published for this version

  34. 2.3.4 no date

    Nothing published for this version

  35. 2.3.3 11 Aug 2014

    Nothing published for this version

  36. 2.3.2 no date

    Nothing published for this version

  37. 2.3.1 14 Apr 2014

    Nothing published for this version

  38. 2.3.0 12 Mar 2014

    Nothing published for this version

  39. 2.2.10 05 Mar 2014

    Nothing published for this version

  40. 2.2.9 no date

    Nothing published for this version

  41. 2.2.8 no date

    Nothing published for this version

  42. 2.2.7 no date

    Nothing published for this version

  43. 2.2.6 no date

    Nothing published for this version

  44. 2.2.5 31 Oct 2013

    Nothing published for this version

  45. 2.2.4 21 Aug 2013

    Nothing published for this version

  46. 2.2.3 no date

    Nothing published for this version

  47. 2.2.2 22 Jul 2013

    Nothing published for this version

  48. 2.2.1 12 Jun 2013

    Nothing published for this version

  49. 2.2.0 10 May 2013

    Nothing published for this version

  50. 2.1.6 17 Apr 2013

    Nothing published for this version

  51. 2.1.5 no date

    Nothing published for this version

  52. 2.1.4 13 Mar 2013

    Nothing published for this version

  53. 2.1.3 19 Feb 2013

    Nothing published for this version

  54. 2.1.2 no date

    Nothing published for this version

  55. 2.1.1 06 Feb 2013

    Nothing published for this version

  56. 2.1.0 29 Jan 2013

    Nothing published for this version

  57. 2.0.8 26 Jan 2013

    Nothing published for this version

  58. 2.0.7 no date

    Nothing published for this version

  59. 2.0.6 19 Dec 2012

    Nothing published for this version

  60. 2.0.5 21 Nov 2012

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive