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
Releases
latest 23-
1.8.128 Oct 2025 -
1.8.003 Oct 2025Release notes
Open source →- Update dependencies to latest versions
- Fix unsupported generic functions when using conditional caching with
whereparameter - Fix cache peek operations not properly respecting TTL (time-to-live) settings
- Add support for editing cached values
-
1.7.121 Mar 2025 -
1.7.011 Mar 2024Release notes
Open source →- 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
-
1.6.424 Jan 2024Release notes
Open source →- Fix the
PersistentStorageHolderwhich wasn't checking if stored value type matches the method return type (see #105)
- Fix the
-
1.6.328 Aug 2023 -
1.6.228 Aug 2023 -
1.6.111 May 2023Release notes
Open source →- Fix
@Cached(limit: )parameter - LRU cache algorithm was not working correctly.
- Fix
-
1.6.019 Dec 2022Release notes
Open source →- Add
@Cached(persistentStorage: )parameter, which allows you to turn on cache persisting with usage of external storage.
- Add
-
1.5.102 Dec 2022 -
1.5.002 Dec 2022Release notes
Open source →- Add
@Cached(where: )parameter - function triggered before caching the value for conditional caching. - Documentation update with examples for
where:parameter
- Add
-
1.4.022 Nov 2022Release notes
Open source →- Add
@DeletesCache()annotation - Make parameters anonymous in
@CachePeek()and@CacheKey()annotations - Add support for getters for
@Cached()annotation
- Add
-
1.3.108 Nov 2022Release notes
Open source →- Allow
@ClearCached()and@ClearAllCached()methods to returnFuture<void>
- Allow
-
1.3.018 Oct 2022Release notes
Open source →- Add
@PeakCache()annotation - Fix generating
@StreamedCache()with ignored parameters
- Add
-
1.2.206 Jul 2022 -
1.2.106 Jul 2022 -
1.2.006 Jul 2022 -
1.1.022 Jun 2022 -
1.0.410 Jun 2022 -
1.0.310 Jun 2022 -
1.0.230 May 2022 -
1.0.130 May 2022 -
1.0.027 May 2022