Releases: PHLAK/Stash
Releases · PHLAK/Stash
8.0.0
Warning
This release contains backward compatibility breaking changes!
These changes are in bold and preceded by a
Changed
⚠️ Bumped minimum supported PHP version to 8.1⚠️ Changed cache item TTL from minutes to seconds- Miscellanous internal code reorganization and cleanup
- Dependency updates (including
nesbot/carbon3.X) - Added
docker-compose.yamlfile for running memcached and redis servers for local testing
Removed
⚠️ Removed deprecatedStash::make()method
7.0.0
Changed
- Minimum required PHP version is now 7.1
Stash::forget()can now accept an array of item keys to forget multiple items at once
Detailed changelog: 6.0.1...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_DEPRECATEDerror 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
.cacheto.cache.phpto 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
InvalidDriverExceptionwhen 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