Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup Tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0 # required for Claude Code
- uses: anthropics/claude-code-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.27.0
version: 10.32.1

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup Tools
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup Tools
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Build Packages
Expand All @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Build Packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup Tools
Expand All @@ -32,7 +32,7 @@ jobs:
run: pnpm run lint && pnpm run build && pnpm run test
- name: Run Changesets (version or publish)
id: changesets
uses: changesets/action@v1.5.3
uses: changesets/action@v1.7.0
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reproduce-and-fix-issue-claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/review-pr-claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pnpm 10.26.0
pnpm 10.32.1
nodejs 22.13.1
28 changes: 14 additions & 14 deletions examples/angular/todos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
},
"private": true,
"dependencies": {
"@angular/common": "^20.3.16",
"@angular/compiler": "^20.3.16",
"@angular/core": "^20.3.16",
"@angular/forms": "^20.3.16",
"@angular/platform-browser": "^20.3.16",
"@angular/router": "^20.3.16",
"@angular/common": "^20.3.18",
"@angular/compiler": "^20.3.18",
"@angular/core": "^20.3.18",
"@angular/forms": "^20.3.18",
"@angular/platform-browser": "^20.3.18",
"@angular/router": "^20.3.18",
"@tanstack/angular-db": "^0.1.59",
"@tanstack/db": "^0.5.33",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
"zone.js": "~0.16.1"
},
"devDependencies": {
"@angular/build": "^20.3.16",
"@angular/cli": "^20.3.16",
"@angular/compiler-cli": "^20.3.16",
"@tailwindcss/postcss": "^4.1.18",
"@angular/build": "^20.3.20",
"@angular/cli": "^20.3.20",
"@angular/compiler-cli": "^20.3.18",
"@tailwindcss/postcss": "^4.2.1",
"@types/jasmine": "~5.1.15",
"jasmine-core": "~5.13.0",
"karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
"karma-jasmine-html-reporter": "~2.2.0",
"postcss": "^8.5.8",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.2"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
24 changes: 12 additions & 12 deletions examples/react-native/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@
},
"dependencies": {
"@expo/metro-runtime": "~5.0.5",
"@react-native-async-storage/async-storage": "2.1.2",
"@react-native-community/netinfo": "11.4.1",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/netinfo": "11.5.2",
"@tanstack/offline-transactions": "^1.0.24",
"@tanstack/query-db-collection": "^1.0.30",
"@tanstack/react-db": "^0.1.77",
"@tanstack/react-query": "^5.90.20",
"expo": "~53.0.26",
"expo-constants": "~17.1.0",
"expo-linking": "~7.1.0",
"@tanstack/react-query": "^5.90.21",
"expo": "~53.0.27",
"expo-constants": "~17.1.8",
"expo-linking": "~7.1.7",
"expo-router": "~5.1.11",
"expo-status-bar": "~2.2.0",
"metro": "0.82.5",
"expo-status-bar": "~2.2.3",
"metro": "0.84.2",
"react": "^19.2.4",
"react-native": "0.79.6",
"react-native-safe-area-context": "5.4.0",
"react-native-screens": "~4.11.1",
"react-native": "0.84.1",
Comment on lines +21 to +28
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

What React Native and Metro versions are officially supported by Expo SDK 53.0.27, and is react-native 0.84.1 with metro 0.84.2 supported?

💡 Result:

  • Expo SDK 53.0.27 officially targets React Native 0.79.x (SDK 53 “includes React Native 0.79”). [1]
  • Metro: React Native 0.79 ships with Metro 0.82, and that’s the Metro version Expo SDK 53 is effectively aligned with. [2]
  • Expo’s policy is that each Expo SDK targets a single React Native version (so other RN majors aren’t “officially supported” for that SDK). [3]

So: react-native@0.84.1 with metro@0.84.2 is not officially supported on Expo SDK 53.0.27 (it’s outside the RN 0.79 target). [3]

Sources: [1] https://expo.dev/changelog/sdk-53, [2] https://reactnative.dev/blog/2025/04/08/react-native-0.79, [3] https://docs.expo.dev/versions/latest/


Update react-native and metro to versions compatible with Expo SDK 53.

Expo SDK 53.0.27 officially targets React Native 0.79.x (which ships with Metro 0.82), but the current versions are react-native 0.84.1 and metro 0.84.2. These are outside the supported compatibility matrix and will cause runtime issues in the managed workflow. Update to React Native 0.79.x and Metro 0.82.x.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/react-native/offline-transactions/package.json` around lines 21 -
28, Update the package.json dependency versions for react-native and metro to
Expo SDK 53-compatible releases: change "react-native" from 0.84.1 to a 0.79.x
version and "metro" from 0.84.2 to 0.82.x so they match Expo SDK 53 (e.g.,
react-native 0.79.x and metro 0.82.x); ensure you update any lockfile (yarn.lock
or package-lock.json) and reinstall dependencies so the managed workflow uses
the supported RN/Metro pair.

"react-native-safe-area-context": "5.7.0",
"react-native-screens": "~4.24.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/react": "^19.2.13",
"@types/react": "^19.2.14",
"cors": "^2.8.6",
"express": "^5.2.1",
"tsx": "^4.21.0",
Expand Down
18 changes: 9 additions & 9 deletions examples/react/offline-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
"@tanstack/offline-transactions": "^1.0.24",
"@tanstack/query-db-collection": "^1.0.30",
"@tanstack/react-db": "^0.1.77",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-router-devtools": "^1.159.5",
"@tanstack/react-start": "^1.159.5",
"@tanstack/react-query": "^5.90.21",
"@tanstack/react-router": "^1.167.0",
"@tanstack/react-router-devtools": "^1.166.7",
"@tanstack/react-start": "^1.166.11",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwind-merge": "^2.6.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.18",
"@tailwindcss/vite": "^4.2.1",
"@types/node": "^25.2.2",
"@types/react": "^19.2.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.3",
"@vitejs/plugin-react": "^5.2.0",
"chokidar": "^4.0.3",
"tailwindcss": "^4.1.18",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.2",
"vite": "^7.3.0",
"vite": "^7.3.1",
"vite-tsconfig-paths": "^5.1.4"
}
}
6 changes: 3 additions & 3 deletions examples/react/paced-mutations-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"react-dom": "^19.2.4"
},
"devDependencies": {
"@types/react": "^19.2.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.3",
"@vitejs/plugin-react": "^5.2.0",
"typescript": "^5.9.2",
"vite": "^7.3.0"
"vite": "^7.3.1"
}
}
32 changes: 16 additions & 16 deletions examples/react/projects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,43 @@
"format:check": "prettier --check ."
},
"dependencies": {
"@tailwindcss/vite": "^4.1.18",
"@tailwindcss/vite": "^4.2.1",
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.0.30",
"@tanstack/react-db": "^0.1.77",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-router-devtools": "^1.159.5",
"@tanstack/react-router": "^1.167.0",
"@tanstack/react-router-devtools": "^1.166.7",
"@tanstack/react-router-with-query": "^1.130.17",
"@tanstack/react-start": "^1.159.5",
"@tanstack/router-plugin": "^1.159.5",
"@trpc/client": "^11.10.0",
"@tanstack/react-start": "^1.166.11",
"@tanstack/router-plugin": "^1.166.9",
"@trpc/client": "^11.12.0",
"@trpc/server": "^11.10.0",
Comment on lines +27 to 28
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Version mismatch between @trpc/client and @trpc/server.

@trpc/client is updated to ^11.12.0 while @trpc/server remains at ^11.10.0. While tRPC generally maintains compatibility within minor versions, keeping client and server versions aligned is recommended to avoid subtle incompatibilities.

🔧 Proposed fix to align tRPC versions
     "@trpc/client": "^11.12.0",
-    "@trpc/server": "^11.10.0",
+    "@trpc/server": "^11.12.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@trpc/client": "^11.12.0",
"@trpc/server": "^11.10.0",
"@trpc/client": "^11.12.0",
"@trpc/server": "^11.12.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/react/projects/package.json` around lines 27 - 28, The package has a
version mismatch between the tRPC packages: `@trpc/client` is ^11.12.0 while
`@trpc/server` is ^11.10.0; update the dependency versions so both `@trpc/client`
and `@trpc/server` use the same compatible version (e.g., set `@trpc/server` to
^11.12.0 or pin both to the same exact version) in package.json to keep
client/server parity and avoid subtle incompatibilities.

"better-auth": "^1.4.18",
"dotenv": "^17.2.4",
"dotenv": "^17.3.1",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
"pg": "^8.18.0",
"pg": "^8.20.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwindcss": "^4.1.18",
"tailwindcss": "^4.2.1",
"vite": "^7.3.0",
"vite-tsconfig-paths": "^5.1.4",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/compat": "^1.4.1",
"@eslint/js": "^9.39.2",
"@eslint/js": "^9.39.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/pg": "^8.16.0",
"@types/react": "^19.2.13",
"@types/pg": "^8.18.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.55.0",
"@typescript-eslint/parser": "^8.55.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitejs/plugin-react": "^5.1.3",
"concurrently": "^9.2.1",
"drizzle-kit": "^0.31.9",
"eslint": "^9.39.2",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
Expand All @@ -60,7 +60,7 @@
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.2",
"vite": "^7.3.0",
"vite": "^7.3.1",
"vitest": "^3.2.4",
"web-vitals": "^5.1.0"
}
Expand Down
26 changes: 13 additions & 13 deletions examples/react/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"@tanstack/query-core": "^5.90.20",
"@tanstack/query-db-collection": "^1.0.30",
"@tanstack/react-db": "^0.1.77",
"@tanstack/react-router": "^1.159.5",
"@tanstack/react-start": "^1.159.5",
"@tanstack/react-router": "^1.167.0",
"@tanstack/react-start": "^1.166.11",
"@tanstack/trailbase-db-collection": "^0.1.77",
"cors": "^2.8.6",
"drizzle-orm": "^0.45.1",
Expand All @@ -17,30 +17,30 @@
"postgres": "^3.4.8",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwindcss": "^4.1.18",
"trailbase": "^0.8.0",
"tailwindcss": "^4.2.1",
"trailbase": "^0.9.1",
"vite-tsconfig-paths": "^5.1.4",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@tailwindcss/vite": "^4.1.18",
"@eslint/js": "^9.39.4",
"@tailwindcss/vite": "^4.2.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^25.2.2",
"@types/pg": "^8.16.0",
"@types/react": "^19.2.13",
"@types/pg": "^8.18.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.55.0",
"@typescript-eslint/parser": "^8.55.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitejs/plugin-react": "^5.1.3",
"concurrently": "^9.2.1",
"dotenv": "^17.2.4",
"drizzle-kit": "^0.31.9",
"eslint": "^9.39.2",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.26",
"pg": "^8.18.0",
"eslint-plugin-react-refresh": "^0.5.2",
Comment on lines +40 to +42
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

For React 19.2, what is the minimum required version of eslint-plugin-react-hooks, and does v5.2.0 satisfy it?

💡 Result:

React 19.2 expects eslint-plugin-react-hooks v6 (the first “official” v6 release is v6.1.0, since v6.0.0 was accidentally released/deprecated) so that linting understands useEffectEvent and doesn’t treat Effect Events as effect dependencies. [1][2]

Therefore, eslint-plugin-react-hooks@5.2.0 does not satisfy the minimum expected version for React 19.2. [1][2]


React 19.2 requires eslint-plugin-react-hooks v6.1.0 or higher; Line 41 is on v5.2.0.

The version on Line 41 (eslint-plugin-react-hooks@^5.2.0) does not support React 19.2's new hook semantics, specifically useEffectEvent. This causes the linter to miss or misreport hook dependency checks. Upgrade to at least v6.1.0 (v6.0.0 was deprecated).

Required package.json adjustment
-    "eslint-plugin-react-hooks": "^5.2.0",
+    "eslint-plugin-react-hooks": "^6.1.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/react/todo/package.json` around lines 40 - 42, Update the
eslint-plugin-react-hooks dependency in package.json: replace the current
"eslint-plugin-react-hooks": "^5.2.0" entry with a version >= "6.1.0" (e.g.,
"^6.1.0") so the linter supports React 19.2 hook semantics like useEffectEvent;
also run npm/yarn install afterwards to refresh lockfiles and ensure the new
plugin is picked up by ESLint configuration that references
eslint-plugin-react-hooks.

"pg": "^8.20.0",
"tsx": "^4.21.0",
"typescript": "^5.9.2",
"vite": "^7.3.0"
Expand Down
Loading
Loading