NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4153 most downloaded on Packagist
The place to keep your cache.
Latest stable
v1.2.2
Last release 11 months ago
27 Dec 2025
Release timing varies
gaps range from 4 weeks to 1.9 years
Most releases are documented
notes for 29 of 35 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
35 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Update PHP versions in GitHub Actions workflow by @tedivm in https://github.com/tedious/Stash/pull/435
Full Changelog: https://github.com/tedious/Stash/compare/v1.2.1...v1.2.2
Fix Redis invalidation by @iclukas in https://github.com/tedious/Stash/pull/434
Full Changelog: https://github.com/tedious/Stash/compare/v1.2.0...v1.2.1
v1.2.1
Compare
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix memcache::set default argument from the deprecated null to false by @DavidGoodwin in https://github.com/tedious/Stash/pull/431
Full Changelog: https://github.com/tedious/Stash/compare/v1.1.0...v1.2.0
More explicit nullable types for PHP 8.4 by @taylorvance in https://github.com/tedious/Stash/pull/428
Full Changelog: https://github.com/tedious/Stash/compare/v0.18.0...v1.1.0
After 18 years of development I think it's safe to say the API for this project is now stable. The biggest thing holding back from a v1 was the introd
After 18 years of development I think it's safe to say the API for this project is now stable. The biggest thing holding back from a v1 was the introduction of types, which have been added and stabilized to match the upstream types from PSR-6 v3 interfaces without any issues being reported.
This release is identical to the v0.18 release, so updating should be easy for most teams.
Update to psr/cache 3.0 by @KorvinSzanto in #423
Full Changelog: v0.17.6...v0.18.0
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.6...v0.18.0
Fix deprecation error in memcache driver on php 8.1 by @brutto in https://github.com/tedious/Stash/pull/415
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.5...v0.17.6
implemented Item::extend(), fixed some PHPDoc inconsistencies by @iclukas in https://github.com/tedious/Stash/pull/414
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.4...v0.17.5
Add 'username' auth option to Redis driver by @okiedork in https://github.com/tedious/Stash/pull/413
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.3...v0.17.4
work around SQLite PDO’s inability to enforce permissions for data files by @iclukas in https://github.com/tedious/Stash/pull/411
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.2...v0.17.3
limit nesting loop for SQLite filename creation to count of key array… by @iclukas in https://github.com/tedious/Stash/pull/409
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.1...v0.17.2
Added an ability to set a default invalidation method for the pool by @Finesse in https://github.com/tedious/Stash/pull/407
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.0...v0.17.1
Changed checkFileSystemPermissions arguments so PHP 8 won't throw Deprecated info by @mateuszdebinski in https://github.com/tedious/Stash/pull/404
Full Changelog: https://github.com/tedious/Stash/compare/v0.16.0...v0.17.0
docs: add upgrade notes for 0.14 by @andheiberg in https://github.com/tedious/Stash/pull/387
Full Changelog: https://github.com/tedious/Stash/compare/v0.15.2...v0.16.0
Minor package change to let downstream packages access tests.
Minor package change to let downstream packages access tests.
travis ci upgrades by @tedivm in https://github.com/tedious/Stash/pull/357
Full Changelog: https://github.com/tedious/Stash/compare/v0.14.2...v0.15.1
This release primarily fixes bugs and updates dependencies.
This release primarily fixes bugs and updates dependencies.
Removed deprecated DriverList::getDrivers function.
Driver::setOptions($options) in favor of Driver::constructor($options)set function no longer persists data.set functionexpiresAt and expiresAfter functions to the Item class.getExpiration to return current datetime when no record exists.save function to PoolInterface.getItemIterator to getItemsisHit function to ItemInterface.hasItem function to the Pool, which should mostly be avoided.Pool::purge to Pool::clear.Pool::deleteItem and Pool::deleteItems.Fixed bug where the default filesystem driver path would be created even when a path was specified.
Removed various PHP warnings (exceptions are still thrown where needed).
Dropped support for PHP 5.3.
Updated dependencies.
Removed various PHP warnings (exceptions are still thrown where needed).
Various optimizations, such as reduced function calls during repeated operations.
Added "isPersistent" method to driver classes.
This release fixes an issue that prevented the proper invalidation from being used when none were set.
This release fixes an issue that prevented the proper invalidation from being used when none were set.
This backwards compatible release contains a number of feature and stability improvements, particularly for users of HHVM, Memcache on AWS, or the Red
This backwards compatible release contains a number of feature and stability improvements, particularly for users of HHVM, Memcache on AWS, or the Redis drivers.
Added an alternative format than native PHP for the Filesystem Driver.
Improved performance of Filesystem clear operations.
Better commenting on files generated by Filesystem driver.
Added work around for HHVM APCIterator bug.
Improved Redis error handling in the event of a lost or disconnected server.
Improved Redis and Memcached persistent connection support.
Added support for AWS autodiscovery functionality in Memcached.
Refactored PDO and SQLite "isAvailable" functions to prevent notices when the PDO extension is not present.
Docblock and commenting improvements.
Updated dependency versions (only affects development code).
Added DriversList::getAvailableDrivers to replace the existing DriversList::getDrivers, which is now deprecated.
This release is designed specifically to make integrating, extending and developing Stash easier. Although there have been some API additions, the bulk of the work is behind the scenes. That being said we've pushed in a few BC breaks that we've been meaning to make for awhile, so please review the changelog carefully (especially if you have custom drivers or specialized code for initializing them).
Major Updates:
API Changes:
This release deals with changes between the APC and Opcode Caching system in PHP 5.4, specifically how opcode caches get invalidated. As of this relea
This release deals with changes between the APC and Opcode Caching system in PHP 5.4, specifically how opcode caches get invalidated. As of this release the Filesystem Driver explicitly invalidates the opcode cache for the files it creates or updates, preventing PHP from including an older version of it's data.
This release takes care of a small bug that occurs when running on OSX. This bug was caused by improper checking of the operating system, which was ca
This release takes care of a small bug that occurs when running on OSX. This bug was caused by improper checking of the operating system, which was causing a Windows work around designed to limit filename length to kick in when it wasn't needed.
Fixed a bug where OSX would be identified as Windows and path names were limited to that system's length.
Fixed a bug in the Pool class where setItemClass would throw an exception.
Corrected a bug with APC where the max ttl would end up being used where it shouldn't have been.
Corrected a bug with APC where the max ttl would end up being used where it shouldn't have been.
Introduced HHVM testing capabilities into the test suite.
Removed HHVM specific fatal errors.
This update includes a few minor performance enhancements as well as a bug fix for the Ephemeral driver.
This update includes a few minor performance enhancements as well as a bug fix for the Ephemeral driver.
This is the first bug release of the 0.11 line, so if you are updating from an older version please see the 0.11 notes.
This is the first bug release of the 0.11 line, so if you are updating from an older version please see the 0.11 notes.
This represents the first backwards compatibility break since v0.10.1 about one year ago. These are detailed in the changelog, but for the most part w
This represents the first backwards compatibility break since v0.10.1 about one year ago. These are detailed in the changelog, but for the most part will be minor tweaks for a small amount of users.
One of the biggest additions is a new set of Interfaces. This will allow developers to type check for the interfaces, rather than the class type, which should in turn allow developers to create custom Pool or Item classes when needed. This should also make the future addition of PSR-5 support a bit easier.
Another useful addition in this release is logging support. By using PSR-3 compliant logging libraries, such as monolog, developers can now get a much better look at what's going on inside of Stash and admins can see when errors are occurring with their underlying cache systems.
Logging Support
The Pool and Item classes can now have PSR-3 compliant Logging libraries injected into them through the setLogger($logger) functions. Any logger injected into the Pool class will get injected into any Items it generates.
Pool and Item Interfaces
The Stash\Pool and Stash\Item classes now implement the new Stash\Interface\Pool and Stash\interface\Item inferaces.
Extend Cache renamed and given a ttl
The Stash\Item::extendCache() function is now Stash\Item::extend($ttl = null).
Formatting changes, PSR-1 and PSR-2 compliant.
Added "setItemClass" function to the Pool class
This allows new Item classes to be generated, as long as they following the new interface.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.