Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cannot retrieve contributors at this time
Changelog
1.4.8 - 2021-01-27
Added
- Added support for later Couchbase v2.x versions
Fixed
- Fixed Flysystem support for long keys
- Fixed non-existing getMulti results with certain Redis versions
- Allow longer keys in MySQL-backed cache
- Made handling of binary values with PostgreSQL more robust
- Add support for Flysystem v2.x
- Fix PHP8 error with
cas
in transactional cache
- Fix PHP8 warning in PostgreSQL
set
1.4.7 - 2019-08-30
Fixed
- Updated Couchbase install instructions in PHP Docker images
- Updated
implode
parameter order for PHP7.4 compliance
1.4.6 - 2018-02-14
Fixed
- Safeguard Apc::getMulti for
false
returned by apcu_fetch
1.4.5 - 2017-12-05
Added
- Dockerize everything needed for testing adapters & versions
- Add test support for Couchbase 5.0
- Add makefile instructions
Changed
- Use more direct ON CONFLICT functionality for PostgreSQL sets
Fixed
- Memcached::cas
$token
can be int as well as float
- Fix obscure issue where
$value
is considered null
- Count MemoryStore collections towards the memory limit
- Fix PSR SimpleCache to KeyValueStore TTL conversion logic
- Add more workarounds for Couchbase's imprecise expiration purging
1.4.4 - 2017-05-12
Fixed
- Support Memcached>=3.0 new getMulti method signature
- Throw exceptions for Memcached getMulti false (= error) result
1.4.3 - 2017-03-01
Added
- Include cache/integration-tests test suite for PSR-16
Fixed
- Made APC store setMulti with integer keys
- Let APC getMulti return values for numerical keys
- Short-circuit getting/setting/deleting multiple keys
- Make sure SQLite treats numerical keys as strings, not numbers
- Support numerical keys with Couchbase
- Fix how Couchbase (failed to) handle negative TTLs
- Make Memcached delete-by-expiration more reliable
- Make HHVM work with numerical cache keys in Memcached::setMulti
- Fix Memcached::get for keys that would get encoded
- SQL adapters expire on the exact second, not one later
1.4.2 - 2017-02-07
Fixed
- Stricter handling of invalid keys in Traversables passed to PSR-16
- Allow integers to be used as keys for PSR-16
- Treat a TTL of 0 as expired for PSR-16
- Always return true for PSR-16 deleteMultiple, even when item didn't exist
1.4.1 - 2017-01-03
Fixed
- Return value of PSR-16 delete should always be true
- Improved PSR-16 checks for invalid (characters in) keys
1.4.0 - 2017-01-02
Added
- Added support for collections
Changed
- Officialize psr/simple-cache support
1.3.1 - 2016-12-09
Added
- Added $default param to PSR-16's
get()
- Added APCu support
- Strict argument checks for PSR-16 methods
- Return a boolean for PSR-16 delete, clear & deleteMulti
Changed
- Treat all PSR-16 TTL's as relative
- Renamed PSR-16
exists()
to has()
Fixed
- Fixed Redis handling of non-expiring ttls
Removed
- Removed PSR-16 CounterInterface & its methods
1.3.0 - 2016-09-20
Added
- Add preliminary support for proposed PSR-16
Changed
- Throw exception when invalid object is fed to Item::expiresAt
Fixed
- Don't cause PHP warnings when Redis connection fails on get/getMulti
- Stop using Couchbase's
counter
, which is not typesafe
- Fixed Couchbase setMulti & deleteMulti failure return values
1.2.2 - 2016-05-09
Fixed
- Make sure expired items are also stored (they may override existing value)
1.2.1 - 2016-04-05
Fixed
- Made MySQL's value a LONGBLOB, which can store bigger values
1.2.0 - 2016-03-21
Removed
- Removed Taggable, since it seems
cache/taggable-cache
now does the same
- Removed deprecated Filesystem adapter
1.1.0 - 2016-02-01
Added
Fixed
- MemoryStore no longer evicts everything if infinite memory is allocated to PHP
1.0.10 - 2016-01-22
Fixed
- Don't let expired deferred items appear to have hit cache
1.0.9 - 2016-01-14
Added
- Add cache/taggable-cache implementation that works for all PSR-6 libraries
- Include cache/integration-tests test suite for PSR-6
Changed
- Revamped unit tests: no longer use dataProvider, but provide grouped suites
Fixed
- Worked around APC's weird behavior of only clearing expires per page request
- Store
get
result in buffer if it wasn't in there already
- Encode certain characters in Memcached keys
- Serialize arrays & objects in Couchbase, because it forgets their data type
1.0.8 - 2016-01-12
Fixed
- Deferred items now register as hit in psr/cache Item
- Non-string keys now fail in psr/cache Pool
- Deleting non-existing keys from cache also return true in psr/cache Pool
- Auto-commit deferred items on psr/cache Pool destruction
- If psr/cache Item::expiresAfter is passed null explicitly, default to forever
- SQL adapters now also return same data type as was stored for numerics
- Fixed psr/cache Pool::save return value when storing a non-existing Item
1.0.7 - 2015-12-23
Added
- Properly support PHPUnit's --filter to narrow down adapters
Fixed
- Distinguish between
false
& no value in cache, where $token should be null
1.0.6 - 2015-12-14
Added
- composer.json now requires
psr/cache
Changed
- Travis scripts no longer install services but user Docker containers
- All
Psr6
methods accepting $key
now throw InvalidArgumentException
Removed
- Removed included
Psr\Cache
files
Fixed
- Fixed Couchbase
flush
return value
1.0.5 - 2015-11-17
Added
- Added stampede protection
Fixed
- Made Redis
multi/exec
consistently return array
1.0.4 - 2015-11-04
Added
- Added
Psr6\Pool::hasItem
, per PSR-6 spec
- Added
Psr6\Pool::deleteItem
, per PSR-6 spec
Changed
Psr6\Pool::deleteItems
returns result instead of static
, per PSR-6 spec
Psr6\Pool::save
returns result instead of static
, per PSR-6 spec
Psr6\Pool::saveDeferred
returns result instead of static
, per PSR-6 spec
Removed
- Removed
Psr6\Item::exists
, per PSR-6 spec
- Removed
Psr6\Item::getExpiration
, per PSR-6 spec
Fixed
- Make sure CAS tokens are null if value doesn't exist
- Normalized CAS token result on HHVM
- Restored original Filesystem adapter (for PHP5.3 B/C), but still deprecated
1.0.3 - 2015-10-21
Added
- Added
league/flysystem
adapter
Removed
- Deprecated Filesystem adapter
1.0.2 - 2015-10-17
Changed
- Optimized transactions (e.g. multiple
set
can be combined into setMulti
)
- Transaction rollback now restores original values, instead of clearing them
Fixed
- When doing
set
on existing value in MemoryStore, don't doublecount the size
- Fixed SQL return values when replacement value is the same
1.0.1 - 2015-10-14
Added
- Added
Psr6\Item::expiresAt
, per PSR-6 spec
- Added
Psr6\Item::expiresAfter
, per PSR-6 spec
- Added memory limit to MemoryStore & evict data, to prevent it from crashing
- Execute tests/Adapters/*, there can be adapter-specific tests too
- Implement nested transactions
Changed
- Explicitly test file existence instead of using
@file_get_contents
Removed
- Removed
Psr6\Item::setExpiration
, per PSR-6 spec
Fixed
- SQL adapter returns early if there's no data to be deleted
1.0.0 - 2015-09-04
Added
- Apc adapter
- Couchbase adapter
- Filesystem adapter
- Memcached adapter
- MySQL adapter
- PostgreSQL adapter
- Redis adapter
- SQLite adapter
- MemoryStore adapter, for testing
- Buffered cache, to prevent multiple lookups for same value
- Transactional cache, to guarantee consistency of storing multiple values
- PSR-6 compatible interface for all of the above
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.