Skip to content

Release v25.3.4

Choose a tag to compare

@github-actions github-actions released this 27 Nov 23:00
f4166e3

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.
  • useSuspenseQuery and useSuspenseObservableQuery caches are cleared on reconnectQueries() 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.
  • useChangeStream returns the same empty change set while waiting for its first result, so effects that depend on it don't run again on unrelated renders.