Skip to content

Conversation

@wobsoriano
Copy link
Member

@wobsoriano wobsoriano commented Mar 22, 2025

Description

This PR updates the monorepo to use the new package name @clerk/tanstack-react-start. It's continues the work from this PR: #5327, where we added a warning for users to migrate to the new package name. Currently when they install the new package name, it will install the snapshot version that we have available.

Other updates:

  • Removed Vinxi dependency, in favor of functions from @tanstack/react-start/server. See refactor(start-server-core): use h3 barrel import TanStack/router#3721
  • Removed the migration warnings from previous PR
  • Bumped TanStack React router and start peer dependencies (this is required for the removal of Vinxi dep):
    • "@tanstack/react-router": ">=1.114.6"
    • "@tanstack/react-start": ">=1.114.6"

Test deployment with the snapshot

Resolves ECO-514

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Mar 22, 2025

🦋 Changeset detected

Latest commit: 0f9e0c2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/tanstack-react-start Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Mar 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2025 4:05pm

@wobsoriano wobsoriano changed the title chore(repo): [WIP] Rename @clerk/tanstack-start part 2 chore(repo): Rename TanStack Start SDK to @clerk/tanstack-react-start Mar 22, 2025
@wobsoriano wobsoriano marked this pull request as ready for review March 24, 2025 04:38
@wobsoriano wobsoriano requested review from LekoArts and octoper March 24, 2025 04:38
Copy link
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

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

Let's add a changeset with a minor change so that in the future we can say that with 0.12.0 the name changed. The changeset itself then can say something about the migration and the changes between last version of old package name and this new version.

Let's also publish a snapshot version here and try it out, just to make sure it all works correctly 👍

The changes itself look good to me :shipit:

@wobsoriano
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @wobsoriano - the snapshot version command generated the following package versions:

Package Version
@clerk/tanstack-react-start 0.12.0-snapshot.v20250324152231

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.12.0-snapshot.v20250324152231 --save-exact

@wobsoriano
Copy link
Member Author

Let's add a changeset with a minor change so that in the future we can say that with 0.12.0 the name changed. The changeset itself then can say something about the migration and the changes between last version of old package name and this new version.

Let's also publish a snapshot version here and try it out, just to make sure it all works correctly 👍

The changes itself look good to me :shipit:

Thanks for the review!

@wobsoriano
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @wobsoriano - the snapshot version command generated the following package versions:

Package Version
@clerk/agent-toolkit 0.0.14-snapshot.v20250325155349
@clerk/astro 2.4.3-snapshot.v20250325155349
@clerk/backend 1.25.6-snapshot.v20250325155349
@clerk/chrome-extension 2.2.21-snapshot.v20250325155349
@clerk/clerk-js 5.57.4-snapshot.v20250325155349
@clerk/elements 0.23.6-snapshot.v20250325155349
@clerk/clerk-expo 2.9.4-snapshot.v20250325155349
@clerk/expo-passkeys 0.1.27-snapshot.v20250325155349
@clerk/express 1.3.57-snapshot.v20250325155349
@clerk/fastify 2.1.30-snapshot.v20250325155349
@clerk/localizations 3.13.2-snapshot.v20250325155349
@clerk/nextjs 6.12.10-snapshot.v20250325155349
@clerk/nuxt 1.4.4-snapshot.v20250325155349
@clerk/clerk-react 5.25.3-snapshot.v20250325155349
@clerk/react-router 1.1.9-snapshot.v20250325155349
@clerk/remix 4.5.9-snapshot.v20250325155349
@clerk/shared 3.2.1-snapshot.v20250325155349
@clerk/tanstack-react-start 0.12.0-snapshot.v20250325155349
@clerk/testing 1.4.31-snapshot.v20250325155349
@clerk/themes 2.2.24-snapshot.v20250325155349
@clerk/types 4.49.2-snapshot.v20250325155349
@clerk/vue 1.4.3-snapshot.v20250325155349

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/agent-toolkit

npm i @clerk/agent-toolkit@0.0.14-snapshot.v20250325155349 --save-exact

@clerk/astro

npm i @clerk/astro@2.4.3-snapshot.v20250325155349 --save-exact

@clerk/backend

npm i @clerk/backend@1.25.6-snapshot.v20250325155349 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.2.21-snapshot.v20250325155349 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.57.4-snapshot.v20250325155349 --save-exact

@clerk/elements

npm i @clerk/elements@0.23.6-snapshot.v20250325155349 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.9.4-snapshot.v20250325155349 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.1.27-snapshot.v20250325155349 --save-exact

@clerk/express

npm i @clerk/express@1.3.57-snapshot.v20250325155349 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.1.30-snapshot.v20250325155349 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.13.2-snapshot.v20250325155349 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.12.10-snapshot.v20250325155349 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.4.4-snapshot.v20250325155349 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.25.3-snapshot.v20250325155349 --save-exact

@clerk/react-router

npm i @clerk/react-router@1.1.9-snapshot.v20250325155349 --save-exact

@clerk/remix

npm i @clerk/remix@4.5.9-snapshot.v20250325155349 --save-exact

@clerk/shared

npm i @clerk/shared@3.2.1-snapshot.v20250325155349 --save-exact

@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.12.0-snapshot.v20250325155349 --save-exact

@clerk/testing

npm i @clerk/testing@1.4.31-snapshot.v20250325155349 --save-exact

@clerk/themes

npm i @clerk/themes@2.2.24-snapshot.v20250325155349 --save-exact

@clerk/types

npm i @clerk/types@4.49.2-snapshot.v20250325155349 --save-exact

@clerk/vue

npm i @clerk/vue@1.4.3-snapshot.v20250325155349 --save-exact

@wobsoriano wobsoriano merged commit c1ace0d into main Mar 25, 2025
30 checks passed
@wobsoriano wobsoriano deleted the rob/eco-514-tanstack-react-start branch March 25, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants