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
7 changes: 0 additions & 7 deletions .changeset/dnf-active-conditions.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-lazy-join-key-dedup.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-live-query-default-getkey.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-worker-absolute-path.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-dolls-move.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/angular/todos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@angular/forms": "^20.3.16",
"@angular/platform-browser": "^20.3.16",
"@angular/router": "^20.3.16",
"@tanstack/angular-db": "^0.1.61",
"@tanstack/db": "^0.6.1",
"@tanstack/angular-db": "^0.1.62",
"@tanstack/db": "^0.6.2",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
Expand Down
10 changes: 5 additions & 5 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 40.2.1 --arch arm64 || echo 'prebuild-install failed, try: npx @electron/rebuild'"
},
"dependencies": {
"@tanstack/electron-db-sqlite-persistence": "^0.1.5",
"@tanstack/node-db-sqlite-persistence": "^0.1.5",
"@tanstack/offline-transactions": "^1.0.26",
"@tanstack/query-db-collection": "^1.0.32",
"@tanstack/react-db": "^0.1.79",
"@tanstack/electron-db-sqlite-persistence": "^0.1.6",
"@tanstack/node-db-sqlite-persistence": "^0.1.6",
"@tanstack/offline-transactions": "^1.0.27",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-query": "^5.90.20",
"better-sqlite3": "^12.6.2",
"react": "^19.2.4",
Expand Down
10 changes: 5 additions & 5 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": "^0.6.1",
"@tanstack/offline-transactions": "^1.0.26",
"@tanstack/query-db-collection": "^1.0.32",
"@tanstack/react-db": "^0.1.79",
"@tanstack/react-native-db-sqlite-persistence": "^0.1.5",
"@tanstack/db": "^0.6.2",
"@tanstack/offline-transactions": "^1.0.27",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-native-db-sqlite-persistence": "^0.1.6",
"@tanstack/react-query": "^5.90.20",
"expo": "~53.0.26",
"expo-constants": "~17.1.0",
Expand Down
11 changes: 11 additions & 0 deletions examples/react-native/shopping-list/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# shopping-list-react-native

## 1.0.2

### Patch Changes

- Updated dependencies [[`cde8af1`](https://github.com/TanStack/db/commit/cde8af1f21308e5206601f10e9aa0a7c258f66dc), [`3fe689a`](https://github.com/TanStack/db/commit/3fe689a4444d53a075a0dbe6e2649f8852137fc8), [`c314c36`](https://github.com/TanStack/db/commit/c314c36b8bd02f8be86865c13f31f817ce21dc66), [`6428fe3`](https://github.com/TanStack/db/commit/6428fe3c4dae5e126bf12ce50c0467b2f1cb6f69)]:
- @tanstack/electric-db-collection@0.3.0
- @tanstack/db@0.6.2
- @tanstack/react-db@0.1.80
- @tanstack/offline-transactions@1.0.27
- @tanstack/react-native-db-sqlite-persistence@0.1.6

## 1.0.1

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions examples/react-native/shopping-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shopping-list-react-native",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"main": "expo-router/entry",
"scripts": {
Expand All @@ -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": "^0.6.1",
"@tanstack/electric-db-collection": "^0.2.43",
"@tanstack/offline-transactions": "^1.0.26",
"@tanstack/react-db": "^0.1.79",
"@tanstack/react-native-db-sqlite-persistence": "^0.1.5",
"@tanstack/db": "^0.6.2",
"@tanstack/electric-db-collection": "^0.3.0",
"@tanstack/offline-transactions": "^1.0.27",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-native-db-sqlite-persistence": "^0.1.6",
"@tanstack/react-query": "^5.90.20",
"expo": "~53.0.26",
"expo-constants": "~17.1.0",
Expand Down
10 changes: 5 additions & 5 deletions examples/react/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
"@tanstack/browser-db-sqlite-persistence": "^0.1.5",
"@tanstack/db": "^0.6.1",
"@tanstack/offline-transactions": "^1.0.26",
"@tanstack/query-db-collection": "^1.0.32",
"@tanstack/react-db": "^0.1.79",
"@tanstack/browser-db-sqlite-persistence": "^0.1.6",
"@tanstack/db": "^0.6.2",
"@tanstack/offline-transactions": "^1.0.27",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-router": "^1.159.5",
"@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": "^0.6.1",
"@tanstack/react-db": "^0.1.79",
"@tanstack/db": "^0.6.2",
"@tanstack/react-db": "^0.1.80",
"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.0.32",
"@tanstack/react-db": "^0.1.79",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-router-devtools": "^1.159.5",
"@tanstack/react-router-with-query": "^1.130.17",
Expand Down
10 changes: 10 additions & 0 deletions examples/react/todo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# examples/react/todo

## 0.1.25

### Patch Changes

- Updated dependencies [[`cde8af1`](https://github.com/TanStack/db/commit/cde8af1f21308e5206601f10e9aa0a7c258f66dc), [`6428fe3`](https://github.com/TanStack/db/commit/6428fe3c4dae5e126bf12ce50c0467b2f1cb6f69)]:
- @tanstack/electric-db-collection@0.3.0
- @tanstack/react-db@0.1.80
- @tanstack/query-db-collection@1.0.33
- @tanstack/trailbase-db-collection@0.1.80

## 0.1.24

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions examples/react/todo/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@tanstack/db-example-react-todo",
"private": true,
"version": "0.1.24",
"version": "0.1.25",
"dependencies": {
"@tanstack/electric-db-collection": "^0.2.43",
"@tanstack/electric-db-collection": "^0.3.0",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.0.32",
"@tanstack/react-db": "^0.1.79",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/react-db": "^0.1.80",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-start": "^1.159.5",
"@tanstack/trailbase-db-collection": "^0.1.79",
"@tanstack/trailbase-db-collection": "^0.1.80",
"cors": "^2.8.6",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
Expand Down
10 changes: 10 additions & 0 deletions examples/solid/todo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# examples/react/todo

## 0.0.35

### Patch Changes

- Updated dependencies [[`cde8af1`](https://github.com/TanStack/db/commit/cde8af1f21308e5206601f10e9aa0a7c258f66dc)]:
- @tanstack/electric-db-collection@0.3.0
- @tanstack/query-db-collection@1.0.33
- @tanstack/solid-db@0.2.16
- @tanstack/trailbase-db-collection@0.1.80

## 0.0.34

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions examples/solid/todo/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@tanstack/db-example-solid-todo",
"private": true,
"version": "0.0.34",
"version": "0.0.35",
"dependencies": {
"@tanstack/electric-db-collection": "^0.2.43",
"@tanstack/electric-db-collection": "^0.3.0",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.0.32",
"@tanstack/solid-db": "^0.2.15",
"@tanstack/query-db-collection": "^1.0.33",
"@tanstack/solid-db": "^0.2.16",
"@tanstack/solid-router": "^1.159.5",
"@tanstack/solid-start": "^1.159.5",
"@tanstack/trailbase-db-collection": "^0.1.79",
"@tanstack/trailbase-db-collection": "^0.1.80",
"cors": "^2.8.6",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
Expand Down
7 changes: 7 additions & 0 deletions packages/angular-db/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/angular-db

## 0.1.62

### Patch Changes

- Updated dependencies [[`3fe689a`](https://github.com/TanStack/db/commit/3fe689a4444d53a075a0dbe6e2649f8852137fc8), [`c314c36`](https://github.com/TanStack/db/commit/c314c36b8bd02f8be86865c13f31f817ce21dc66)]:
- @tanstack/db@0.6.2

## 0.1.61

### 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": "0.1.61",
"version": "0.1.62",
"description": "Angular integration for @tanstack/db",
"author": "Ethan McDaniel",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/browser-db-sqlite-persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @tanstack/browser-db-sqlite-persistence

## 0.1.6

### Patch Changes

- Fix absolute worker path in bundled output by setting `base: './'` in vite config, so the OPFS worker URL resolves relative to the module via `import.meta.url` instead of being hardcoded to `/assets/...` ([#1436](https://github.com/TanStack/db/pull/1436))

- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.6

## 0.1.5

### 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": "0.1.5",
"version": "0.1.6",
"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

## 0.1.6

### Patch Changes

- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.6

## 0.1.5

### Patch Changes
Expand Down
8 changes: 8 additions & 0 deletions packages/capacitor-db-sqlite-persistence/e2e/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/capacitor-db-sqlite-persistence-e2e-app

## 0.0.6

### Patch Changes

- Updated dependencies [[`3fe689a`](https://github.com/TanStack/db/commit/3fe689a4444d53a075a0dbe6e2649f8852137fc8), [`c314c36`](https://github.com/TanStack/db/commit/c314c36b8bd02f8be86865c13f31f817ce21dc66)]:
- @tanstack/db@0.6.2
- @tanstack/capacitor-db-sqlite-persistence@0.1.6

## 0.0.5

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tanstack/capacitor-db-sqlite-persistence-e2e-app",
"private": true,
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"scripts": {
"build": "vite build",
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": "0.1.5",
"version": "0.1.6",
"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

## 0.1.6

### Patch Changes

- Updated dependencies []:
- @tanstack/db-sqlite-persistence-core@0.1.6

## 0.1.5

### 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": "0.1.5",
"version": "0.1.6",
"description": "Cloudflare Durable Object SQLite persisted collection adapter for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/db-sqlite-persistence-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/db-sqlite-persistence-core

## 0.1.6

### Patch Changes

- Updated dependencies [[`3fe689a`](https://github.com/TanStack/db/commit/3fe689a4444d53a075a0dbe6e2649f8852137fc8), [`c314c36`](https://github.com/TanStack/db/commit/c314c36b8bd02f8be86865c13f31f817ce21dc66)]:
- @tanstack/db@0.6.2

## 0.1.5

### 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": "0.1.5",
"version": "0.1.6",
"description": "SQLite persisted collection core for TanStack DB",
"author": "TanStack Team",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/db/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tanstack/db

## 0.6.2

### Patch Changes

- Deduplicate and filter null join keys in lazy join subset queries. Previously, when multiple rows referenced the same foreign key or had null foreign keys, the full unfiltered array was passed to `inArray()`, producing bloated `ANY()` SQL params with repeated IDs and NULLs. ([#1448](https://github.com/TanStack/db/pull/1448))

- fix: default getKey on live query collections fails when used as a source in chained collections ([#1432](https://github.com/TanStack/db/pull/1432))

The default WeakMap-based getKey breaks when enriched change values (with virtual props like $synced, $origin, $key) are passed through chained live query collections. The enriched objects are new references not found in the WeakMap, causing all items to resolve to key `undefined` and collapse into a single item. Falls back to `item.$key` when the WeakMap lookup misses.

## 0.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/db",
"version": "0.6.1",
"version": "0.6.2",
"description": "A reactive client store for building super fast apps on sync",
"author": "Kyle Mathews",
"license": "MIT",
Expand Down
Loading