Skip to content

chore(deps): bump cached from 2.0.2 to 3.0.0 - #874

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cached-3.0.0
Open

chore(deps): bump cached from 2.0.2 to 3.0.0#874
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cached-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bumps cached from 2.0.2 to 3.0.0.

Release notes

Sourced from cached's releases.

cached_proc_macro-v3.0.0

What's Changed

Full Changelog: jaemk/cached@v3.0.0-rc.9...cached_proc_macro-v3.0.0

cached_proc_macro_types-v3.0.0

What's Changed

Full Changelog: jaemk/cached@v3.0.0-rc.9...cached_proc_macro_types-v3.0.0

cached_proc_macro-v3.0.0-rc.10

What's Changed

... (truncated)

Changelog

Sourced from cached's changelog.

[3.0.0 / cached_proc_macro 3.0.0 / cached_proc_macro_types 3.0.0] - 2026-08-22

This entry describes the complete 2.0.2 -> 3.0.0 delta. The ten release candidates (3.0.0-rc.1 through 3.0.0-rc.10) are folded in here, and API that was introduced and then changed again across the candidates is recorded only in its final shipped form; the rc git tags remain. The upgrade is documented step by step in the migration guide, with the mechanical breaking-change list in the agent-oriented guide.

Breaking Changes

Minimum supported Rust version

  • MSRV raised from 1.85 to 1.92. redb 4.x set the 1.89 floor, and the async_core feature (enabled by async) does not compile before 1.92: the two CachedGetOrSetAsync RPIT rust-lang/rust#100013 bisection (fails on 1.89.0, 1.90.0, 1.91.0; clean on 1.92.0). Non-async feature sets built on 1.89, but rust-version is a single crate-level value, so the floor moves for every feature set.
  • cached_proc_macro_types moved to edition 2024, and its version now tracks cached in lockstep rather than a standalone 1.0.

Store renames and the disk backend (#237)

  • DiskCache is renamed RedbCache (naming the backend, like RedisCache) and is backed by redb 4.x instead of the unmaintained sled, dropping the RustSec-flagged fxhash transitive dependency. Still pure-Rust (no C toolchain). There are no DiskCache* aliases: rename DiskCache / DiskCacheBuilder / DiskCacheError / DiskCacheBuildError to RedbCache* at the call site. The on-disk format changed and DISK_FILE_VERSION was bumped, so existing caches are not read and entries are recomputed.
  • RedbCache::connection() / connection_mut(), RedbCacheBuilder::connection_config, and the connection_config macro attribute are removed; the backend handle is not exposed.
  • DiskCacheBuilder::sync_to_disk_on_cache_change is renamed durable and the default flipped from false to true (fsync per write), so a disk cache persists by default. durable(false) uses Durability::None, which can lose writes on process exit or crash; call RedbCache::flush() / async_flush() to force a durable commit.
  • RedbCacheBuilder::disk_directory is renamed disk_dir, matching the disk_dir attribute on #[concurrent_cached].
  • ShardedCache is renamed ShardedUnboundCache (with ShardedCacheBuilder -> ShardedUnboundCacheBuilder); the old name read as the umbrella for the whole sharded family while naming only the unbounded variant. No deprecated alias.
  • The six sharded stores are single types carrying a defaulted hasher parameter, ShardedX<K, V, H = DefaultShardHasher>, mirroring HashMap<K, V, S = RandomState>. The 2.x ShardedCacheBase pattern is gone: there is no ShardedUnboundCacheBase, ShardedLruCacheBase, ShardedTtlCacheBase, ShardedLruTtlCacheBase, ShardedExpiringCacheBase, or ShardedExpiringLruCacheBase. Migration is a mechanical rename dropping Base.
  • cached::TimedEntry is now pub(crate), and the store() accessors on UnboundCache, TtlCache, LruTtlCache, and ExpiringLruCache are removed. They exposed the internal backing map and leaked the internal entry wrapper; use the public Cached API instead.

... (truncated)

Commits
  • fff0a7d Release 3.0.0 (#309)
  • ea4f4b5 Sharded overwrite on_evict key, migration guide corrections, proc_macro a...
  • 78bbfc6 Panic-safe sweeps, result_fallback lost update, redis/redb correctness (#307)
  • 94d48a4 feat: hasher in builder slot 3, drop the serde feature, fix stale docs (#306)
  • 0bf1859 feat: collapse sharded *Base types, split refresh-on-hit traits, fix redis ...
  • ba021ba docs: correct the backfill claim in tag-release.sh (#304)
  • ab4b999 ci: trigger the release on an unpublished version, fail on partial publish (#...
  • 8e7eb85 3.0.0-rc.10: retain returns removed count, ConcurrentCachePeekAsync, MSRV...
  • b84bf13 feat: count evictions before on_evict, clear Clone error for #[once], n...
  • 634520f feat: derive default shard count from max_size, make cache_contains dyn-c...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cached](https://github.com/jaemk/cached) from 2.0.2 to 3.0.0.
- [Release notes](https://github.com/jaemk/cached/releases)
- [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md)
- [Commits](jaemk/cached@v2.0.2...cached_proc_macro-v3.0.0)

---
updated-dependencies:
- dependency-name: cached
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 31, 2026
@dependabot
dependabot Bot requested review from HastD and gmpinder as code owners August 31, 2026 08:16
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants