Repository navigation
Release v25.3.4
reconnectQueries() in @cratis/arc.react now starts every query from a clean state: no result, queued result, change-stream baseline or Suspense cache entry produced before the call is shown or reused after it. Existing callers need no changes.
Fixed
- Results, queued results and change-stream rows produced before
reconnectQueries()are no longer shown after it; each is tagged with the generation that produced it. useSuspenseQueryanduseSuspenseObservableQuerycaches are cleared onreconnectQueries()and when the last<Arc>unmounts, and a request pending under a Suspense boundary above<Arc>is retried instead of resolving with the earlier reply.- The shared query transport is reference-counted: unmounting one
<Arc>no longer closes subscriptions of another that is still mounted, and replacing<Arc>in the same commit keeps subscriptions made during render. useChangeStreamreturns the same empty change set while waiting for its first result, so effects that depend on it don't run again on unrelated renders.