diff --git a/.changeset/angry-tomatoes-design.md b/.changeset/angry-tomatoes-design.md deleted file mode 100644 index 4ed52c36b7..0000000000 --- a/.changeset/angry-tomatoes-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/nextjs": patch ---- - -Update dependency path-to-regexp to v6.2.2 diff --git a/.changeset/blue-balloons-breathe.md b/.changeset/blue-balloons-breathe.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/blue-balloons-breathe.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/brave-bees-kick.md b/.changeset/brave-bees-kick.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/brave-bees-kick.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/calm-wasps-accept.md b/.changeset/calm-wasps-accept.md deleted file mode 100644 index 2a3ea3b0bc..0000000000 --- a/.changeset/calm-wasps-accept.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -'@clerk/clerk-expo': minor ---- - -Introduce `getClerkInstance()` to avoid importing the Clerk class from clerk-js manually. - -This enables developers to create and access a Clerk instance in their application outside of React. -```tsx -import { ClerkProvider, getClerkInstance } from "@clerk/expo" - -const clerkInstance = getClerkInstance({ publishableKey: 'xxxx' }) - -// Always pass the `publishableKey` to `ClerkProvider` - - ... - - -// Somewhere in your code, outside of React you can do -const token = await clerkInstance.session?.getToken(); -fetch('http://example.com/', {headers: {Authorization: token }) -``` -```tsx -import { ClerkProvider, getClerkInstance } from "@clerk/expo" - -// Always pass the `publishableKey` to `ClerkProvider` - - ... - - -// If you sure that this code will run after the ClerkProvider has rendered then you can use `getClerkIntance` without options -const token = await getClerkInstance().session?.getToken(); -fetch('http://example.com/', {headers: {Authorization: token }) - -``` -Attention: If `getClerkInstance` is called without a publishable key, and ClerkProvider has not rendered yet, an error will be thrown - diff --git a/.changeset/chilly-garlics-reply.md b/.changeset/chilly-garlics-reply.md deleted file mode 100644 index 63ae8cc752..0000000000 --- a/.changeset/chilly-garlics-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -In some instances your application logo (shown at the top of the sign-in/sign-up form of the prebuilt components) might have been distorted in browsers like Firefox. By applying `object-fit: contain` to the image's CSS the logo now fills its bounding box without being distorted. diff --git a/.changeset/cold-chicken-drop.md b/.changeset/cold-chicken-drop.md deleted file mode 100644 index a1ce6d5e23..0000000000 --- a/.changeset/cold-chicken-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Support remounting ClerkProvider multiple times by making sure that the `updateProps` call during the loading phase does not override any defaults set by `Clerk.load()` for values that are missing diff --git a/.changeset/dirty-panthers-perform.md b/.changeset/dirty-panthers-perform.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/dirty-panthers-perform.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/dirty-paws-count.md b/.changeset/dirty-paws-count.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/dirty-paws-count.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/eighty-rabbits-yawn.md b/.changeset/eighty-rabbits-yawn.md deleted file mode 100644 index ddc48ccd8e..0000000000 --- a/.changeset/eighty-rabbits-yawn.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@clerk/remix': minor ---- - -Support new redirect urls as environment variables or options to rootAuthLoader - -As options -- signInForceRedirectUrl -- signUpForceRedirectUrl -- signInFallbackRedirectUrl -- signUpFallbackRedirectUrl - -As environment variables -- CLERK_SIGN_IN_FORCE_REDIRECT_URL -- CLERK_SIGN_UP_FORCE_REDIRECT_URL -- CLERK_SIGN_IN_FALLBACK_REDIRECT_URL -- CLERK_SIGN_UP_FALLBACK_REDIRECT_URL diff --git a/.changeset/eleven-toes-poke.md b/.changeset/eleven-toes-poke.md deleted file mode 100644 index 4dfc59bf8e..0000000000 --- a/.changeset/eleven-toes-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Sms phone code verification lists available phone numbers on cancel. diff --git a/.changeset/empty-deers-notice.md b/.changeset/empty-deers-notice.md deleted file mode 100644 index 0c65810650..0000000000 --- a/.changeset/empty-deers-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/shared": patch ---- - -Update `js-cookie` from `3.0.1` to `3.0.5`. Update `swr` from `2.2.0` to `2.2.5`. diff --git a/.changeset/gentle-brooms-worry.md b/.changeset/gentle-brooms-worry.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/gentle-brooms-worry.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/giant-cougars-grab.md b/.changeset/giant-cougars-grab.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/giant-cougars-grab.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/giant-poems-drum.md b/.changeset/giant-poems-drum.md deleted file mode 100644 index d534eba8a1..0000000000 --- a/.changeset/giant-poems-drum.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@clerk/clerk-expo': patch ---- - -Support `EXPO_PUBLIC_` prefixes for env variables. -```dotenv -## .env - -EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=xxxxxxxx -``` diff --git a/.changeset/hot-chefs-cross.md b/.changeset/hot-chefs-cross.md deleted file mode 100644 index 8e5746472b..0000000000 --- a/.changeset/hot-chefs-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/localizations": patch ---- - -Update profile primary button text and nav text in fr-FR & zh-CN diff --git a/.changeset/itchy-mirrors-decide.md b/.changeset/itchy-mirrors-decide.md deleted file mode 100644 index dfd472eed6..0000000000 --- a/.changeset/itchy-mirrors-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/elements': patch ---- - -Fix forms unable to submit upon re-mounting diff --git a/.changeset/lemon-crews-hammer.md b/.changeset/lemon-crews-hammer.md deleted file mode 100644 index c8c677cece..0000000000 --- a/.changeset/lemon-crews-hammer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@clerk/elements': minor ---- - -- Adds virtual router to support modal scenarios -- Adds `routing` prop to `SignIn.Root` and `SignUp.Root` for handling `virtual` routing -- Better support for Account Portal redirect callback flows diff --git a/.changeset/mean-buckets-occur.md b/.changeset/mean-buckets-occur.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/mean-buckets-occur.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/metal-foxes-raise.md b/.changeset/metal-foxes-raise.md deleted file mode 100644 index b960dae386..0000000000 --- a/.changeset/metal-foxes-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-react': patch ---- - -Update `SignUpButton` and `SignInButton` to respect `forceRedirect` and `fallbackRedirect` props. Previously, these were getting ignored and successful completions of the flows would fallback to the default redirect URL. diff --git a/.changeset/perfect-penguins-swim.md b/.changeset/perfect-penguins-swim.md deleted file mode 100644 index b2d5de79dd..0000000000 --- a/.changeset/perfect-penguins-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Only render active sessions in the active devices section. Fixes the bug where a device with no information would render upon revoking. diff --git a/.changeset/pretty-hounds-drive.md b/.changeset/pretty-hounds-drive.md deleted file mode 100644 index ec380ec43f..0000000000 --- a/.changeset/pretty-hounds-drive.md +++ /dev/null @@ -1,3 +0,0 @@ ---- ---- - diff --git a/.changeset/proud-fans-report.md b/.changeset/proud-fans-report.md deleted file mode 100644 index 1c0e37e57e..0000000000 --- a/.changeset/proud-fans-report.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@clerk/localizations': patch -'@clerk/elements': patch -'@clerk/clerk-sdk-node': patch -'@clerk/backend': patch -'@clerk/express': patch -'@clerk/nextjs': patch -'@clerk/shared': patch -'@clerk/remix': patch -'@clerk/clerk-expo': patch ---- - -Set `@clerk/types` as a dependency for packages that had it as a dev dependency. diff --git a/.changeset/rotten-eyes-tickle.md b/.changeset/rotten-eyes-tickle.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/rotten-eyes-tickle.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/short-buttons-doubt.md b/.changeset/short-buttons-doubt.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/short-buttons-doubt.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/shy-phones-leave.md b/.changeset/shy-phones-leave.md deleted file mode 100644 index c0c3cfe006..0000000000 --- a/.changeset/shy-phones-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/localizations": patch ---- - -Updates on ko-KR localization diff --git a/.changeset/six-glasses-draw.md b/.changeset/six-glasses-draw.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/six-glasses-draw.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/sixty-ears-rest.md b/.changeset/sixty-ears-rest.md deleted file mode 100644 index c59bdb3a1e..0000000000 --- a/.changeset/sixty-ears-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Fixed a bug where Clerk components rendered in modals were wrapped with `aria-hidden`. diff --git a/.changeset/small-cycles-hug.md b/.changeset/small-cycles-hug.md deleted file mode 100644 index fa681ebe7a..0000000000 --- a/.changeset/small-cycles-hug.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@clerk/nextjs': patch ---- - -Updated the check ran against the error caught by `buildRequestLike()` to re-throw Static Bailout errors thrown by React in the context of PPR (Partial Pre-Rendering), as these errors shouldn't be caught. This change was required as we have been checking the error message itself, but stopped working after the message was changed in a Next.js update a few months ago. - -- Breaking PR: https://github.com/vercel/next.js/commit/3008af6b0e7b2c8aadd986bdcbce5bad6c39ccc8#diff-20c354509ae1e93e143d91b67b75e3df592c38b7d1ec6ccf7c4a2f72b32ab17d -- Why PPR errors shouldn't be caught: https://nextjs.org/docs/messages/ppr-caught-error -- Previous fix: https://github.com/clerk/javascript/pull/2518 diff --git a/.changeset/soft-beers-hunt.md b/.changeset/soft-beers-hunt.md deleted file mode 100644 index c774002f60..0000000000 --- a/.changeset/soft-beers-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Bug fix: statically loading a resource would result in an increase in bundle size for `clerk.browser.js`. diff --git a/.changeset/strong-weeks-destroy.md b/.changeset/strong-weeks-destroy.md deleted file mode 100644 index b4fa940445..0000000000 --- a/.changeset/strong-weeks-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/elements': patch ---- - -Ensure missing passwordSettings don't throw an error diff --git a/.changeset/tender-comics-kick.md b/.changeset/tender-comics-kick.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/tender-comics-kick.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/three-eels-battle.md b/.changeset/three-eels-battle.md deleted file mode 100644 index 0c1aecffa7..0000000000 --- a/.changeset/three-eels-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/nextjs': patch ---- - -Bug fix: Correctly update history state when on internal navigations. diff --git a/.changeset/tiny-timers-sit.md b/.changeset/tiny-timers-sit.md deleted file mode 100644 index e242f385c9..0000000000 --- a/.changeset/tiny-timers-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/types': patch ---- - -Add support for Enstall OAuth provider diff --git a/.changeset/tough-lamps-itch.md b/.changeset/tough-lamps-itch.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/tough-lamps-itch.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/two-spiders-return.md b/.changeset/two-spiders-return.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/two-spiders-return.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/unlucky-buckets-roll.md b/.changeset/unlucky-buckets-roll.md deleted file mode 100644 index 43c584bee3..0000000000 --- a/.changeset/unlucky-buckets-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/localizations": patch ---- - -Add passkeys localizations for the `es-MX` locale diff --git a/.changeset/unlucky-moles-cover.md b/.changeset/unlucky-moles-cover.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/unlucky-moles-cover.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/violet-eyes-help.md b/.changeset/violet-eyes-help.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/violet-eyes-help.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/violet-insects-ring.md b/.changeset/violet-insects-ring.md deleted file mode 100644 index e011f40150..0000000000 --- a/.changeset/violet-insects-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/elements': patch ---- - -Display hard to catch errors inside the sign-in verification step during development (when `NODE_ENV` is set to `development`). diff --git a/.changeset/warm-candles-thank.md b/.changeset/warm-candles-thank.md deleted file mode 100644 index 3176272b1d..0000000000 --- a/.changeset/warm-candles-thank.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@clerk/clerk-js': minor -'@clerk/types': minor ---- - -Add descriptor for formatted dates in tables. Those elements can be identified by the `cl-formattedDate__tableCell` css class. diff --git a/.changeset/weak-clouds-tan.md b/.changeset/weak-clouds-tan.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/weak-clouds-tan.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/wise-chairs-carry.md b/.changeset/wise-chairs-carry.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/wise-chairs-carry.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/yellow-deers-dress.md b/.changeset/yellow-deers-dress.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/yellow-deers-dress.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/package-lock.json b/package-lock.json index c45e607a1c..c85aafc6eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38955,11 +38955,11 @@ }, "packages/backend": { "name": "@clerk/backend", - "version": "1.2.1", + "version": "1.2.2", "license": "MIT", "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" @@ -39072,12 +39072,12 @@ }, "packages/chrome-extension": { "name": "@clerk/chrome-extension", - "version": "1.0.16", + "version": "1.0.17", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.5.3", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", + "@clerk/clerk-js": "5.6.0", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", "webextension-polyfill": "^0.10.0" }, "devDependencies": { @@ -39121,12 +39121,12 @@ }, "packages/clerk-js": { "name": "@clerk/clerk-js", - "version": "5.5.3", + "version": "5.6.0", "license": "MIT", "dependencies": { - "@clerk/localizations": "2.4.3", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/localizations": "2.4.4", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", "@floating-ui/react": "0.25.4", @@ -39642,10 +39642,10 @@ }, "packages/elements": { "name": "@clerk/elements", - "version": "0.5.2", + "version": "0.6.0", "license": "MIT", "dependencies": { - "@clerk/types": "^4.5.1", + "@clerk/types": "^4.6.0", "@radix-ui/react-form": "^0.0.3", "@radix-ui/react-slot": "^1.0.2", "@xstate/react": "^4.1.1", @@ -39653,9 +39653,9 @@ "xstate": "^5.13.0" }, "devDependencies": { - "@clerk/clerk-react": "5.2.2", + "@clerk/clerk-react": "5.2.3", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.2.1", + "@clerk/shared": "2.2.2", "@statelyai/inspect": "^0.3.1", "@types/node": "^18.19.33", "@types/react": "*", @@ -40088,13 +40088,13 @@ }, "packages/expo": { "name": "@clerk/clerk-expo", - "version": "1.1.8", + "version": "1.2.0", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.5.3", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/clerk-js": "5.6.0", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" @@ -40174,12 +40174,12 @@ }, "packages/express": { "name": "@clerk/express", - "version": "0.0.10", + "version": "0.0.11", "license": "MIT", "dependencies": { - "@clerk/backend": "^1.2.1", - "@clerk/shared": "^2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "^1.2.2", + "@clerk/shared": "^2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { @@ -40202,12 +40202,12 @@ }, "packages/fastify": { "name": "@clerk/fastify", - "version": "1.0.12", + "version": "1.0.13", "license": "MIT", "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookies": "0.8.0" }, "devDependencies": { @@ -40228,10 +40228,10 @@ "version": "5.0.0-beta.45", "license": "MIT", "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/clerk-sdk-node": "5.0.9", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/clerk-sdk-node": "5.0.10", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "tslib": "2.4.1" }, @@ -40255,10 +40255,10 @@ }, "packages/localizations": { "name": "@clerk/localizations", - "version": "2.4.3", + "version": "2.4.4", "license": "MIT", "dependencies": { - "@clerk/types": "4.5.1" + "@clerk/types": "4.6.0" }, "devDependencies": { "@clerk/eslint-config-custom": "*", @@ -40271,13 +40271,13 @@ }, "packages/nextjs": { "name": "@clerk/nextjs", - "version": "5.1.3", + "version": "5.1.4", "license": "MIT", "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "crypto-js": "4.2.0", "path-to-regexp": "6.2.2", "tslib": "2.4.1" @@ -40535,16 +40535,16 @@ }, "packages/react": { "name": "@clerk/clerk-react", - "version": "5.2.2", + "version": "5.2.3", "license": "MIT", "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.8", + "@clerk/themes": "2.1.9", "@types/node": "^18.19.33", "@types/react": "*", "@types/react-dom": "*", @@ -40565,13 +40565,13 @@ }, "packages/remix": { "name": "@clerk/remix", - "version": "4.0.13", + "version": "4.1.0", "license": "MIT", "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "tslib": "2.4.1" }, @@ -40601,12 +40601,12 @@ }, "packages/sdk-node": { "name": "@clerk/clerk-sdk-node", - "version": "5.0.9", + "version": "5.0.10", "license": "MIT", "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { @@ -40629,11 +40629,11 @@ }, "packages/shared": { "name": "@clerk/shared", - "version": "2.2.1", + "version": "2.2.2", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@clerk/types": "4.5.1", + "@clerk/types": "4.6.0", "glob-to-regexp": "0.4.1", "js-cookie": "3.0.5", "std-env": "^3.7.0", @@ -40733,11 +40733,11 @@ }, "packages/testing": { "name": "@clerk/testing", - "version": "1.1.5", + "version": "1.1.6", "license": "MIT", "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "dotenv": "16.4.5" }, "devDependencies": { @@ -40776,10 +40776,10 @@ }, "packages/themes": { "name": "@clerk/themes", - "version": "2.1.8", + "version": "2.1.9", "license": "MIT", "dependencies": { - "@clerk/types": "4.5.1", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { @@ -40796,7 +40796,7 @@ }, "packages/types": { "name": "@clerk/types", - "version": "4.5.1", + "version": "4.6.0", "license": "MIT", "dependencies": { "csstype": "3.1.1" diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index 1cbb75bd2c..8ef955aff7 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 1.2.2 + +### Patch Changes + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/types@4.6.0 + ## 1.2.1 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index 5360c24a27..752d8d3d03 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "1.2.1", + "version": "1.2.2", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "homepage": "https://clerk.com/", "bugs": { @@ -95,8 +95,8 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" diff --git a/packages/chrome-extension/CHANGELOG.md b/packages/chrome-extension/CHANGELOG.md index 65c87d9840..266d7f2772 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.17 + +### Patch Changes + +- Updated dependencies [[`89318f820`](https://github.com/clerk/javascript/commit/89318f820d9089819bcf8241638a82b9a204d6e9), [`a53622b05`](https://github.com/clerk/javascript/commit/a53622b05c0aacd4a436a1fee707f24905e99a72), [`f31e38234`](https://github.com/clerk/javascript/commit/f31e382345955dd81984e35710a21cc441c039df), [`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`ec41bb73e`](https://github.com/clerk/javascript/commit/ec41bb73eb72d175a086497fc09e6454bdf5bc0f), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`c054dcb78`](https://github.com/clerk/javascript/commit/c054dcb785e228da4f20e253b877bdf94dd94895), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/clerk-js@5.6.0 + - @clerk/shared@2.2.2 + - @clerk/clerk-react@5.2.3 + ## 1.0.16 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index bdfcbf7859..faf5dfbcd3 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "1.0.16", + "version": "1.0.17", "description": "Clerk SDK for Chrome extensions", "keywords": [ "auth", @@ -44,9 +44,9 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/clerk-js": "5.5.3", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", + "@clerk/clerk-js": "5.6.0", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", "webextension-polyfill": "^0.10.0" }, "devDependencies": { diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index 8cc048c241..47b66aa790 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,30 @@ # Change Log +## 5.6.0 + +### Minor Changes + +- Add descriptor for formatted dates in tables. Those elements can be identified by the `cl-formattedDate__tableCell` css class. ([#3465](https://github.com/clerk/javascript/pull/3465)) by [@panteliselef](https://github.com/panteliselef) + +### Patch Changes + +- In some instances your application logo (shown at the top of the sign-in/sign-up form of the prebuilt components) might have been distorted in browsers like Firefox. By applying `object-fit: contain` to the image's CSS the logo now fills its bounding box without being distorted. ([#3501](https://github.com/clerk/javascript/pull/3501)) by [@LekoArts](https://github.com/LekoArts) + +- Support remounting ClerkProvider multiple times by making sure that the `updateProps` call during the loading phase does not override any defaults set by `Clerk.load()` for values that are missing ([#3455](https://github.com/clerk/javascript/pull/3455)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Sms phone code verification lists available phone numbers on cancel. ([#3479](https://github.com/clerk/javascript/pull/3479)) by [@panteliselef](https://github.com/panteliselef) + +- Only render active sessions in the active devices section. Fixes the bug where a device with no information would render upon revoking. ([#3497](https://github.com/clerk/javascript/pull/3497)) by [@desiprisg](https://github.com/desiprisg) + +- Fixed a bug where Clerk components rendered in modals were wrapped with `aria-hidden`. ([#3508](https://github.com/clerk/javascript/pull/3508)) by [@BRKalow](https://github.com/BRKalow) + +- Bug fix: statically loading a resource would result in an increase in bundle size for `clerk.browser.js`. ([#3519](https://github.com/clerk/javascript/pull/3519)) by [@panteliselef](https://github.com/panteliselef) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`478c49b41`](https://github.com/clerk/javascript/commit/478c49b41f4fc7ef37b73b81c42dfbf99eef8aec), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`cd424c590`](https://github.com/clerk/javascript/commit/cd424c5902ba7d3b215272b11b58187752c7a78d), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`68f247444`](https://github.com/clerk/javascript/commit/68f247444e757aae642500b35263bbeaad541472), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/localizations@2.4.4 + - @clerk/types@4.6.0 + ## 5.5.3 ### Patch Changes diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index dc9fde9e0f..d990431527 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "5.5.3", + "version": "5.6.0", "description": "Clerk JS library", "keywords": [ "clerk", @@ -50,9 +50,9 @@ }, "browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0", "dependencies": { - "@clerk/localizations": "2.4.3", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/localizations": "2.4.4", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", "@floating-ui/react": "0.25.4", diff --git a/packages/elements/CHANGELOG.md b/packages/elements/CHANGELOG.md index f30cfc6598..4d5e7aaed0 100644 --- a/packages/elements/CHANGELOG.md +++ b/packages/elements/CHANGELOG.md @@ -1,5 +1,27 @@ # @clerk/elements +## 0.6.0 + +### Minor Changes + +- - Adds virtual router to support modal scenarios ([#3461](https://github.com/clerk/javascript/pull/3461)) by [@tmilewski](https://github.com/tmilewski) + + - Adds `routing` prop to `SignIn.Root` and `SignUp.Root` for handling `virtual` routing + - Better support for Account Portal redirect callback flows + +### Patch Changes + +- Fix forms unable to submit upon re-mounting ([#3473](https://github.com/clerk/javascript/pull/3473)) by [@tmilewski](https://github.com/tmilewski) + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Ensure missing passwordSettings don't throw an error ([#3474](https://github.com/clerk/javascript/pull/3474)) by [@tmilewski](https://github.com/tmilewski) + +- Display hard to catch errors inside the sign-in verification step during development (when `NODE_ENV` is set to `development`). ([#3517](https://github.com/clerk/javascript/pull/3517)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/types@4.6.0 + ## 0.5.2 ### Patch Changes diff --git a/packages/elements/package.json b/packages/elements/package.json index 267b5b049c..9c3f51fe9d 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/elements", - "version": "0.5.2", + "version": "0.6.0", "description": "Clerk Elements", "keywords": [ "clerk", @@ -70,7 +70,7 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/types": "^4.5.1", + "@clerk/types": "^4.6.0", "@radix-ui/react-form": "^0.0.3", "@radix-ui/react-slot": "^1.0.2", "@xstate/react": "^4.1.1", @@ -78,9 +78,9 @@ "xstate": "^5.13.0" }, "devDependencies": { - "@clerk/clerk-react": "5.2.2", + "@clerk/clerk-react": "5.2.3", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.2.1", + "@clerk/shared": "2.2.2", "@statelyai/inspect": "^0.3.1", "@types/node": "^18.19.33", "@types/react": "*", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index 8ca4933aba..3fbe0e9766 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,62 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- Introduce `getClerkInstance()` to avoid importing the Clerk class from clerk-js manually. ([#3420](https://github.com/clerk/javascript/pull/3420)) by [@panteliselef](https://github.com/panteliselef) + + This enables developers to create and access a Clerk instance in their application outside of React. + + ```tsx + import { ClerkProvider, getClerkInstance } from "@clerk/expo" + + const clerkInstance = getClerkInstance({ publishableKey: 'xxxx' }) + + // Always pass the `publishableKey` to `ClerkProvider` + + ... + + + // Somewhere in your code, outside of React you can do + const token = await clerkInstance.session?.getToken(); + fetch('http://example.com/', {headers: {Authorization: token }) + ``` + + ```tsx + import { ClerkProvider, getClerkInstance } from "@clerk/expo" + + // Always pass the `publishableKey` to `ClerkProvider` + + ... + + + // If you sure that this code will run after the ClerkProvider has rendered then you can use `getClerkIntance` without options + const token = await getClerkInstance().session?.getToken(); + fetch('http://example.com/', {headers: {Authorization: token }) + + ``` + + Attention: If `getClerkInstance` is called without a publishable key, and ClerkProvider has not rendered yet, an error will be thrown + +### Patch Changes + +- Support `EXPO_PUBLIC_` prefixes for env variables. ([#3498](https://github.com/clerk/javascript/pull/3498)) by [@panteliselef](https://github.com/panteliselef) + + ```dotenv + ## .env + + EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=xxxxxxxx + ``` + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`89318f820`](https://github.com/clerk/javascript/commit/89318f820d9089819bcf8241638a82b9a204d6e9), [`a53622b05`](https://github.com/clerk/javascript/commit/a53622b05c0aacd4a436a1fee707f24905e99a72), [`f31e38234`](https://github.com/clerk/javascript/commit/f31e382345955dd81984e35710a21cc441c039df), [`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`ec41bb73e`](https://github.com/clerk/javascript/commit/ec41bb73eb72d175a086497fc09e6454bdf5bc0f), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`c054dcb78`](https://github.com/clerk/javascript/commit/c054dcb785e228da4f20e253b877bdf94dd94895), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/clerk-js@5.6.0 + - @clerk/shared@2.2.2 + - @clerk/clerk-react@5.2.3 + - @clerk/types@4.6.0 + ## 1.1.8 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 419f81f630..2bc895bf5e 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "1.1.8", + "version": "1.2.0", "description": "Clerk React Native/Expo library", "keywords": [ "react", @@ -39,10 +39,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/clerk-js": "5.5.3", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/clerk-js": "5.6.0", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index e8e5954e5a..ec4e18637e 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## 0.0.11 + +### Patch Changes + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/backend@1.2.2 + - @clerk/types@4.6.0 + ## 0.0.10 ### Patch Changes diff --git a/packages/express/package.json b/packages/express/package.json index a91c538314..23e95e9ca1 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/express", - "version": "0.0.10", + "version": "0.0.11", "description": "Clerk server SDK for usage with Express", "keywords": [ "clerk", @@ -53,9 +53,9 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "^1.2.1", - "@clerk/shared": "^2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "^1.2.2", + "@clerk/shared": "^2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index e5ce09445f..5d02d69202 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.13 + +### Patch Changes + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/backend@1.2.2 + - @clerk/types@4.6.0 + ## 1.0.12 ### Patch Changes diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 29c206b9cd..25fe8dc787 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "1.0.12", + "version": "1.0.13", "description": "Clerk SDK for Fastify", "keywords": [ "auth", @@ -40,9 +40,9 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookies": "0.8.0" }, "devDependencies": { diff --git a/packages/gatsby-plugin-clerk/package.json b/packages/gatsby-plugin-clerk/package.json index 1d49095f45..26a5a042e7 100644 --- a/packages/gatsby-plugin-clerk/package.json +++ b/packages/gatsby-plugin-clerk/package.json @@ -44,10 +44,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/clerk-sdk-node": "5.0.9", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/clerk-sdk-node": "5.0.10", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index 7475171430..512cd238ed 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 2.4.4 + +### Patch Changes + +- Update profile primary button text and nav text in fr-FR & zh-CN ([#3494](https://github.com/clerk/javascript/pull/3494)) by [@youshengCode](https://github.com/youshengCode) + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updates on ko-KR localization ([#3454](https://github.com/clerk/javascript/pull/3454)) by [@jourmooney](https://github.com/jourmooney) + +- Add passkeys localizations for the `es-MX` locale ([#3453](https://github.com/clerk/javascript/pull/3453)) by [@HugoCL](https://github.com/HugoCL) + +- Updated dependencies [[`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/types@4.6.0 + ## 2.4.3 ### Patch Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index 41caa470f6..953580506f 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "2.4.3", + "version": "2.4.4", "description": "Localizations for the Clerk components", "keywords": [ "react", @@ -96,7 +96,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "4.5.1" + "@clerk/types": "4.6.0" }, "devDependencies": { "@clerk/eslint-config-custom": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index 45698088f7..99bc81cdbc 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## 5.1.4 + +### Patch Changes + +- Update dependency path-to-regexp to v6.2.2 ([#3490](https://github.com/clerk/javascript/pull/3490)) by [@renovate](https://github.com/apps/renovate) + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated the check ran against the error caught by `buildRequestLike()` to re-throw Static Bailout errors thrown by React in the context of PPR (Partial Pre-Rendering), as these errors shouldn't be caught. This change was required as we have been checking the error message itself, but stopped working after the message was changed in a Next.js update a few months ago. ([#3499](https://github.com/clerk/javascript/pull/3499)) by [@ceIia](https://github.com/ceIia) + + - Breaking PR: https://github.com/vercel/next.js/commit/3008af6b0e7b2c8aadd986bdcbce5bad6c39ccc8#diff-20c354509ae1e93e143d91b67b75e3df592c38b7d1ec6ccf7c4a2f72b32ab17d + - Why PPR errors shouldn't be caught: https://nextjs.org/docs/messages/ppr-caught-error + - Previous fix: https://github.com/clerk/javascript/pull/2518 + +- Bug fix: Correctly update history state when on internal navigations. ([#3480](https://github.com/clerk/javascript/pull/3480)) by [@panteliselef](https://github.com/panteliselef) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/clerk-react@5.2.3 + - @clerk/backend@1.2.2 + - @clerk/types@4.6.0 + ## 5.1.3 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 65187e9f09..7a51e29375 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "5.1.3", + "version": "5.1.4", "description": "Clerk SDK for NextJS", "keywords": [ "clerk", @@ -67,10 +67,10 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "crypto-js": "4.2.0", "path-to-regexp": "6.2.2", "tslib": "2.4.1" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 8c64f46e66..7dfa22b1cb 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 5.2.3 + +### Patch Changes + +- Update `SignUpButton` and `SignInButton` to respect `forceRedirect` and `fallbackRedirect` props. Previously, these were getting ignored and successful completions of the flows would fallback to the default redirect URL. ([#3508](https://github.com/clerk/javascript/pull/3508)) by [@BRKalow](https://github.com/BRKalow) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/types@4.6.0 + ## 5.2.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index f7c82ee975..0da69981df 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "5.2.2", + "version": "5.2.3", "description": "Clerk React library", "keywords": [ "clerk", @@ -76,13 +76,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.8", + "@clerk/themes": "2.1.9", "@types/node": "^18.19.33", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index 78c55ffa21..a135430503 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,35 @@ # Change Log +## 4.1.0 + +### Minor Changes + +- Support new redirect urls as environment variables or options to rootAuthLoader ([#3442](https://github.com/clerk/javascript/pull/3442)) by [@panteliselef](https://github.com/panteliselef) + + As options + + - signInForceRedirectUrl + - signUpForceRedirectUrl + - signInFallbackRedirectUrl + - signUpFallbackRedirectUrl + + As environment variables + + - CLERK_SIGN_IN_FORCE_REDIRECT_URL + - CLERK_SIGN_UP_FORCE_REDIRECT_URL + - CLERK_SIGN_IN_FALLBACK_REDIRECT_URL + - CLERK_SIGN_UP_FALLBACK_REDIRECT_URL + +### Patch Changes + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`35a0015f5`](https://github.com/clerk/javascript/commit/35a0015f5dd3419f126950b3bfb51ccf51e54cda), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/clerk-react@5.2.3 + - @clerk/backend@1.2.2 + - @clerk/types@4.6.0 + ## 4.0.13 ### Patch Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index a6892ae0f6..472a5e4abf 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "4.0.13", + "version": "4.1.0", "description": "Clerk SDK for Remix", "keywords": [ "clerk", @@ -73,10 +73,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/clerk-react": "5.2.2", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/clerk-react": "5.2.3", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/sdk-node/CHANGELOG.md b/packages/sdk-node/CHANGELOG.md index b8b3e77671..d4eca7a1af 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## 5.0.10 + +### Patch Changes + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/backend@1.2.2 + - @clerk/types@4.6.0 + ## 5.0.9 ### Patch Changes diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index d0431b5f4b..587a7a41d0 100644 --- a/packages/sdk-node/package.json +++ b/packages/sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-sdk-node", - "version": "5.0.9", + "version": "5.0.10", "description": "Clerk server SDK for usage with node", "keywords": [ "clerk", @@ -53,9 +53,9 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.2.1", - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/backend": "1.2.2", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 30f1a6a718..e6385ed671 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## 2.2.2 + +### Patch Changes + +- Update `js-cookie` from `3.0.1` to `3.0.5`. Update `swr` from `2.2.0` to `2.2.5`. ([#3493](https://github.com/clerk/javascript/pull/3493)) by [@renovate](https://github.com/apps/renovate) + +- Set `@clerk/types` as a dependency for packages that had it as a dev dependency. ([#3450](https://github.com/clerk/javascript/pull/3450)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/types@4.6.0 + ## 2.2.1 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index eff8d8bade..beaac5bb33 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "2.2.1", + "version": "2.2.2", "description": "Internal package utils used by the Clerk SDKs", "repository": { "type": "git", @@ -88,7 +88,7 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/types": "4.5.1", + "@clerk/types": "4.6.0", "glob-to-regexp": "0.4.1", "js-cookie": "3.0.5", "std-env": "^3.7.0", diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index acf3685f83..4271a7b59a 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,13 @@ # @clerk/testing +## 1.1.6 + +### Patch Changes + +- Updated dependencies [[`86a27f693`](https://github.com/clerk/javascript/commit/86a27f6933de50c99b6bc354bf87ff5c2cfcaf38), [`02bed2e00`](https://github.com/clerk/javascript/commit/02bed2e00d3e0a4e1bb1698b13267faf6aeb31b3), [`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/shared@2.2.2 + - @clerk/types@4.6.0 + ## 1.1.5 ### Patch Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index 8c9749ff80..f561c3e7ae 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/testing", - "version": "1.1.5", + "version": "1.1.6", "description": "Utilities to help you create E2E test suites for apps using Clerk", "keywords": [ "auth", @@ -62,8 +62,8 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/shared": "2.2.1", - "@clerk/types": "4.5.1", + "@clerk/shared": "2.2.2", + "@clerk/types": "4.6.0", "dotenv": "16.4.5" }, "devDependencies": { diff --git a/packages/themes/CHANGELOG.md b/packages/themes/CHANGELOG.md index 859a78d722..8d991b3efc 100644 --- a/packages/themes/CHANGELOG.md +++ b/packages/themes/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.1.9 + +### Patch Changes + +- Updated dependencies [[`73e5d61e2`](https://github.com/clerk/javascript/commit/73e5d61e21ab3f77f3c8343bc63da0626466c7ac), [`b8e46328d`](https://github.com/clerk/javascript/commit/b8e46328da874859c4928f19f924219cd6520b11)]: + - @clerk/types@4.6.0 + ## 2.1.8 ### Patch Changes diff --git a/packages/themes/package.json b/packages/themes/package.json index fe882f4fbd..74b85b38be 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/themes", - "version": "2.1.8", + "version": "2.1.9", "description": "Themes for the Clerk auth components", "keywords": [ "react", @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "4.5.1", + "@clerk/types": "4.6.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index fe91ac20bc..7fece7debd 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 4.6.0 + +### Minor Changes + +- Add descriptor for formatted dates in tables. Those elements can be identified by the `cl-formattedDate__tableCell` css class. ([#3465](https://github.com/clerk/javascript/pull/3465)) by [@panteliselef](https://github.com/panteliselef) + +### Patch Changes + +- Add support for Enstall OAuth provider ([#3466](https://github.com/clerk/javascript/pull/3466)) by [@Nikpolik](https://github.com/Nikpolik) + ## 4.5.1 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 752cbd0ad9..b68bef22f2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "4.5.1", + "version": "4.6.0", "description": "Typings for Clerk libraries.", "keywords": [ "clerk",