2.0.1
What's Changed
- Make implicit nullable types explicit to avoid deprecation notice in PHP 8.4.
Full Changelog: v2.0.0...v2.0.1
1.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
Pre-release
- Modified
LocalCacheto implementIteratorAggregateandCountable(#20)
2.0.0 Beta 3
Pre-release
- Add compatibility with Revolt v1.x
- Require PHP 8.1
2.0.0 Beta 2
Pre-release
- Update to
revolt/event-loop0.2.x (#19)
2.0.0 Beta 1
Pre-release
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)
1.5.0
- Add support for
amphp/filev2
1.4.0
1.3.0
- Added
FileCache(#7) - Removed PHP 7.0 support