FireForNet.Firebase.Firestore.Browser 1.0.1-preview.11

Prefix Reserved
This is a prerelease version of FireForNet.Firebase.Firestore.Browser.
dotnet add package FireForNet.Firebase.Firestore.Browser --version 1.0.1-preview.11
                    
NuGet\Install-Package FireForNet.Firebase.Firestore.Browser -Version 1.0.1-preview.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FireForNet.Firebase.Firestore.Browser" Version="1.0.1-preview.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FireForNet.Firebase.Firestore.Browser" Version="1.0.1-preview.11" />
                    
Directory.Packages.props
<PackageReference Include="FireForNet.Firebase.Firestore.Browser" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FireForNet.Firebase.Firestore.Browser --version 1.0.1-preview.11
                    
#r "nuget: FireForNet.Firebase.Firestore.Browser, 1.0.1-preview.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FireForNet.Firebase.Firestore.Browser@1.0.1-preview.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FireForNet.Firebase.Firestore.Browser&version=1.0.1-preview.11&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FireForNet.Firebase.Firestore.Browser&version=1.0.1-preview.11&prerelease
                    
Install as a Cake Tool

FireForNet.Firebase.Firestore.Browser

Browser-native Firestore integration primitives for FireForNet.

This package provides browser local persistence implementations for Firestore. Blazor WebAssembly apps normally install FireForNet.Firebase.Firestore.Blazor.WebAssembly instead.

builder.Services.AddFirestore().UseBrowser();

Docs: https://github.com/FireForNet/FireForNet

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1-preview.11 54 6/29/2026
1.0.1-preview.10 60 6/25/2026
1.0.1-preview.9 48 6/24/2026
1.0.1-preview.8 51 6/23/2026
1.0.1-preview.7 57 6/9/2026
1.0.1-preview.6 58 6/8/2026
1.0.1-preview.5 70 6/8/2026
1.0.1-preview.4 68 6/8/2026
1.0.1-preview.3 50 6/8/2026
1.0.1-preview.2 52 6/8/2026
1.0.1-preview.1 56 6/8/2026
1.0.0-preview9 51 6/2/2026
1.0.0-preview8 66 5/31/2026
1.0.0-preview7 73 5/26/2026
1.0.0-preview6 67 5/25/2026
1.0.0-preview5 73 5/24/2026
1.0.0-preview4 59 5/24/2026
1.0.0-preview3 63 5/24/2026
1.0.0-preview2 89 5/20/2026
1.0.0-preview10 60 6/8/2026

v1.0.1-preview.11
- Fixed InvalidStateError: "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing" on long-running browser sessions. Browsers tear down idle IndexedDB connections (tab backgrounding, memory pressure, version change in another tab); the cached _db handle became stale and the next operation threw. Added onversionchange/onclose handlers that null the cached handle, a getDatabase() helper that transparently reopens the connection, and converted all exported JS operations to await getDatabase() before creating a transaction. Mirrors the connection-lifecycle pattern already used by Installations.Blazor and RemoteConfig.Blazor.

v1.0.1-preview.10
- Updated to depend on FireForNet.Firebase.Firestore 1.0.1-preview.10, which fixes the "Cursor has too many values" error on snapshot-cursor pagination queries.

v1.0.1-preview.9
- Synchronized package version with the preview.9 release.

v1.0.1-preview.8
- Added IndexedDB QuotaExceededError handling: JS detects quota errors via QUOTA_EXCEEDED: prefix, C# catches, evicts via CollectGarbageAsync, retries once, surfaces BrowserFirestoreException(LocalCacheFull) if eviction cannot recover.
- Eliminated localStorage backend (BrowserLocalStorageLocalStore, BrowserLocalStorageInterop, LocalStoreKind enum, LocalStoreKind options property) — no official Firestore JS SDK counterpart; IndexedDB is the only supported browser persistence backend.
- Split BrowserIndexedDbLocalStore into partial classes by interface concern (Documents, Indexes, Cache) for SRP and maintainability.
- Extracted IBrowserIndexedDbInterop interface with BrowserIndexedDbInteropAdapter for testability; quota-retry logic is now unit-testable via interface substitution.
- Added _disposed guard to EnsureInitializedAsync to throw typed BrowserFirestoreException instead of ObjectDisposedException.
- BrowserFirestoreException now extends FirebaseCoreException<FirestoreErrorCode> directly.

v1.0.1-preview.7
- Synchronized package version with the preview.7 release.

v1.0.1-preview.6
- Synchronized package version with the preview.6 release.

v1.0.1-preview.5
- Synchronized package version with the preview.5 release.

v1.0.1-preview.4
- Synchronized package version with the preview.4 release.

v1.0.1-preview.3
- Synchronized package version with the preview.3 release.

v1.0.1-preview.2
- Synchronized package version with the preview.2 release.

v1.0.1-preview.1
- Synchronized package version with the preview10 release.

v1.0.0-preview9
- Synchronized package version with the preview9 release. No functional changes.

v1.0.0-preview8
- Reworked the IndexedDB local store to maintain canonical scalar field indexes in a dedicated object store, kept atomic with each document mutation in a single transaction.
- Added three-tier candidate resolution (document-name lookup, field-index lookup, scoped broad-scan) with managed-side equality pushdown.
- Implemented ILocalStoreIndexManagement and ILocalStoreCacheManagement with deterministic size-based eviction of the lexically-first non-pending document.
- Raised the IndexedDB schema to version 2 (auto-floored) to add the field-index and indexed-field stores.

v1.0.0-preview7
- Adopted plan-based QueryCandidatesAsync local-cache contract with broad-scan fallback.

v1.0.0-preview6
- Synchronized package version with the preview6 Firestore cache-query release.

v1.0.0-preview5
- Includes the Firestore browser-WASM startup fix for early IFirestore resolution.

v1.0.0-preview4
- Synchronized package version with the preview4 release.

v1.0.0-preview3
- Synchronized package version with the preview3 release.

v1.0.0-preview2
- Initial v1.0.0-preview2 package.