ci: Version Packages (rc) #2330
main fromrefs/pull/2330/head·merged by KyleAMathews This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
⚠️⚠️⚠️⚠️⚠️⚠️
main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.
⚠️⚠️⚠️⚠️⚠️⚠️
Releases#
@tanstack/angular-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/browser-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/capacitor-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/cloudflare-durable-objects-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/convex-db-collection@1.0.0-rc.1.2#
Patch Changes#
Release the Convex query subscription when a Collection's first load fails, or when a later acceptance failure stops the sync run, instead of keeping it until cleanup. A new subscription no longer fails from an error the Convex client cached for its query before it subscribed, such as a restart right after a failed run; it waits for the server's result, also when the server's answer arrives before the client replays the cached error.
awaitSyncduring that wait no longer fails the run from the cached error. While the latest result is a failure,awaitSyncrejects with the reported failure instead of reporting it again. (#2336)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
- @tanstack/offline-transactions@1.2.0
@tanstack/db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Fix reserved metadata before
fn.select(),fn.where(), andfn.having()callbacks in live queries, Effects, and correlated includes. Preserve genuine source metadata, authored inline values, and selected output when compiled queries share a cache. Preserve every ordered window and joined-source publication dependency when one source feeds multiple compiled views or nested queries. (#2312)Accept
autoIndexanddefaultIndexTypeon live-query Collection and hook configs so downstream queries can index intermediate results. Keep independent React Suspense bindings' Collection options separate when they differ. Validate eager indexing declarations on every DbClient preload, including cached reuse. (#2314)Preserve ordering invalidations raised while an ordered repair retires its previous acquisitions, including an adapter delete of a row in the repaired prefix. Revalidate the affected source prefix before publishing the repaired window. (#2302)
Reject negative
.limit()values and negative limits passed tosetWindow()before they can change a query or its active window. Keep zero limits and negative offsets working. (#2333)Keep the last complete live-query result while a new include demand loads under a sibling subscription's truncate replay. The demand now joins the publication barrier when it starts, so a sibling that settles first cannot publish an incomplete replacement. A failed held demand keeps that result until its own coverage recovers or its demand retires. (#2312)
Preserve Collection rows and mutation originals while Solid
useLiveQueryupdates, including nested values, live getters, callable fields, and explicit undefined fields. Keep unchanged nested elements stable and avoid repeated expansion of shared acyclic values. (#2307)Preserve enumerable own source fields through Core query selection, including user symbols and inherited-name shadows. Build nested projections without changing borrowed source data or retaining fields the authored object replaces.
Treat
-0and0as distinct row values. A synced update, a replay that replaces a subscription's rows, and an optimistic update that change a field only from-0to0(or back) now publish a change; before, the Collection could store the new value while subscribers kept the old one. A draft write of0over-0is now recorded as a change instead of being dropped. A transaction that deletes a row and reinserts it with only a zero's sign changed now sends that update instead of dropping it, and an ordered live query or Effect (orderBy, with or withoutlimit) now delivers an update that changes only a zero's sign; before, it kept the old value. Join, distinct, and grouping keys still treat-0and0as equal. A sync insert of a held key whose row differs only by a zero's sign is now a duplicate key, not an equal re-insert. The same holds inside typed arrays. An ordered Effect also delivers an update whose value is a class instance, which can change in private state its enumerable fields do not show. (#2336)Updated dependencies [
30e8546,9be3c4e]:- @tanstack/db-ivm@1.0.0-rc.1.2
@tanstack/db-ivm@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Treat
-0and0as distinct row values. A synced update, a replay that replaces a subscription's rows, and an optimistic update that change a field only from-0to0(or back) now publish a change; before, the Collection could store the new value while subscribers kept the old one. A draft write of0over-0is now recorded as a change instead of being dropped. A transaction that deletes a row and reinserts it with only a zero's sign changed now sends that update instead of dropping it, and an ordered live query or Effect (orderBy, with or withoutlimit) now delivers an update that changes only a zero's sign; before, it kept the old value. Join, distinct, and grouping keys still treat-0and0as equal. A sync insert of a held key whose row differs only by a zero's sign is now a duplicate key, not an equal re-insert. The same holds inside typed arrays. An ordered Effect also delivers an update whose value is a class instance, which can change in private state its enumerable fields do not show. (#2336)
@tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2#
Patch Changes#
Retain run-only row metadata when an unrelated peer notice reloads a row recreated by an enclosing sync transaction. Keep that metadata nondurable unless the source explicitly writes it, while preserving peer replacement and delete behavior. (#2303)
Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/electric-db-collection@1.0.0-rc.1.2#
Patch Changes#
Report an extended Electric outage in
collection.health. After the Collection is ready, five failed requests to the shape log in a row, retried by the client or by anonErrorthat returns a retry, show as the source node'sfailureReasonwith the fifth attempt's error, and the next applied up-to-date clears it. Shorter outages, and retried subset snapshot requests, leave health unchanged. A restarted or reloaded Collection resolvesawaitTxIdfor a txid the previous sync run delivered only once it is ready again, instead of at once, and the sync metadata it exports for hydration carries those txids only from then on. When the stream fails, pendingawaitTxIdandawaitMatchcalls reject instead of waiting for their timeout, and so do calls made after the failure, also when an abort stopped the stream. AnonErrorhandler that throws now gives up the stream with its own error, without an unhandled rejection. A give-up while the first snapshot's acceptance is pending, under a persistence wrapper, now fails the Collection once that acceptance makes it ready, instead of leaving a stopped stream with healthy status. AbortingshapeOptions.signalafter the Collection is ready now shows as the source node'serror, since the Collection no longer syncs. (#2336)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/electron-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/expo-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/node-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/powersync-db-collection@1.0.0-rc.1.2#
Patch Changes#
Release the change watcher and any diff trigger when an eager Collection's first load fails, instead of keeping them until cleanup. (#2336)
Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/preact-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/query-db-collection@1.5.1#
Patch Changes#
- Keep ordered source prefixes complete after a refetch moves a page boundary during an optimistic transaction. (#2332)
@tanstack/react-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Accept
autoIndexanddefaultIndexTypeon live-query Collection and hook configs so downstream queries can index intermediate results. Keep independent React Suspense bindings' Collection options separate when they differ. Validate eager indexing declarations on every DbClient preload, including cached reuse. (#2314)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/react-native-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/rxdb-db-collection@1.0.0-rc.1.2#
Patch Changes#
Fix initial sync failing with "Cannot insert document ... from sync because it already exists" when a document is inserted and then updated while the initial fetch is running. The buffered insert event is now applied over the row that the initial read already returned. (#2336)
Remove a field from a synced row when an RxDB document update removes it. RxDB change events carry the whole document, so the adapter now replaces the row instead of merging the update into it. (#2336)
Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/solid-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Prevent native source row reads during query compilation from recreating the Solid framework binding. Keep actual callback and config query parameters reactive. (#2312)
Preserve Collection rows and mutation originals while Solid
useLiveQueryupdates, including nested values, live getters, callable fields, and explicit undefined fields. Keep unchanged nested elements stable and avoid repeated expansion of shared acyclic values. (#2307)Preserve enumerable own source fields through Core query selection, including user symbols and inherited-name shadows. Build nested projections without changing borrowed source data or retaining fields the authored object replaces.
Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/svelte-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/tauri-db-sqlite-persistence@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
b190945]:- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2
@tanstack/trailbase-db-collection@1.0.0-rc.1.2#
Patch Changes#
- Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
@tanstack/vue-db@1.0.0-rc.1.2#
Patch Changes#
Keep adapter-owned live queries and their source subscriptions when only the ordered query's finite
.limit()or.offset()changes. Preserve exact requested bounds and select only installed ranks when page windows include negative offsets. Keep Angular's list/findOne result shape consistent with the current query during reactive changes, and avoid React 18 layout-effect warnings during server rendering. (#2316)Updated dependencies [
30e8546,a3c4d06,035a526,baabf57,9be51e0,a3c4d06,85392bd,9be3c4e]:- @tanstack/db@1.0.0-rc.1.2
- 1
Incremental update benchmark#
Comparing
cc09ad3de(this PR) against9be3c4ed2(base). Write times are per-write medians over 100 iterations (20 warmup writes). Cold hydrate is one timed first load of each query.Overall median write time vs base: 1.04× · cold hydrate time: 1.06× (geometric mean of per-case ratios; lower is faster).
Writes: 1 regression(s), 0 improvement(s) (threshold: ±20% and >0.05ms).
Cold hydrate: 2 regression(s), 0 improvement(s) (threshold: ±50% and >5ms).
Per-case flags are noisy on shared runners. Read the geometric means first.Writes#
Query Δ median write time (geomean) Best case Worst case Flags list: newest 50 open +3.5% -25.6% +93.2% — list + author +3.0% -8.9% +30.7% — list + comment count +9.5% -33.0% +90.2% 1 🔴 list + 3 recent comments -3.8% -39.2% +9.1% — issue detail + comments +9.1% -1.5% +93.0% — Cold hydrate#
Query Δ cold hydrate time (geomean) Best case Worst case Flags list: newest 50 open +8.2% -32.6% +181.6% 1 🔴 list + author +4.0% -30.9% +47.0% — list + comment count -1.4% -33.3% +24.1% — list + 3 recent comments +2.9% -30.9% +111.9% — issue detail + comments +14.0% -25.9% +237.9% 1 🔴 Each row aggregates the 14.4 scale/index/write-mode configurations of that query; per-configuration tables below.
100 rows/collection | source indexes: none | synced writes — geomean 0.98×, cold 1.08×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.145ms 0.126ms -13.2% 0.251ms 0.241ms -4.0% 8.105ms 8.395ms +3.6% list: newest 50 open 0.282ms 0.273ms -3.4% 0.635ms 0.479ms -24.5% 1.991ms 2.556ms +28.4% list + author 0.104ms 0.095ms -8.9% 0.201ms 0.206ms +2.5% 7.210ms 7.974ms +10.6% list + comment count 0.212ms 0.246ms +16.1% 0.364ms 0.371ms +2.1% 7.348ms 7.977ms +8.6% list + 3 recent comments 0.104ms 0.102ms -2.2% 0.218ms 0.209ms -4.2% 6.882ms 6.757ms -1.8% issue detail + comments 0.064ms 0.064ms -0.2% 0.160ms 0.154ms -4.1% 1.190ms 1.222ms +2.7% 100 rows/collection | source indexes: none | optimistic writes — geomean 0.99×, cold 0.96×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.063ms 0.073ms +15.4% 0.129ms 0.144ms +11.8% 1.561ms 1.678ms +7.5% list: newest 50 open 0.039ms 0.039ms -0.3% 0.082ms 0.093ms +14.0% 2.000ms 1.427ms -28.7% list + author 0.067ms 0.077ms +14.7% 0.157ms 0.174ms +10.4% 4.877ms 4.484ms -8.1% list + comment count 0.102ms 0.110ms +8.2% 0.281ms 0.217ms -22.8% 3.209ms 3.355ms +4.6% list + 3 recent comments 0.088ms 0.054ms -39.2% 0.158ms 0.138ms -12.4% 6.431ms 5.363ms -16.6% issue detail + comments 0.073ms 0.081ms +11.6% 0.137ms 0.149ms +9.2% 0.852ms 1.097ms +28.7% 100 rows/collection | source indexes: manual | synced writes — geomean 1.09×, cold 1.05×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.082ms 0.080ms -2.1% 0.134ms 0.105ms -21.3% 2.497ms 2.236ms -10.4% list: newest 50 open 0.168ms 0.203ms +20.9% 0.343ms 0.360ms +5.0% 1.047ms 1.519ms +45.1% list + author 0.055ms 0.072ms +30.7% 0.132ms 0.118ms -10.6% 2.855ms 4.199ms +47.0% list + comment count 0.114ms 0.122ms +7.3% 0.212ms 0.251ms +18.4% 4.019ms 2.681ms -33.3% list + 3 recent comments 0.069ms 0.068ms -1.6% 0.142ms 0.142ms -0.0% 3.581ms 3.729ms +4.1% issue detail + comments 0.049ms 0.049ms +0.3% 0.103ms 0.112ms +9.7% 0.427ms 0.442ms +3.4% 100 rows/collection | source indexes: manual | optimistic writes — geomean 0.98×, cold 0.99×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.059ms 0.044ms -25.6% 0.100ms 0.093ms -7.1% 0.994ms 1.055ms +6.1% list: newest 50 open 0.038ms 0.039ms +2.3% 0.090ms 0.086ms -4.5% 1.388ms 1.143ms -17.7% list + author 0.058ms 0.058ms -0.1% 0.119ms 0.128ms +7.4% 3.021ms 4.158ms +37.6% list + comment count 0.079ms 0.093ms +18.4% 0.168ms 0.163ms -2.8% 3.309ms 3.610ms +9.1% list + 3 recent comments 0.048ms 0.048ms -0.6% 0.100ms 0.096ms -3.5% 4.618ms 3.189ms -30.9% issue detail + comments 0.040ms 0.040ms -0.2% 0.079ms 0.073ms -7.6% 0.441ms 0.449ms +1.9% 1,000 rows/collection | source indexes: none | synced writes — geomean 1.18×, cold 1.09×, 2 change(s)
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.039ms 0.038ms -2.2% 0.074ms 0.046ms -38.6% 3.870ms 3.982ms +2.9% list: newest 50 open 0.552ms 0.496ms -10.3% 1.070ms 1.029ms -3.8% 4.810ms 13.544ms +181.6% 🔴 list + author 0.050ms 0.050ms +0.3% 0.083ms 0.112ms +34.7% 29.616ms 20.478ms -30.9% list + comment count 0.086ms 0.164ms +90.2% 0.130ms 0.311ms +139.2% 🔴 6.155ms 7.639ms +24.1% list + 3 recent comments 0.123ms 0.104ms -15.6% 0.202ms 0.173ms -14.3% 11.652ms 10.751ms -7.7% issue detail + comments 0.053ms 0.102ms +93.0% 0.123ms 0.143ms +16.2% 1.342ms 0.994ms -25.9% 1,000 rows/collection | source indexes: none | optimistic writes — geomean 1.12×, cold 1.07×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.047ms 0.074ms +56.9% 0.097ms 0.137ms +41.3% 3.611ms 5.059ms +40.1% list: newest 50 open 0.033ms 0.032ms -1.3% 0.052ms 0.067ms +27.2% 3.614ms 3.946ms +9.2% list + author 0.053ms 0.052ms -0.9% 0.115ms 0.094ms -18.5% 22.691ms 22.389ms -1.3% list + comment count 0.066ms 0.075ms +13.6% 0.118ms 0.092ms -22.1% 5.743ms 5.832ms +1.5% list + 3 recent comments 0.042ms 0.045ms +7.0% 0.082ms 0.092ms +12.0% 6.201ms 6.183ms -0.3% issue detail + comments 0.037ms 0.040ms +8.6% 0.051ms 0.055ms +8.2% 0.679ms 0.660ms -2.8% 1,000 rows/collection | source indexes: manual | synced writes — geomean 1.07×, cold 0.97×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.037ms 0.038ms +2.4% 0.046ms 0.040ms -11.1% 1.294ms 0.872ms -32.6% list: newest 50 open 0.148ms 0.157ms +5.7% 0.310ms 0.297ms -4.3% 1.134ms 1.178ms +3.8% list + author 0.048ms 0.049ms +1.7% 0.096ms 0.067ms -30.3% 2.223ms 2.382ms +7.2% list + comment count 0.090ms 0.108ms +19.6% 0.183ms 0.214ms +17.1% 2.260ms 2.454ms +8.6% list + 3 recent comments 0.058ms 0.063ms +9.1% 0.072ms 0.102ms +41.4% 3.768ms 4.096ms +8.7% issue detail + comments 0.044ms 0.047ms +4.9% 0.085ms 0.074ms -12.7% 0.345ms 0.333ms -3.3% 1,000 rows/collection | source indexes: manual | optimistic writes — geomean 0.96×, cold 1.21×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.040ms 0.042ms +4.2% 0.077ms 0.085ms +10.5% 0.718ms 0.816ms +13.6% list: newest 50 open 0.035ms 0.035ms -0.7% 0.060ms 0.056ms -6.6% 0.808ms 0.835ms +3.3% list + author 0.050ms 0.051ms +1.3% 0.069ms 0.071ms +2.6% 2.189ms 2.268ms +3.6% list + comment count 0.124ms 0.083ms -33.0% 0.153ms 0.127ms -17.1% 2.289ms 2.443ms +6.7% list + 3 recent comments 0.045ms 0.049ms +8.1% 0.073ms 0.078ms +6.1% 3.144ms 6.662ms +111.9% issue detail + comments 0.040ms 0.042ms +5.1% 0.062ms 0.055ms -11.2% 0.312ms 0.365ms +16.9% 10,000 rows/collection | source indexes: none | synced writes — geomean 1.03×, cold 1.32×, 1 change(s)
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.037ms 0.037ms +0.3% 0.055ms 0.063ms +14.8% 43.586ms 43.774ms +0.4% list: newest 50 open 4.582ms 4.434ms -3.2% 5.139ms 4.910ms -4.5% 41.448ms 44.307ms +6.9% list + author 0.084ms 0.087ms +3.9% 0.101ms 0.105ms +4.2% 176.775ms 200.692ms +13.5% list + comment count 0.080ms 0.084ms +5.1% 0.134ms 0.136ms +1.6% 44.864ms 47.595ms +6.1% list + 3 recent comments 0.054ms 0.058ms +7.0% 0.105ms 0.098ms -6.4% 41.006ms 50.271ms +22.6% issue detail + comments 0.039ms 0.041ms +4.0% 0.045ms 0.056ms +23.1% 3.395ms 11.471ms +237.9% 🔴 10,000 rows/collection | source indexes: none | optimistic writes — geomean 0.98×, cold 0.96×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.048ms 0.041ms -15.3% 0.101ms 0.071ms -29.9% 41.102ms 31.566ms -23.2% list: newest 50 open 0.031ms 0.032ms +1.7% 0.051ms 0.055ms +9.1% 32.378ms 31.933ms -1.4% list + author 0.052ms 0.053ms +2.2% 0.087ms 0.099ms +14.2% 178.517ms 168.449ms -5.6% list + comment count 0.095ms 0.092ms -3.1% 0.159ms 0.138ms -13.1% 44.467ms 44.190ms -0.6% list + 3 recent comments 0.043ms 0.043ms 0.0% 0.070ms 0.061ms -13.2% 43.542ms 42.775ms -1.8% issue detail + comments 0.040ms 0.040ms +1.9% 0.057ms 0.109ms +92.7% 3.159ms 3.641ms +15.3% 10,000 rows/collection | source indexes: manual | synced writes — geomean 0.99×, cold 0.98×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.036ms 0.037ms +1.5% 0.059ms 0.045ms -24.1% 1.482ms 1.486ms +0.3% list: newest 50 open 0.545ms 0.548ms +0.6% 2.177ms 0.804ms -63.1% 1.411ms 1.504ms +6.6% list + author 0.050ms 0.047ms -6.6% 0.079ms 0.059ms -24.9% 3.705ms 2.977ms -19.6% list + comment count 0.094ms 0.092ms -2.6% 0.118ms 0.163ms +38.2% 3.315ms 3.245ms -2.1% list + 3 recent comments 0.062ms 0.060ms -3.3% 0.078ms 0.100ms +28.2% 4.032ms 3.839ms -4.8% issue detail + comments 0.045ms 0.048ms +6.3% 0.053ms 0.079ms +49.7% 0.627ms 0.683ms +8.9% Runner: node v24.8.0, linux 7.0.0-1017-azure, AMD EPYC 9V45 96-Core Processor. Timings on shared CI runners are noisy; treat small deltas as indicative only.10,000 rows/collection | source indexes: manual | optimistic writes — geomean 1.14×, cold 1.06×
Query Base median PR median Δ median Base p95 PR p95 Δ p95 Base cold PR cold Δ cold list: newest 50 open 0.040ms 0.078ms +93.2% 0.076ms 0.096ms +25.5% 1.440ms 1.893ms +31.5% list: newest 50 open 0.034ms 0.035ms +5.1% 0.041ms 0.065ms +59.0% 1.371ms 1.883ms +37.3% list + author 0.050ms 0.051ms +2.9% 0.064ms 0.074ms +15.7% 2.963ms 3.532ms +19.2% list + comment count 0.121ms 0.132ms +8.7% 0.250ms 0.277ms +10.9% 4.513ms 3.072ms -31.9% list + 3 recent comments 0.051ms 0.050ms -2.2% 0.077ms 0.064ms -17.1% 4.067ms 4.013ms -1.3% issue detail + comments 0.044ms 0.043ms -1.5% 0.059ms 0.057ms -3.1% 0.623ms 0.626ms +0.4% Size Change: 0 B
Total Size: 239 kB
compressed-size-action::db-and-react-package-sizeℹ️ View Unchanged
Filename Size packages/db/dist/esm/client.js5.51 kB packages/db/dist/esm/collection-options-brand.js219 B packages/db/dist/esm/collection-options.js258 B packages/db/dist/esm/collection/change-events.js1.76 kB packages/db/dist/esm/collection/changes.js3.06 kB packages/db/dist/esm/collection/cleanup-queue.js828 B packages/db/dist/esm/collection/config-errors.js547 B packages/db/dist/esm/collection/events.js504 B packages/db/dist/esm/collection/health-tree.js698 B packages/db/dist/esm/collection/index.js6.23 kB packages/db/dist/esm/collection/indexes.js2.3 kB packages/db/dist/esm/collection/lifecycle.js5.59 kB packages/db/dist/esm/collection/mutations.js2.94 kB packages/db/dist/esm/collection/state.js7.69 kB packages/db/dist/esm/collection/subscription.js9.86 kB packages/db/dist/esm/collection/sync.js6.51 kB packages/db/dist/esm/collection/validate-config.js1.17 kB packages/db/dist/esm/collection/validate-indexing.js366 B packages/db/dist/esm/deferred.js207 B packages/db/dist/esm/error-message.js642 B packages/db/dist/esm/errors.js7.15 kB packages/db/dist/esm/event-emitter.js1.06 kB packages/db/dist/esm/index.js4.75 kB packages/db/dist/esm/indexed-db-wrapper.js1.91 kB packages/db/dist/esm/indexed-db.js3.8 kB packages/db/dist/esm/indexes/auto-index.js924 B packages/db/dist/esm/indexes/base-index.js1.92 kB packages/db/dist/esm/indexes/basic-index.js1.93 kB packages/db/dist/esm/indexes/btree-index.js1.62 kB packages/db/dist/esm/indexes/index-registry.js916 B packages/db/dist/esm/indexes/reverse-index.js1.01 kB packages/db/dist/esm/live-query-adapter.js845 B packages/db/dist/esm/live-query-observer-client.js2.21 kB packages/db/dist/esm/live-query-observer.js3.3 kB packages/db/dist/esm/live-query-options.js2.65 kB packages/db/dist/esm/live-query-primitives.js406 B packages/db/dist/esm/live-query-window-binding.js1.56 kB packages/db/dist/esm/live-query-window-controller.js4.02 kB packages/db/dist/esm/local-only.js1 kB packages/db/dist/esm/local-storage.js4.58 kB packages/db/dist/esm/optimistic-action.js359 B packages/db/dist/esm/paced-mutations.js1.11 kB packages/db/dist/esm/proxy.js3.51 kB packages/db/dist/esm/query/builder/clone-query.js854 B packages/db/dist/esm/query/builder/functions.js1.61 kB packages/db/dist/esm/query/builder/group-keys.js157 B packages/db/dist/esm/query/builder/include-functions.js229 B packages/db/dist/esm/query/builder/index.js7.67 kB packages/db/dist/esm/query/builder/query-ir.js312 B packages/db/dist/esm/query/builder/ref-proxy-identity.js292 B packages/db/dist/esm/query/builder/ref-proxy.js1.67 kB packages/db/dist/esm/query/builder/wrapper-identity.js221 B packages/db/dist/esm/query/compiler/evaluators.js2.51 kB packages/db/dist/esm/query/compiler/expressions.js603 B packages/db/dist/esm/query/compiler/find-aggregate.js328 B packages/db/dist/esm/query/compiler/group-by.js4.38 kB packages/db/dist/esm/query/compiler/grouping.js161 B packages/db/dist/esm/query/compiler/index.js10.3 kB packages/db/dist/esm/query/compiler/joins.js3.29 kB packages/db/dist/esm/query/compiler/lazy-targets.js1.11 kB packages/db/dist/esm/query/compiler/order-by.js2.87 kB packages/db/dist/esm/query/compiler/parent-routes.js325 B packages/db/dist/esm/query/compiler/query-equivalence.js568 B packages/db/dist/esm/query/compiler/route-metadata.js1.45 kB packages/db/dist/esm/query/compiler/select.js1.66 kB packages/db/dist/esm/query/effect.js5.81 kB packages/db/dist/esm/query/equality-conjunct.js486 B packages/db/dist/esm/query/equality-value-identity.js736 B packages/db/dist/esm/query/expression-helpers.js1.61 kB packages/db/dist/esm/query/ir-stable-identity.js4.29 kB packages/db/dist/esm/query/ir.js2.26 kB packages/db/dist/esm/query/join-conditions.js257 B packages/db/dist/esm/query/live-query-collection.js391 B packages/db/dist/esm/query/live/bucket-facade-adapter.js3.17 kB packages/db/dist/esm/query/live/collection-config-builder.js8.57 kB packages/db/dist/esm/query/live/collection-registry.js264 B packages/db/dist/esm/query/live/collection-subscriber.js2.69 kB packages/db/dist/esm/query/live/graph-scheduler.js305 B packages/db/dist/esm/query/live/includes-runtime.js212 B packages/db/dist/esm/query/live/internal.js145 B packages/db/dist/esm/query/live/materialized-pipeline.js1.94 kB packages/db/dist/esm/query/live/ordered-source-loader.js6.61 kB packages/db/dist/esm/query/live/public-key-reduction.js970 B packages/db/dist/esm/query/live/subset-demand-controller.js2.44 kB packages/db/dist/esm/query/live/utils.js1.35 kB packages/db/dist/esm/query/optimizer.js2.95 kB packages/db/dist/esm/query/pooled-live-query.js5.14 kB packages/db/dist/esm/query/pooled-source.js219 B packages/db/dist/esm/query/query-once.js359 B packages/db/dist/esm/query/runtime-reference-identity.js630 B packages/db/dist/esm/query/subset-dedupe.js493 B packages/db/dist/esm/query/validate-limit.js247 B packages/db/dist/esm/scheduler.js1.23 kB packages/db/dist/esm/SortedMap.js1.77 kB packages/db/dist/esm/strategies/commit-completion.js154 B packages/db/dist/esm/strategies/debounceStrategy.js658 B packages/db/dist/esm/strategies/queueStrategy.js523 B packages/db/dist/esm/strategies/serial-pacer.js486 B packages/db/dist/esm/strategies/throttleStrategy.js738 B packages/db/dist/esm/sync-persistence.js669 B packages/db/dist/esm/sync-receipt.js211 B packages/db/dist/esm/transaction-commit-work.js351 B packages/db/dist/esm/transactions.js4.66 kB packages/db/dist/esm/utils.js1.73 kB packages/db/dist/esm/utils/array-utils.js270 B packages/db/dist/esm/utils/browser-polyfills.js304 B packages/db/dist/esm/utils/btree.js3.02 kB packages/db/dist/esm/utils/callbacks.js219 B packages/db/dist/esm/utils/comparison.js1.95 kB packages/db/dist/esm/utils/cursor.js753 B packages/db/dist/esm/utils/error.js262 B packages/db/dist/esm/utils/get-or-create.js155 B packages/db/dist/esm/utils/index-optimization.js2.58 kB packages/db/dist/esm/utils/source-record.js140 B packages/db/dist/esm/utils/type-guards.js230 B packages/db/dist/esm/utils/uuid.js530 B packages/db/dist/esm/virtual-props.js400 B packages/react-db/dist/esm/DbProvider.js317 B packages/react-db/dist/esm/development.js190 B packages/react-db/dist/esm/HydrationBoundary.js263 B packages/react-db/dist/esm/index.js330 B packages/react-db/dist/esm/source-id-bindings.js339 B packages/react-db/dist/esm/useLiveInfiniteQuery.js1.45 kB packages/react-db/dist/esm/useLiveQuery.js3.08 kB packages/react-db/dist/esm/useLiveQueryEffect.js504 B packages/react-db/dist/esm/useLiveSuspenseQuery.js1.27 kB packages/react-db/dist/esm/usePacedMutations.js429 B More templates
- todos
- offline-first-electron
- @tanstack/db-example-react-action-enforcement
- @tanstack/db-example-react-next-ssr-e2e
- tanstack-start-example-basic
- @tanstack/db-example-paced-mutations-demo
- tanstack-start-db-projects-example
- @tanstack/db-example-react-start-ssr-e2e
- @tanstack/db-example-react-todo
- offline-transactions-react-native
- shopping-list-react-native
- @tanstack/db-example-solid-todo
@tanstack/angular-db
npm i https://pkg.pr.new/@tanstack/angular-db@2330@tanstack/browser-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/browser-db-sqlite-persistence@2330@tanstack/capacitor-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/capacitor-db-sqlite-persistence@2330@tanstack/cloudflare-durable-objects-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/cloudflare-durable-objects-db-sqlite-persistence@2330@tanstack/convex-db-collection
npm i https://pkg.pr.new/@tanstack/convex-db-collection@2330@tanstack/db
npm i https://pkg.pr.new/@tanstack/db@2330@tanstack/db-ivm
npm i https://pkg.pr.new/@tanstack/db-ivm@2330@tanstack/db-sqlite-persistence-core
npm i https://pkg.pr.new/@tanstack/db-sqlite-persistence-core@2330@tanstack/electric-db-collection
npm i https://pkg.pr.new/@tanstack/electric-db-collection@2330@tanstack/electron-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/electron-db-sqlite-persistence@2330@tanstack/expo-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/expo-db-sqlite-persistence@2330@tanstack/node-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/node-db-sqlite-persistence@2330@tanstack/offline-transactions
npm i https://pkg.pr.new/@tanstack/offline-transactions@2330@tanstack/powersync-db-collection
npm i https://pkg.pr.new/@tanstack/powersync-db-collection@2330@tanstack/preact-db
npm i https://pkg.pr.new/@tanstack/preact-db@2330@tanstack/query-db-collection
npm i https://pkg.pr.new/@tanstack/query-db-collection@2330@tanstack/react-db
npm i https://pkg.pr.new/@tanstack/react-db@2330@tanstack/react-native-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/react-native-db-sqlite-persistence@2330@tanstack/react-router-with-db
npm i https://pkg.pr.new/@tanstack/react-router-with-db@2330@tanstack/rxdb-db-collection
npm i https://pkg.pr.new/@tanstack/rxdb-db-collection@2330@tanstack/solid-db
npm i https://pkg.pr.new/@tanstack/solid-db@2330@tanstack/svelte-db
npm i https://pkg.pr.new/@tanstack/svelte-db@2330@tanstack/tauri-db-sqlite-persistence
npm i https://pkg.pr.new/@tanstack/tauri-db-sqlite-persistence@2330@tanstack/trailbase-db-collection
npm i https://pkg.pr.new/@tanstack/trailbase-db-collection@2330@tanstack/vue-db
npm i https://pkg.pr.new/@tanstack/vue-db@2330commit:
cfd0a56KyleAMathews merged this880eb89
KyleAMathews closed this
Sign in to join this conversation.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.752888bd-7900-4696-83ae-c5415e5cf7d5You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
CodeRabbit Verify#