PackageTrack
Sign in Get early access

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 2024
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. v2.0.1 19 Apr 2024
    Release notes

    What's Changed

    • Make implicit nullable types explicit to avoid deprecation notice in PHP 8.4.

    Full Changelog: v2.0.0...v2.0.1

    Open source →
    Release notes

    2.0.1 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v2.0.0 09 Jan 2023
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
    Release notes
    • Modified LocalCache to implement IteratorAggregate and Countable (#20)
    Open source →
    Release notes
    • Add compatibility with Revolt v1.x
    • Require PHP 8.1
    Open source →
    Release notes
    • Update to revolt/event-loop 0.2.x (#19)
    Open source →
    Release notes

    2.0.0

    Compare

    Choose a tag to compare

    Open source →
  3. v2.0.0-beta.4 07 Jan 2023 pre-release

    Nothing published for this version

  4. v2.0.0-beta.3 07 Nov 2022 pre-release

    Nothing published for this version

  5. v2.0.0-beta.2 03 Feb 2022 pre-release

    Nothing published for this version

  6. v2.0.0-beta.1 11 Dec 2021 pre-release

    Nothing published for this version

  7. v1.5.1 21 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.5.0...v1.5.1

    Open source →
    Release notes

    1.5.1

    Compare

    Choose a tag to compare

    Open source →
  8. v1.5.0 29 Jun 2021
    Release notes
    • Add support for amphp/file v2
    Open source →
    Release notes

    1.5.0

    Compare

    Choose a tag to compare

    Open source →
  9. v1.4.0 19 Apr 2020
    Release notes
    • Added SerializedCache (#11)
    • Added AtomicCache (#8)
    • Fixed FileCache::set() return value (#10)
    Open source →
    Release notes

    1.4.0

    Compare

    Choose a tag to compare

    Open source →
  10. v1.3.0 29 Nov 2019
    Release notes
    • Added FileCache (#7)
    • Removed PHP 7.0 support
    Open source →
    Release notes

    1.3.0

    Compare

    Choose a tag to compare

    Open source →
  11. v1.2.1 21 Sep 2019

    Nothing published for this version

  12. v1.2.0 04 Oct 2017

    Nothing published for this version

  13. v1.1.0 24 Jun 2017

    Nothing published for this version

  14. v1.0.0 16 Jun 2017

    Nothing published for this version

  15. v0.1.0 08 Sep 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive