tedivm/stash
Stash is a PHP caching library for speeding up expensive code (DB queries, API calls) by storing results in a cache. It provides Pool and Item APIs with pluggable storage Drivers, including composite setups and maintenance tools like purge.
Full Changelog: https://github.com/tedious/Stash/compare/v1.2.1...v1.2.2
Full Changelog: https://github.com/tedious/Stash/compare/v1.2.0...v1.2.1
Full Changelog: https://github.com/tedious/Stash/compare/v1.1.0...v1.2.0
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 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.
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.6...v0.18.0
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.5...v0.17.6
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.4...v0.17.5
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.3...v0.17.4
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.2...v0.17.3
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.1...v0.17.2
Full Changelog: https://github.com/tedious/Stash/compare/v0.17.0...v0.17.1
Full Changelog: https://github.com/tedious/Stash/compare/v0.16.0...v0.17.0
Full Changelog: https://github.com/tedious/Stash/compare/v0.15.2...v0.16.0
Minor package change to let downstream packages access tests.
Full Changelog: https://github.com/tedious/Stash/compare/v0.14.2...v0.15.1
This release primarily fixes bugs and updates dependencies.
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.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 Redis drivers.
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 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 causing a Windows work around designed to limit filename length to kick in when it wasn't needed.
Corrected a bug with APC where the max ttl would end up being used where it shouldn't have been.
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 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.
How can I help you explore Laravel packages today?