Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2025

This PR contains the following updates:

Package Change Age Confidence
@clerk/tanstack-react-start (source) 0.24.0 -> 0.26.4 age confidence

Release Notes

clerk/javascript (@​clerk/tanstack-react-start)

v0.26.4

Compare Source

Patch Changes

v0.26.3

Compare Source

Patch Changes

v0.26.2

Compare Source

Patch Changes

v0.26.1

Compare Source

Patch Changes

v0.26.0

Compare Source

Minor Changes
  • Added support for TanStack Start v1 RC! Includes a new clerkMiddleware() global middleware replacing the custom server handler. (#​6859) by @​wobsoriano

    Usage:

    1. Create a src/start.ts file and add clerkMiddleware() to the list of request middlewares:
    // src/start.ts
    import { clerkMiddleware } from '@​clerk/tanstack-react-start/server';
    import { createStart } from '@​tanstack/react-start';
    
    export const startInstance = createStart(() => {
      return {
        requestMiddleware: [clerkMiddleware()],
      };
    });
    1. Add <ClerkProvider> to your root route
    // src/routes/__root.tsx
    import { ClerkProvider } from '@&#8203;clerk/tanstack-react-start'
    
    export const Route = createRootRoute({...})
    
    function RootDocument({ children }: { children: React.ReactNode }) {
      return (
        <ClerkProvider>
          <html>
            <head>
              <HeadContent />
            </head>
            <body>
              {children}
              <Scripts />
            </body>
          </html>
        </ClerkProvider>
      )
    }

    The getAuth() helper is now auth() and can now be called within server routes and functions, without passing a Request object:

    import { auth } from '@&#8203;clerk/tanstack-react-start/server';
    
    const authStateFn = createServerFn().handler(async () => {
      const { userId } = await auth();
    
      if (!userId) {
        throw redirect({
          to: '/sign-in',
        });
      }
    
      return { userId };
    });
    
    export const Route = createFileRoute('/')({
      component: Home,
      beforeLoad: async () => await authStateFn(),
      loader: async ({ context }) => {
        return { userId: context.userId };
      },
    });
Patch Changes

v0.25.3

Compare Source

Patch Changes

v0.25.2

Compare Source

Patch Changes

v0.25.1

Compare Source

Patch Changes

v0.25.0

Compare Source

Minor Changes
Patch Changes

v0.24.2

Patch Changes

v0.24.1

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 1b3822d to 8f50454 Compare October 3, 2025 20:37
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.25.1 Update dependency @clerk/tanstack-react-start to v0.25.2 Oct 3, 2025
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 8f50454 to 42d979c Compare October 6, 2025 17:55
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.25.2 Update dependency @clerk/tanstack-react-start to v0.25.3 Oct 6, 2025
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 42d979c to 2ac2792 Compare October 14, 2025 21:41
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.25.3 Update dependency @clerk/tanstack-react-start to v0.26.0 Oct 14, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Oct 14, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: template-tanstack-start-clerk/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: tanstack-start-clerk@undefined
npm error Found: @tanstack/[email protected]
npm error node_modules/@tanstack/react-router
npm error   @tanstack/react-router@"^1.131.44" from the root project
npm error   peer @tanstack/react-router@"^1.131.44" from @tanstack/[email protected]
npm error   node_modules/@tanstack/react-router-devtools
npm error     @tanstack/react-router-devtools@"^1.131.44" from the root project
npm error   4 more (@tanstack/react-router-with-query, ...)
npm error
npm error Could not resolve dependency:
npm error @clerk/tanstack-react-start@"0.26.4" from the root project
npm error
npm error Conflicting peer dependency: @tanstack/[email protected]
npm error node_modules/@tanstack/react-router
npm error   peer @tanstack/react-router@"^1.132.0" from @clerk/[email protected]
npm error   node_modules/@clerk/tanstack-react-start
npm error     @clerk/tanstack-react-start@"0.26.4" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-10-22T20_36_03_524Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-10-22T20_36_03_524Z-debug-0.log

@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 2ac2792 to 0d38ac0 Compare October 15, 2025 21:28
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.26.0 Update dependency @clerk/tanstack-react-start to v0.26.1 Oct 15, 2025
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 0d38ac0 to b3dd40c Compare October 16, 2025 22:47
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.26.1 Update dependency @clerk/tanstack-react-start to v0.26.2 Oct 16, 2025
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from b3dd40c to 1ab961e Compare October 17, 2025 20:04
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.26.2 Update dependency @clerk/tanstack-react-start to v0.26.3 Oct 17, 2025
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from 1ab961e to c2020a2 Compare October 21, 2025 16:54
@renovate renovate bot force-pushed the renovate/clerk-tanstack-react-start-0.x branch from c2020a2 to e12c4c2 Compare October 22, 2025 20:36
@renovate renovate bot changed the title Update dependency @clerk/tanstack-react-start to v0.26.3 Update dependency @clerk/tanstack-react-start to v0.26.4 Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants