PHP Classes

File: libraries/vendor/cache/adapter-common/Changelog.md

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   libraries/vendor/cache/adapter-common/Changelog.md   Download  
File: libraries/vendor/cache/adapter-common/Changelog.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 6 years ago
Size: 1,495 bytes
 

Contents

Class file image Download

Change Log

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

1.0.0

No changes since 0.4.0.

0.4.0

Added

  • `AbstractCachePool` has 4 new abstract methods: `getList`, `removeList`, `appendListItem` and `removeListItem`.
  • `AbstractCachePool::invalidateTags` and `AbstractCachePool::invalidateTags`
  • Added interfaces for our items and pools `PhpCachePool` and `PhpCacheItem`
  • Trait to help adapters to support tags. `TagSupportWithArray`.

Changed

  • First parameter to `AbstractCachePool::storeItemInCache` must be a `PhpCacheItem`.
  • Return value from `AbstractCachePool::fetchObjectFromCache` must be a an array with 4 values. Added expiration timestamp.
  • `HasExpirationDateInterface` is replaced by `HasExpirationTimestampInterface`
  • We do not work with `\DateTime` internally anymore. We work with timestamps.

0.3.3

Fixed

  • Bugfix when you fetch data from the cache storage that was saved as "non-tagging item" but fetch as a tagging item.

0.3.2

Added

  • Cache pools do implement `LoggerAwareInterface`

0.3.0

Changed

  • The `AbstractCachePool` does not longer implement `TaggablePoolInterface`. However, the `CacheItem` does still implement `TaggableItemInterface`.
  • `CacheItem::getKeyFromTaggedKey` has been removed
  • The `CacheItem`'s second parameter is a callable that must return an array with 3 elements; [`hasValue`, `value`, `tags`].

0.2.0

No changelog before this version