Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

fix-offline-runtime-correctness.md

7 lines1.1 KB

Fix offline replay filtering so it preserves concurrently admitted and issued transactions, wait for React Native's subscribed connectivity snapshot before reporting online, and preserve Temporal scalar identity through storage and restart when the runtime provides globalThis.Temporal. Filtered replay work now settles and rolls back after each successful durable removal even when a sibling removal fails, while a failed filtered-work cleanup no longer aborts unrelated startup replay. Successful and permanently failed provider work settles its own caller even when durable cleanup also fails, retry scheduling remains live when a retry update or permanent-failure removal fails, and metadata keeps standard toJSON(key) replacement semantics. Recognized native scalars now fail before storage when the matching global constructor is unavailable.

Offline storage compatibility: new records use valueEncoding: 3. Older clients cannot read these records, so do not run old and new clients against the same pending outbox or downgrade while new records remain pending.