Skip to content

Releases: PHLAK/Stash

7.0.0

08 Feb 08:03
9cc6dee
Compare
Choose a tag to compare

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

01 May 04:42
504ca03
Compare
Choose a tag to compare

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

03 Apr 00:57
44e4748
Compare
Choose a tag to compare

Changed

  • Minimum supported PHP version bumped to 7.0
  • Deprecate the Cache::make() method (throws an E_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

07 Feb 02:39
d91404c
Compare
Choose a tag to compare

New

  • Added static named constructors to the Cache object

Detailed changelog: 5.0.0...5.1.0

5.0.0

16 Dec 23:30
f1c04f3
Compare
Choose a tag to compare
  • Added Redis driver
  • Improved driver configuration by utilizing closures (see README for details)
  • File driver now uses sub-directories for prefix separation
  • Ephemeral driver no longer accepts a prefix configuration

Detailed changelog: 4.1.0...5.0.0

4.1.0

10 Oct 05:48
c35bb77
Compare
Choose a tag to compare
  • 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

14 Sep 04:41
cfb68fd
Compare
Choose a tag to compare

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

01 Mar 21:23
Compare
Choose a tag to compare

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

07 Oct 02:56
Compare
Choose a tag to compare

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

06 Oct 01:10
Compare
Choose a tag to compare
  • Fixed: put() method on Cacheable interface having misspelled parameter; also gave it a default value

Detailed changelog: 2.0.1...2.0.2