Stash v0.14.1 Release Notes
Release Date: 2016-02-10 // over 8 years ago-
Implemented PSR-6 interfaces.
✂ Removed
Driver::setOptions($options)
in favor ofDriver::constructor($options)
✂ Removed deprecated DriverList::getDrivers function.
✂ Removed deprecated invalidation constants in the Item class.
✂ Removed SQLite Extension support (SQLite3 is still available).
The
set
function no longer persists data.✂ Removed expiration time for
set
function➕ Added
expiresAt
andexpiresAfter
functions to the Item class.getExpiration
to return current datetime when no record exists.➕ Added
save
function to PoolInterface.🔄 Changed
getItemIterator
togetItems
⚙ RuntimeException now extends from \RuntimeException
➕ Added
isHit
function to ItemInterface.➕ Added the
hasItem
function to the Pool, which should mostly be avoided.📇 Renamed
Pool::purge
toPool::clear
.➕ Added
Pool::deleteItem
andPool::deleteItems
.✂ Removed legacy methods for defining keys- keys must be defined as strings.
➕ Added support for "APCU" functions.
✂ Removed sqlite2 support (sqlite3 is still supported).