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
8 changes: 0 additions & 8 deletions .changeset/fix-includes-materialization.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/temporal-comparators.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.81",
"@tanstack/db": "^0.8.0",
"@tanstack/angular-db": "^0.1.82",
"@tanstack/db": "^0.8.1",
"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.25",
"@tanstack/node-db-sqlite-persistence": "^0.2.13",
"@tanstack/offline-transactions": "^1.0.46",
"@tanstack/query-db-collection": "^1.2.5",
"@tanstack/react-db": "^0.3.0",
"@tanstack/electron-db-sqlite-persistence": "^0.1.26",
"@tanstack/node-db-sqlite-persistence": "^0.2.14",
"@tanstack/offline-transactions": "^1.0.47",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/react-db": "^0.3.1",
"@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.8.0",
"@tanstack/offline-transactions": "^1.0.46",
"@tanstack/query-db-collection": "^1.2.5",
"@tanstack/react-db": "^0.3.0",
"@tanstack/react-native-db-sqlite-persistence": "^0.2.13",
"@tanstack/db": "^0.8.1",
"@tanstack/offline-transactions": "^1.0.47",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/react-db": "^0.3.1",
"@tanstack/react-native-db-sqlite-persistence": "^0.2.14",
"@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-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": "^0.8.0",
"@tanstack/electric-db-collection": "^0.4.0",
"@tanstack/offline-transactions": "^1.0.46",
"@tanstack/react-db": "^0.3.0",
"@tanstack/react-native-db-sqlite-persistence": "^0.2.13",
"@tanstack/db": "^0.8.1",
"@tanstack/electric-db-collection": "^0.4.1",
"@tanstack/offline-transactions": "^1.0.47",
"@tanstack/react-db": "^0.3.1",
"@tanstack/react-native-db-sqlite-persistence": "^0.2.14",
"@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/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": "^0.8.0",
"@tanstack/react-db": "^0.3.0",
"@tanstack/db": "^0.8.1",
"@tanstack/react-db": "^0.3.1",
"next": "^16.3.1",
"react": "^19.2.4",
"react-dom": "^19.2.4"
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 @@ -8,11 +8,11 @@
"build": "vite build && tsc --noEmit"
},
"dependencies": {
"@tanstack/browser-db-sqlite-persistence": "^0.2.13",
"@tanstack/db": "^0.8.0",
"@tanstack/offline-transactions": "^1.0.46",
"@tanstack/query-db-collection": "^1.2.5",
"@tanstack/react-db": "^0.3.0",
"@tanstack/browser-db-sqlite-persistence": "^0.2.14",
"@tanstack/db": "^0.8.1",
"@tanstack/offline-transactions": "^1.0.47",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/react-db": "^0.3.1",
"@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.8.0",
"@tanstack/react-db": "^0.3.0",
"@tanstack/db": "^0.8.1",
"@tanstack/react-db": "^0.3.1",
"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.2.5",
"@tanstack/react-db": "^0.3.0",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/react-db": "^0.3.1",
"@tanstack/react-router": "^1.159.5",
"@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": "^0.3.0",
"@tanstack/react-db": "^0.3.1",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-router-with-db": "^0.1.0",
"@tanstack/react-start": "^1.159.5",
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.27",
"dependencies": {
"@tanstack/electric-db-collection": "^0.4.0",
"@tanstack/electric-db-collection": "^0.4.1",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.2.5",
"@tanstack/react-db": "^0.3.0",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/react-db": "^0.3.1",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-start": "^1.159.5",
"@tanstack/trailbase-db-collection": "^0.1.99",
"@tanstack/trailbase-db-collection": "^0.1.100",
"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.36",
"dependencies": {
"@tanstack/electric-db-collection": "^0.4.0",
"@tanstack/electric-db-collection": "^0.4.1",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.2.5",
"@tanstack/solid-db": "^0.2.35",
"@tanstack/query-db-collection": "^1.2.6",
"@tanstack/solid-db": "^0.2.36",
"@tanstack/solid-router": "^1.159.5",
"@tanstack/solid-start": "^1.159.5",
"@tanstack/trailbase-db-collection": "^0.1.99",
"@tanstack/trailbase-db-collection": "^0.1.100",
"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.82

### Patch Changes

- Updated dependencies [[`5d9335d`](https://github.com/TanStack/db/commit/5d9335d0d42c1cc1ec2b92be8ce40ae8abe42827), [`a20352a`](https://github.com/TanStack/db/commit/a20352a9a7b64c9708bef9a1dfb90c96426b6730)]:
- @tanstack/db@0.8.1

## 0.1.81

### 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.81",
"version": "0.1.82",
"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

## 0.2.14

### Patch Changes

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

## 0.2.13

### 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.2.13",
"version": "0.2.14",
"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.2.14

### Patch Changes

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

## 0.2.13

### 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.26

### Patch Changes

- Updated dependencies [[`5d9335d`](https://github.com/TanStack/db/commit/5d9335d0d42c1cc1ec2b92be8ce40ae8abe42827), [`a20352a`](https://github.com/TanStack/db/commit/a20352a9a7b64c9708bef9a1dfb90c96426b6730)]:
- @tanstack/db@0.8.1
- @tanstack/capacitor-db-sqlite-persistence@0.2.14

## 0.0.25

### 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.25",
"version": "0.0.26",
"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.2.13",
"version": "0.2.14",
"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.2.14

### Patch Changes

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

## 0.2.13

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

## 0.1.19

### Patch Changes

- Rebuild correlated include materialization as one D2 graph, fixing stale or missing nested results across route changes, batching, lazy loading, optimistic updates, and layered queries. Add canonical structural relation keys, abortable subset demand, and coherent publication for Collection-valued includes. Dispose delayed PowerSync subset hooks after cleanup, and prevent released Query Collection cache results from reaching the collection. ([#1740](https://github.com/TanStack/db/pull/1740))

## 0.1.18

### 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": "0.1.18",
"version": "0.1.19",
"description": "Incremental View Maintenance for TanStack DB based on Differential Dataflow",
"author": "Sam Willis",
"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.2.14

### Patch Changes

- Updated dependencies [[`5d9335d`](https://github.com/TanStack/db/commit/5d9335d0d42c1cc1ec2b92be8ce40ae8abe42827), [`a20352a`](https://github.com/TanStack/db/commit/a20352a9a7b64c9708bef9a1dfb90c96426b6730)]:
- @tanstack/db@0.8.1

## 0.2.13

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

## 0.8.1

### Patch Changes

- Rebuild correlated include materialization as one D2 graph, fixing stale or missing nested results across route changes, batching, lazy loading, optimistic updates, and layered queries. Add canonical structural relation keys, abortable subset demand, and coherent publication for Collection-valued includes. Dispose delayed PowerSync subset hooks after cleanup, and prevent released Query Collection cache results from reaching the collection. ([#1740](https://github.com/TanStack/db/pull/1740))

- Support Temporal values in the `gt`/`gte`/`lt`/`lte` query operators. Comparisons now dispatch to the Temporal types' static `compare()` instead of the native relational operators, which throw on Temporal objects (`valueOf()` is designed to throw). `orderBy` uses the same logic, so filtering and ordering now agree — previously `orderBy` compared Temporal values lexicographically by their `toString()`, which mis-ordered equivalent `Duration` forms (`PT60M` vs `PT1H`) and same-instant `ZonedDateTime` values in different zones. ([#1519](https://github.com/TanStack/db/pull/1519))

Note two intentional behavior changes for `orderBy` over Temporal columns:
- Ordering `Temporal.PlainMonthDay` values now throws a `TypeError`, since the type has no defined ordering (previously they were silently ordered by string).
- Ordering mixed Temporal types (e.g. `PlainDate` vs `PlainDateTime`) now throws a `TypeError` instead of comparing their string forms.

Equality (`eq`) is unchanged: `ZonedDateTime` equality still treats the zone as part of identity, and equivalent `Duration` forms remain unequal, mirroring Temporal's `.equals()` vs `.compare()` semantics.

- Updated dependencies [[`5d9335d`](https://github.com/TanStack/db/commit/5d9335d0d42c1cc1ec2b92be8ce40ae8abe42827)]:
- @tanstack/db-ivm@0.1.19

## 0.8.0

### Minor 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.8.0",
"version": "0.8.1",
"description": "A reactive client store for building super fast apps on sync",
"author": "Kyle Mathews",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/electric-db-collection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/electric-db-collection

## 0.4.1

### Patch Changes

- Updated dependencies [[`5d9335d`](https://github.com/TanStack/db/commit/5d9335d0d42c1cc1ec2b92be8ce40ae8abe42827), [`a20352a`](https://github.com/TanStack/db/commit/a20352a9a7b64c9708bef9a1dfb90c96426b6730)]:
- @tanstack/db@0.8.1

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/electric-db-collection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/electric-db-collection",
"version": "0.4.0",
"version": "0.4.1",
"description": "ElectricSQL collection for TanStack DB",
"author": "Kyle Mathews",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/electron-db-sqlite-persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/electron-db-sqlite-persistence

## 0.1.26

### Patch Changes

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

## 0.1.25

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