@clerk/tanstack-react-start
1.7.14 · 17 Nov 2026MIT405.9k / weekRepositoryHomepagenpmAtom feed
1.7.20 is the newest release of 1.x.
In short
1 breaking3 internal
- Breaking
Raise the minimum supported peer dependencies to
@tanstack/react-start@^1.168.10and@tanstack/react-router@^1.170.7. Start 1.168.10 is the first version where importingcreateCsrfMiddleware()works reliably during Vite SSR.
Release note
Minor Changes
- Breaking
Raise the minimum supported peer dependencies to
@tanstack/react-start@^1.168.10and@tanstack/react-router@^1.170.7. Start 1.168.10 is the first version where importingcreateCsrfMiddleware()works reliably during Vite SSR.TanStack Start skips its default CSRF protection for server functions when your app has a
src/start.ts, whichclerkMiddleware()requires. RegistercreateCsrfMiddleware()beforeclerkMiddleware()to restore it:import { clerkMiddleware } from '@clerk/tanstack-react-start/server'; import { createCsrfMiddleware, createStart } from '@tanstack/react-start'; const csrfMiddleware = createCsrfMiddleware({ filter: ctx => ctx.handlerType === 'serverFn', }); export const startInstance = createStart(() => { return { requestMiddleware: [csrfMiddleware, clerkMiddleware()], }; });
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.