The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Support for PHP 8.1
- Drop support for PHP < 7.4
- Allow psr/cache: ^1.0 || ^2.0
- Support for PHP 8
- Support for storing binary data
- Issue with one character variables
- Tests are now extending
PHPUnit\Framework\TestCase
- No changes since 0.4.0.
AbstractCachePool
has 4 new abstract methods:getList
,removeList
,appendListItem
andremoveListItem
.AbstractCachePool::invalidateTags
andAbstractCachePool::invalidateTags
- Added interfaces for our items and pools
PhpCachePool
andPhpCacheItem
- Trait to help adapters to support tags.
TagSupportWithArray
.
- First parameter to
AbstractCachePool::storeItemInCache
must be aPhpCacheItem
. - Return value from
AbstractCachePool::fetchObjectFromCache
must be a an array with 4 values. Added expiration timestamp. HasExpirationDateInterface
is replaced byHasExpirationTimestampInterface
- We do not work with
\DateTime
internally anymore. We work with timestamps.
- Bugfix when you fetch data from the cache storage that was saved as "non-tagging item" but fetch as a tagging item.
- Cache pools do implement
LoggerAwareInterface
- The
AbstractCachePool
does not longer implementTaggablePoolInterface
. However, theCacheItem
does still implementTaggableItemInterface
. CacheItem::getKeyFromTaggedKey
has been removed- The
CacheItem
's second parameter is a callable that must return an array with 3 elements; [hasValue
,value
,tags
].
- No changelog before this version