Skip to content

build(deps): bump firestore from 0.48.0 to 0.52.0 - #51

Merged
iff merged 1 commit into
mainfrom
dependabot/cargo/firestore-0.52.0
Sep 5, 2026
Merged

build(deps): bump firestore from 0.48.0 to 0.52.0#51
iff merged 1 commit into
mainfrom
dependabot/cargo/firestore-0.52.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps firestore from 0.48.0 to 0.52.0.

Release notes

Sourced from firestore's releases.

v0.52.0

This release makes the Fluent API the only public API of the library, reworks how caches are created, and fixes two caching bugs that could return stale or incomplete data.

Upgrading: see the migration guide for the fluent replacement of every removed method.

Breaking changes

  • The low level *Support traits are now crate private, so db.fluent() is the only public entry point. Batch writes, transactions, listeners, the cache backend traits, FirestoreTransactionOps and the dynamic document helpers are unaffected.
  • list and query are served from the cache only for collections configured to be preloaded. A lazily filled collection holds an arbitrary subset of documents, so answering a listing from it returned partial results that looked complete. read_through_cache now falls back to Firestore for such collections, and read_cached_only returns a FirestoreError::CacheError. The previous behaviour is available with FirestoreCacheIncompleteCollectionPolicy::PartialResults.
  • FirestoreCache::load() and shutdown() take &self instead of &mut self, so a cache can be shared as Arc<FirestoreMemoryCache>. Existing let mut cache bindings will report an unused mut.
  • The minimum supported Rust version is now 1.90. It was declared as 1.64, which had not been accurate for a long time.

Added

  • A builder for the cache, replacing the four argument constructor:

    let cache = FirestoreCache::memory(&db)
        .preloaded_collection("countries")
        .collection("users")
        .build()
        .await?;

    It assigns Firestore listener target IDs automatically, defaults the listener state storage to match the backend, and loads the cache as part of build(). Use FirestoreCache::persistent(&db).data_dir(..) for the disk backed cache, which keeps the database and the listener resume tokens together.

  • FirestoreMemoryCache and FirestorePersistentCache type aliases, so a cache can be stored in your own types without spelling out its generic parameters.

  • FirestoreMemoryCacheOptions and FirestorePersistentCacheOptions, exposing the backend tuning options without leaking moka types.

  • FirestoreCacheIncompleteCollectionPolicy and FirestoreCacheConfiguration::is_collection_listable().

Fixed

  • The persistent cache opened a write transaction to apply a document deletion but never committed it, so documents deleted in Firestore stayed in the cache indefinitely and were still returned by

... (truncated)

Commits
  • eb7be0a Make the Fluent API the only public API and add a cache builder (#235)
  • 964fa83 chore: Release firestore version 0.51.1
  • bd4a8ca fix: Keep FirestoreTimestamp at the precision Firestore stores (#234)
  • c91fa41 feat: Automatic support for std::time::SystemTime (#233)
  • 58fd392 fix: Do not require credentials for the Firestore emulator (#232)
  • c1e18b3 chore: Release firestore version 0.51.0
  • 9f18d35 chore: Readme ver
  • f98862f feat: Migrate from chrono to jiff (#231)
  • 9fdac83 feat: Request tags support in native and fluent API (#230)
  • 1e68b6e chore(deps): update actions/checkout action to v7 (#225)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 30, 2026
@iff

iff commented Sep 5, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [firestore](https://github.com/abdolence/firestore-rs) from 0.48.0 to 0.52.0.
- [Release notes](https://github.com/abdolence/firestore-rs/releases)
- [Commits](abdolence/firestore-rs@v0.48.0...v0.52.0)

---
updated-dependencies:
- dependency-name: firestore
  dependency-version: 0.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/firestore-0.52.0 branch from 196cf66 to fe6eb0a Compare September 5, 2026 15:03
@iff
iff merged commit 841eb29 into main Sep 5, 2026
4 checks passed
@iff
iff deleted the dependabot/cargo/firestore-0.52.0 branch September 5, 2026 15:07
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.

1 participant