+
Skip to content

Releases: Vectorface/cache

v0.7.0

26 Jun 21:06
480b1c0
Compare
Choose a tag to compare

What's Changed

  • Updates to PSR Simple Cache v2 and v3 by @francislavoie in #14
  • ⚠️ No longer supports PSR Simple Cache v1

Full Changelog: v0.6.0...v0.7.0

v0.6.0

10 May 14:47
6bfc927
Compare
Choose a tag to compare

What's Changed

  • Don't set eternal TTL when incrementing in SQLCache, add types everywhere by @francislavoie in #13

Full Changelog: v0.5.0...v0.6.0

v0.5.0

21 Jan 23:43
84d05b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.3...v0.5.0

v0.4.3

11 Apr 15:58
562cc14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.2...v0.4.3

Bugfix: Expire Typehint

03 Sep 17:19
Compare
Choose a tag to compare
  • Change calls to use 0 (zero) rather than null to match the typehint of the expiry parameter of Memcache object methods

Bugfix: Flags Typehint

03 Sep 16:39
Compare
Choose a tag to compare
  • Change calls to use 0 (zero) rather than null to match the typehint of several Memcache object methods

v0.4.0

27 Jan 04:36
e796285
Compare
Choose a tag to compare
  • Adds Redis support! (#8)

  • Adds support for PHP 8.0, bumps minimum to PHP 7.3 (#7)

  • Use Github Actions for CI testing (#7, #9)

v0.3.0

04 Nov 20:10
3b1ecc4
Compare
Choose a tag to compare

Adds a new optional $ttl parameter to the increment and decrement methods of AtomicCounter. This sets the TTL only if the key did not already exist, and the TTL is not updated when the counter is incremented or decremented.

v0.2.1

27 Oct 21:09
39a448b
Compare
Choose a tag to compare

Update composer.json from "php": "^7.0.0" to "php": ">=7.0.0" to support PHP 8+

v0.2.0

22 Sep 17:59
c951343
Compare
Choose a tag to compare

Essentially a rewrite of the library.

  • Vectorface\Cache\Cache no longer directly extends Psr\SimpleCache\CacheInterface (#4)

    This was done because the SimpleCache interface has some problems like php-fig/simple-cache#13 which make @throws \Exception docblock annotations not behave well, and because we had minor parameter typehint overrides like iterable -> array|Traversable since we want to maintain PHP <7.1 support (iterable was introduced in 7.1)

  • SimpleCache (PSR-16) support is moved to an adapter, Vectorface\Cache\SimpleCacheAdapter which can take any Vectorface\Cache\Cache. Useful for framework interop, if needed. (#4)

  • Added a new Vectorface\Cache\AtomicCounter interface (#5)

    Provides increment and decrement methods, and adds support to these cache implementations: APC, Memcache, Null, PHP, SQL

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载