From ec2b683819507da833bfe5d537d1d1c7bfa2cda4 Mon Sep 17 00:00:00 2001 From: Clerk Cookie <136073014+clerk-cookie@users.noreply.github.com> Date: Tue, 14 May 2024 07:26:28 -0400 Subject: [PATCH] chore(repo): Version packages (#3370) Co-authored-by: github-actions[bot] --- .changeset/apple-wolf-add.md | 5 - .changeset/breezy-monkeys-develop.md | 38 ------- .changeset/chilled-laws-pump.md | 5 - .changeset/fast-timers-matter.md | 5 - .changeset/modern-steaks-think.md | 5 - .changeset/odd-coins-carry.md | 10 -- .changeset/rotten-feet-thank.md | 5 - .changeset/rotten-mice-juggle.md | 5 - .changeset/tricky-tomatoes-repair.md | 7 -- .changeset/wet-peaches-grow.md | 6 -- package-lock.json | 120 +++++++++++----------- packages/backend/CHANGELOG.md | 7 ++ packages/backend/package.json | 6 +- packages/chrome-extension/CHANGELOG.md | 13 +++ packages/chrome-extension/package.json | 8 +- packages/clerk-js/CHANGELOG.md | 57 ++++++++++ packages/clerk-js/package.json | 8 +- packages/elements/CHANGELOG.md | 11 ++ packages/elements/package.json | 8 +- packages/expo/CHANGELOG.md | 9 ++ packages/expo/package.json | 10 +- packages/express/CHANGELOG.md | 8 ++ packages/express/package.json | 8 +- packages/fastify/CHANGELOG.md | 9 ++ packages/fastify/package.json | 8 +- packages/gatsby-plugin-clerk/package.json | 8 +- packages/localizations/CHANGELOG.md | 12 +++ packages/localizations/package.json | 4 +- packages/nextjs/CHANGELOG.md | 9 ++ packages/nextjs/package.json | 10 +- packages/react/CHANGELOG.md | 10 ++ packages/react/package.json | 8 +- packages/remix/CHANGELOG.md | 9 ++ packages/remix/package.json | 10 +- packages/sdk-node/CHANGELOG.md | 8 ++ packages/sdk-node/package.json | 8 +- packages/shared/CHANGELOG.md | 6 ++ packages/shared/package.json | 4 +- packages/testing/CHANGELOG.md | 8 ++ packages/testing/package.json | 6 +- packages/themes/CHANGELOG.md | 7 ++ packages/themes/package.json | 4 +- packages/types/CHANGELOG.md | 46 +++++++++ packages/types/package.json | 2 +- 44 files changed, 349 insertions(+), 211 deletions(-) delete mode 100644 .changeset/apple-wolf-add.md delete mode 100644 .changeset/breezy-monkeys-develop.md delete mode 100644 .changeset/chilled-laws-pump.md delete mode 100644 .changeset/fast-timers-matter.md delete mode 100644 .changeset/modern-steaks-think.md delete mode 100644 .changeset/odd-coins-carry.md delete mode 100644 .changeset/rotten-feet-thank.md delete mode 100644 .changeset/rotten-mice-juggle.md delete mode 100644 .changeset/tricky-tomatoes-repair.md delete mode 100644 .changeset/wet-peaches-grow.md diff --git a/.changeset/apple-wolf-add.md b/.changeset/apple-wolf-add.md deleted file mode 100644 index 4f51a9051f5..00000000000 --- a/.changeset/apple-wolf-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/localizations": minor ---- - -Add srRS localization diff --git a/.changeset/breezy-monkeys-develop.md b/.changeset/breezy-monkeys-develop.md deleted file mode 100644 index 36f161d3e0f..00000000000 --- a/.changeset/breezy-monkeys-develop.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -'@clerk/clerk-js': minor -'@clerk/types': minor ---- - -Updates related to experimental Google One Tap support -- By default we are returning back to the location where the flow started. - To accomplish that internally we will use the redirect_url query parameter to build the url. -```tsx -<__experimental_GoogleOneTap /> -``` - -- In the above example if there is a SIGN_UP_FORCE_REDIRECT_URL or SIGN_IN_FORCE_REDIRECT_URL set then the developer would need to pass new values as props like this -```tsx -<__experimental_GoogleOneTap - signInForceRedirectUrl="" - signUpForceRedirectUrl="" -/> -``` - -- Let the developer configure the experience they want to offer. (All these values are true by default) -```tsx -<__experimental_GoogleOneTap - cancelOnTapOutside={false} - itpSupport={false} - fedCmSupport={false} -/> -``` - -- Moved authenticateWithGoogleOneTap to Clerk singleton -```ts -Clerk.__experimental_authenticateWithGoogleOneTap -``` - -- Created the handleGoogleOneTapCallback in Clerk singleton -```ts -Clerk.__experimental_handleGoogleOneTapCallback -``` diff --git a/.changeset/chilled-laws-pump.md b/.changeset/chilled-laws-pump.md deleted file mode 100644 index 60358ead22a..00000000000 --- a/.changeset/chilled-laws-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/localizations': minor ---- - -Added new keys for email link verification under `signIn.emailLink.clientMismatch` and `signUp.emailLink.clientMismatch` diff --git a/.changeset/fast-timers-matter.md b/.changeset/fast-timers-matter.md deleted file mode 100644 index df1125bc1a9..00000000000 --- a/.changeset/fast-timers-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/clerk-js': patch ---- - -Improve logging for CAPTCHA script loading errors diff --git a/.changeset/modern-steaks-think.md b/.changeset/modern-steaks-think.md deleted file mode 100644 index 0e46ce98395..00000000000 --- a/.changeset/modern-steaks-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/chrome-extension': patch ---- - -Remove `Origin` from API mutation request headers via `onInstalled` listener. diff --git a/.changeset/odd-coins-carry.md b/.changeset/odd-coins-carry.md deleted file mode 100644 index d2e7f8d811e..00000000000 --- a/.changeset/odd-coins-carry.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@clerk/elements': patch ---- - -This release includes various smaller fixes and one dependency update: - -- `xstate` was updated from `5.12.0` to `5.13.0` -- Previously, the contents of the `fallback` prop were sometimes shown even if the user wasn't on the `start` step. This bug is fixed now. -- Upon completion of an sign-in/sign-up attempt, don't immediately return to the `start` step. This fixes the issue of a "flash of content" that could e.g. be seen during sign-in with OAuth providers. -- Some underlying fixes in Clerk Elements' XState logic were applied to make sure that during a sign-in/sign-up attempt the state is properly maintained. For example, if you visit an already completed attempt (some step of that flow) it now properly keeps track of that state. diff --git a/.changeset/rotten-feet-thank.md b/.changeset/rotten-feet-thank.md deleted file mode 100644 index 342c367725e..00000000000 --- a/.changeset/rotten-feet-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@clerk/localizations": patch ---- - -Update esMX language module diff --git a/.changeset/rotten-mice-juggle.md b/.changeset/rotten-mice-juggle.md deleted file mode 100644 index 991ba0fa361..00000000000 --- a/.changeset/rotten-mice-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clerk/chrome-extension': patch ---- - -Revert: Remove `Origin` from API mutation request headers via `onInstalled` listener. diff --git a/.changeset/tricky-tomatoes-repair.md b/.changeset/tricky-tomatoes-repair.md deleted file mode 100644 index 59faaebe47b..00000000000 --- a/.changeset/tricky-tomatoes-repair.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@clerk/clerk-js': minor -'@clerk/shared': minor -'@clerk/types': minor ---- - -Introduce new `client_mismatch` verification status for email link sign-in and sign-up. This error (and its message) will be shown if a verification link was opened in another device/browser from which the user initiated the sign-in/sign-up attempt. This functionality needs to be enabled in the Clerk dashboard. \ No newline at end of file diff --git a/.changeset/wet-peaches-grow.md b/.changeset/wet-peaches-grow.md deleted file mode 100644 index 7c9c5929ad3..00000000000 --- a/.changeset/wet-peaches-grow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@clerk/clerk-js': patch -'@clerk/clerk-react': patch ---- - -Respect the `signInForceRedirectUrl`, `signInFallbackRedirectUrl`, `signUpForceRedirectUrl` and `signUpFallbackRedirectUrl` props passed to `SignInButton`, `SignUpButton` and the low-level `window.Clerk.buildSignInUrl` & `window.Clerk.buildSignUpUrl` methods. These props allow you to control the redirect behavior of the `SignIn` and `SignUp` components. For more information, refer to the [Custom Redirects](https://clerk.com/docs/guides/custom-redirects) guide. diff --git a/package-lock.json b/package-lock.json index 9599a2b80e6..f066aff8947 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37683,17 +37683,17 @@ }, "packages/backend": { "name": "@clerk/backend", - "version": "1.1.3", + "version": "1.1.4", "license": "MIT", "dependencies": { - "@clerk/shared": "2.0.2", + "@clerk/shared": "2.1.0", "cookie": "0.5.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@cloudflare/workers-types": "^3.18.0", "@types/chai": "^4.3.3", "@types/cookie": "^0.5.1", @@ -37800,12 +37800,12 @@ }, "packages/chrome-extension": { "name": "@clerk/chrome-extension", - "version": "1.0.8", + "version": "1.0.9", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.2.4", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/clerk-js": "5.3.0", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "webextension-polyfill": "^0.10.0" }, "devDependencies": { @@ -37849,12 +37849,12 @@ }, "packages/clerk-js": { "name": "@clerk/clerk-js", - "version": "5.2.4", + "version": "5.3.0", "license": "MIT", "dependencies": { - "@clerk/localizations": "2.3.1", - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/localizations": "2.4.0", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", "@floating-ui/react": "0.25.4", @@ -38402,7 +38402,7 @@ }, "packages/elements": { "name": "@clerk/elements", - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "dependencies": { "@radix-ui/react-form": "^0.0.3", @@ -38413,10 +38413,10 @@ "xstate": "^5.13.0" }, "devDependencies": { - "@clerk/clerk-react": "5.0.4", + "@clerk/clerk-react": "5.0.5", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.0.2", - "@clerk/types": "^4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "^4.3.0", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", @@ -38860,19 +38860,19 @@ }, "packages/expo": { "name": "@clerk/clerk-expo", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "dependencies": { - "@clerk/clerk-js": "5.2.4", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/clerk-js": "5.3.0", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "^4.2.1", + "@clerk/types": "^4.3.0", "@types/base-64": "^1.0.2", "@types/node": "^20.11.24", "@types/react": "*", @@ -38968,16 +38968,16 @@ }, "packages/express": { "name": "@clerk/express", - "version": "0.0.6", + "version": "0.0.7", "license": "MIT", "dependencies": { - "@clerk/backend": "^1.1.3", - "@clerk/shared": "^2.0.2", + "@clerk/backend": "^1.1.4", + "@clerk/shared": "^2.1.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/express": "^4.17", "@types/node": "^18.17.0", "@types/supertest": "^6.0.2", @@ -39125,12 +39125,12 @@ }, "packages/fastify": { "name": "@clerk/fastify", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/backend": "1.1.4", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "cookies": "0.8.0" }, "devDependencies": { @@ -39151,15 +39151,15 @@ "version": "5.0.0-beta.45", "license": "MIT", "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/clerk-sdk-node": "5.0.5", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/clerk-sdk-node": "5.0.6", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/cookie": "^0.5.0", "@types/node": "^18.17.0", "gatsby": "^5.0.0", @@ -39178,11 +39178,11 @@ }, "packages/localizations": { "name": "@clerk/localizations", - "version": "2.3.1", + "version": "2.4.0", "license": "MIT", "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "tsup": "*", "typescript": "*" }, @@ -39192,19 +39192,19 @@ }, "packages/nextjs": { "name": "@clerk/nextjs", - "version": "5.0.8", + "version": "5.0.9", "license": "MIT", "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "crypto-js": "4.2.0", "path-to-regexp": "6.2.1", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/crypto-js": "4.2.2", "@types/node": "^18.17.0", "@types/react": "*", @@ -39428,16 +39428,16 @@ }, "packages/react": { "name": "@clerk/clerk-react", - "version": "5.0.4", + "version": "5.0.5", "license": "MIT", "dependencies": { - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.3", + "@clerk/themes": "2.1.4", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", @@ -39458,18 +39458,18 @@ }, "packages/remix": { "name": "@clerk/remix", - "version": "4.0.6", + "version": "4.0.7", "license": "MIT", "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@remix-run/react": "^2.0.0", "@remix-run/server-runtime": "^2.0.0", "@types/cookie": "^0.5.0", @@ -39494,16 +39494,16 @@ }, "packages/sdk-node": { "name": "@clerk/clerk-sdk-node", - "version": "5.0.5", + "version": "5.0.6", "license": "MIT", "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/shared": "2.1.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/express": "4.17.14", "@types/node": "^18.17.0", "nock": "^13.0.7", @@ -39522,7 +39522,7 @@ }, "packages/shared": { "name": "@clerk/shared", - "version": "2.0.2", + "version": "2.1.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -39533,7 +39533,7 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/glob-to-regexp": "0.4.1", "@types/js-cookie": "3.0.2", "@types/node": "^18.17.0", @@ -39567,11 +39567,11 @@ }, "packages/testing": { "name": "@clerk/testing", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "dependencies": { - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "dotenv": "16.4.5" }, "devDependencies": { @@ -39651,10 +39651,10 @@ }, "packages/themes": { "name": "@clerk/themes", - "version": "2.1.3", + "version": "2.1.4", "license": "MIT", "dependencies": { - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "tslib": "2.4.1" }, "devDependencies": { @@ -39671,7 +39671,7 @@ }, "packages/types": { "name": "@clerk/types", - "version": "4.2.1", + "version": "4.3.0", "license": "MIT", "dependencies": { "csstype": "3.1.1" diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index 012ab4e4a94..000bc550a40 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 1.1.4 + +### Patch Changes + +- Updated dependencies [[`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/shared@2.1.0 + ## 1.1.3 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index fc562770f38..a78ee8dc773 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "1.1.3", + "version": "1.1.4", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "homepage": "https://clerk.com/", "bugs": { @@ -95,14 +95,14 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/shared": "2.0.2", + "@clerk/shared": "2.1.0", "cookie": "0.5.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@cloudflare/workers-types": "^3.18.0", "@types/chai": "^4.3.3", "@types/cookie": "^0.5.1", diff --git a/packages/chrome-extension/CHANGELOG.md b/packages/chrome-extension/CHANGELOG.md index 4393d5ea0c9..4836c95c7df 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 1.0.9 + +### Patch Changes + +- Remove `Origin` from API mutation request headers via `onInstalled` listener. ([#3363](https://github.com/clerk/javascript/pull/3363)) by [@tmilewski](https://github.com/tmilewski) + +- Revert: Remove `Origin` from API mutation request headers via `onInstalled` listener. ([#3375](https://github.com/clerk/javascript/pull/3375)) by [@tmilewski](https://github.com/tmilewski) + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`34befeebc`](https://github.com/clerk/javascript/commit/34befeebc49d95b5492a2e665ad3b31919f2c1e3), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20), [`bcbb2c9ef`](https://github.com/clerk/javascript/commit/bcbb2c9ef42c11b13c1d2f60db4dd88a2d4f04f6)]: + - @clerk/clerk-js@5.3.0 + - @clerk/shared@2.1.0 + - @clerk/clerk-react@5.0.5 + ## 1.0.8 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index af6c8139231..a4bfb53b4a7 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "1.0.8", + "version": "1.0.9", "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.2.4", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/clerk-js": "5.3.0", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "webextension-polyfill": "^0.10.0" }, "devDependencies": { diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index 9d0a3847fcf..13dc2ebbccf 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,62 @@ # Change Log +## 5.3.0 + +### Minor Changes + +- Updates related to experimental Google One Tap support ([#3250](https://github.com/clerk/javascript/pull/3250)) by [@panteliselef](https://github.com/panteliselef) + + - By default we are returning back to the location where the flow started. + To accomplish that internally we will use the redirect_url query parameter to build the url. + + ```tsx + <__experimental_GoogleOneTap /> + ``` + + - In the above example if there is a SIGN_UP_FORCE_REDIRECT_URL or SIGN_IN_FORCE_REDIRECT_URL set then the developer would need to pass new values as props like this + + ```tsx + <__experimental_GoogleOneTap + signInForceRedirectUrl='' + signUpForceRedirectUrl='' + /> + ``` + + - Let the developer configure the experience they want to offer. (All these values are true by default) + + ```tsx + <__experimental_GoogleOneTap + cancelOnTapOutside={false} + itpSupport={false} + fedCmSupport={false} + /> + ``` + + - Moved authenticateWithGoogleOneTap to Clerk singleton + + ```ts + Clerk.__experimental_authenticateWithGoogleOneTap; + ``` + + - Created the handleGoogleOneTapCallback in Clerk singleton + + ```ts + Clerk.__experimental_handleGoogleOneTapCallback; + ``` + +- Introduce new `client_mismatch` verification status for email link sign-in and sign-up. This error (and its message) will be shown if a verification link was opened in another device/browser from which the user initiated the sign-in/sign-up attempt. This functionality needs to be enabled in the Clerk dashboard. ([#3367](https://github.com/clerk/javascript/pull/3367)) by [@mzhong9723](https://github.com/mzhong9723) + +### Patch Changes + +- Improve logging for CAPTCHA script loading errors ([#3374](https://github.com/clerk/javascript/pull/3374)) by [@anagstef](https://github.com/anagstef) + +- Respect the `signInForceRedirectUrl`, `signInFallbackRedirectUrl`, `signUpForceRedirectUrl` and `signUpFallbackRedirectUrl` props passed to `SignInButton`, `SignUpButton` and the low-level `window.Clerk.buildSignInUrl` & `window.Clerk.buildSignUpUrl` methods. These props allow you to control the redirect behavior of the `SignIn` and `SignUp` components. For more information, refer to the [Custom Redirects](https://clerk.com/docs/guides/custom-redirects) guide. ([#3361](https://github.com/clerk/javascript/pull/3361)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Updated dependencies [[`6f61130e3`](https://github.com/clerk/javascript/commit/6f61130e35a08298a715c170d2ee14d29d15bb58), [`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20), [`201b28d37`](https://github.com/clerk/javascript/commit/201b28d37852b5a2681f8115d1898905e7956bc2), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/localizations@2.4.0 + - @clerk/types@4.3.0 + - @clerk/shared@2.1.0 + ## 5.2.4 ### Patch Changes diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index c1e6e276618..d57fb3879fd 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "5.2.4", + "version": "5.3.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.3.1", - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/localizations": "2.4.0", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.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 8a22476db90..3b44ee75b61 100644 --- a/packages/elements/CHANGELOG.md +++ b/packages/elements/CHANGELOG.md @@ -1,5 +1,16 @@ # @clerk/elements +## 0.4.1 + +### Patch Changes + +- This release includes various smaller fixes and one dependency update: ([#3343](https://github.com/clerk/javascript/pull/3343)) by [@tmilewski](https://github.com/tmilewski) + + - `xstate` was updated from `5.12.0` to `5.13.0` + - Previously, the contents of the `fallback` prop were sometimes shown even if the user wasn't on the `start` step. This bug is fixed now. + - Upon completion of an sign-in/sign-up attempt, don't immediately return to the `start` step. This fixes the issue of a "flash of content" that could e.g. be seen during sign-in with OAuth providers. + - Some underlying fixes in Clerk Elements' XState logic were applied to make sure that during a sign-in/sign-up attempt the state is properly maintained. For example, if you visit an already completed attempt (some step of that flow) it now properly keeps track of that state. + ## 0.4.0 ### Minor Changes diff --git a/packages/elements/package.json b/packages/elements/package.json index 17f3c2d6792..504944924d9 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/elements", - "version": "0.4.0", + "version": "0.4.1", "description": "Clerk Elements", "keywords": [ "clerk", @@ -77,10 +77,10 @@ "xstate": "^5.13.0" }, "devDependencies": { - "@clerk/clerk-react": "5.0.4", + "@clerk/clerk-react": "5.0.5", "@clerk/eslint-config-custom": "*", - "@clerk/shared": "2.0.2", - "@clerk/types": "^4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "^4.3.0", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index b31901e5a94..fe2d2443c19 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.1.1 + +### Patch Changes + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`34befeebc`](https://github.com/clerk/javascript/commit/34befeebc49d95b5492a2e665ad3b31919f2c1e3), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20), [`bcbb2c9ef`](https://github.com/clerk/javascript/commit/bcbb2c9ef42c11b13c1d2f60db4dd88a2d4f04f6)]: + - @clerk/clerk-js@5.3.0 + - @clerk/shared@2.1.0 + - @clerk/clerk-react@5.0.5 + ## 1.1.0 ### Minor Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 1b856cf937f..ec6fc61667a 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "1.1.0", + "version": "1.1.1", "description": "Clerk React Native/Expo library", "keywords": [ "react", @@ -39,16 +39,16 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/clerk-js": "5.2.4", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/clerk-js": "5.3.0", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "^4.2.1", + "@clerk/types": "^4.3.0", "@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 2063167b30d..360a045f1b0 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 0.0.7 + +### Patch Changes + +- Updated dependencies [[`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/shared@2.1.0 + - @clerk/backend@1.1.4 + ## 0.0.6 ### Patch Changes diff --git a/packages/express/package.json b/packages/express/package.json index 9ae121272d0..c2cc9ceda7b 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/express", - "version": "0.0.6", + "version": "0.0.7", "description": "Clerk server SDK for usage with Express", "keywords": [ "clerk", @@ -53,13 +53,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "^1.1.3", - "@clerk/shared": "^2.0.2", + "@clerk/backend": "^1.1.4", + "@clerk/shared": "^2.1.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/express": "^4.17", "@types/node": "^18.17.0", "@types/supertest": "^6.0.2", diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index 71fa2258a57..318cb5f23b1 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.6 + +### Patch Changes + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/types@4.3.0 + - @clerk/shared@2.1.0 + - @clerk/backend@1.1.4 + ## 1.0.5 ### Patch Changes diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 7ce81e8c81f..97d434327d9 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "1.0.5", + "version": "1.0.6", "description": "Clerk SDK for Fastify", "keywords": [ "auth", @@ -40,9 +40,9 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/backend": "1.1.4", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "cookies": "0.8.0" }, "devDependencies": { diff --git a/packages/gatsby-plugin-clerk/package.json b/packages/gatsby-plugin-clerk/package.json index 80186837781..b1e96d11e68 100644 --- a/packages/gatsby-plugin-clerk/package.json +++ b/packages/gatsby-plugin-clerk/package.json @@ -44,15 +44,15 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/clerk-sdk-node": "5.0.5", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/clerk-sdk-node": "5.0.6", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/cookie": "^0.5.0", "@types/node": "^18.17.0", "gatsby": "^5.0.0", diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index ba1f80168e2..f4e6c646d02 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 2.4.0 + +### Minor Changes + +- Add srRS localization ([#3338](https://github.com/clerk/javascript/pull/3338)) by [@paunovic5ar](https://github.com/paunovic5ar) + +- Added new keys for email link verification under `signIn.emailLink.clientMismatch` and `signUp.emailLink.clientMismatch` ([#3367](https://github.com/clerk/javascript/pull/3367)) by [@mzhong9723](https://github.com/mzhong9723) + +### Patch Changes + +- Update esMX language module ([#3372](https://github.com/clerk/javascript/pull/3372)) by [@Thiagoamaro2431](https://github.com/Thiagoamaro2431) + ## 2.3.1 ### Patch Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index d291bf5b129..82ea4b05820 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "2.3.1", + "version": "2.4.0", "description": "Localizations for the Clerk components", "keywords": [ "react", @@ -97,7 +97,7 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "tsup": "*", "typescript": "*" }, diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index b6b16caf30b..95b1fc50df0 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 5.0.9 + +### Patch Changes + +- Updated dependencies [[`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20), [`bcbb2c9ef`](https://github.com/clerk/javascript/commit/bcbb2c9ef42c11b13c1d2f60db4dd88a2d4f04f6)]: + - @clerk/shared@2.1.0 + - @clerk/clerk-react@5.0.5 + - @clerk/backend@1.1.4 + ## 5.0.8 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index be9081d405b..9c7d846bb74 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "5.0.8", + "version": "5.0.9", "description": "Clerk SDK for NextJS", "keywords": [ "clerk", @@ -67,16 +67,16 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "crypto-js": "4.2.0", "path-to-regexp": "6.2.1", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/crypto-js": "4.2.2", "@types/node": "^18.17.0", "@types/react": "*", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 2e00a77ee12..74549b0b419 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 5.0.5 + +### Patch Changes + +- Respect the `signInForceRedirectUrl`, `signInFallbackRedirectUrl`, `signUpForceRedirectUrl` and `signUpFallbackRedirectUrl` props passed to `SignInButton`, `SignUpButton` and the low-level `window.Clerk.buildSignInUrl` & `window.Clerk.buildSignUpUrl` methods. These props allow you to control the redirect behavior of the `SignIn` and `SignUp` components. For more information, refer to the [Custom Redirects](https://clerk.com/docs/guides/custom-redirects) guide. ([#3361](https://github.com/clerk/javascript/pull/3361)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/types@4.3.0 + - @clerk/shared@2.1.0 + ## 5.0.4 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 8fa6b625a03..f3405626c2b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "5.0.4", + "version": "5.0.5", "description": "Clerk React library", "keywords": [ "clerk", @@ -76,13 +76,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/themes": "2.1.3", + "@clerk/themes": "2.1.4", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index b257c0941a2..18507ddaa41 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 4.0.7 + +### Patch Changes + +- Updated dependencies [[`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20), [`bcbb2c9ef`](https://github.com/clerk/javascript/commit/bcbb2c9ef42c11b13c1d2f60db4dd88a2d4f04f6)]: + - @clerk/shared@2.1.0 + - @clerk/clerk-react@5.0.5 + - @clerk/backend@1.1.4 + ## 4.0.6 ### Patch Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index 4520082dc63..fd1ef0bbed6 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "4.0.6", + "version": "4.0.7", "description": "Clerk SDK for Remix", "keywords": [ "clerk", @@ -73,15 +73,15 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/clerk-react": "5.0.4", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/clerk-react": "5.0.5", + "@clerk/shared": "2.1.0", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@remix-run/react": "^2.0.0", "@remix-run/server-runtime": "^2.0.0", "@types/cookie": "^0.5.0", diff --git a/packages/sdk-node/CHANGELOG.md b/packages/sdk-node/CHANGELOG.md index b4e52a5bb83..c72e396ac9f 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 5.0.6 + +### Patch Changes + +- Updated dependencies [[`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/shared@2.1.0 + - @clerk/backend@1.1.4 + ## 5.0.5 ### Patch Changes diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index 6c7321b0532..1a98410907f 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.5", + "version": "5.0.6", "description": "Clerk server SDK for usage with node", "keywords": [ "clerk", @@ -53,13 +53,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.1.3", - "@clerk/shared": "2.0.2", + "@clerk/backend": "1.1.4", + "@clerk/shared": "2.1.0", "tslib": "2.4.1" }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/express": "4.17.14", "@types/node": "^18.17.0", "nock": "^13.0.7", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index fcbc76d1ab6..18c30dc59bd 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.1.0 + +### Minor Changes + +- Introduce new `client_mismatch` verification status for email link sign-in and sign-up. This error (and its message) will be shown if a verification link was opened in another device/browser from which the user initiated the sign-in/sign-up attempt. This functionality needs to be enabled in the Clerk dashboard. ([#3367](https://github.com/clerk/javascript/pull/3367)) by [@mzhong9723](https://github.com/mzhong9723) + ## 2.0.2 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index 228ddf15044..9fda7e00639 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "2.0.2", + "version": "2.1.0", "description": "Internal package utils used by the Clerk SDKs", "repository": { "type": "git", @@ -94,7 +94,7 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "*", - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "@types/glob-to-regexp": "0.4.1", "@types/js-cookie": "3.0.2", "@types/node": "^18.17.0", diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index 1ce01675d8d..2e7ab03282b 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,13 @@ # @clerk/testing +## 1.0.4 + +### Patch Changes + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/types@4.3.0 + - @clerk/shared@2.1.0 + ## 1.0.3 ### Patch Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index c3df327b62f..6d2bb58edd5 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/testing", - "version": "1.0.3", + "version": "1.0.4", "description": "Utilities to help you create E2E test suites for apps using Clerk", "keywords": [ "auth", @@ -49,8 +49,8 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/shared": "2.0.2", - "@clerk/types": "4.2.1", + "@clerk/shared": "2.1.0", + "@clerk/types": "4.3.0", "dotenv": "16.4.5" }, "devDependencies": { diff --git a/packages/themes/CHANGELOG.md b/packages/themes/CHANGELOG.md index e688faadb82..ba903586bc2 100644 --- a/packages/themes/CHANGELOG.md +++ b/packages/themes/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.1.4 + +### Patch Changes + +- Updated dependencies [[`94197710a`](https://github.com/clerk/javascript/commit/94197710a70381c4f1c460948ef02cd2a70b88bb), [`b27ca8366`](https://github.com/clerk/javascript/commit/b27ca8366a1d6ec1d7ce4a5be5005f1b1b017c20)]: + - @clerk/types@4.3.0 + ## 2.1.3 ### Patch Changes diff --git a/packages/themes/package.json b/packages/themes/package.json index 0188266d360..56cb964e238 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/themes", - "version": "2.1.3", + "version": "2.1.4", "description": "Themes for the Clerk auth components", "keywords": [ "react", @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "4.2.1", + "@clerk/types": "4.3.0", "tslib": "2.4.1" }, "devDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 872084231ae..ca0469b5100 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,51 @@ # Change Log +## 4.3.0 + +### Minor Changes + +- Updates related to experimental Google One Tap support ([#3250](https://github.com/clerk/javascript/pull/3250)) by [@panteliselef](https://github.com/panteliselef) + + - By default we are returning back to the location where the flow started. + To accomplish that internally we will use the redirect_url query parameter to build the url. + + ```tsx + <__experimental_GoogleOneTap /> + ``` + + - In the above example if there is a SIGN_UP_FORCE_REDIRECT_URL or SIGN_IN_FORCE_REDIRECT_URL set then the developer would need to pass new values as props like this + + ```tsx + <__experimental_GoogleOneTap + signInForceRedirectUrl='' + signUpForceRedirectUrl='' + /> + ``` + + - Let the developer configure the experience they want to offer. (All these values are true by default) + + ```tsx + <__experimental_GoogleOneTap + cancelOnTapOutside={false} + itpSupport={false} + fedCmSupport={false} + /> + ``` + + - Moved authenticateWithGoogleOneTap to Clerk singleton + + ```ts + Clerk.__experimental_authenticateWithGoogleOneTap; + ``` + + - Created the handleGoogleOneTapCallback in Clerk singleton + + ```ts + Clerk.__experimental_handleGoogleOneTapCallback; + ``` + +- Introduce new `client_mismatch` verification status for email link sign-in and sign-up. This error (and its message) will be shown if a verification link was opened in another device/browser from which the user initiated the sign-in/sign-up attempt. This functionality needs to be enabled in the Clerk dashboard. ([#3367](https://github.com/clerk/javascript/pull/3367)) by [@mzhong9723](https://github.com/mzhong9723) + ## 4.2.1 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 7903613e2e7..58de7cecf15 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "4.2.1", + "version": "4.3.0", "description": "Typings for Clerk libraries.", "keywords": [ "clerk",