Releases: tedious/Stash
Releases · tedious/Stash
v0.17.0
What's Changed
- Mitigate T_ENCAPSED_AND_WHITESPACE bug by @iclukas in #399
- Changed checkFileSystemPermissions arguments so PHP 8 won't throw Deprecated info by @mateuszdebinski in #404
- Modernize PhpUnit by @tomkyle in #400
- Filesystem Driver: Fix dir split not finishing cleanly by @the-eater in #405
- update redis delete function by @tedivm in #393
- Use Github Actions instead of Travis CI for testing by @tedivm in #406
- phpdoc fix (Item::$invalidationMethod) by @DavidGoodwin in #396
- Encoding Numeric Strings by @rodnaph in #384
New Contributors
- @mateuszdebinski made their first contribution in #404
- @tomkyle made their first contribution in #400
- @the-eater made their first contribution in #405
- @DavidGoodwin made their first contribution in #396
- @rodnaph made their first contribution in #384
Full Changelog: v0.16.0...v0.17.0
v0.16.0: PHP 8
What's Changed
- docs: add upgrade notes for 0.14 by @andheiberg in #387
- docs: add upgrade docs for setting TTL in 0.14 by @andheiberg in #388
New Contributors
- @andheiberg made their first contribution in #387
Full Changelog: v0.15.2...v0.16.0
v0.15.2: Minor package change
Minor package change to let downstream packages access tests.
v0.15.1: Bug fixes, official drop of support of php <7
What's Changed
- travis ci upgrades by @tedivm in #357
- [Driver/Composite] Fix PHP 7.2 failure by @siwinski in #356
- Apc Driver: Check for 'apc.enable_cli' in cli calls by @Biont in #368
- Add option to limit number of items stored in ephemeral driver. by @mbaynton in #370
- Fixing some phpdoc errors by @design1online in #371
- Drop PHP5 and HHVM, add more PHP7 versions, upgrade development dependencies by @tedivm in #373
- Fix fatal error with auto classloader when APC(U)Iterator class does … by @iclukas in #378
New Contributors
- @siwinski made their first contribution in #356
- @Biont made their first contribution in #368
- @mbaynton made their first contribution in #370
- @design1online made their first contribution in #371
Full Changelog: v0.14.2...v0.15.1
v0.14.2: Maintenance Release
This release primarily fixes bugs and updates dependencies.
v0.14.1: PSR-6 Support, PHP7 Improvements, and Prep for v1.0.0
v0.14.1
- 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).
v0.13.2: Bug fixes and testing updates.
v0.13.2
- Fixed bug where the default filesystem driver path would be created even when a path was specified.
- Updated development dependencies.
- Required PHP7 tests to pass.
v0.13.1: Optimizations, Upgrades and Legacy Cleanup
0.13.1
- 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.
v0.12.3: Invalidation Bug fix.
This release fixes an issue that prevented the proper invalidation from being used when none were set.
v0.12.2: Stability and Efficiency Release
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 using the "encoder" option.
- 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).