Skip to content
Source
Sign inSign up
TanStack/db

ci: Version Packages (rc) #2330

Mergedgithub-actions[bot](GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/2330/headmerged 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. awaitSync during that wait no longer fails the run from the cached error. While the latest result is a failure, awaitSync rejects 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(), and fn.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 autoIndex and defaultIndexType on 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 to setWindow() 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 useLiveQuery updates, 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 -0 and 0 as distinct row values. A synced update, a replay that replaces a subscription's rows, and an optimistic update that change a field only from -0 to 0 (or back) now publish a change; before, the Collection could store the new value while subscribers kept the old one. A draft write of 0 over -0 is 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 without limit) now delivers an update that changes only a zero's sign; before, it kept the old value. Join, distinct, and grouping keys still treat -0 and 0 as 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 -0 and 0 as distinct row values. A synced update, a replay that replaces a subscription's rows, and an optimistic update that change a field only from -0 to 0 (or back) now publish a change; before, the Collection could store the new value while subscribers kept the old one. A draft write of 0 over -0 is 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 without limit) now delivers an update that changes only a zero's sign; before, it kept the old value. Join, distinct, and grouping keys still treat -0 and 0 as 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 an onError that returns a retry, show as the source node's failureReason with 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 resolves awaitTxId for 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, pending awaitTxId and awaitMatch calls reject instead of waiting for their timeout, and so do calls made after the failure, also when an abort stopped the stream. An onError handler 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. Aborting shapeOptions.signal after the Collection is ready now shows as the source node's error, 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

@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 autoIndex and defaultIndexType on 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 useLiveQuery updates, 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

@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. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Bot user detected.

      To trigger a single review, invoke the @coderabbitai review command.

      Run configuration
      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 752888bd-7900-4696-83ae-c5415e5cf7d5

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • Trigger review
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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

      • Run CodeRabbit Verify to test the changes in this pull request.
    2. Incremental update benchmark

      Comparing cc09ad3de (this PR) against 9be3c4ed2 (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 caseWorst caseFlags
      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 caseWorst caseFlags
      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×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.145ms0.126ms-13.2%0.251ms0.241ms-4.0%8.105ms8.395ms+3.6%
      list: newest 50 open0.282ms0.273ms-3.4%0.635ms0.479ms-24.5%1.991ms2.556ms+28.4%
      list + author0.104ms0.095ms-8.9%0.201ms0.206ms+2.5%7.210ms7.974ms+10.6%
      list + comment count0.212ms0.246ms+16.1%0.364ms0.371ms+2.1%7.348ms7.977ms+8.6%
      list + 3 recent comments0.104ms0.102ms-2.2%0.218ms0.209ms-4.2%6.882ms6.757ms-1.8%
      issue detail + comments0.064ms0.064ms-0.2%0.160ms0.154ms-4.1%1.190ms1.222ms+2.7%
      100 rows/collection | source indexes: none | optimistic writes — geomean 0.99×, cold 0.96×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.063ms0.073ms+15.4%0.129ms0.144ms+11.8%1.561ms1.678ms+7.5%
      list: newest 50 open0.039ms0.039ms-0.3%0.082ms0.093ms+14.0%2.000ms1.427ms-28.7%
      list + author0.067ms0.077ms+14.7%0.157ms0.174ms+10.4%4.877ms4.484ms-8.1%
      list + comment count0.102ms0.110ms+8.2%0.281ms0.217ms-22.8%3.209ms3.355ms+4.6%
      list + 3 recent comments0.088ms0.054ms-39.2%0.158ms0.138ms-12.4%6.431ms5.363ms-16.6%
      issue detail + comments0.073ms0.081ms+11.6%0.137ms0.149ms+9.2%0.852ms1.097ms+28.7%
      100 rows/collection | source indexes: manual | synced writes — geomean 1.09×, cold 1.05×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.082ms0.080ms-2.1%0.134ms0.105ms-21.3%2.497ms2.236ms-10.4%
      list: newest 50 open0.168ms0.203ms+20.9%0.343ms0.360ms+5.0%1.047ms1.519ms+45.1%
      list + author0.055ms0.072ms+30.7%0.132ms0.118ms-10.6%2.855ms4.199ms+47.0%
      list + comment count0.114ms0.122ms+7.3%0.212ms0.251ms+18.4%4.019ms2.681ms-33.3%
      list + 3 recent comments0.069ms0.068ms-1.6%0.142ms0.142ms-0.0%3.581ms3.729ms+4.1%
      issue detail + comments0.049ms0.049ms+0.3%0.103ms0.112ms+9.7%0.427ms0.442ms+3.4%
      100 rows/collection | source indexes: manual | optimistic writes — geomean 0.98×, cold 0.99×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.059ms0.044ms-25.6%0.100ms0.093ms-7.1%0.994ms1.055ms+6.1%
      list: newest 50 open0.038ms0.039ms+2.3%0.090ms0.086ms-4.5%1.388ms1.143ms-17.7%
      list + author0.058ms0.058ms-0.1%0.119ms0.128ms+7.4%3.021ms4.158ms+37.6%
      list + comment count0.079ms0.093ms+18.4%0.168ms0.163ms-2.8%3.309ms3.610ms+9.1%
      list + 3 recent comments0.048ms0.048ms-0.6%0.100ms0.096ms-3.5%4.618ms3.189ms-30.9%
      issue detail + comments0.040ms0.040ms-0.2%0.079ms0.073ms-7.6%0.441ms0.449ms+1.9%
      1,000 rows/collection | source indexes: none | synced writes — geomean 1.18×, cold 1.09×, 2 change(s)
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.039ms0.038ms-2.2%0.074ms0.046ms-38.6%3.870ms3.982ms+2.9%
      list: newest 50 open0.552ms0.496ms-10.3%1.070ms1.029ms-3.8%4.810ms13.544ms+181.6%🔴
      list + author0.050ms0.050ms+0.3%0.083ms0.112ms+34.7%29.616ms20.478ms-30.9%
      list + comment count0.086ms0.164ms+90.2%0.130ms0.311ms+139.2%🔴6.155ms7.639ms+24.1%
      list + 3 recent comments0.123ms0.104ms-15.6%0.202ms0.173ms-14.3%11.652ms10.751ms-7.7%
      issue detail + comments0.053ms0.102ms+93.0%0.123ms0.143ms+16.2%1.342ms0.994ms-25.9%
      1,000 rows/collection | source indexes: none | optimistic writes — geomean 1.12×, cold 1.07×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.047ms0.074ms+56.9%0.097ms0.137ms+41.3%3.611ms5.059ms+40.1%
      list: newest 50 open0.033ms0.032ms-1.3%0.052ms0.067ms+27.2%3.614ms3.946ms+9.2%
      list + author0.053ms0.052ms-0.9%0.115ms0.094ms-18.5%22.691ms22.389ms-1.3%
      list + comment count0.066ms0.075ms+13.6%0.118ms0.092ms-22.1%5.743ms5.832ms+1.5%
      list + 3 recent comments0.042ms0.045ms+7.0%0.082ms0.092ms+12.0%6.201ms6.183ms-0.3%
      issue detail + comments0.037ms0.040ms+8.6%0.051ms0.055ms+8.2%0.679ms0.660ms-2.8%
      1,000 rows/collection | source indexes: manual | synced writes — geomean 1.07×, cold 0.97×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.037ms0.038ms+2.4%0.046ms0.040ms-11.1%1.294ms0.872ms-32.6%
      list: newest 50 open0.148ms0.157ms+5.7%0.310ms0.297ms-4.3%1.134ms1.178ms+3.8%
      list + author0.048ms0.049ms+1.7%0.096ms0.067ms-30.3%2.223ms2.382ms+7.2%
      list + comment count0.090ms0.108ms+19.6%0.183ms0.214ms+17.1%2.260ms2.454ms+8.6%
      list + 3 recent comments0.058ms0.063ms+9.1%0.072ms0.102ms+41.4%3.768ms4.096ms+8.7%
      issue detail + comments0.044ms0.047ms+4.9%0.085ms0.074ms-12.7%0.345ms0.333ms-3.3%
      1,000 rows/collection | source indexes: manual | optimistic writes — geomean 0.96×, cold 1.21×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.040ms0.042ms+4.2%0.077ms0.085ms+10.5%0.718ms0.816ms+13.6%
      list: newest 50 open0.035ms0.035ms-0.7%0.060ms0.056ms-6.6%0.808ms0.835ms+3.3%
      list + author0.050ms0.051ms+1.3%0.069ms0.071ms+2.6%2.189ms2.268ms+3.6%
      list + comment count0.124ms0.083ms-33.0%0.153ms0.127ms-17.1%2.289ms2.443ms+6.7%
      list + 3 recent comments0.045ms0.049ms+8.1%0.073ms0.078ms+6.1%3.144ms6.662ms+111.9%
      issue detail + comments0.040ms0.042ms+5.1%0.062ms0.055ms-11.2%0.312ms0.365ms+16.9%
      10,000 rows/collection | source indexes: none | synced writes — geomean 1.03×, cold 1.32×, 1 change(s)
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.037ms0.037ms+0.3%0.055ms0.063ms+14.8%43.586ms43.774ms+0.4%
      list: newest 50 open4.582ms4.434ms-3.2%5.139ms4.910ms-4.5%41.448ms44.307ms+6.9%
      list + author0.084ms0.087ms+3.9%0.101ms0.105ms+4.2%176.775ms200.692ms+13.5%
      list + comment count0.080ms0.084ms+5.1%0.134ms0.136ms+1.6%44.864ms47.595ms+6.1%
      list + 3 recent comments0.054ms0.058ms+7.0%0.105ms0.098ms-6.4%41.006ms50.271ms+22.6%
      issue detail + comments0.039ms0.041ms+4.0%0.045ms0.056ms+23.1%3.395ms11.471ms+237.9%🔴
      10,000 rows/collection | source indexes: none | optimistic writes — geomean 0.98×, cold 0.96×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.048ms0.041ms-15.3%0.101ms0.071ms-29.9%41.102ms31.566ms-23.2%
      list: newest 50 open0.031ms0.032ms+1.7%0.051ms0.055ms+9.1%32.378ms31.933ms-1.4%
      list + author0.052ms0.053ms+2.2%0.087ms0.099ms+14.2%178.517ms168.449ms-5.6%
      list + comment count0.095ms0.092ms-3.1%0.159ms0.138ms-13.1%44.467ms44.190ms-0.6%
      list + 3 recent comments0.043ms0.043ms0.0%0.070ms0.061ms-13.2%43.542ms42.775ms-1.8%
      issue detail + comments0.040ms0.040ms+1.9%0.057ms0.109ms+92.7%3.159ms3.641ms+15.3%
      10,000 rows/collection | source indexes: manual | synced writes — geomean 0.99×, cold 0.98×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.036ms0.037ms+1.5%0.059ms0.045ms-24.1%1.482ms1.486ms+0.3%
      list: newest 50 open0.545ms0.548ms+0.6%2.177ms0.804ms-63.1%1.411ms1.504ms+6.6%
      list + author0.050ms0.047ms-6.6%0.079ms0.059ms-24.9%3.705ms2.977ms-19.6%
      list + comment count0.094ms0.092ms-2.6%0.118ms0.163ms+38.2%3.315ms3.245ms-2.1%
      list + 3 recent comments0.062ms0.060ms-3.3%0.078ms0.100ms+28.2%4.032ms3.839ms-4.8%
      issue detail + comments0.045ms0.048ms+6.3%0.053ms0.079ms+49.7%0.627ms0.683ms+8.9%
      10,000 rows/collection | source indexes: manual | optimistic writes — geomean 1.14×, cold 1.06×
      QueryBase medianPR medianΔ medianBase p95PR p95Δ p95Base coldPR coldΔ cold
      list: newest 50 open0.040ms0.078ms+93.2%0.076ms0.096ms+25.5%1.440ms1.893ms+31.5%
      list: newest 50 open0.034ms0.035ms+5.1%0.041ms0.065ms+59.0%1.371ms1.883ms+37.3%
      list + author0.050ms0.051ms+2.9%0.064ms0.074ms+15.7%2.963ms3.532ms+19.2%
      list + comment count0.121ms0.132ms+8.7%0.250ms0.277ms+10.9%4.513ms3.072ms-31.9%
      list + 3 recent comments0.051ms0.050ms-2.2%0.077ms0.064ms-17.1%4.067ms4.013ms-1.3%
      issue detail + comments0.044ms0.043ms-1.5%0.059ms0.057ms-3.1%0.623ms0.626ms+0.4%
      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.
    3. Size Change: 0 B

      Total Size: 239 kB

      ℹ️ View Unchanged
      FilenameSize
      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
      compressed-size-action::db-and-react-package-size
    4. More templates

      @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@2330

      commit: cfd0a56

    5. KyleAMathews merged this880eb89

    6. KyleAMathews closed this

Sign in to join this conversation.