From d64a75ef26027f0278b6a524b967ad82526df69f Mon Sep 17 00:00:00 2001 From: Clerk Cookie <136073014+clerk-cookie@users.noreply.github.com> Date: Mon, 6 Nov 2023 09:45:43 -0600 Subject: [PATCH] chore(repo): Version packages (alpha-v5) (#2000) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 58 ++++++++++++++++++++++- packages/backend/CHANGELOG.md | 29 ++++++++++++ packages/backend/package.json | 6 +-- packages/chrome-extension/CHANGELOG.md | 18 +++++++ packages/chrome-extension/package.json | 6 +-- packages/clerk-js/CHANGELOG.md | 52 ++++++++++++++++++++ packages/clerk-js/package.json | 8 ++-- packages/expo/CHANGELOG.md | 23 +++++++++ packages/expo/package.json | 10 ++-- packages/fastify/CHANGELOG.md | 24 ++++++++++ packages/fastify/package.json | 8 ++-- packages/gatsby-plugin-clerk/CHANGELOG.md | 24 ++++++++++ packages/gatsby-plugin-clerk/package.json | 10 ++-- packages/localizations/CHANGELOG.md | 6 +++ packages/localizations/package.json | 4 +- packages/nextjs/CHANGELOG.md | 45 ++++++++++++++++++ packages/nextjs/package.json | 10 ++-- packages/react/CHANGELOG.md | 20 ++++++++ packages/react/package.json | 8 ++-- packages/remix/CHANGELOG.md | 24 ++++++++++ packages/remix/package.json | 10 ++-- packages/sdk-node/CHANGELOG.md | 18 +++++++ packages/sdk-node/package.json | 8 ++-- packages/shared/CHANGELOG.md | 32 +++++++++++++ packages/shared/package.json | 4 +- packages/themes/CHANGELOG.md | 6 +++ packages/themes/package.json | 4 +- packages/types/CHANGELOG.md | 31 ++++++++++++ packages/types/package.json | 2 +- 29 files changed, 457 insertions(+), 51 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index eb7dcd3a8a..70c35a67e8 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,5 +18,59 @@ "@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", + "curvy-mails-rhyme", + "cyan-stingrays-own", + "dull-stingrays-fix", + "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", + "little-numbers-jam", + "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", + "orange-pumpkins-poke", + "poor-kings-marry", + "pretty-mice-share", + "pretty-months-greet", + "purple-pumas-study", + "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 83fcea78c4..b9529628cb 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,34 @@ # 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) + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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) + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) by [@panteliselef](https://github.com/panteliselef) + +### 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`ef2325dcc`](https://github.com/clerk/javascript/commit/ef2325dcc18729e9ce9ee5823e9a963efa51dbc1), [`71663c568`](https://github.com/clerk/javascript/commit/71663c568926b1d60b97aa7ccc5298d05b618af2), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @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 303843bae9..7a08180ce6 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": { @@ -48,14 +48,14 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/shared": "1.0.0", + "@clerk/shared": "2.0.0-alpha-v5.0", "cookie": "0.5.0", "deepmerge": "4.2.2", "snakecase-keys": "5.4.4", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.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 8bf223d1e4..9300b0f46e 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 1.0.0-alpha-v5.0 + +### Major Changes + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### Minor Changes + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) by [@panteliselef](https://github.com/panteliselef) + +### 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`8b40dc7a3`](https://github.com/clerk/javascript/commit/8b40dc7a328d790b443a9a64401f895093d6b24b), [`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), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`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@5.0.0-alpha-v5.0 + ## 0.4.10 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index 30717b7402..c5b30ff4f9 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": "1.0.0-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": "5.0.0-alpha-v5.0" }, "devDependencies": { "@types/chrome": "*", diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index 37e7117b13..76c03fdf96 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,57 @@ # 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) + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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. + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) by [@panteliselef](https://github.com/panteliselef) + +- 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) + +- Rename the @staging tag to @canary. Drop support for @next tag. ([#2015](https://github.com/clerk/javascript/pull/2015)) by [@anagstef](https://github.com/anagstef) + +- Enhance `CreateOrganizationForm` by replacing `AvatarPreview` with an upload button to prevent layout shifts ([#2014](https://github.com/clerk/javascript/pull/2014)) by [@nikospapcom](https://github.com/nikospapcom) + +- 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`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 be0de7ccda..f7b2523010 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 c6bb4b5109..c2e40bb5a7 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,28 @@ # 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` + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`8b40dc7a3`](https://github.com/clerk/javascript/commit/8b40dc7a328d790b443a9a64401f895093d6b24b), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`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@5.0.0-alpha-v5.0 + ## 0.19.12 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 239e65f361..e43b6e5c4a 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": "5.0.0-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": "^18.18.0", "@types/react": "*", diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index 75e3792308..3fd698992e 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/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/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` + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`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 a5bd8ee8f6..329e3f565c 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 3a56d6d819..aced0d6ab2 100644 --- a/packages/gatsby-plugin-clerk/CHANGELOG.md +++ b/packages/gatsby-plugin-clerk/CHANGELOG.md @@ -1,5 +1,29 @@ # 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` + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### 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 [[`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), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`a605335e1`](https://github.com/clerk/javascript/commit/a605335e1e6f37d9b02170282974b0e1406e3f98)]: + - @clerk/clerk-sdk-node@5.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@5.0.0-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 611f9641ec..a8297fa216 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,14 +44,14 @@ "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/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "5.0.0-alpha-v5.0", + "@clerk/clerk-sdk-node": "5.0.0-alpha-v5.0", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/cookie": "^0.5.0", "@types/node": "^18.18.0", "eslint-config-custom": "*", diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index 45b1d2d807..1843628744 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,11 @@ # 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) + ## 1.26.7 ### Patch Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index bf41ec950f..25a758c9a6 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/" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/node": "^18.18.0", "eslint-config-custom": "*", "tsup": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index e95c8cba08..6f869fda22 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,50 @@ # 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) + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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) + +### Minor Changes + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@5.0.0-alpha-v5.0 + ## 4.25.7 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index d3f6586e8b..216985966b 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,13 +58,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/clerk-react": "4.27.0", - "@clerk/shared": "1.0.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "5.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", "path-to-regexp": "6.2.1" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/node": "^18.18.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 166b90dc99..e97ee403a1 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 5.0.0-alpha-v5.0 + +### Major Changes + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### Minor Changes + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) by [@panteliselef](https://github.com/panteliselef) + +### 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`78fc5eec0`](https://github.com/clerk/javascript/commit/78fc5eec0d61c14d86204944c6aa9f341ae6ea98), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`4edb77632`](https://github.com/clerk/javascript/commit/4edb7763271b80d93fcd52ece5f1e408bd75df6f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`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 b1e9f84e8d..74aa195207 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "4.27.0", + "version": "5.0.0-alpha-v5.0", "description": "Clerk React library", "keywords": [ "clerk", @@ -56,14 +56,14 @@ "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" }, "devDependencies": { - "@clerk/themes": "*", + "@clerk/themes": "2.0.0-alpha-v5.0", "@types/node": "^18.18.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index cbaf552ff8..429c17d68e 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,29 @@ # 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` + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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) + +- 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`ae3a6683a`](https://github.com/clerk/javascript/commit/ae3a6683aa1a28e5201325463e4211229b641711), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`797e327e0`](https://github.com/clerk/javascript/commit/797e327e05ce6bd23320555a9e7d6fadbd9d624f), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @clerk/shared@2.0.0-alpha-v5.0 + - @clerk/backend@1.0.0-alpha-v5.0 + - @clerk/clerk-react@5.0.0-alpha-v5.0 + ## 3.1.0 ### Minor Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index ca6d315715..600854e3c2 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,14 +69,14 @@ "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/backend": "1.0.0-alpha-v5.0", + "@clerk/clerk-react": "5.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.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 ac5a42fd33..63eb27de94 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,23 @@ # 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) + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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), [`791c49807`](https://github.com/clerk/javascript/commit/791c49807c3c9e19964cbf621c935d237caeecf3), [`a68eb3083`](https://github.com/clerk/javascript/commit/a68eb3083ff68459cd33098e2df190a5ba26c841), [`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), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`c22cd5214`](https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0), [`c7e6d00f5`](https://github.com/clerk/javascript/commit/c7e6d00f56e73df4ed87712e74ad9d5bcaca8924), [`97407d8aa`](https://github.com/clerk/javascript/commit/97407d8aa481007d3262fe7a0772dea901ce0a8c), [`7644b7472`](https://github.com/clerk/javascript/commit/7644b74726ba73e615a1256f9ff3fa03b0f8bc30), [`f5d55bb1f`](https://github.com/clerk/javascript/commit/f5d55bb1fc6a87303fb8bf461c3a917ae4da4005), [`6f755addd`](https://github.com/clerk/javascript/commit/6f755addd0886b9ff8b0d5dbe48e37470049acad)]: + - @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 e9c0dc63d8..58f2507820 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,13 +65,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "0.31.3", - "@clerk/shared": "1.0.0", + "@clerk/backend": "1.0.0-alpha-v5.0", + "@clerk/shared": "2.0.0-alpha-v5.0", "camelcase-keys": "6.2.2", "snakecase-keys": "3.2.1" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/express": "4.17.14", "@types/node": "^18.18.0", "eslint-config-custom": "*", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 53c51b54ff..a3e7751257 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,37 @@ # 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) + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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})` + +- Introduce isomorphic `isomorphicBtoa` helper in `@clerk/shared`. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Rename the @staging tag to @canary. Drop support for @next tag. ([#2015](https://github.com/clerk/javascript/pull/2015)) by [@anagstef](https://github.com/anagstef) + +- 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 dab97de099..17839eef8a 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", @@ -89,7 +89,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", "@types/node": "^18.18.0", diff --git a/packages/themes/CHANGELOG.md b/packages/themes/CHANGELOG.md index 4d0024205e..1dca9d6a36 100644 --- a/packages/themes/CHANGELOG.md +++ b/packages/themes/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.0.0-alpha-v5.0 + +### Major Changes + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) by [@dimkl](https://github.com/dimkl) + ## 1.7.9 ### Patch Changes diff --git a/packages/themes/package.json b/packages/themes/package.json index c54772a23c..2c9434e0df 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/themes", - "version": "1.7.9", + "version": "2.0.0-alpha-v5.0", "description": "Themes for the Clerk auth components", "keywords": [ "react", @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "devDependencies": { - "@clerk/types": "3.57.0", + "@clerk/types": "4.0.0-alpha-v5.0", "@types/node": "^18.18.0", "eslint-config-custom": "*", "typescript": "*" diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 2af2f557dd..4b8fd2cba6 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,36 @@ # Change Log +## 4.0.0-alpha-v5.0 + +### Major Changes + +- Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. ([#1864](https://github.com/clerk/javascript/pull/1864)) 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. + +- Experimental support for `` with role checks. ([#1942](https://github.com/clerk/javascript/pull/1942)) by [@panteliselef](https://github.com/panteliselef) + +### 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 a8c0d434b0..c8c8d49314 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",