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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created an extension mechanism to allow some drivers to be loaded independently, see README.md
Created extension for Couchbasev4 support to its own sub-repository.
IMPORTANT: AS OF v9.2 the following drivers has been MOVED to their own sub-repositories as a standalone extension: Arangodb, Couchdb, Dynamodb, Firestore, Mongodb, Solr. However Couchbasev3 will stay in the core for compatibility reasons but will be deprecated.
IMPORTANT: AS OF v10 extensions will have their namespaces permanently moved from Phpfastcache\Drivers\EXT_NAME\{Config, Driver, Event, Item} to Phpfastcache\Extensions\Drivers\EXT_NAME\{Config, Driver, Event, Item}. For now an alias is ensuring compatibility.
Events
EventManager is now scoped to its own poll if retrieved through ExtendedCacheItemPoolTrait::->getEventManager(). Global EventManager EventManager::getInstance() remains unchanged, see EVENTS.md.
EventManagerInterface::on() now also accepts a single string $events.
Alias \Phpfastcache\PhpfastcacheEventManager of \Phpfastcache\EventManager has been added to improve your code import readability.
Deprecated \Phpfastcache\Event\EventManagerDispatcherInterface::hasEventManager to be removed for v10.
Driver Memstatic has changed its name to Memory for more consistency.
Driver Wincache is now deprecated and will be removed as of v10 due to the lack of updates to PHP 8 as officially stated by PHP.
Pool
Added ExtendedCacheItemPoolTrait::getAllItems to allow you to retrieve all items in the cache. This method have some limitations, (see more in the Wiki).
Core
Configuration methodsConfigurationOption::isPreventCacheSlams(), ConfigurationOption::setPreventCacheSlams(), ConfigurationOption::getCacheSlamsTimeout(), ConfigurationOption::setCacheSlamsTimeout() are deprecated. (See changes).
Internal: Implemented multiple keys fetch (if supported by the backend) to improve the performances behind all getItems() calls. Currently only supported in some backends, but it may evolve in the future.
Internal: Implemented multiple keys delete (if supported by the backend) to improve the performances behind all deleteItems() calls. Currently only supported in some backends, but it may evolve in the future.
\Phpfastcache\CacheContract::get() now accepts a \Stringable $cacheKey argument.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
4.3.0
(see changes)Couchbasev4
support to its own sub-repository.Arangodb
,Couchdb
,Dynamodb
,Firestore
,Mongodb
,Solr
. HoweverCouchbasev3
will stay in the core for compatibility reasons but will be deprecated.Phpfastcache\Drivers\EXT_NAME\{Config, Driver, Event, Item}
toPhpfastcache\Extensions\Drivers\EXT_NAME\{Config, Driver, Event, Item}
. For now an alias is ensuring compatibility.ExtendedCacheItemPoolTrait::->getEventManager()
. Global EventManagerEventManager::getInstance()
remains unchanged, see EVENTS.md.EventManagerInterface::on()
now also accepts a singlestring $events
.\Phpfastcache\PhpfastcacheEventManager
of\Phpfastcache\EventManager
has been added to improve your code import readability.\Phpfastcache\Event\EventManagerDispatcherInterface::hasEventManager
to be removed for v10.RedisCluster
driver supportMemstatic
has changed its name toMemory
for more consistency.Wincache
is now deprecated and will be removed as of v10 due to the lack of updates to PHP 8 as officially stated by PHP.ExtendedCacheItemPoolTrait::getAllItems
to allow you to retrieve all items in the cache. This method have some limitations, (see more in the Wiki).ConfigurationOption::isPreventCacheSlams()
,ConfigurationOption::setPreventCacheSlams()
,ConfigurationOption::getCacheSlamsTimeout()
,ConfigurationOption::setCacheSlamsTimeout()
are deprecated. (See changes).getItems()
calls. Currently only supported in some backends, but it may evolve in the future.deleteItems()
calls. Currently only supported in some backends, but it may evolve in the future.\Phpfastcache\CacheContract::get()
now accepts a\Stringable $cacheKey
argument.\Phpfastcache\Core\Item\TaggableCacheItemInterface::isTagged(): bool
This discussion was created from the release 9.2.0.
Beta Was this translation helpful? Give feedback.
All reactions