Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,38 +40,55 @@
"@tanstack/tauri-db-sqlite-persistence": "1.0.0-rc.0",
"@tanstack/tauri-db-sqlite-persistence-e2e-app": "0.0.49",
"@tanstack/trailbase-db-collection": "1.0.0-rc.0",
"@tanstack/vue-db": "1.0.0-rc.0"
"@tanstack/vue-db": "1.0.0-rc.0",
"@tanstack/db-adapter-conformance": "0.0.0"
},
"changesets": [
"bright-cups-infer",
"browser-sqlite-separate-wasm",
"convex-collection",
"convex-failed-load-release",
"db-query-identity-laws",
"defer-term-behind-queued-reads",
"electric-cleanup-stream-listeners",
"electric-retry-health-and-evidence",
"first-rc",
"fix-adapter-page-windows",
"fix-correlated-callback-metadata",
"fix-distinct-hash-collisions",
"fix-effect-left-join-startup",
"fix-held-query-page-end",
"fix-restarted-subscription-rows",
"fix-solid-query-input-tracking",
"gc-waits-for-persisting-transactions",
"keep-live-query-through-failed-replay",
"live-query-output-indexing",
"on-demand-network-first",
"opt-in-operators",
"ordered-loader-superseded-failure",
"persisted-reload-keeps-status",
"powersync-failed-load-release",
"preact-db-adapter",
"preserve-reentrant-ordering-repair",
"react-db-strip-dev-warnings",
"react-db-unhashable-throws",
"recover-interleaved-electric-source-commits",
"reject-negative-limits",
"reserved-commit-defers-every-hydration",
"resume-independent-subscription-demand",
"retain-loading-sibling-replay",
"retain-run-only-row-metadata",
"rxdb-buffered-insert-replay",
"rxdb-full-row-updates",
"skip-complete-collection-setup",
"solid-js-peer-cap",
"solid-row-snapshot-isolation",
"sortedmap-merge-restore",
"source-health-channel",
"sqlite-connection-closed-error",
"svelte-db-query-identity",
"sync-metadata-session-reads",
"sync-negative-zero-change",
"tidy-opfs-close",
"vue-db-window-binding"
]
Expand Down
4 changes: 2 additions & 2 deletions examples/angular/todos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@angular/forms": "^20.3.34",
"@angular/platform-browser": "^20.3.34",
"@angular/router": "^20.3.34",
"@tanstack/angular-db": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/angular-db": "^1.0.0-rc.1.2",
"@tanstack/db": "^1.0.0-rc.1.2",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
Expand Down
8 changes: 4 additions & 4 deletions examples/electron/offline-first/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"postinstall": "prebuild-install --runtime electron --target 41.0.0 --arch arm64 || echo 'prebuild-install failed, try: npx @electron/rebuild'"
},
"dependencies": {
"@tanstack/electron-db-sqlite-persistence": "^1.0.0-rc.1.1",
"@tanstack/node-db-sqlite-persistence": "^1.0.0-rc.1.1",
"@tanstack/electron-db-sqlite-persistence": "^1.0.0-rc.1.2",
"@tanstack/node-db-sqlite-persistence": "^1.0.0-rc.1.2",
"@tanstack/offline-transactions": "^1.2.0",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-query": "^5.90.20",
"better-sqlite3": "^12.6.2",
"react": "^19.2.4",
Expand Down
8 changes: 4 additions & 4 deletions examples/react-native/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"@op-engineering/op-sqlite": "^15.2.5",
"@react-native-async-storage/async-storage": "2.1.2",
"@react-native-community/netinfo": "11.4.1",
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.2",
"@tanstack/offline-transactions": "^1.2.0",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/react-native-db-sqlite-persistence": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-native-db-sqlite-persistence": "^1.0.0-rc.1.2",
"@tanstack/react-query": "^5.90.20",
"expo": "~53.0.26",
"expo-constants": "~17.1.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/react-native/shopping-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@op-engineering/op-sqlite": "^15.2.5",
"@react-native-async-storage/async-storage": "2.1.2",
"@react-native-community/netinfo": "11.4.1",
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/electric-db-collection": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.2",
"@tanstack/electric-db-collection": "^1.0.0-rc.1.2",
"@tanstack/offline-transactions": "^1.2.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/react-native-db-sqlite-persistence": "^1.0.0-rc.1.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-native-db-sqlite-persistence": "^1.0.0-rc.1.2",
"@tanstack/react-query": "^5.90.20",
"expo": "~53.0.26",
"expo-constants": "~17.1.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/action-enforcement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/next-ssr-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:e2e": "pnpm --filter @tanstack/db build && pnpm --filter @tanstack/react-db build && playwright test"
},
"dependencies": {
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.2",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"next": "^16.3.1",
"react": "^19.2.4",
"react-dom": "^19.2.4"
Expand Down
8 changes: 4 additions & 4 deletions examples/react/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"build": "vite build && tsc --noEmit"
},
"dependencies": {
"@tanstack/browser-db-sqlite-persistence": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/browser-db-sqlite-persistence": "^1.0.0-rc.1.2",
"@tanstack/db": "^1.0.0-rc.1.2",
"@tanstack/offline-transactions": "^1.2.0",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-router": "^1.170.41",
"@tanstack/react-router-devtools": "^1.159.5",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/paced-mutations-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/db": "^1.0.0-rc.1.1",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/db": "^1.0.0-rc.1.2",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"mitt": "^3.0.1",
"react": "^19.2.4",
"react-dom": "^19.2.4"
Expand Down
4 changes: 2 additions & 2 deletions examples/react/projects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@tailwindcss/vite": "^4.1.18",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-router": "^1.170.41",
"@tanstack/react-router-devtools": "^1.159.5",
"@tanstack/react-router-with-query": "^1.130.17",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/start-ssr-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:e2e:hosted": "playwright test"
},
"dependencies": {
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-router": "^1.170.41",
"@tanstack/react-router-with-db": "^1.0.0-rc.1",
"@tanstack/react-start": "^1.168.60",
Expand Down
8 changes: 4 additions & 4 deletions examples/react/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"private": true,
"version": "0.1.31",
"dependencies": {
"@tanstack/electric-db-collection": "^1.0.0-rc.1.1",
"@tanstack/electric-db-collection": "^1.0.0-rc.1.2",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/react-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/react-db": "^1.0.0-rc.1.2",
"@tanstack/react-router": "^1.170.41",
"@tanstack/react-start": "^1.168.60",
"@tanstack/trailbase-db-collection": "^1.0.0-rc.1.1",
"@tanstack/trailbase-db-collection": "^1.0.0-rc.1.2",
"cors": "^2.8.6",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
Expand Down
8 changes: 4 additions & 4 deletions examples/solid/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"private": true,
"version": "0.0.39",
"dependencies": {
"@tanstack/electric-db-collection": "^1.0.0-rc.1.1",
"@tanstack/electric-db-collection": "^1.0.0-rc.1.2",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.5.0",
"@tanstack/solid-db": "^1.0.0-rc.1.1",
"@tanstack/query-db-collection": "^1.5.1",
"@tanstack/solid-db": "^1.0.0-rc.1.2",
"@tanstack/solid-router": "^1.170.38",
"@tanstack/solid-start": "^1.168.57",
"@tanstack/trailbase-db-collection": "^1.0.0-rc.1.1",
"@tanstack/trailbase-db-collection": "^1.0.0-rc.1.2",
"cors": "^2.8.6",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
Expand Down
9 changes: 9 additions & 0 deletions packages/angular-db/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @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](https://github.com/TanStack/db/pull/2316))

- Updated dependencies [[`30e8546`](https://github.com/TanStack/db/commit/30e85464ed2b9b12c5f10981a062427a1fc8daaa), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`035a526`](https://github.com/TanStack/db/commit/035a5260ef994ce3aabed77a3f09b35c71482a9a), [`baabf57`](https://github.com/TanStack/db/commit/baabf57a0f110d57ad9bb7b81148466b18fbe0d1), [`9be51e0`](https://github.com/TanStack/db/commit/9be51e037f6c092bc9625f9b5b4b7e23eb4fa5fe), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`85392bd`](https://github.com/TanStack/db/commit/85392bd1d349aa3bb77c9c11ffba671f0b2d2a84), [`9be3c4e`](https://github.com/TanStack/db/commit/9be3c4ed2c8d9762d3837e38d8869483d50b07f6)]:
- @tanstack/db@1.0.0-rc.1.2

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/angular-db",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Angular integration for @tanstack/db",
"author": "Ethan McDaniel",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/browser-db-sqlite-persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/browser-db-sqlite-persistence

## 1.0.0-rc.1.2

### Patch Changes

- Updated dependencies [[`b190945`](https://github.com/TanStack/db/commit/b190945965e2d7ed51bcc04885283961a5ad4c50)]:
- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-db-sqlite-persistence/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/browser-db-sqlite-persistence",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Browser wa-sqlite persisted collection adapter for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/capacitor-db-sqlite-persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/capacitor-db-sqlite-persistence

## 1.0.0-rc.1.2

### Patch Changes

- Updated dependencies [[`b190945`](https://github.com/TanStack/db/commit/b190945965e2d7ed51bcc04885283961a5ad4c50)]:
- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor-db-sqlite-persistence/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/capacitor-db-sqlite-persistence",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Capacitor SQLite persisted collection adapter for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/cloudflare-durable-objects-db-sqlite-persistence

## 1.0.0-rc.1.2

### Patch Changes

- Updated dependencies [[`b190945`](https://github.com/TanStack/db/commit/b190945965e2d7ed51bcc04885283961a5ad4c50)]:
- @tanstack/db-sqlite-persistence-core@1.0.0-rc.1.2

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/cloudflare-durable-objects-db-sqlite-persistence",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Cloudflare Durable Object SQLite persisted collection adapter for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/convex-db-collection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @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](https://github.com/TanStack/db/pull/2336))

- Updated dependencies [[`30e8546`](https://github.com/TanStack/db/commit/30e85464ed2b9b12c5f10981a062427a1fc8daaa), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`035a526`](https://github.com/TanStack/db/commit/035a5260ef994ce3aabed77a3f09b35c71482a9a), [`baabf57`](https://github.com/TanStack/db/commit/baabf57a0f110d57ad9bb7b81148466b18fbe0d1), [`9be51e0`](https://github.com/TanStack/db/commit/9be51e037f6c092bc9625f9b5b4b7e23eb4fa5fe), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`85392bd`](https://github.com/TanStack/db/commit/85392bd1d349aa3bb77c9c11ffba671f0b2d2a84), [`9be3c4e`](https://github.com/TanStack/db/commit/9be3c4ed2c8d9762d3837e38d8869483d50b07f6)]:
- @tanstack/db@1.0.0-rc.1.2
- @tanstack/offline-transactions@1.2.0

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/convex-db-collection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/convex-db-collection",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Convex collection for TanStack DB",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/db-ivm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @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](https://github.com/TanStack/db/pull/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](https://github.com/TanStack/db/pull/2336))

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/db-ivm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/db-ivm",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "Incremental View Maintenance for TanStack DB based on Differential Dataflow",
"author": "Sam Willis",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/db-sqlite-persistence-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @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](https://github.com/TanStack/db/pull/2303))

- Updated dependencies [[`30e8546`](https://github.com/TanStack/db/commit/30e85464ed2b9b12c5f10981a062427a1fc8daaa), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`035a526`](https://github.com/TanStack/db/commit/035a5260ef994ce3aabed77a3f09b35c71482a9a), [`baabf57`](https://github.com/TanStack/db/commit/baabf57a0f110d57ad9bb7b81148466b18fbe0d1), [`9be51e0`](https://github.com/TanStack/db/commit/9be51e037f6c092bc9625f9b5b4b7e23eb4fa5fe), [`a3c4d06`](https://github.com/TanStack/db/commit/a3c4d0676621cc7df4d242bdfe31815509add734), [`85392bd`](https://github.com/TanStack/db/commit/85392bd1d349aa3bb77c9c11ffba671f0b2d2a84), [`9be3c4e`](https://github.com/TanStack/db/commit/9be3c4ed2c8d9762d3837e38d8869483d50b07f6)]:
- @tanstack/db@1.0.0-rc.1.2

## 1.0.0-rc.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/db-sqlite-persistence-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/db-sqlite-persistence-core",
"version": "1.0.0-rc.1.1",
"version": "1.0.0-rc.1.2",
"description": "SQLite persisted collection core for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
Loading
Loading