The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
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