diff --git a/.changeset/afraid-lamps-matter.md b/.changeset/afraid-lamps-matter.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/afraid-lamps-matter.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/angry-cycles-cheer.md b/.changeset/angry-cycles-cheer.md deleted file mode 100644 index 5c831d151b..0000000000 --- a/.changeset/angry-cycles-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/backend': minor ---- - -Send API version through request headers. diff --git a/.changeset/beige-waves-do.md b/.changeset/beige-waves-do.md deleted file mode 100644 index 582b07ea26..0000000000 --- a/.changeset/beige-waves-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/localizations': patch ---- - -Adds German (de-DE) translations for experimental legal content diff --git a/.changeset/chilled-days-guess.md b/.changeset/chilled-days-guess.md deleted file mode 100644 index 853efcd4e3..0000000000 --- a/.changeset/chilled-days-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/shared': patch ---- - -Adding missing dependencies to package.json diff --git a/.changeset/eleven-doors-shop.md b/.changeset/eleven-doors-shop.md deleted file mode 100644 index a49ba48448..0000000000 --- a/.changeset/eleven-doors-shop.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- \ No newline at end of file diff --git a/.changeset/empty-dots-confess.md b/.changeset/empty-dots-confess.md deleted file mode 100644 index 971117f134..0000000000 --- a/.changeset/empty-dots-confess.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@clerk/elements': patch -'@clerk/nextjs': patch -'@clerk/shared': patch -'@clerk/types': patch -'@clerk/clerk-js': patch ---- - -Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. diff --git a/.changeset/grumpy-snakes-approve.md b/.changeset/grumpy-snakes-approve.md deleted file mode 100644 index d6b9c25c5a..0000000000 --- a/.changeset/grumpy-snakes-approve.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@clerk/backend': minor ---- - -Introduce experimental verification helpers exported from `@clerk/backend/internal` -- __experimental_reverificationMismatch -- __experimental_reverificationMismatchResponse diff --git a/.changeset/itchy-icons-destroy.md b/.changeset/itchy-icons-destroy.md deleted file mode 100644 index 02ca92ba05..0000000000 --- a/.changeset/itchy-icons-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/astro": patch ---- - -Fix an issue where custom client-side routing breaks when `` is disabled diff --git a/.changeset/late-camels-talk.md b/.changeset/late-camels-talk.md deleted file mode 100644 index d4eb1bb5f8..0000000000 --- a/.changeset/late-camels-talk.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -"@clerk/clerk-js": minor -"@clerk/shared": minor -"@clerk/types": minor -"@clerk/clerk-expo": minor -"@clerk/expo-passkeys": patch ---- - -Introduce experimental support for passkeys in Expo (iOS, Android, and Web). - -To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: - -```tsx - -import { ClerkProvider } from '@clerk/clerk-expo'; -import { passkeys } from '@clerk/clerk-expo/passkeys'; - - - {/* Your app here */} - -``` - -The API for using passkeys in Expo projects is the same as the one used in web apps: - -```tsx -// passkey creation -const { user } = useUser(); - -const handleCreatePasskey = async () => { - if (!user) return; - try { - return await user.createPasskey(); - } catch (e: any) { - // handle error - } - }; - - -// passkey authentication -const { signIn, setActive } = useSignIn(); - -const handlePasskeySignIn = async () => { - try { - const signInResponse = await signIn.authenticateWithPasskey(); - await setActive({ session: signInResponse.createdSessionId }); - } catch (err: any) { - //handle error - } - }; -``` diff --git a/.changeset/plenty-seas-hammer.md b/.changeset/plenty-seas-hammer.md deleted file mode 100644 index b313a71fe2..0000000000 --- a/.changeset/plenty-seas-hammer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@clerk/nextjs': minor ---- - -Introduce experimental verification helpers exported from `@clerk/nextjs/server` -- __experimental_reverificationMismatch -- __experimental_reverificationMismatchResponse diff --git a/.changeset/poor-countries-count.md b/.changeset/poor-countries-count.md deleted file mode 100644 index 55ffcf3a07..0000000000 --- a/.changeset/poor-countries-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Internal change to use component-specific context providers. This change does not impact consumers. diff --git a/.changeset/rich-badgers-pump.md b/.changeset/rich-badgers-pump.md deleted file mode 100644 index 91a13ed520..0000000000 --- a/.changeset/rich-badgers-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/elements': minor ---- - -Introduce support for `` and ``. This allows rendering of a CAPTCHA widget when a sign in attempt is transferred to a sign up attempt. diff --git a/.changeset/rotten-balloons-vanish.md b/.changeset/rotten-balloons-vanish.md deleted file mode 100644 index 84ed277e3c..0000000000 --- a/.changeset/rotten-balloons-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/shared': patch ---- - -Fixing the peerDependencies for react and react-dom diff --git a/.changeset/silent-snakes-confess.md b/.changeset/silent-snakes-confess.md deleted file mode 100644 index faa37bba4a..0000000000 --- a/.changeset/silent-snakes-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/vue": patch ---- - -Introduce an experimental version of Clerk SDK for [Vue](https://vuejs.org) diff --git a/.changeset/spotty-books-tie.md b/.changeset/spotty-books-tie.md deleted file mode 100644 index e3f94ef8f6..0000000000 --- a/.changeset/spotty-books-tie.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@clerk/clerk-js': patch -'@clerk/types': patch ---- - -Add afterJoinWaitlistUrl to DisplayConfig resource diff --git a/.changeset/stupid-ants-talk.md b/.changeset/stupid-ants-talk.md deleted file mode 100644 index 81853dda68..0000000000 --- a/.changeset/stupid-ants-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/nextjs': patch ---- - -Add timestamp to debug logger output. diff --git a/.changeset/twenty-rules-boil.md b/.changeset/twenty-rules-boil.md deleted file mode 100644 index 2a07b9d73d..0000000000 --- a/.changeset/twenty-rules-boil.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@clerk/localizations': minor -'@clerk/clerk-js': minor -'@clerk/elements': minor -'@clerk/types': minor -'@clerk/ui': patch ---- - -The Legal consent feature is now stable. - -Removed the `__experimental_` preffix. diff --git a/.changeset/wild-guests-battle.md b/.changeset/wild-guests-battle.md deleted file mode 100644 index cd78e0a229..0000000000 --- a/.changeset/wild-guests-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': minor ---- - -Now sending the Frontend API version through query string params diff --git a/package-lock.json b/package-lock.json index f362409325..4ff74d1baa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46423,12 +46423,12 @@ }, "packages/astro": { "name": "@clerk/astro", - "version": "1.4.7", + "version": "1.4.8", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "nanoid": "5.0.7", "nanostores": "0.11.3" }, @@ -46475,11 +46475,11 @@ }, "packages/backend": { "name": "@clerk/backend", - "version": "1.15.7", + "version": "1.16.0", "license": "MIT", "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookie": "0.7.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" @@ -46728,12 +46728,12 @@ }, "packages/chrome-extension": { "name": "@clerk/chrome-extension", - "version": "1.3.30", + "version": "1.3.31", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.31.2", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", + "@clerk/clerk-js": "5.32.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", "webextension-polyfill": "^0.10.0" }, "devDependencies": { @@ -46768,12 +46768,12 @@ }, "packages/clerk-js": { "name": "@clerk/clerk-js", - "version": "5.31.2", + "version": "5.32.0", "license": "MIT", "dependencies": { - "@clerk/localizations": "3.5.0", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/localizations": "3.6.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "@coinbase/wallet-sdk": "4.0.4", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", @@ -46792,7 +46792,7 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/ui": "0.1.16", + "@clerk/ui": "0.1.17", "@rsdoctor/rspack-plugin": "^0.4.7", "@rspack/cli": "^1.0.14", "@rspack/core": "^1.0.14", @@ -47258,10 +47258,10 @@ }, "packages/elements": { "name": "@clerk/elements", - "version": "0.18.5", + "version": "0.19.0", "license": "MIT", "dependencies": { - "@clerk/types": "^4.30.0", + "@clerk/types": "^4.31.0", "@radix-ui/react-form": "^0.1.0", "@radix-ui/react-slot": "^1.1.0", "@xstate/react": "^4.1.1", @@ -47269,9 +47269,9 @@ "xstate": "^5.15.0" }, "devDependencies": { - "@clerk/clerk-react": "5.15.1", + "@clerk/clerk-react": "5.15.2", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.11.5", + "@clerk/shared": "2.12.0", "@statelyai/inspect": "^0.4.0", "@types/node": "^18.19.33", "@types/react": "*", @@ -47886,20 +47886,20 @@ }, "packages/expo": { "name": "@clerk/clerk-expo", - "version": "2.2.36", + "version": "2.3.0", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.31.2", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/clerk-js": "5.32.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/expo-passkeys": "0.0.1", + "@clerk/expo-passkeys": "0.0.2", "@types/base-64": "^1.0.2", "@types/node": "^20.11.24", "@types/react": "*", @@ -47934,11 +47934,11 @@ }, "packages/expo-passkeys": { "name": "@clerk/expo-passkeys", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0" + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0" }, "devDependencies": { "expo-module-scripts": "^3.5.2", @@ -48190,12 +48190,12 @@ }, "packages/express": { "name": "@clerk/express", - "version": "1.3.9", + "version": "1.3.10", "license": "MIT", "dependencies": { - "@clerk/backend": "^1.15.7", - "@clerk/shared": "^2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "^1.16.0", + "@clerk/shared": "^2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { @@ -48221,12 +48221,12 @@ }, "packages/fastify": { "name": "@clerk/fastify", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookies": "0.8.0", "fastify-plugin": "^5.0.1" }, @@ -48369,10 +48369,10 @@ }, "packages/localizations": { "name": "@clerk/localizations", - "version": "3.5.0", + "version": "3.6.0", "license": "MIT", "dependencies": { - "@clerk/types": "4.30.0" + "@clerk/types": "4.31.0" }, "devDependencies": { "@clerk/eslint-config-custom": "*", @@ -48385,13 +48385,13 @@ }, "packages/nextjs": { "name": "@clerk/nextjs", - "version": "6.2.1", + "version": "6.3.0", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "crypto-js": "4.2.0", "ezheaders": "0.1.0", "server-only": "0.0.1", @@ -48517,16 +48517,16 @@ }, "packages/react": { "name": "@clerk/clerk-react", - "version": "5.15.1", + "version": "5.15.2", "license": "MIT", "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.41", + "@clerk/themes": "2.1.42", "@types/node": "^18.19.33", "@types/react": "*", "@types/react-dom": "*", @@ -48547,13 +48547,13 @@ }, "packages/remix": { "name": "@clerk/remix", - "version": "4.2.47", + "version": "4.2.48", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookie": "0.7.0", "tslib": "2.4.1" }, @@ -48595,12 +48595,12 @@ }, "packages/sdk-node": { "name": "@clerk/clerk-sdk-node", - "version": "5.0.60", + "version": "5.0.61", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { @@ -48622,11 +48622,11 @@ }, "packages/shared": { "name": "@clerk/shared", - "version": "2.11.5", + "version": "2.12.0", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@clerk/types": "4.30.0", + "@clerk/types": "4.31.0", "dequal": "2.0.3", "glob-to-regexp": "0.4.1", "js-cookie": "3.0.5", @@ -49323,13 +49323,13 @@ }, "packages/tanstack-start": { "name": "@clerk/tanstack-start", - "version": "0.4.23", + "version": "0.4.24", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { @@ -50159,12 +50159,12 @@ }, "packages/testing": { "name": "@clerk/testing", - "version": "1.3.21", + "version": "1.3.22", "license": "MIT", "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "dotenv": "16.4.5" }, "devDependencies": { @@ -50193,10 +50193,10 @@ }, "packages/themes": { "name": "@clerk/themes", - "version": "2.1.41", + "version": "2.1.42", "license": "MIT", "dependencies": { - "@clerk/types": "4.30.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { @@ -50213,7 +50213,7 @@ }, "packages/types": { "name": "@clerk/types", - "version": "4.30.0", + "version": "4.31.0", "license": "MIT", "dependencies": { "csstype": "3.1.1" @@ -50234,12 +50234,12 @@ }, "packages/ui": { "name": "@clerk/ui", - "version": "0.1.16", + "version": "0.1.17", "license": "MIT", "dependencies": { - "@clerk/elements": "0.18.5", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/elements": "0.19.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "@formkit/auto-animate": "^0.8.2", "@radix-ui/react-slot": "^1.1.0", "cmdk": "^1.0.0", @@ -51482,11 +51482,11 @@ }, "packages/vue": { "name": "@clerk/vue", - "version": "0.0.0", + "version": "0.0.1", "license": "MIT", "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0" + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0" }, "devDependencies": { "@testing-library/vue": "^8.1.0", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 24f944598a..fe64e26358 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,16 @@ # @clerk/astro +## 1.4.8 + +### Patch Changes + +- Fix an issue where custom client-side routing breaks when `` is disabled ([#4521](https://github.com/clerk/javascript/pull/4521)) by [@wobsoriano](https://github.com/wobsoriano) + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 1.4.7 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index d2ce662174..d7691cebea 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/astro", - "version": "1.4.7", + "version": "1.4.8", "description": "Clerk SDK for Astro", "keywords": [ "auth", @@ -81,9 +81,9 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "nanoid": "5.0.7", "nanostores": "0.11.3" }, diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index 46e93fe965..a3907c92be 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## 1.16.0 + +### Minor Changes + +- Send API version through request headers. ([#4458](https://github.com/clerk/javascript/pull/4458)) by [@jacekradko](https://github.com/jacekradko) + +- Introduce experimental verification helpers exported from `@clerk/backend/internal` ([#4480](https://github.com/clerk/javascript/pull/4480)) by [@panteliselef](https://github.com/panteliselef) + + - \_\_experimental_reverificationMismatch + - \_\_experimental_reverificationMismatchResponse + +### Patch Changes + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 1.15.7 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index 9cec357ce0..9a6592b8be 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "1.15.7", + "version": "1.16.0", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "homepage": "https://clerk.com/", "bugs": { @@ -93,8 +93,8 @@ "test:cloudflare-miniflare": "vitest --environment miniflare" }, "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookie": "0.7.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 253529e3d7..1d07caf8f4 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.3.31 + +### Patch Changes + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`e25381dfa358c0f7f8082a67936e4ee4a97c73f1`](https://github.com/clerk/javascript/commit/e25381dfa358c0f7f8082a67936e4ee4a97c73f1), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320), [`e91a2bd77e2ab985d22724f19ab220c8270fdd10`](https://github.com/clerk/javascript/commit/e91a2bd77e2ab985d22724f19ab220c8270fdd10)]: + - @clerk/shared@2.12.0 + - @clerk/clerk-js@5.32.0 + - @clerk/clerk-react@5.15.2 + ## 1.3.30 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index 0256147446..26874822c0 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "1.3.30", + "version": "1.3.31", "description": "Clerk SDK for Chrome extensions", "keywords": [ "auth", @@ -47,9 +47,9 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/clerk-js": "5.31.2", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", + "@clerk/clerk-js": "5.32.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", "webextension-polyfill": "^0.10.0" }, "devDependencies": { diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index c941ece967..360ab7e5db 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,67 @@ # Change Log +## 5.32.0 + +### Minor Changes + +- Introduce experimental support for passkeys in Expo (iOS, Android, and Web). ([#4352](https://github.com/clerk/javascript/pull/4352)) by [@AlexNti](https://github.com/AlexNti) + + To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: + + ```tsx + import { ClerkProvider } from '@clerk/clerk-expo'; + import { passkeys } from '@clerk/clerk-expo/passkeys'; + + {/* Your app here */}; + ``` + + The API for using passkeys in Expo projects is the same as the one used in web apps: + + ```tsx + // passkey creation + const { user } = useUser(); + + const handleCreatePasskey = async () => { + if (!user) return; + try { + return await user.createPasskey(); + } catch (e: any) { + // handle error + } + }; + + // passkey authentication + const { signIn, setActive } = useSignIn(); + + const handlePasskeySignIn = async () => { + try { + const signInResponse = await signIn.authenticateWithPasskey(); + await setActive({ session: signInResponse.createdSessionId }); + } catch (err: any) { + //handle error + } + }; + ``` + +- The Legal consent feature is now stable. ([#4487](https://github.com/clerk/javascript/pull/4487)) by [@octoper](https://github.com/octoper) + + Removed the `__experimental_` preffix. + +- Now sending the Frontend API version through query string params ([#4457](https://github.com/clerk/javascript/pull/4457)) by [@jacekradko](https://github.com/jacekradko) + +### Patch Changes + +- Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. ([#4513](https://github.com/clerk/javascript/pull/4513)) by [@alexcarpenter](https://github.com/alexcarpenter) + +- Internal change to use component-specific context providers. This change does not impact consumers. ([#4486](https://github.com/clerk/javascript/pull/4486)) by [@dstaley](https://github.com/dstaley) + +- Add afterJoinWaitlistUrl to DisplayConfig resource ([#4524](https://github.com/clerk/javascript/pull/4524)) by [@nikospapcom](https://github.com/nikospapcom) + +- Updated dependencies [[`75b2fa0ab30f48e8b575adf31ff9ca0e6901f885`](https://github.com/clerk/javascript/commit/75b2fa0ab30f48e8b575adf31ff9ca0e6901f885), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/localizations@3.6.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 5.31.2 ### Patch Changes diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index 526f7dc4a6..7beaa1e9fa 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "5.31.2", + "version": "5.32.0", "description": "Clerk JS library", "keywords": [ "clerk", @@ -50,9 +50,9 @@ }, "browserslist": "last 2 years, Safari > 12, iOS > 12", "dependencies": { - "@clerk/localizations": "3.5.0", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/localizations": "3.6.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "@coinbase/wallet-sdk": "4.0.4", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", @@ -71,7 +71,7 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/ui": "0.1.16", + "@clerk/ui": "0.1.17", "@rsdoctor/rspack-plugin": "^0.4.7", "@rspack/cli": "^1.0.14", "@rspack/core": "^1.0.14", diff --git a/packages/elements/CHANGELOG.md b/packages/elements/CHANGELOG.md index 397a0bbcc9..e878a8ecb8 100644 --- a/packages/elements/CHANGELOG.md +++ b/packages/elements/CHANGELOG.md @@ -1,5 +1,22 @@ # @clerk/elements +## 0.19.0 + +### Minor Changes + +- Introduce support for `` and ``. This allows rendering of a CAPTCHA widget when a sign in attempt is transferred to a sign up attempt. ([#4523](https://github.com/clerk/javascript/pull/4523)) by [@BRKalow](https://github.com/BRKalow) + +- The Legal consent feature is now stable. ([#4487](https://github.com/clerk/javascript/pull/4487)) by [@octoper](https://github.com/octoper) + + Removed the `__experimental_` preffix. + +### Patch Changes + +- Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. ([#4513](https://github.com/clerk/javascript/pull/4513)) by [@alexcarpenter](https://github.com/alexcarpenter) + +- Updated dependencies [[`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/types@4.31.0 + ## 0.18.5 ### Patch Changes diff --git a/packages/elements/package.json b/packages/elements/package.json index 0dc9435d50..1b4c7368da 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/elements", - "version": "0.18.5", + "version": "0.19.0", "description": "Clerk Elements", "keywords": [ "clerk", @@ -71,7 +71,7 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/types": "^4.30.0", + "@clerk/types": "^4.31.0", "@radix-ui/react-form": "^0.1.0", "@radix-ui/react-slot": "^1.1.0", "@xstate/react": "^4.1.1", @@ -79,9 +79,9 @@ "xstate": "^5.15.0" }, "devDependencies": { - "@clerk/clerk-react": "5.15.1", + "@clerk/clerk-react": "5.15.2", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.11.5", + "@clerk/shared": "2.12.0", "@statelyai/inspect": "^0.4.0", "@types/node": "^18.19.33", "@types/react": "*", diff --git a/packages/expo-passkeys/CHANGELOG.md b/packages/expo-passkeys/CHANGELOG.md new file mode 100644 index 0000000000..aec73251a6 --- /dev/null +++ b/packages/expo-passkeys/CHANGELOG.md @@ -0,0 +1,48 @@ +# @clerk/expo-passkeys + +## 0.0.2 + +### Patch Changes + +- Introduce experimental support for passkeys in Expo (iOS, Android, and Web). ([#4352](https://github.com/clerk/javascript/pull/4352)) by [@AlexNti](https://github.com/AlexNti) + + To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: + + ```tsx + import { ClerkProvider } from '@clerk/clerk-expo'; + import { passkeys } from '@clerk/clerk-expo/passkeys'; + + {/* Your app here */}; + ``` + + The API for using passkeys in Expo projects is the same as the one used in web apps: + + ```tsx + // passkey creation + const { user } = useUser(); + + const handleCreatePasskey = async () => { + if (!user) return; + try { + return await user.createPasskey(); + } catch (e: any) { + // handle error + } + }; + + // passkey authentication + const { signIn, setActive } = useSignIn(); + + const handlePasskeySignIn = async () => { + try { + const signInResponse = await signIn.authenticateWithPasskey(); + await setActive({ session: signInResponse.createdSessionId }); + } catch (err: any) { + //handle error + } + }; + ``` + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 diff --git a/packages/expo-passkeys/package.json b/packages/expo-passkeys/package.json index d3f8ada10b..57c477418c 100644 --- a/packages/expo-passkeys/package.json +++ b/packages/expo-passkeys/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/expo-passkeys", - "version": "0.0.1", + "version": "0.0.2", "description": "Passkeys library to be used with Clerk for expo", "keywords": [ "react-native", @@ -30,8 +30,8 @@ "prepublishOnly": "expo-module prepublishOnly" }, "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0" + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0" }, "devDependencies": { "expo-module-scripts": "^3.5.2", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index a3371c0ca0..ae863cdc25 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,56 @@ # Change Log +## 2.3.0 + +### Minor Changes + +- Introduce experimental support for passkeys in Expo (iOS, Android, and Web). ([#4352](https://github.com/clerk/javascript/pull/4352)) by [@AlexNti](https://github.com/AlexNti) + + To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: + + ```tsx + import { ClerkProvider } from '@clerk/clerk-expo'; + import { passkeys } from '@clerk/clerk-expo/passkeys'; + + {/* Your app here */}; + ``` + + The API for using passkeys in Expo projects is the same as the one used in web apps: + + ```tsx + // passkey creation + const { user } = useUser(); + + const handleCreatePasskey = async () => { + if (!user) return; + try { + return await user.createPasskey(); + } catch (e: any) { + // handle error + } + }; + + // passkey authentication + const { signIn, setActive } = useSignIn(); + + const handlePasskeySignIn = async () => { + try { + const signInResponse = await signIn.authenticateWithPasskey(); + await setActive({ session: signInResponse.createdSessionId }); + } catch (err: any) { + //handle error + } + }; + ``` + +### Patch Changes + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`e25381dfa358c0f7f8082a67936e4ee4a97c73f1`](https://github.com/clerk/javascript/commit/e25381dfa358c0f7f8082a67936e4ee4a97c73f1), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320), [`e91a2bd77e2ab985d22724f19ab220c8270fdd10`](https://github.com/clerk/javascript/commit/e91a2bd77e2ab985d22724f19ab220c8270fdd10)]: + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + - @clerk/clerk-js@5.32.0 + - @clerk/clerk-react@5.15.2 + ## 2.2.36 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 256bcbeb01..892caf45c9 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "2.2.36", + "version": "2.3.0", "description": "Clerk React Native/Expo library", "keywords": [ "react", @@ -60,17 +60,17 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/clerk-js": "5.31.2", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/clerk-js": "5.32.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/expo-passkeys": "0.0.1", + "@clerk/expo-passkeys": "0.0.2", "@types/base-64": "^1.0.2", "@types/node": "^20.11.24", "@types/react": "*", diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index f88046a327..5aab3d0c03 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.3.10 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 1.3.9 ### Patch Changes diff --git a/packages/express/package.json b/packages/express/package.json index 6d93bcad50..f7b5ba3fce 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/express", - "version": "1.3.9", + "version": "1.3.10", "description": "Clerk server SDK for usage with Express", "keywords": [ "clerk", @@ -55,9 +55,9 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "^1.15.7", - "@clerk/shared": "^2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "^1.16.0", + "@clerk/shared": "^2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index 745331db4a..c7145e8108 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 2.0.12 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 2.0.11 ### Patch Changes diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 67fee18618..8df3df7f2e 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "2.0.11", + "version": "2.0.12", "description": "Clerk SDK for Fastify", "keywords": [ "auth", @@ -40,9 +40,9 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookies": "0.8.0", "fastify-plugin": "^5.0.1" }, diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index 7608faed12..394d984a21 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 3.6.0 + +### Minor Changes + +- The Legal consent feature is now stable. ([#4487](https://github.com/clerk/javascript/pull/4487)) by [@octoper](https://github.com/octoper) + + Removed the `__experimental_` preffix. + +### Patch Changes + +- Adds German (de-DE) translations for experimental legal content ([#4503](https://github.com/clerk/javascript/pull/4503)) by [@feliche93](https://github.com/feliche93) + +- Updated dependencies [[`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/types@4.31.0 + ## 3.5.0 ### Minor Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index 694866f8e6..d9a312216d 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "3.5.0", + "version": "3.6.0", "description": "Localizations for the Clerk components", "keywords": [ "react", @@ -100,7 +100,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "4.30.0" + "@clerk/types": "4.31.0" }, "devDependencies": { "@clerk/eslint-config-custom": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index 23e12cde20..db70db9157 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 6.3.0 + +### Minor Changes + +- Introduce experimental verification helpers exported from `@clerk/nextjs/server` ([#4480](https://github.com/clerk/javascript/pull/4480)) by [@panteliselef](https://github.com/panteliselef) + + - \_\_experimental_reverificationMismatch + - \_\_experimental_reverificationMismatchResponse + +### Patch Changes + +- Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. ([#4513](https://github.com/clerk/javascript/pull/4513)) by [@alexcarpenter](https://github.com/alexcarpenter) + +- Add timestamp to debug logger output. ([#4479](https://github.com/clerk/javascript/pull/4479)) by [@BRKalow](https://github.com/BRKalow) + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + - @clerk/clerk-react@5.15.2 + ## 6.2.1 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 328e90a0cd..c64b733095 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "6.2.1", + "version": "6.3.0", "description": "Clerk SDK for NextJS", "keywords": [ "clerk", @@ -65,10 +65,10 @@ "test": "vitest" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "crypto-js": "4.2.0", "ezheaders": "0.1.0", "server-only": "0.0.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 358332d15e..4231138b25 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 5.15.2 + +### Patch Changes + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 5.15.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index d1a72b7b08..9b4127ba7e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "5.15.1", + "version": "5.15.2", "description": "Clerk React library", "keywords": [ "clerk", @@ -76,13 +76,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.41", + "@clerk/themes": "2.1.42", "@types/node": "^18.19.33", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index 51001e5eb2..9082bff2b4 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 4.2.48 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + - @clerk/clerk-react@5.15.2 + ## 4.2.47 ### Patch Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index 24ca876891..9af675692c 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "4.2.47", + "version": "4.2.48", "description": "Clerk SDK for Remix", "keywords": [ "clerk", @@ -73,10 +73,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "cookie": "0.7.0", "tslib": "2.4.1" }, diff --git a/packages/sdk-node/CHANGELOG.md b/packages/sdk-node/CHANGELOG.md index cd5db44459..d972e7bdfb 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 5.0.61 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 5.0.60 ### Patch Changes diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index 67cc55e2cf..5ea6d2bd35 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.60", + "version": "5.0.61", "description": "Clerk server SDK for usage with node", "keywords": [ "clerk", @@ -53,9 +53,9 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index b8a7115c0a..53a899f286 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,59 @@ # Change Log +## 2.12.0 + +### Minor Changes + +- Introduce experimental support for passkeys in Expo (iOS, Android, and Web). ([#4352](https://github.com/clerk/javascript/pull/4352)) by [@AlexNti](https://github.com/AlexNti) + + To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: + + ```tsx + import { ClerkProvider } from '@clerk/clerk-expo'; + import { passkeys } from '@clerk/clerk-expo/passkeys'; + + {/* Your app here */}; + ``` + + The API for using passkeys in Expo projects is the same as the one used in web apps: + + ```tsx + // passkey creation + const { user } = useUser(); + + const handleCreatePasskey = async () => { + if (!user) return; + try { + return await user.createPasskey(); + } catch (e: any) { + // handle error + } + }; + + // passkey authentication + const { signIn, setActive } = useSignIn(); + + const handlePasskeySignIn = async () => { + try { + const signInResponse = await signIn.authenticateWithPasskey(); + await setActive({ session: signInResponse.createdSessionId }); + } catch (err: any) { + //handle error + } + }; + ``` + +### Patch Changes + +- Adding missing dependencies to package.json ([#4522](https://github.com/clerk/javascript/pull/4522)) by [@jacekradko](https://github.com/jacekradko) + +- Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. ([#4513](https://github.com/clerk/javascript/pull/4513)) by [@alexcarpenter](https://github.com/alexcarpenter) + +- Fixing the peerDependencies for react and react-dom ([#4494](https://github.com/clerk/javascript/pull/4494)) by [@jacekradko](https://github.com/jacekradko) + +- Updated dependencies [[`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/types@4.31.0 + ## 2.11.5 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index 49f9e2b574..984433c8b2 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "2.11.5", + "version": "2.12.0", "description": "Internal package utils used by the Clerk SDKs", "repository": { "type": "git", @@ -120,7 +120,7 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/types": "4.30.0", + "@clerk/types": "4.31.0", "dequal": "2.0.3", "glob-to-regexp": "0.4.1", "js-cookie": "3.0.5", diff --git a/packages/tanstack-start/CHANGELOG.md b/packages/tanstack-start/CHANGELOG.md index 2808c25c31..70073769b5 100644 --- a/packages/tanstack-start/CHANGELOG.md +++ b/packages/tanstack-start/CHANGELOG.md @@ -1,5 +1,15 @@ # @clerk/tanstack-start +## 0.4.24 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + - @clerk/clerk-react@5.15.2 + ## 0.4.23 ### Patch Changes diff --git a/packages/tanstack-start/package.json b/packages/tanstack-start/package.json index b960b76336..97d175436b 100644 --- a/packages/tanstack-start/package.json +++ b/packages/tanstack-start/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/tanstack-start", - "version": "0.4.23", + "version": "0.4.24", "description": "Clerk SDK for TanStack Start", "keywords": [ "clerk", @@ -54,10 +54,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/clerk-react": "5.15.1", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/clerk-react": "5.15.2", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index 5eaac8a3d5..42585b8b90 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,14 @@ # @clerk/testing +## 1.3.22 + +### Patch Changes + +- Updated dependencies [[`b185e42e5136de3511a0b37ce9b0030022ba679e`](https://github.com/clerk/javascript/commit/b185e42e5136de3511a0b37ce9b0030022ba679e), [`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e10232c56551bf0cffc11246f2ff9aa58ec584d7`](https://github.com/clerk/javascript/commit/e10232c56551bf0cffc11246f2ff9aa58ec584d7), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/backend@1.16.0 + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 + ## 1.3.21 ### Patch Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index fbe93543a2..dc74e14fd3 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/testing", - "version": "1.3.21", + "version": "1.3.22", "description": "Utilities to help you create E2E test suites for apps using Clerk", "keywords": [ "auth", @@ -62,9 +62,9 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/backend": "1.15.7", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/backend": "1.16.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "dotenv": "16.4.5" }, "devDependencies": { diff --git a/packages/themes/CHANGELOG.md b/packages/themes/CHANGELOG.md index caded8b4ff..8bddd2f267 100644 --- a/packages/themes/CHANGELOG.md +++ b/packages/themes/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.1.42 + +### Patch Changes + +- Updated dependencies [[`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/types@4.31.0 + ## 2.1.41 ### Patch Changes diff --git a/packages/themes/package.json b/packages/themes/package.json index 36fea7e739..2234f4d3ae 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/themes", - "version": "2.1.41", + "version": "2.1.42", "description": "Themes for the Clerk auth components", "keywords": [ "react", @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "4.30.0", + "@clerk/types": "4.31.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 36eddd6964..3384fe3f3c 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,58 @@ # Change Log +## 4.31.0 + +### Minor Changes + +- Introduce experimental support for passkeys in Expo (iOS, Android, and Web). ([#4352](https://github.com/clerk/javascript/pull/4352)) by [@AlexNti](https://github.com/AlexNti) + + To use passkeys in Expo projects, pass the `__experimental_passkeys` object, which can be imported from `@clerk/clerk-expo/passkeys`, to the `ClerkProvider` component: + + ```tsx + import { ClerkProvider } from '@clerk/clerk-expo'; + import { passkeys } from '@clerk/clerk-expo/passkeys'; + + {/* Your app here */}; + ``` + + The API for using passkeys in Expo projects is the same as the one used in web apps: + + ```tsx + // passkey creation + const { user } = useUser(); + + const handleCreatePasskey = async () => { + if (!user) return; + try { + return await user.createPasskey(); + } catch (e: any) { + // handle error + } + }; + + // passkey authentication + const { signIn, setActive } = useSignIn(); + + const handlePasskeySignIn = async () => { + try { + const signInResponse = await signIn.authenticateWithPasskey(); + await setActive({ session: signInResponse.createdSessionId }); + } catch (err: any) { + //handle error + } + }; + ``` + +- The Legal consent feature is now stable. ([#4487](https://github.com/clerk/javascript/pull/4487)) by [@octoper](https://github.com/octoper) + + Removed the `__experimental_` preffix. + +### Patch Changes + +- Fixes issues in `ClerkRouter` that were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where `@clerk/elements` was pulling in the wrong version of `@clerk/shared`. ([#4513](https://github.com/clerk/javascript/pull/4513)) by [@alexcarpenter](https://github.com/alexcarpenter) + +- Add afterJoinWaitlistUrl to DisplayConfig resource ([#4524](https://github.com/clerk/javascript/pull/4524)) by [@nikospapcom](https://github.com/nikospapcom) + ## 4.30.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 5d94be81bb..e00f377776 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "4.30.0", + "version": "4.31.0", "description": "Typings for Clerk libraries.", "keywords": [ "clerk", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 284d6711c8..65cfd8aa54 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,18 @@ # @clerk/ui +## 0.1.17 + +### Patch Changes + +- The Legal consent feature is now stable. ([#4487](https://github.com/clerk/javascript/pull/4487)) by [@octoper](https://github.com/octoper) + + Removed the `__experimental_` preffix. + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`f030f6f152b7312d7e08a51e6d947edf769ec0ab`](https://github.com/clerk/javascript/commit/f030f6f152b7312d7e08a51e6d947edf769ec0ab), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/shared@2.12.0 + - @clerk/elements@0.19.0 + - @clerk/types@4.31.0 + ## 0.1.16 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index c8b96297c8..bf284020ab 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/ui", - "version": "0.1.16", + "version": "0.1.17", "repository": { "type": "git", "url": "git+https://github.com/clerk/javascript.git", @@ -52,9 +52,9 @@ "test": "vitest" }, "dependencies": { - "@clerk/elements": "0.18.5", - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0", + "@clerk/elements": "0.19.0", + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0", "@formkit/auto-animate": "^0.8.2", "@radix-ui/react-slot": "^1.1.0", "cmdk": "^1.0.0", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md new file mode 100644 index 0000000000..0d83eed92c --- /dev/null +++ b/packages/vue/CHANGELOG.md @@ -0,0 +1,11 @@ +# @clerk/vue + +## 0.0.1 + +### Patch Changes + +- Introduce an experimental version of Clerk SDK for [Vue](https://vuejs.org) ([#4461](https://github.com/clerk/javascript/pull/4461)) by [@wobsoriano](https://github.com/wobsoriano) + +- Updated dependencies [[`5a21de1f46df3642828dc27e4862263c9858da2b`](https://github.com/clerk/javascript/commit/5a21de1f46df3642828dc27e4862263c9858da2b), [`f7472e22877f62fc7f3c8d3efe409ff2276fb4a3`](https://github.com/clerk/javascript/commit/f7472e22877f62fc7f3c8d3efe409ff2276fb4a3), [`e199037b8f484abdeeb9fc24455a1b4b8c31c8dd`](https://github.com/clerk/javascript/commit/e199037b8f484abdeeb9fc24455a1b4b8c31c8dd), [`886e294a8d8c54b39cd5bda88d46b89eace3861e`](https://github.com/clerk/javascript/commit/886e294a8d8c54b39cd5bda88d46b89eace3861e), [`0e443ad7c76643420b50e5b169193e03f6ef79f9`](https://github.com/clerk/javascript/commit/0e443ad7c76643420b50e5b169193e03f6ef79f9), [`cc24c8145f1eea7fb91550f2c3e0bac3993e4320`](https://github.com/clerk/javascript/commit/cc24c8145f1eea7fb91550f2c3e0bac3993e4320)]: + - @clerk/shared@2.12.0 + - @clerk/types@4.31.0 diff --git a/packages/vue/package.json b/packages/vue/package.json index c4e8fea676..fc1a3bda99 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/vue", - "version": "0.0.0", + "version": "0.0.1", "description": "Clerk SDK for Vue", "keywords": [ "clerk", @@ -46,8 +46,8 @@ "test:ci": "vitest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "2.11.5", - "@clerk/types": "4.30.0" + "@clerk/shared": "2.12.0", + "@clerk/types": "4.31.0" }, "devDependencies": { "@testing-library/vue": "^8.1.0",