Skip to content

Commit ae22220

Browse files
authored
fix(upgrade): add TanStack Start peer dependency version check (#7861)
1 parent 92599c7 commit ae22220

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/upgrade': patch
3+
---
4+
5+
Add version check warning when `@tanstack/react-start` is below the minimum required v1.157.0
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: 'Minimum TanStack Start version increased'
3+
packages: ['tanstack-react-start']
4+
matcher: "@tanstack/react-start\":\\s*\"(?:\\^|~|>|=|\\s)*(?:1\\.1(?:[0-4]\\d|5[0-6]))\\..*?"
5+
matcherFlags: 'm'
6+
category: 'version'
7+
warning: true
8+
---
9+
10+
`@clerk/tanstack-react-start` v1 requires `@tanstack/react-start` v1.157.0 or later (along with matching versions of `@tanstack/react-router` and `@tanstack/react-router-devtools`).
11+
12+
If you pin TanStack versions, update them:
13+
14+
```diff
15+
{
16+
"dependencies": {
17+
- "@tanstack/react-router": "1.154.14",
18+
- "@tanstack/react-router-devtools": "1.154.14",
19+
- "@tanstack/react-start": "1.154.14",
20+
+ "@tanstack/react-router": "1.160.2",
21+
+ "@tanstack/react-router-devtools": "1.160.2",
22+
+ "@tanstack/react-start": "1.160.2",
23+
}
24+
}
25+
```

0 commit comments

Comments
 (0)