Releases: amphp/cache
Releases · amphp/cache
2.0.1
1.5.1
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
2.0.0
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 with ResolutionType.
- 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)
2.0.0 Beta 4
- Modified
LocalCacheto implementIteratorAggregateandCountable(#20)
2.0.0 Beta 3
- Add compatibility with Revolt v1.x
- Require PHP 8.1
2.0.0 Beta 2
- Update to
revolt/event-loop0.2.x (#19)
2.0.0 Beta 1
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)