amphp/cache
A fiber-aware cache API based on Amp and Revolt.
v2.0.1
52M downloads/mo
#379 most downloaded on Packagist
amphp/cache
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 2.0 years
Some releases are documented
notes for 6 of 11 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
15 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
15 releases · Sep 2015 to Apr 2024Releases
latest 15-
v2.0.119 Apr 2024Release notes
Open source →What's Changed
- Make implicit nullable types explicit to avoid deprecation notice in PHP 8.4.
Full Changelog: v2.0.0...v2.0.1
-
v2.0.009 Jan 2023Release notes
Open source →Note: This is a pre-release, there might be breaking changes in the final stable version.
- Renamed
ArrayCachetoLocalCache, swapping the constructor argument order - Support arbitrary values in
LocalCache,NullCache, andPrefixCache - Changed
Cacheto support arbitrary values - Introduced separate
StringCacheinterface for caching only strings - Added
StringCacheAdapterto use anyCachein place of aStringCache - Removed
FileCache(will be available inamphp/fileinstead)
Release notes
Open source →Stable release compatible with AMPHP v3 and fibers! 🎉
As with other libraries compatible with AMPHP v3, most cases of parameters or returns of
Promise<ResolutionType>have been replaced withResolutionType.- Renamed
ArrayCachetoLocalCache, swapping the constructor argument order - Modified
LocalCacheto implementIteratorAggregateandCountable, acting as an LRU cache now (#20) - Support arbitrary values in
LocalCache,NullCache, andPrefixCache - Changed
Cacheto support arbitrary values - Introduced separate
StringCacheinterface for caching only strings - Added
StringCacheAdapterto use anyCachein place of aStringCache - Removed
FileCache(will be available inamphp/fileinstead)
- Renamed
-
v2.0.0-beta.407 Jan 2023 pre-releaseNothing published for this version
-
v2.0.0-beta.307 Nov 2022 pre-releaseNothing published for this version
-
v2.0.0-beta.203 Feb 2022 pre-releaseNothing published for this version
-
v2.0.0-beta.111 Dec 2021 pre-releaseNothing published for this version
-
v1.5.121 Mar 2024Release notes
Open source →What's Changed
- Fix file cache keeping the GC watcher referenced by @shandak in #14
- Make implicit nullable types explicit by @nicolas-grekas in #21
New Contributors
- @shandak made their first contribution in #14
- @nicolas-grekas made their first contribution in #21
Full Changelog: v1.5.0...v1.5.1
-
v1.5.029 Jun 2021 -
v1.4.019 Apr 2020Release notes
Open source → -
v1.3.029 Nov 2019 -
v1.2.121 Sep 2019Nothing published for this version
-
v1.2.004 Oct 2017Nothing published for this version
-
v1.1.024 Jun 2017Nothing published for this version
-
v1.0.016 Jun 2017Nothing published for this version
-
v0.1.008 Sep 2015Nothing published for this version