clerk / javascript

Official JavaScript repository for Clerk authentication
https://clerk.com
MIT License
1.18k stars 265 forks source link

WIP: Add react-router SDK #4621

Open LekoArts opened 4 days ago

LekoArts commented 4 days ago

Description

Add @clerk/react-router package to support React Router v7 (https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v700).

Checklist

Type of change

changeset-bot[bot] commented 4 days ago

🦋 Changeset detected

Latest commit: 57c66755c5ef6cfde8fa767f69b7c114b6fbd28c

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

This PR includes changesets to release 1 package | Name | Type | | ------------------- | ----- | | @clerk/react-router | Patch |

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[bot] commented 4 days ago

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 Nov 25, 2024 3:29pm
LekoArts commented 3 days ago

!snapshot

clerk-cookie commented 3 days ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/astro 1.4.14-snapshot.v20241122094745
@clerk/backend 1.17.1-snapshot.v20241122094745
@clerk/chrome-extension 1.3.38-snapshot.v20241122094745
@clerk/clerk-js 5.34.4-snapshot.v20241122094745
@clerk/dev-cli 0.0.9-snapshot.v20241122094745
@clerk/elements 0.19.5-snapshot.v20241122094745
@clerk/clerk-expo 2.3.7-snapshot.v20241122094745
@clerk/expo-passkeys 0.0.7-snapshot.v20241122094745
@clerk/express 1.3.16-snapshot.v20241122094745
@clerk/fastify 2.0.18-snapshot.v20241122094745
@clerk/localizations 3.6.5-snapshot.v20241122094745
@clerk/nextjs 6.4.1-snapshot.v20241122094745
@clerk/nuxt 0.0.2-snapshot.v20241122094745
@clerk/clerk-react 5.16.1-snapshot.v20241122094745
@clerk/react-router 0.0.1-snapshot.v20241122094745
@clerk/remix 4.2.54-snapshot.v20241122094745
@clerk/clerk-sdk-node 5.0.67-snapshot.v20241122094745
@clerk/shared 2.16.0-snapshot.v20241122094745
@clerk/tanstack-start 0.5.1-snapshot.v20241122094745
@clerk/testing 1.3.28-snapshot.v20241122094745
@clerk/themes 2.1.46-snapshot.v20241122094745
@clerk/types 4.34.1-snapshot.v20241122094745
@clerk/ui 0.1.22-snapshot.v20241122094745
@clerk/vue 0.0.6-snapshot.v20241122094745

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

npm i @clerk/astro@1.4.14-snapshot.v20241122094745 --save-exact

@clerk/backend

npm i @clerk/backend@1.17.1-snapshot.v20241122094745 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.3.38-snapshot.v20241122094745 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.34.4-snapshot.v20241122094745 --save-exact

@clerk/dev-cli

npm i @clerk/dev-cli@0.0.9-snapshot.v20241122094745 --save-exact

@clerk/elements

npm i @clerk/elements@0.19.5-snapshot.v20241122094745 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.3.7-snapshot.v20241122094745 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.0.7-snapshot.v20241122094745 --save-exact

@clerk/express

npm i @clerk/express@1.3.16-snapshot.v20241122094745 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.0.18-snapshot.v20241122094745 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.6.5-snapshot.v20241122094745 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.4.1-snapshot.v20241122094745 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@0.0.2-snapshot.v20241122094745 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.16.1-snapshot.v20241122094745 --save-exact

@clerk/react-router

npm i @clerk/react-router@0.0.1-snapshot.v20241122094745 --save-exact

@clerk/remix

npm i @clerk/remix@4.2.54-snapshot.v20241122094745 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.67-snapshot.v20241122094745 --save-exact

@clerk/shared

npm i @clerk/shared@2.16.0-snapshot.v20241122094745 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.5.1-snapshot.v20241122094745 --save-exact

@clerk/testing

npm i @clerk/testing@1.3.28-snapshot.v20241122094745 --save-exact

@clerk/themes

npm i @clerk/themes@2.1.46-snapshot.v20241122094745 --save-exact

@clerk/types

npm i @clerk/types@4.34.1-snapshot.v20241122094745 --save-exact

@clerk/ui

npm i @clerk/ui@0.1.22-snapshot.v20241122094745 --save-exact

@clerk/vue

npm i @clerk/vue@0.0.6-snapshot.v20241122094745 --save-exact
LekoArts commented 3 days ago

!snapshot

clerk-cookie commented 3 days ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/astro 1.4.14-snapshot.v20241122101854
@clerk/backend 1.17.1-snapshot.v20241122101854
@clerk/chrome-extension 1.3.38-snapshot.v20241122101854
@clerk/clerk-js 5.34.4-snapshot.v20241122101854
@clerk/dev-cli 0.0.9-snapshot.v20241122101854
@clerk/elements 0.19.5-snapshot.v20241122101854
@clerk/clerk-expo 2.3.7-snapshot.v20241122101854
@clerk/expo-passkeys 0.0.7-snapshot.v20241122101854
@clerk/express 1.3.16-snapshot.v20241122101854
@clerk/fastify 2.0.18-snapshot.v20241122101854
@clerk/localizations 3.6.5-snapshot.v20241122101854
@clerk/nextjs 6.4.1-snapshot.v20241122101854
@clerk/nuxt 0.0.2-snapshot.v20241122101854
@clerk/clerk-react 5.16.1-snapshot.v20241122101854
@clerk/react-router 0.0.1-snapshot.v20241122101854
@clerk/remix 4.2.54-snapshot.v20241122101854
@clerk/clerk-sdk-node 5.0.67-snapshot.v20241122101854
@clerk/shared 2.16.0-snapshot.v20241122101854
@clerk/tanstack-start 0.5.1-snapshot.v20241122101854
@clerk/testing 1.3.28-snapshot.v20241122101854
@clerk/themes 2.1.46-snapshot.v20241122101854
@clerk/types 4.34.1-snapshot.v20241122101854
@clerk/ui 0.1.22-snapshot.v20241122101854
@clerk/vue 0.0.6-snapshot.v20241122101854

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

npm i @clerk/astro@1.4.14-snapshot.v20241122101854 --save-exact

@clerk/backend

npm i @clerk/backend@1.17.1-snapshot.v20241122101854 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.3.38-snapshot.v20241122101854 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.34.4-snapshot.v20241122101854 --save-exact

@clerk/dev-cli

npm i @clerk/dev-cli@0.0.9-snapshot.v20241122101854 --save-exact

@clerk/elements

npm i @clerk/elements@0.19.5-snapshot.v20241122101854 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.3.7-snapshot.v20241122101854 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.0.7-snapshot.v20241122101854 --save-exact

@clerk/express

npm i @clerk/express@1.3.16-snapshot.v20241122101854 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.0.18-snapshot.v20241122101854 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.6.5-snapshot.v20241122101854 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.4.1-snapshot.v20241122101854 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@0.0.2-snapshot.v20241122101854 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.16.1-snapshot.v20241122101854 --save-exact

@clerk/react-router

npm i @clerk/react-router@0.0.1-snapshot.v20241122101854 --save-exact

@clerk/remix

npm i @clerk/remix@4.2.54-snapshot.v20241122101854 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.67-snapshot.v20241122101854 --save-exact

@clerk/shared

npm i @clerk/shared@2.16.0-snapshot.v20241122101854 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.5.1-snapshot.v20241122101854 --save-exact

@clerk/testing

npm i @clerk/testing@1.3.28-snapshot.v20241122101854 --save-exact

@clerk/themes

npm i @clerk/themes@2.1.46-snapshot.v20241122101854 --save-exact

@clerk/types

npm i @clerk/types@4.34.1-snapshot.v20241122101854 --save-exact

@clerk/ui

npm i @clerk/ui@0.1.22-snapshot.v20241122101854 --save-exact

@clerk/vue

npm i @clerk/vue@0.0.6-snapshot.v20241122101854 --save-exact
LekoArts commented 3 days ago

!snapshot

clerk-cookie commented 3 days ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/astro 1.4.14-snapshot.v20241122133647
@clerk/backend 1.17.1-snapshot.v20241122133647
@clerk/chrome-extension 1.3.38-snapshot.v20241122133647
@clerk/clerk-js 5.34.4-snapshot.v20241122133647
@clerk/dev-cli 0.0.9-snapshot.v20241122133647
@clerk/elements 0.19.5-snapshot.v20241122133647
@clerk/clerk-expo 2.3.7-snapshot.v20241122133647
@clerk/expo-passkeys 0.0.7-snapshot.v20241122133647
@clerk/express 1.3.16-snapshot.v20241122133647
@clerk/fastify 2.0.18-snapshot.v20241122133647
@clerk/localizations 3.6.5-snapshot.v20241122133647
@clerk/nextjs 6.4.1-snapshot.v20241122133647
@clerk/nuxt 0.0.2-snapshot.v20241122133647
@clerk/clerk-react 5.16.1-snapshot.v20241122133647
@clerk/react-router 0.0.1-snapshot.v20241122133647
@clerk/remix 4.2.54-snapshot.v20241122133647
@clerk/clerk-sdk-node 5.0.67-snapshot.v20241122133647
@clerk/shared 2.16.0-snapshot.v20241122133647
@clerk/tanstack-start 0.5.1-snapshot.v20241122133647
@clerk/testing 1.3.28-snapshot.v20241122133647
@clerk/themes 2.1.46-snapshot.v20241122133647
@clerk/types 4.34.1-snapshot.v20241122133647
@clerk/ui 0.1.22-snapshot.v20241122133647
@clerk/vue 0.0.6-snapshot.v20241122133647

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

npm i @clerk/astro@1.4.14-snapshot.v20241122133647 --save-exact

@clerk/backend

npm i @clerk/backend@1.17.1-snapshot.v20241122133647 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.3.38-snapshot.v20241122133647 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.34.4-snapshot.v20241122133647 --save-exact

@clerk/dev-cli

npm i @clerk/dev-cli@0.0.9-snapshot.v20241122133647 --save-exact

@clerk/elements

npm i @clerk/elements@0.19.5-snapshot.v20241122133647 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.3.7-snapshot.v20241122133647 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.0.7-snapshot.v20241122133647 --save-exact

@clerk/express

npm i @clerk/express@1.3.16-snapshot.v20241122133647 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.0.18-snapshot.v20241122133647 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.6.5-snapshot.v20241122133647 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.4.1-snapshot.v20241122133647 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@0.0.2-snapshot.v20241122133647 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.16.1-snapshot.v20241122133647 --save-exact

@clerk/react-router

npm i @clerk/react-router@0.0.1-snapshot.v20241122133647 --save-exact

@clerk/remix

npm i @clerk/remix@4.2.54-snapshot.v20241122133647 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.67-snapshot.v20241122133647 --save-exact

@clerk/shared

npm i @clerk/shared@2.16.0-snapshot.v20241122133647 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.5.1-snapshot.v20241122133647 --save-exact

@clerk/testing

npm i @clerk/testing@1.3.28-snapshot.v20241122133647 --save-exact

@clerk/themes

npm i @clerk/themes@2.1.46-snapshot.v20241122133647 --save-exact

@clerk/types

npm i @clerk/types@4.34.1-snapshot.v20241122133647 --save-exact

@clerk/ui

npm i @clerk/ui@0.1.22-snapshot.v20241122133647 --save-exact

@clerk/vue

npm i @clerk/vue@0.0.6-snapshot.v20241122133647 --save-exact
LekoArts commented 3 days ago

!snapshot

clerk-cookie commented 3 days ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/astro 1.4.14-snapshot.v20241122150853
@clerk/backend 1.17.1-snapshot.v20241122150853
@clerk/chrome-extension 1.3.38-snapshot.v20241122150853
@clerk/clerk-js 5.34.4-snapshot.v20241122150853
@clerk/dev-cli 0.0.9-snapshot.v20241122150853
@clerk/elements 0.19.5-snapshot.v20241122150853
@clerk/clerk-expo 2.3.7-snapshot.v20241122150853
@clerk/expo-passkeys 0.0.7-snapshot.v20241122150853
@clerk/express 1.3.16-snapshot.v20241122150853
@clerk/fastify 2.0.18-snapshot.v20241122150853
@clerk/localizations 3.6.5-snapshot.v20241122150853
@clerk/nextjs 6.4.1-snapshot.v20241122150853
@clerk/nuxt 0.0.2-snapshot.v20241122150853
@clerk/clerk-react 5.16.1-snapshot.v20241122150853
@clerk/react-router 0.0.1-snapshot.v20241122150853
@clerk/remix 4.2.54-snapshot.v20241122150853
@clerk/clerk-sdk-node 5.0.67-snapshot.v20241122150853
@clerk/shared 2.16.0-snapshot.v20241122150853
@clerk/tanstack-start 0.5.1-snapshot.v20241122150853
@clerk/testing 1.3.28-snapshot.v20241122150853
@clerk/themes 2.1.46-snapshot.v20241122150853
@clerk/types 4.34.1-snapshot.v20241122150853
@clerk/ui 0.1.22-snapshot.v20241122150853
@clerk/vue 0.0.6-snapshot.v20241122150853

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

npm i @clerk/astro@1.4.14-snapshot.v20241122150853 --save-exact

@clerk/backend

npm i @clerk/backend@1.17.1-snapshot.v20241122150853 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.3.38-snapshot.v20241122150853 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.34.4-snapshot.v20241122150853 --save-exact

@clerk/dev-cli

npm i @clerk/dev-cli@0.0.9-snapshot.v20241122150853 --save-exact

@clerk/elements

npm i @clerk/elements@0.19.5-snapshot.v20241122150853 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.3.7-snapshot.v20241122150853 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.0.7-snapshot.v20241122150853 --save-exact

@clerk/express

npm i @clerk/express@1.3.16-snapshot.v20241122150853 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.0.18-snapshot.v20241122150853 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.6.5-snapshot.v20241122150853 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.4.1-snapshot.v20241122150853 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@0.0.2-snapshot.v20241122150853 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.16.1-snapshot.v20241122150853 --save-exact

@clerk/react-router

npm i @clerk/react-router@0.0.1-snapshot.v20241122150853 --save-exact

@clerk/remix

npm i @clerk/remix@4.2.54-snapshot.v20241122150853 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.67-snapshot.v20241122150853 --save-exact

@clerk/shared

npm i @clerk/shared@2.16.0-snapshot.v20241122150853 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.5.1-snapshot.v20241122150853 --save-exact

@clerk/testing

npm i @clerk/testing@1.3.28-snapshot.v20241122150853 --save-exact

@clerk/themes

npm i @clerk/themes@2.1.46-snapshot.v20241122150853 --save-exact

@clerk/types

npm i @clerk/types@4.34.1-snapshot.v20241122150853 --save-exact

@clerk/ui

npm i @clerk/ui@0.1.22-snapshot.v20241122150853 --save-exact

@clerk/vue

npm i @clerk/vue@0.0.6-snapshot.v20241122150853 --save-exact
LekoArts commented 1 day ago

!snapshot

clerk-cookie commented 1 day ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/react-router 0.0.1-snapshot.v20241125084600

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

npm i @clerk/react-router@0.0.1-snapshot.v20241125084600 --save-exact
LekoArts commented 18 hours ago

!snapshot

clerk-cookie commented 18 hours ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/react-router 0.0.1-snapshot.v20241125151258

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

npm i @clerk/react-router@0.0.1-snapshot.v20241125151258 --save-exact
LekoArts commented 17 hours ago

!snapshot

clerk-cookie commented 17 hours ago
Hey @LekoArts - the snapshot version command generated the following package versions: Package Version
@clerk/react-router 0.0.1-snapshot.v20241125152946

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

npm i @clerk/react-router@0.0.1-snapshot.v20241125152946 --save-exact