| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 9.2.0 source code.tar.gz | 2024-01-07 | 83.2 kB | |
| 9.2.0 source code.zip | 2024-01-07 | 198.9 kB | |
| README.md | 2024-01-07 | 3.2 kB | |
| Totals: 3 Items | 285.3 kB | 0 | |
- API
- Upgraded Phpfastcache API to
4.3.0(see changes) - Extensions (💡 New in 9.2)
- Created an extension mechanism to allow some drivers to be loaded independently, see README.md
- Created extension for
Couchbasev4support 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. HoweverCouchbasev3will 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}toPhpfastcache\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 EventManagerEventManager::getInstance()remains unchanged, see EVENTS.md. EventManagerInterface::on()now also accepts a singlestring $events.- Alias
\Phpfastcache\PhpfastcacheEventManagerof\Phpfastcache\EventManagerhas been added to improve your code import readability. - Deprecated
\Phpfastcache\Event\EventManagerDispatcherInterface::hasEventManagerto be removed for v10. - Drivers
- Implemented [#906] // Added
RedisClusterdriver support - Driver
Memstatichas changed its name toMemoryfor more consistency. - Driver
Wincacheis 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::getAllItemsto allow you to retrieve all items in the cache. This method have some limitations, (see more in the Wiki). - Core
- Configuration methods
ConfigurationOption::isPreventCacheSlams(),ConfigurationOption::setPreventCacheSlams(),ConfigurationOption::getCacheSlamsTimeout(),ConfigurationOption::setCacheSlamsTimeout()are deprecated. (See changes). - Fixed [#907] // Internal "driver decode()" method will now throw an if the string data looks corrupted.
- 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 $cacheKeyargument.- Tags
- Added
\Phpfastcache\Core\Item\TaggableCacheItemInterface::isTagged(): bool - Misc
- Fixed multiple code typo & updated README.md