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
Cache\Taggable\Exception\InvalidArgumentException
- We do not throw
Cache\Adapter\Common\Exception\InvalidArgumentExceptionanymore. Instead we throwCache\Taggable\Exception\InvalidArgumentException. Both exceptions do implementPsr\Cache\InvalidArgumentException - We do not require
cache/adapter-common
- Deprecated interfaces
TaggableItemInterfaceandTaggablePoolInterface
- Bug on
TaggablePSR6ItemAdapter::isItemCreatedHerewhere item value wasnull.
- Support for
TaggableCacheItemPoolInterface
- The behavior of
TaggablePSR6ItemAdapter::getTags()has changed. It will not return the tags stored in the cache storage.
TaggablePoolTrait- Deprecated
TaggablePoolInterfacein favor ofCache\TagInterop\TaggableCacheItemPoolInterface - Deprecated
TaggableItemInterfacein favor ofCache\TagInterop\TaggableCacheItemInterface - Removed support for
TaggablePoolInterfaceandTaggableItemInterface TaggablePSR6ItemAdapter::getTags(). UseTaggablePSR6ItemAdapter::getPreviousTags()TaggablePSR6ItemAdapter::addTag(). UseTaggablePSR6ItemAdapter::setTags()
- Do not lose the data when you start using the
TaggablePSR6PoolAdapter
- Updated version for integration tests
- Made
TaggablePSR6PoolAdapter::getTagsprotected instead of private
- Saving an expired value should be the same as removing that value
This is a big BC break. The API is rewritten and how we store tags has changed. Each tag is a key to a list in the cache storage. The list contains keys to items that uses that tag.
- The
TaggableItemInterfaceis completely rewritten. It extendsCacheItemInterfaceand has three methods:getTags,setTagsandaddTag. - The
TaggablePoolInterfaceis also rewritten. It has a newclearTagsfunction. - The
TaggablePoolTraithas new methods to manipulate the list of tags.
- No changelog before this version