Releases: PHLAK/Stash
Releases · PHLAK/Stash
7.0.0
6.0.1
Changed
- Allow the
Stash::touch()
method to accept an array of item keys
Fixed
- Fixed
Stash::has()
method returning an int instead of a boolean when using the redis driver
Detailed changelog: 6.0.0...6.0.1
6.0.0
Changed
- Minimum supported PHP version bumped to 7.0
- Deprecate the
Cache::make()
method (throws anE_USER_DEPRECATED
error and will be removed in a future version) - Configuration closures no longer require you to return the objects they act on
Other
- Updated PHPUnit version to 6/7
Detailed changelog: 5.1.0...6.0.0
5.1.0
5.0.0
4.1.0
- Changed File cache file extensions from
.cache
to.cache.php
to help prevent rendering as plain text if accessed through a web-server
Detailed changelog: 4.0.0...4.1.0
4.0.0
New
- Re-namespaced library to
PHLAK\Stash
- Bump minimum required PHP version to 5.6
- Added
touch()
method for setting a new expiration time for an item
Detailed changelog: 3.0.1...4.0.0
3.0.1
New
- Throw custom
InvalidDriverException
when an invalid driver is supplied
Other
- Added tests for Item class
- Simplified
Item::notExpired()
method logic (no functional change)
Detailed changelog: 3.0.0...3.0.1
3.0.0
New
- Added Ephemeral driver
- Additional test cases
Other
- Refactored File and Ephemeral drivers to utilize new Item class
- Fixed incorrectly named MemecacheTest.php (should be MemcachedTest.php)
- Miscellaneous internal documentation updates
- Minor internal code tweaks
Detailed changelog: 2.0.2...3.0.0
2.0.2
- Fixed:
put()
method onCacheable
interface having misspelled parameter; also gave it a default value
Detailed changelog: 2.0.1...2.0.2