GitHub

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 ArrayCache to LocalCache, swapping the constructor argument order
  • Modified LocalCache to implement IteratorAggregate and Countable, acting as an LRU cache now (#20)
  • Support arbitrary values in LocalCache, NullCache, and PrefixCache
  • Changed Cache to support arbitrary values
  • Introduced separate StringCache interface for caching only strings
  • Added StringCacheAdapter to use any Cache in place of a StringCache
  • Removed FileCache (will be available in amphp/file instead)

2.0.0 Beta 4

Pre-release

  • Modified LocalCache to implement IteratorAggregate and Countable (#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-loop 0.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 ArrayCache to LocalCache, swapping the constructor argument order
  • Support arbitrary values in LocalCache, NullCache, and PrefixCache
  • Changed Cache to support arbitrary values
  • Introduced separate StringCache interface for caching only strings
  • Added StringCacheAdapter to use any Cache in place of a StringCache
  • Removed FileCache (will be available in amphp/file instead)

1.5.0

  • Add support for amphp/file v2

1.4.0

  • Added SerializedCache (#11)
  • Added AtomicCache (#8)
  • Fixed FileCache::set() return value (#10)

1.3.0

  • Added FileCache (#7)
  • Removed PHP 7.0 support

Read the original on github.com ↗