-
-
Notifications
You must be signed in to change notification settings - Fork 446
Releases: TruCopilot/phpfastcache
Releases · TruCopilot/phpfastcache
9.2.4
@Geolim4
Geolim4
- Core
- PHP 8.4 compatibility (@khoaofgod, @CHANCENY)
- Drivers
- Redis: Refactor Redis driver to read all keys efficiently (@mapcentia)
Assets 2
1 person reacted
9.2.3
@Geolim4
Geolim4
9.2.3
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
372d62e
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
- Drivers
- Added support of
Ravendbas an extension with its own sub-repository. - Deprecated
\Phpfastcache\Entities\DriverStatistic::getData(). Will be removed as of v10. - Deprecated
\Phpfastcache\Entities\DriverStatistic::setData(). Will be removed as of v10. - Added
\Phpfastcache\Entities\DriverStatistic::getCount(): int|null. If applicable will return the count of cache objects stored in driver database/collection. Null otherwise. - Added
\Phpfastcache\Entities\DriverStatistic::setCount()
- Added support of
Assets 3
9.2.2
@Geolim4
Geolim4
9.2.2
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
1e605b0
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
- Core
- Added optional prefix to
\Phpfastcache\Core\Pool\CacheItemPoolTrait::getKeys()
- Added optional prefix to
Assets 2
9.2.1
@Geolim4
Geolim4
9.2.1
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
58f77cf
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
- Misc
- Added additional check in cache manager for extensions
Assets 2
9.2.0
@Geolim4
Geolim4
9.2.0
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
c877fac
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
- API
- Upgraded Phpfastcache API to
4.3.0(see changes)
- Upgraded Phpfastcache API to
- 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.
- EventManager is now scoped to its own poll if retrieved through
- 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.
- Implemented #906 // Added
- Pool
- Added
ExtendedCacheItemPoolTrait::getAllItemsto allow you to retrieve all items in the cache. This method have some limitations, (see more in the Wiki).
- Added
- 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.
- Configuration methods
- Tags
- Added
\Phpfastcache\Core\Item\TaggableCacheItemInterface::isTagged(): bool
- Added
- Misc
- Fixed multiple code typo & updated README.md
Assets 2
1 person reacted
9.2.0-beta
@Geolim4
Geolim4
9.2.0-beta
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
4493cdf
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
9.2.0-beta
Pre-release
Pre-release
- API
- Upgraded Phpfastcache API to
4.3.0(see changes)
- Upgraded Phpfastcache API to
- Events
- EventManager is now scoped to its own poll if retrieved through
ExtendedCacheItemPoolTrait::->getEventManager(). Global EventManagerEventManager::getInstance()remains unchanged, see EVENTS.md.
- EventManager is now scoped to its own poll if retrieved through
- Drivers
- Implemented #906 // Added
RedisClusterdriver support
- Implemented #906 // Added
- Pool
- Added
ExtendedCacheItemPoolTrait::getAllItemsto allow you to retrieve all items in the cache. This method have some limitations, (see more in the Wiki).
- Added
- 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.
- Configuration methods
- Misc
- Fixed multiple code typo & updated README.md
Important
Assets 2
2 people reacted
9.1.3
@Geolim4
Geolim4
9.1.3
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
8614c56
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
- Core
- Fixed #893 // getItemsByTag() - empty after one item has expired
- Misc
- Fixed multiple code typo & updated README.md
Assets 2
8.1.4
@Geolim4
Geolim4
8.1.4
This tag was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
ad4ac95
This commit was signed with the committer’s verified signature.
The key has expired.
Geolim4
Georges.L
"Masks fell, for good.."
- Core
- Fixed #893 // getItemsByTag() - empty after one item has expired
Assets 2
9.1.2
@Geolim4
Geolim4
718c022
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
- API
- Upgraded Phpfastcache API to
4.2.0(see changes)
- Upgraded Phpfastcache API to
- Core
- Rewrote some core code to improve code maintainability & readability following Scrutinizer and Phpstan recommendations
- Fixed an issue with tags not properly reinitialized when a backend driver returns an expired cache item
- Drivers
- Fixed #866 // Deprecated Method Cassandra\ExecutionOptions starting of Cassandra 1.3
- Misc
- Increased PHPSTAN level to 6
- Fixed multiple fails of Travis CI
- Migrated Github issue templates from Markdown to YAML configurations