PackageTrack
Sign in Get early access

cached

Dart package with build-in code generation. Simplifies and speedup creation of cache mechanism for dart classes.

1.8.1 2.7K downloads/mo #4838 most downloaded on pub.dev Iteo/cached

What this package is like to depend on

Last release 10 months ago

28 Oct 2025

Release timing varies

gaps range from 1 weeks to 12 months

Nearly every release is documented

notes for 23 of 23 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

23 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

23 releases · May 2022 to Oct 2025
2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 1.8.1 28 Oct 2025
    Release notes
    • Downgrade meta package to 1.16.0
    Open source →
  2. 1.8.0 03 Oct 2025
    Release notes

    rc: 1.8.0 (#139)

    Open source →
    Release notes
    • Update dependencies to latest versions
    • Fix unsupported generic functions when using conditional caching with where parameter
    • Fix cache peek operations not properly respecting TTL (time-to-live) settings
    • Add support for editing cached values
    Open source →
  3. 1.7.1 21 Mar 2025
    Release notes
    • Update dependencies
    Open source →
  4. 1.7.0 11 Mar 2024
    Release notes
    • Fix not working peristent storage with the getters
    • Add @DirectPersistentCached() annotation - avoid store cached data in generated classes by cached, data will be stored only in external storage
    • Add @LazyPersistentCached() annotation - initialize cache from external storage only after the first method call
    • Mark @Cached(persistentStorage: ) parameter as @Deprecated
    • Update documentation
    Open source →
  5. 1.6.4 24 Jan 2024
    Release notes
    • Fix the PersistentStorageHolder which wasn't checking if stored value type matches the method return type (see #105)
    Open source →
  6. 1.6.3 28 Aug 2023
    Release notes

    Co-authored-by: Paweł Piechociński [email protected]

    Open source →
    Release notes
    • Update SDK version >=2.17.0 <4.0.0
    Open source →
  7. 1.6.2 28 Aug 2023
    Release notes
    • Update analyzer
    Open source →
  8. 1.6.1 11 May 2023
    Release notes

    fix: move chengelog change to correct package

    Open source →
    Release notes
    • Fix @Cached(limit: ) parameter - LRU cache algorithm was not working correctly.
    Open source →
  9. 1.6.0 19 Dec 2022
    Release notes

    build: Prepare 1.6.0 release

    Open source →
    Release notes
    • Add @Cached(persistentStorage: ) parameter, which allows you to turn on cache persisting with usage of external storage.
    Open source →
  10. 1.5.1 02 Dec 2022
    Release notes
    • Fix documentation links
    • Fix intendation in documentation
    Open source →
  11. 1.5.0 02 Dec 2022
    Release notes
    • Add @Cached(where: ) parameter - function triggered before caching the value for conditional caching.
    • Documentation update with examples for where: parameter
    Open source →
  12. 1.4.0 22 Nov 2022
    Release notes
    • Add @DeletesCache() annotation
    • Make parameters anonymous in @CachePeek() and @CacheKey() annotations
    • Add support for getters for @Cached() annotation
    Open source →
  13. 1.3.1 08 Nov 2022
    Release notes
    • Allow @ClearCached() and @ClearAllCached() methods to return Future<void>
    Open source →
  14. 1.3.0 18 Oct 2022
    Release notes
    • Add @PeakCache() annotation
    • Fix generating @StreamedCache() with ignored parameters
    Open source →
  15. 1.2.2 06 Jul 2022
    Release notes
    • Fix analysis
    Open source →
  16. 1.2.1 06 Jul 2022
    Release notes
    • Fix decumentation redirects
    Open source →
  17. 1.2.0 06 Jul 2022
    Release notes
    • Add @StreamedCache() annotation
    Open source →
  18. 1.1.0 22 Jun 2022
    Release notes
    • Add @IgnoreCache() annotation
    • Add @CacheKey() annotation
    Open source →
  19. 1.0.4 10 Jun 2022
    Release notes
    • Change analyzer version to ">=3.0.0 <5.0.0"
    Open source →
  20. 1.0.3 10 Jun 2022
    Release notes
    • Downgrade meta package to 1.7.0
    Open source →
  21. 1.0.2 30 May 2022
    Release notes
    • Fix README.md
    Open source →
  22. 1.0.1 30 May 2022
    Release notes
    • Fix analyzer warnings
    Open source →
  23. 1.0.0 27 May 2022
    Release notes
    • Initial version of cached library
    Open source →

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