diff --git a/.changeset/pre.json b/.changeset/pre.json index eb7dcd3a8ab..2eb39ebdaa1 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,5 +18,37 @@ "@clerk/themes": "1.7.9", "@clerk/types": "3.57.0" }, - "changesets": [] -} \ No newline at end of file + "changesets": [ + "blue-lies-drop", + "bright-trainers-sort", + "curly-news-push", + "fair-cameras-boil", + "fifty-rats-rhyme", + "flat-ants-worry", + "flat-pots-hear", + "friendly-vans-develop", + "gorgeous-baboons-float", + "hungry-bears-allow", + "late-dolphins-peel", + "long-icons-share", + "lovely-mirrors-remember", + "lovely-plums-sin", + "lucky-ligers-brush", + "mean-houses-juggle", + "metal-olives-press", + "odd-lemons-reply", + "pretty-mice-share", + "quick-trains-rush", + "red-monkeys-sing", + "silly-icons-kick", + "slimy-singers-glow", + "sour-comics-stare", + "spotty-roses-push", + "tasty-countries-walk", + "thin-phones-drop", + "tough-roses-hunt", + "two-terms-speak", + "wild-phones-smoke", + "wise-houses-shop" + ] +} diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index d3def142924..bdee7a6db07 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,29 @@ # Change Log +## 1.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +### Minor Changes + +- Added prefers-color-scheme to interstitial ([#1935](https://github.com/clerkinc/javascript/pull/1935)) by [@royanger](https://github.com/royanger) + +- Add support for NextJS 14 ([#1968](https://github.com/clerkinc/javascript/pull/1968)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Add `sha256` hasher support to PasswordHasher as described in [`Users#CreateUser`](https://clerk.com/docs/reference/backend-api/tag/Users#operation/CreateUser!path=password_hasher) ([#1941](https://github.com/clerkinc/javascript/pull/1941)) by [@MathieuNls](https://github.com/MathieuNls) + +- Add clerkTraceId to ClerkBackendApiResponse and ClerkAPIResponseError to allow for better tracing and debugging API error responses. ([#1986](https://github.com/clerkinc/javascript/pull/1986)) by [@Nikpolik](https://github.com/Nikpolik) + + Uses `clerk_trace_id` when available in a response and defaults to [`cf-ray` identifier](https://developers.cloudflare.com/fundamentals/reference/cloudflare-ray-id/) if missing. + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + ## 0.31.3 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index 6abdaf3a8fa..da2613fffe7 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "0.31.3", + "version": "1.0.0-alpha-v5.0", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "homepage": "https://clerk.com/", "bugs": { @@ -55,8 +55,8 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@peculiar/webcrypto": "1.4.1", "@types/node": "16.18.6", "cookie": "0.5.0", diff --git a/packages/chrome-extension/CHANGELOG.md b/packages/chrome-extension/CHANGELOG.md index cd83b280d99..996eaaa6659 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 0.4.11-alpha-v5.0 + +### Patch Changes + +- Ignore `.test.ts` files for the build output. Should result in smaller bundle size. ([#2005](https://github.com/clerkinc/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`3ba3f383b`](https://github.com/clerkinc/javascript/commit/3ba3f383bbe12d26de51118608e9e932e58479e7), [`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`ae3a6683a`](https://github.com/clerkinc/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`9e57e94d2`](https://github.com/clerkinc/javascript/commit/9e57e94d25b96c11889f49e7e4d4827e5134927d), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`9c6411aa8`](https://github.com/clerkinc/javascript/commit/9c6411aa8a551079ee3f15b36868a65e0c76f87f)]: + - @clerk/clerk-js@5.0.0-alpha-v5.0 + - @clerk/clerk-react@4.27.1-alpha-v5.0 + ## 0.4.10 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index d377b0bb566..f881327c8d3 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "0.4.10", + "version": "0.4.11-alpha-v5.0", "description": "Clerk SDK for Chrome extensions", "keywords": [ "auth", @@ -45,8 +45,8 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/clerk-js": "4.63.0", - "@clerk/clerk-react": "4.27.0" + "@clerk/clerk-js": "5.0.0-alpha-v5.0", + "@clerk/clerk-react": "4.27.1-alpha-v5.0" }, "devDependencies": { "@types/chrome": "*", diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index 0962bff8c0b..585a1f7c699 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,37 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Avatar Shimmer will be enabled by default for `` and ``. ([#1972](https://github.com/clerkinc/javascript/pull/1972)) by [@octoper](https://github.com/octoper) + +### Minor Changes + +- Greatly improve the UX when users are creating their passwords. The hints below the input fields now have smoother animations and show more types of feedback based on different conditions. Additionally, the password validation is now debounced. ([#1776](https://github.com/clerkinc/javascript/pull/1776)) by [@desiprisg](https://github.com/desiprisg) + +### Patch Changes + +- Internal refactoring of form fields, deprecation of Form.Control and introduction of Form.PlainInput. ([#1912](https://github.com/clerkinc/javascript/pull/1912)) by [@panteliselef](https://github.com/panteliselef) + +- Shows list of domains if member has the `org:sys_domain:read` permission. ([#1988](https://github.com/clerkinc/javascript/pull/1988)) by [@panteliselef](https://github.com/panteliselef) + +- Introduces new element appearance descriptors: ([#1994](https://github.com/clerkinc/javascript/pull/1994)) by [@tmilewski](https://github.com/tmilewski) + + - `activeDeviceListItem` allows you to customize the appearance of the active device list (accordion) item + - `activeDeviceListItem__current` allows you to customize the appearance of the _current_ active device list (accordion) item + - `activeDevice` allows you to customize the appearance of the active device item + - `activeDevice__current` allows you to customize the appearance of the _current_ active device item + +- Avoid passing some of the new feedback properties down to the HTML basic elements to avoid react warnings in the console. ([#1977](https://github.com/clerkinc/javascript/pull/1977)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/localizations@1.26.8-alpha-v5.0 + ## 4.63.0 ### Minor Changes diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index d2e48597b1c..95ff34b0100 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "4.63.0", + "version": "5.0.0-alpha-v5.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": "1.26.7", - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/localizations": "1.26.8-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", "@floating-ui/react": "0.25.4", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index a61624571c9..378424a614c 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 1.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1991](https://github.com/clerkinc/javascript/pull/1991)) by [@dimkl](https://github.com/dimkl) + + - use `CLERK_PUBLISHABLE_KEY` instead of `CLERK_FRONTEND_API` env variable + - use `publishableKey` instead of `frontendApi` + - use `isEmailLinkError` instead of `isMagicLinkError` + - use `EmailLinkErrorCode` instead of `MagicLinkErrorCode` + - use `useEmailLink` instead of `useMagicLink` + +### Patch Changes + +- Updated dependencies [[`3ba3f383b`](https://github.com/clerkinc/javascript/commit/3ba3f383bbe12d26de51118608e9e932e58479e7), [`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`ae3a6683a`](https://github.com/clerkinc/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`9e57e94d2`](https://github.com/clerkinc/javascript/commit/9e57e94d25b96c11889f49e7e4d4827e5134927d), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`9c6411aa8`](https://github.com/clerkinc/javascript/commit/9c6411aa8a551079ee3f15b36868a65e0c76f87f), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/clerk-js@5.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/clerk-react@4.27.1-alpha-v5.0 + ## 0.19.12 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 83a49323b4c..5d117a18728 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "0.19.12", + "version": "1.0.0-alpha-v5.0", "description": "Clerk React Native/Expo library", "keywords": [ "react", @@ -39,14 +39,14 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/clerk-js": "4.63.0", - "@clerk/clerk-react": "4.27.0", - "@clerk/shared": "1.0.0", + "@clerk/clerk-js": "5.0.0-alpha-v5.0", + "@clerk/clerk-react": "4.27.1-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", "base-64": "1.0.0", "react-native-url-polyfill": "2.0.0" }, "devDependencies": { - "@clerk/types": "^3.57.0", + "@clerk/types": "^4.0.0-alpha-v5.0", "@types/base-64": "^1.0.0", "@types/node": "^16.11.55", "@types/react": "*", diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index b30c8d88da0..7831b4c8899 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 1.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1976](https://github.com/clerkinc/javascript/pull/1976)) by [@dimkl](https://github.com/dimkl) + + - use `CLERK_SECRET_KEY` instead of `CLERK_API_KEY` env variable + - use `secretKey` instead of `apiKey` + - use `CLERK_PUBLISHABLE_KEY` instead of `CLERK_FRONTEND_API` env variable + - use `publishableKey` instead of `frontendApi` + +### Patch Changes + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerkinc/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerkinc/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + ## 0.6.17 ### Patch Changes diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 9b6aa6b46bf..8299f735bd9 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "0.6.17", + "version": "1.0.0-alpha-v5.0", "description": "Clerk SDK for Fastify", "keywords": [ "auth", @@ -40,9 +40,9 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "cookies": "0.8.0" }, "devDependencies": { diff --git a/packages/gatsby-plugin-clerk/CHANGELOG.md b/packages/gatsby-plugin-clerk/CHANGELOG.md index 859081ad37d..2e47a41b4ba 100644 --- a/packages/gatsby-plugin-clerk/CHANGELOG.md +++ b/packages/gatsby-plugin-clerk/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1992](https://github.com/clerkinc/javascript/pull/1992)) by [@dimkl](https://github.com/dimkl) + + - use `CLERK_SECRET_KEY` instead of `CLERK_API_KEY` env variable + - use `secretKey` instead of `apiKey` + - use `GATSBY_CLERK_PUBLISHABLE_KEY` instead of `GATSBY_CLERK_FRONTEND_API` env variable + - use `publishableKey` instead of `frontendApi` + +### Patch Changes + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerkinc/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerkinc/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerkinc/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/clerk-sdk-node@5.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@4.27.1-alpha-v5.0 + ## 4.4.18 ### Patch Changes diff --git a/packages/gatsby-plugin-clerk/package.json b/packages/gatsby-plugin-clerk/package.json index 5f00bcaf1db..b4dcf361730 100644 --- a/packages/gatsby-plugin-clerk/package.json +++ b/packages/gatsby-plugin-clerk/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-clerk", - "version": "4.4.18", + "version": "5.0.0-alpha-v5.0", "description": "Clerk SDK for Gatsby", "keywords": [ "clerk", @@ -44,10 +44,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/clerk-react": "4.27.0", - "@clerk/clerk-sdk-node": "4.12.16", - "@clerk/types": "3.57.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "4.27.1-alpha-v5.0", + "@clerk/clerk-sdk-node": "5.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index 5bda94248e6..dc5666a03a6 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 1.26.8-alpha-v5.0 + +### Patch Changes + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075)]: + - @clerk/types@4.0.0-alpha-v5.0 + ## 1.26.7 ### Patch Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index a67e8df088e..287f73c19af 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "1.26.7", + "version": "1.26.8-alpha-v5.0", "description": "Localizations for the Clerk components", "keywords": [ "react", @@ -38,7 +38,7 @@ "lint": "eslint src/" }, "dependencies": { - "@clerk/types": "3.57.0" + "@clerk/types": "4.0.0-alpha-v5.0" }, "devDependencies": { "eslint-config-custom": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index 83b783582ed..f37b7865d31 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop `user`, `session`, and `organization` resources from the returned value of `auth()`. ([#1947](https://github.com/clerkinc/javascript/pull/1947)) by [@panteliselef](https://github.com/panteliselef) + +### Patch Changes + +- Introduce `isTruthy` helper to better cast environment variables to a boolean. Previously only the string `"true"` was checked, now `true`, `"true"`, `"1"`, and `1` will work. ([#2002](https://github.com/clerkinc/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Ignore `.test.ts` files for the build output. Should result in smaller bundle size. ([#2005](https://github.com/clerkinc/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerkinc/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerkinc/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerkinc/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/clerk-sdk-node@5.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@4.27.1-alpha-v5.0 + ## 4.25.7 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 46ab026bcb8..ff1f2986a1d 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "4.25.7", + "version": "5.0.0-alpha-v5.0", "description": "Clerk SDK for NextJS", "keywords": [ "clerk", @@ -87,11 +87,11 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/clerk-react": "4.27.0", - "@clerk/clerk-sdk-node": "4.12.16", - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "4.27.1-alpha-v5.0", + "@clerk/clerk-sdk-node": "5.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "path-to-regexp": "6.2.1", "tslib": "2.4.1" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b09be1c76d8..6b417bff89a 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 4.27.1-alpha-v5.0 + +### Patch Changes + +- Ignore `.test.ts` files for the build output. Should result in smaller bundle size. ([#2005](https://github.com/clerkinc/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + ## 4.27.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index e54fd1a6ac2..75f5074b7a3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "4.27.0", + "version": "4.27.1-alpha-v5.0", "description": "Clerk React library", "keywords": [ "clerk", @@ -56,8 +56,8 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "eslint-config-custom": "*", "tslib": "2.4.1" }, diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index e8bc708c4f3..67ab74fbf97 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 3.1.1-alpha-v5.0 + +### Patch Changes + +- Introduce `isTruthy` helper to better cast environment variables to a boolean. Previously only the string `"true"` was checked, now `true`, `"true"`, `"1"`, and `1` will work. ([#2002](https://github.com/clerkinc/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerkinc/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerkinc/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerkinc/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@4.27.1-alpha-v5.0 + ## 3.1.0 ### Minor Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index a462a657a10..a3dec7fab48 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "3.1.0", + "version": "3.1.1-alpha-v5.0", "description": "Clerk SDK for Remix", "keywords": [ "clerk", @@ -69,10 +69,10 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/clerk-react": "4.27.0", - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "4.27.1-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/sdk-node/CHANGELOG.md b/packages/sdk-node/CHANGELOG.md index 7b3c39b428d..843612158b6 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Introduce `isTruthy` helper to better cast environment variables to a boolean. Previously only the string `"true"` was checked, now `true`, `"true"`, `"1"`, and `1` will work. ([#2002](https://github.com/clerkinc/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Fix types of ClerkExpressWithAuth/ClerkExpressRequireAuth args ([#1968](https://github.com/clerkinc/javascript/pull/1968)) by [@dimkl](https://github.com/dimkl) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerkinc/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerkinc/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerkinc/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerkinc/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerkinc/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerkinc/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerkinc/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`78fc5eec0`](https://github.com/clerkinc/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`f5d55bb1f`](https://github.com/clerkinc/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerkinc/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerkinc/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerkinc/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/types@4.0.0-alpha-v5.0 + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + ## 4.12.16 ### Patch Changes diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index 698648640f3..88557bf5290 100644 --- a/packages/sdk-node/package.json +++ b/packages/sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-sdk-node", - "version": "4.12.16", + "version": "5.0.0-alpha-v5.0", "description": "Clerk server SDK for usage with node", "keywords": [ "clerk", @@ -65,9 +65,9 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/shared": "1.0.0", - "@clerk/types": "3.57.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/cookies": "0.7.7", "@types/express": "4.17.14", "@types/node-fetch": "2.6.2", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 2272a02f28d..1f8604766ec 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 2.0.0-alpha-v5.0 + +### Major Changes + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerkinc/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Remove `"sideEffects": "false"` since the package has side-effects ([#1974](https://github.com/clerkinc/javascript/pull/1974)) by [@LekoArts](https://github.com/LekoArts) + +- Introduce `isTruthy` helper to better cast environment variables to a boolean. Previously only the string `"true"` was checked, now `true`, `"true"`, `"1"`, and `1` will work. ([#2002](https://github.com/clerkinc/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Add clerkTraceId to ClerkBackendApiResponse and ClerkAPIResponseError to allow for better tracing and debugging API error responses. ([#1986](https://github.com/clerkinc/javascript/pull/1986)) by [@Nikpolik](https://github.com/Nikpolik) + + Uses `clerk_trace_id` when available in a response and defaults to [`cf-ray` identifier](https://developers.cloudflare.com/fundamentals/reference/cloudflare-ray-id/) if missing. + +- Improve compatibility with Expo ([#1958](https://github.com/clerkinc/javascript/pull/1958)) by [@clerk-cookie](https://github.com/clerk-cookie) + ## 1.0.0 ### Major Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index 576eff3a5e2..85ea965d631 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "1.0.0", + "version": "2.0.0-alpha-v5.0", "description": "Internal package utils used by the Clerk SDKs", "repository": { "type": "git", @@ -87,7 +87,7 @@ "swr": "2.2.0" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/glob-to-regexp": "0.4.1", "@types/js-cookie": "3.0.2", "eslint-config-custom": "*", diff --git a/packages/themes/package.json b/packages/themes/package.json index 815095ec3af..29a183a6c44 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "eslint-config-custom": "*", "typescript": "*" }, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 2a3a7a41051..486e0966935 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## 4.0.0-alpha-v5.0 + +### Major Changes + +- Avatar Shimmer will be enabled by default for `` and ``. ([#1972](https://github.com/clerkinc/javascript/pull/1972)) by [@octoper](https://github.com/octoper) + +### Patch Changes + +- Shows list of domains if member has the `org:sys_domain:read` permission. ([#1988](https://github.com/clerkinc/javascript/pull/1988)) by [@panteliselef](https://github.com/panteliselef) + +- Introduces new element appearance descriptors: ([#1994](https://github.com/clerkinc/javascript/pull/1994)) by [@tmilewski](https://github.com/tmilewski) + + - `activeDeviceListItem` allows you to customize the appearance of the active device list (accordion) item + - `activeDeviceListItem__current` allows you to customize the appearance of the _current_ active device list (accordion) item + - `activeDevice` allows you to customize the appearance of the active device item + - `activeDevice__current` allows you to customize the appearance of the _current_ active device item + +- Simplify the WithOptions generic type ([#1995](https://github.com/clerkinc/javascript/pull/1995)) by [@tmilewski](https://github.com/tmilewski) + ## 3.57.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index e2a483693b1..57f3bd58dfb 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "3.57.0", + "version": "4.0.0-alpha-v5.0", "description": "Typings for Clerk libraries.", "keywords": [ "clerk",