From 9fb5ea952d218dc66d7be82fb6acf79d7d6f808c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Nov 2023 09:14:22 +0000 Subject: [PATCH] chore(repo): Version packages (alpha-v5) --- .changeset/pre.json | 53 ++++++++++++++++++++++- packages/backend/CHANGELOG.md | 26 +++++++++++ packages/backend/package.json | 6 +-- packages/chrome-extension/CHANGELOG.md | 10 +++++ packages/chrome-extension/package.json | 6 +-- packages/clerk-js/CHANGELOG.md | 44 +++++++++++++++++++ packages/clerk-js/package.json | 8 ++-- packages/expo/CHANGELOG.md | 21 +++++++++ packages/expo/package.json | 10 ++--- packages/fastify/CHANGELOG.md | 22 ++++++++++ packages/fastify/package.json | 8 ++-- packages/gatsby-plugin-clerk/CHANGELOG.md | 23 ++++++++++ packages/gatsby-plugin-clerk/package.json | 10 ++--- packages/localizations/CHANGELOG.md | 9 ++++ packages/localizations/package.json | 4 +- packages/nextjs/CHANGELOG.md | 40 +++++++++++++++++ packages/nextjs/package.json | 10 ++--- packages/react/CHANGELOG.md | 12 +++++ packages/react/package.json | 6 +-- packages/remix/CHANGELOG.md | 23 ++++++++++ packages/remix/package.json | 10 ++--- packages/sdk-node/CHANGELOG.md | 17 ++++++++ packages/sdk-node/package.json | 8 ++-- packages/shared/CHANGELOG.md | 26 +++++++++++ packages/shared/package.json | 4 +- packages/themes/package.json | 2 +- packages/types/CHANGELOG.md | 27 ++++++++++++ packages/types/package.json | 2 +- 28 files changed, 398 insertions(+), 49 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index eb7dcd3a8ab..b036c9e5df5 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,5 +18,54 @@ "@clerk/themes": "1.7.9", "@clerk/types": "3.57.0" }, - "changesets": [] -} \ No newline at end of file + "changesets": [ + "blue-ghosts-float", + "blue-lies-drop", + "bright-trainers-sort", + "clever-wasps-invite", + "curly-news-push", + "cyan-stingrays-own", + "fair-cameras-boil", + "famous-forks-buy", + "fifty-rats-rhyme", + "flat-ants-worry", + "flat-pots-hear", + "friendly-vans-develop", + "gorgeous-baboons-float", + "gorgeous-insects-reply", + "hungry-bears-allow", + "late-dolphins-peel", + "long-icons-share", + "loud-countries-hang", + "loud-lions-compete", + "lovely-mirrors-remember", + "lovely-plums-sin", + "lucky-ligers-brush", + "many-weeks-march", + "mean-houses-juggle", + "metal-cougars-fail", + "metal-olives-press", + "nasty-books-tap", + "new-eels-mix", + "odd-lemons-reply", + "poor-kings-marry", + "pretty-mice-share", + "pretty-months-greet", + "quick-trains-rush", + "red-monkeys-sing", + "rude-jobs-yawn", + "selfish-eggs-sort", + "silly-icons-kick", + "six-kangaroos-serve", + "slimy-singers-glow", + "soft-birds-thank", + "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 83fcea78c4a..89f63c8a8bc 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,31 @@ # 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +### Minor Changes + +- Added prefers-color-scheme to interstitial ([#1935](https://github.com/clerk/javascript/pull/1935)) by [@royanger](https://github.com/royanger) + +- Add support for NextJS 14 ([#1968](https://github.com/clerk/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/clerk/javascript/pull/1941)) by [@MathieuNls](https://github.com/MathieuNls) + +- Fix type inferance for auth helper. ([#2047](https://github.com/clerk/javascript/pull/2047)) by [@panteliselef](https://github.com/panteliselef) + +- Add clerkTraceId to ClerkBackendApiResponse and ClerkAPIResponseError to allow for better tracing and debugging API error responses. ([#1986](https://github.com/clerk/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 [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.0.0-alpha-v5.0 + ## 0.31.3 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index 79fdb9aa909..ce924d0f6be 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 8bf223d1e44..e89951aa049 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/clerk/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`3ba3f383b`](https://github.com/clerk/javascript/commit/3ba3f383bbe12d26de51118608e9e932e58479e7), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`d65d36fc6`](https://github.com/clerk/javascript/commit/d65d36fc6d51f33994c4430270db0a4c0e699f4d), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`9e57e94d2`](https://github.com/clerk/javascript/commit/9e57e94d25b96c11889f49e7e4d4827e5134927d), [`93a611570`](https://github.com/clerk/javascript/commit/93a611570b836fc9bd50eed973e76cf8d413963d), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`9c6411aa8`](https://github.com/clerk/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 b2ba5b32a17..796b74beb26 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 37e7117b13f..bce194e7057 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,49 @@ # 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Avatar Shimmer will be enabled by default for `` and ``. ([#1972](https://github.com/clerk/javascript/pull/1972)) by [@octoper](https://github.com/octoper) + +### Minor Changes + +- Add support for custom roles in ``. ([#2004](https://github.com/clerk/javascript/pull/2004)) by [@panteliselef](https://github.com/panteliselef) + + The previous roles (`admin` and `basic_member`), are still kept as a fallback. + +- 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/clerk/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/clerk/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/clerk/javascript/pull/1988)) by [@panteliselef](https://github.com/panteliselef) + +- Tests for internal PlainInput component. ([#2029](https://github.com/clerk/javascript/pull/2029)) by [@panteliselef](https://github.com/panteliselef) + +- Introduces new element appearance descriptors: ([#1994](https://github.com/clerk/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 + +- Replace Form.Control with Form.PlainInput for text and email inputs. ([#2036](https://github.com/clerk/javascript/pull/2036)) by [@panteliselef](https://github.com/panteliselef) + +- Localize placeholder of confirmation field when deleting a user account from ``. ([#2036](https://github.com/clerk/javascript/pull/2036)) by [@panteliselef](https://github.com/panteliselef) + +- Re-initialize the Client to default values when is destroyed ([#1913](https://github.com/clerk/javascript/pull/1913)) by [@octoper](https://github.com/octoper) + +- 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/clerk/javascript/pull/1977)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.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 4d468faeeaa..7b4b5d40cde 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 c6bb4b51092..152b456c724 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1991](https://github.com/clerk/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 [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`3ba3f383b`](https://github.com/clerk/javascript/commit/3ba3f383bbe12d26de51118608e9e932e58479e7), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`d65d36fc6`](https://github.com/clerk/javascript/commit/d65d36fc6d51f33994c4430270db0a4c0e699f4d), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`9e57e94d2`](https://github.com/clerk/javascript/commit/9e57e94d25b96c11889f49e7e4d4827e5134927d), [`93a611570`](https://github.com/clerk/javascript/commit/93a611570b836fc9bd50eed973e76cf8d413963d), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`9c6411aa8`](https://github.com/clerk/javascript/commit/9c6411aa8a551079ee3f15b36868a65e0c76f87f), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/clerk-js@5.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 3143331b42c..95c27454fbf 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 75e3792308a..33b00d11e07 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,27 @@ # 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1976](https://github.com/clerk/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 + +- Improve the default value for `CLERK_API_URL` by utilizing the publishable key to differentiate between local, staging and prod environments. ([#1955](https://github.com/clerk/javascript/pull/1955)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerk/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerk/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.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 5c0d9586c17..bc83b3542e1 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 3a56d6d819a..defb60470e9 100644 --- a/packages/gatsby-plugin-clerk/CHANGELOG.md +++ b/packages/gatsby-plugin-clerk/CHANGELOG.md @@ -1,5 +1,28 @@ # 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +- Drop deprecations. Migration steps: ([#1992](https://github.com/clerk/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 + +- Improve the default value for `CLERK_API_URL` by utilizing the publishable key to differentiate between local, staging and prod environments. ([#1955](https://github.com/clerk/javascript/pull/1955)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerk/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerk/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/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 b11022f6609..106d67158de 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 45b1d2d807a..d8c79d439eb 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.26.8-alpha-v5.0 + +### Patch Changes + +- Localize placeholder of confirmation field when deleting a user account from ``. ([#2036](https://github.com/clerk/javascript/pull/2036)) by [@panteliselef](https://github.com/panteliselef) + +- Updated dependencies [[`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/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 8a653f2322d..db4f4b0324d 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 e95c8cba085..cc15cf5eede 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,45 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Drop deprecations. Migration steps: ([#2006](https://github.com/clerk/javascript/pull/2006)) by [@dimkl](https://github.com/dimkl) + + - use `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` instead of `NEXT_PUBLIC_CLERK_FRONTEND_API` env variable + - use `NEXT_PUBLIC_CLERK_JS_VERSION` instead of `CLERK_JS_VERSION` + - use `CLERK_SECRET_KEY` instead of `CLERK_API_KEY` + - use `publishableKey` instead of `frontendApi` + - use `isEmailLinkError` instead of `isMagicLinkError` + - use `EmailLinkErrorCode` instead of `MagicLinkErrorCode` + - use `useEmailLink` instead of `useMagicLink` + - use `@clerk/nextjs` instead of `@clerk/nextjs/app-beta` + - use `@clerk/nextjs` instead of `@clerk/nextjs/ssr` + - use `@clerk/nextjs` instead of `@clerk/nextjs/edge-middleware` or `@clerk/nextjs/edge-middlewarefiles` + - use `@clerk/nextjs` instead of `@clerk/nextjs/api` + - use middleware with `authMiddleware` instead of `withClerkMiddleware` + - avoid using exported constants: `API_URL`, `API_VERSION`, `CLERK_JS_URL`, `CLERK_JS_VERSION`, `DOMAIN`, `IS_SATELLITE`, `PROXY_URL`, `PUBLISHABLE_KEY`, `SECRET_KEY`, `SIGN_IN_URL`, `SIGN_UP_URL` + +- Internal update default apiUrl domain from clerk.dev to clerk.com ([#1878](https://github.com/clerk/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/clerk/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/clerk/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/clerk/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Fix type inferance for auth helper. ([#2047](https://github.com/clerk/javascript/pull/2047)) by [@panteliselef](https://github.com/panteliselef) + +- Improve the default value for `CLERK_API_URL` by utilizing the publishable key to differentiate between local, staging and prod environments. ([#1955](https://github.com/clerk/javascript/pull/1955)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerk/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerk/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.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 26352052a0d..fff0f665924 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", @@ -58,10 +58,10 @@ "test:ci": "jest --maxWorkers=70%" }, "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", "path-to-regexp": "6.2.1", "tslib": "2.4.1" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 166b90dc991..00666c3b924 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,17 @@ # 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/clerk/javascript/pull/2005)) by [@LekoArts](https://github.com/LekoArts) + +- Replace internal logic of determining package tag & major version with [semver](https://www.npmjs.com/package/semver) in order to have a more robust solution ([#2011](https://github.com/clerk/javascript/pull/2011)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.0.0-alpha-v5.0 + ## 4.27.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 2cf84b1b324..1d77f600d2a 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": "*", "semver": "^7.5.4", "tslib": "2.4.1" diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index cbaf552ff8e..593ccf2b2a5 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,28 @@ # Change Log +## 4.0.0-alpha-v5.0 + +### Major Changes + +- Drop deprecations. Migration steps: ([#2022](https://github.com/clerk/javascript/pull/2022)) 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 + +- 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/clerk/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Improve the default value for `CLERK_API_URL` by utilizing the publishable key to differentiate between local, staging and prod environments. ([#1955](https://github.com/clerk/javascript/pull/1955)) by [@desiprisg](https://github.com/desiprisg) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerk/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerk/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.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 dda7fda19b4..3a698b6cbf0 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "3.1.0", + "version": "4.0.0-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 ac5a42fd33e..9ea2aeea76b 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/clerk/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/clerk/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Fix types of ClerkExpressWithAuth/ClerkExpressRequireAuth args ([#1968](https://github.com/clerk/javascript/pull/1968)) by [@dimkl](https://github.com/dimkl) + +- Updated dependencies [[`743c4d204`](https://github.com/clerk/javascript/commit/743c4d20423790b554e66923466081c0d3b0d9ed), [`d37d44a68`](https://github.com/clerk/javascript/commit/d37d44a68e83b8e895963415f000c1aaef66e87e), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`0293f29c8`](https://github.com/clerk/javascript/commit/0293f29c855c9415b54867196e8d727d1614e4ca), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`8b6b094b9`](https://github.com/clerk/javascript/commit/8b6b094b9c7d09eeae90f8bdfac44d53513aa63d), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`90aa2ea9c`](https://github.com/clerk/javascript/commit/90aa2ea9c4675662cee581298b49bd76ec8f8850), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`41ae1d2f0`](https://github.com/clerk/javascript/commit/41ae1d2f006a0e4657a97a9c83ae7eb0cc167834), [`48ca40af9`](https://github.com/clerk/javascript/commit/48ca40af97a7fa4f2e41cf0f071028767d1b0075), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/types@4.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 13a9c486146..0c4f52dede8 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 53c51b54ff8..61a77a1d6f5 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,31 @@ # 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/clerk/javascript/pull/1878)) by [@dimkl](https://github.com/dimkl) + +### Minor Changes + +- Expose `revalidate` and `setData` for paginated lists of data in organization hooks. ([#1745](https://github.com/clerk/javascript/pull/1745)) by [@panteliselef](https://github.com/panteliselef) + + `const {userMemberships:{revalidate, setData}} = useOrganizationList({userMemberships:true})` + +### Patch Changes + +- Remove `"sideEffects": "false"` since the package has side-effects ([#1974](https://github.com/clerk/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/clerk/javascript/pull/2002)) by [@LekoArts](https://github.com/LekoArts) + +- Improve the default value for `CLERK_API_URL` by utilizing the publishable key to differentiate between local, staging and prod environments. ([#1955](https://github.com/clerk/javascript/pull/1955)) by [@desiprisg](https://github.com/desiprisg) + +- Add clerkTraceId to ClerkBackendApiResponse and ClerkAPIResponseError to allow for better tracing and debugging API error responses. ([#1986](https://github.com/clerk/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/clerk/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 f016e2fd628..3d333ca924d 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", @@ -88,7 +88,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 2690173c22c..a38621a95a3 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 2af2f557ddb..4c2ad4fcdd3 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,32 @@ # Change Log +## 4.0.0-alpha-v5.0 + +### Major Changes + +- Avatar Shimmer will be enabled by default for `` and ``. ([#1972](https://github.com/clerk/javascript/pull/1972)) by [@octoper](https://github.com/octoper) + +### Minor Changes + +- Add support for custom roles in ``. ([#2004](https://github.com/clerk/javascript/pull/2004)) by [@panteliselef](https://github.com/panteliselef) + + The previous roles (`admin` and `basic_member`), are still kept as a fallback. + +### Patch Changes + +- Shows list of domains if member has the `org:sys_domain:read` permission. ([#1988](https://github.com/clerk/javascript/pull/1988)) by [@panteliselef](https://github.com/panteliselef) + +- Introduces new element appearance descriptors: ([#1994](https://github.com/clerk/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 + +- Localize placeholder of confirmation field when deleting a user account from ``. ([#2036](https://github.com/clerk/javascript/pull/2036)) by [@panteliselef](https://github.com/panteliselef) + +- Simplify the WithOptions generic type ([#1995](https://github.com/clerk/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 4f02e9bc070..9adb0c8e75d 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",