diff --git a/.changeset/pre.json b/.changeset/pre.json index 0fe92d197c..0d64a5c4e9 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -16,7 +16,8 @@ "@clerk/clerk-sdk-node": "4.12.16", "@clerk/shared": "1.0.0", "@clerk/themes": "1.7.9", - "@clerk/types": "3.57.0" + "@clerk/types": "3.57.0", + "@clerk/elements": "0.1.3" }, "changesets": [ "afraid-experts-eat", @@ -41,14 +42,22 @@ "bright-ways-provide", "brown-clouds-divide", "brown-ducks-reply", + "brown-foxes-own", + "brown-lemons-film", "brown-mangos-jam", + "brown-masks-wonder", "brown-pets-smile", "brown-trees-sniff", + "calm-carrots-beg", + "calm-forks-grow", + "calm-socks-cough", "chatty-beans-fix", "chatty-berries-jump", "chatty-boats-tease", "chatty-bottles-rhyme", "chatty-months-smell", + "chatty-years-hope", + "chilled-bikes-rule", "chilled-boxes-kick", "chilly-donuts-work", "chilly-pens-speak", @@ -67,14 +76,20 @@ "cuddly-cougars-check", "cuddly-fireants-switch", "cuddly-houses-sniff", + "cuddly-oranges-ring", "cuddly-tips-speak", + "curly-baboons-argue", + "curly-cycles-march", "curly-news-push", "curly-parrots-camp", "curly-toes-complain", + "curvy-chefs-sneeze", + "curvy-cows-destroy", "curvy-mails-rhyme", "curvy-suns-roll", "curvy-timers-play", "cyan-dodos-provide", + "cyan-insects-travel", "cyan-rockets-fail", "cyan-stingrays-own", "dirty-chefs-sell", @@ -84,24 +99,32 @@ "dirty-sheep-warn", "dirty-swans-joke", "dry-feet-join", + "dry-pens-listen", "dry-sheep-poke", "dry-students-reflect", "dull-ants-argue", + "dull-moose-kiss", + "dull-seals-type", "dull-stingrays-fix", "dull-wasps-begin", + "early-candles-shop", "early-carpets-fly", "early-cars-cross", + "early-dryers-lay", "early-forks-argue", "early-timers-wave", "early-tomatoes-hide", "eight-badgers-speak", "eight-cherries-tan", + "eight-dolphins-float", "eight-plants-melt", + "eight-pots-guess", "eighty-walls-appear", "eleven-bananas-joke", "eleven-clouds-wave", "empty-jars-press", "empty-lions-pull", + "empty-radios-sleep", "fair-bears-build", "fair-cameras-boil", "famous-carrots-notice", @@ -115,6 +138,7 @@ "few-beers-wink", "few-kids-design", "few-rings-push", + "fifty-clocks-act", "fifty-rats-rhyme", "fifty-shirts-grin", "fifty-snakes-accept", @@ -131,10 +155,13 @@ "fluffy-olives-boil", "fluffy-pets-greet", "fluffy-queens-tap", + "forty-suits-care", "forty-trains-rest", + "four-cats-poke", "four-guests-drive", "four-pandas-grab", "fresh-crews-lick", + "friendly-apricots-camp", "friendly-boats-chew", "friendly-months-film", "friendly-parrots-nail", @@ -145,19 +172,24 @@ "funny-avocados-shout", "funny-gifts-cough", "funny-lamps-work", + "funny-pianos-double", "funny-pots-brush", "fuzzy-horses-fix", "fuzzy-shoes-battle", "fuzzy-years-taste", "gentle-berries-teach", "gentle-donkeys-talk", + "gentle-kiwis-argue", "gentle-pants-matter", "gentle-radios-shout", "gentle-toes-obey", "gentle-toys-melt", "giant-bags-lie", "giant-bags-stare", + "giant-donuts-hear", "giant-rice-crash", + "gold-beans-obey", + "gold-crews-joke", "gold-fireants-sort", "gold-islands-cover", "gold-shrimps-behave", @@ -167,14 +199,19 @@ "gorgeous-camels-mate", "gorgeous-insects-reply", "gorgeous-stingrays-lay", + "great-moons-suffer", "great-plums-buy", "green-rocks-chew", + "green-vans-sniff", "grumpy-drinks-turn", + "grumpy-laws-play", "grumpy-suns-boil", "happy-dolls-taste", "happy-panthers-approve", "happy-trees-burn", "happy-worms-smell", + "healthy-eyes-marry", + "healthy-fans-move", "healthy-walls-fold", "heavy-falcons-help", "heavy-horses-nail", @@ -186,6 +223,8 @@ "hot-fireants-kiss", "hungry-bears-allow", "hungry-bikes-clean", + "hungry-bottles-flow", + "hungry-crabs-burn", "hungry-lies-burn", "hungry-news-bathe", "itchy-chairs-argue", @@ -196,9 +235,11 @@ "khaki-timers-work", "kind-eagles-hope", "kind-onions-think", + "large-needles-sparkle", "late-cooks-collect", "late-dolphins-peel", "late-flies-switch", + "late-geckos-impress", "late-pillows-notice", "late-wasps-attack", "late-wolves-mate", @@ -213,6 +254,8 @@ "lemon-turkeys-provide", "lemon-worms-chew", "light-apples-joke", + "light-buckets-check", + "light-doors-invent", "light-shirts-lick", "light-snakes-type", "light-spoons-divide", @@ -229,15 +272,19 @@ "loud-panthers-poke", "loud-tomatoes-jam", "lovely-experts-deny", + "lovely-jars-explode", "lovely-jobs-arrive", "lovely-mirrors-remember", "lovely-plums-sin", "lovely-spies-kiss", + "lucky-houses-exercise", "lucky-ligers-brush", + "many-bottles-watch", "many-dragons-carry", "many-flowers-heal", "many-moons-matter", "many-onions-travel", + "many-starfishes-warn", "many-weeks-march", "mean-frogs-hammer", "mean-houses-juggle", @@ -247,6 +294,7 @@ "metal-cougars-fail", "metal-ears-cheat", "metal-kings-tease", + "metal-moons-applaud", "metal-olives-press", "metal-toes-smell", "metal-wolves-wave", @@ -259,6 +307,7 @@ "mighty-ways-learn", "modern-buses-sort", "modern-mayflies-sort", + "modern-oranges-swim", "modern-plums-invent", "moody-pears-trade", "moody-radios-begin", @@ -272,11 +321,13 @@ "neat-mice-invite", "neat-numbers-decide", "nervous-kings-deny", + "nervous-wombats-sin", "new-cougars-taste", "new-dolphins-raise", "new-eels-mix", "new-points-train", "new-points-turn", + "new-wasps-impress", "nice-dingos-argue", "nice-doors-fail", "nice-starfishes-itch", @@ -284,6 +335,7 @@ "nine-cooks-retire", "nine-mayflies-smoke", "ninety-apricots-yell", + "ninety-planets-lick", "odd-dogs-tan", "odd-eels-ring", "odd-islands-attack", @@ -297,21 +349,28 @@ "old-timers-obey", "olive-bags-reflect", "olive-beers-scream", + "olive-files-listen", "olive-kings-retire", "olive-steaks-end", "orange-bees-double", "orange-bottles-raise", + "orange-eyes-nail", "orange-files-end", + "orange-hats-approve", "orange-melons-destroy", "orange-pumpkins-poke", "perfect-ants-joke", + "perfect-hairs-vanish", + "pink-baboons-allow", "pink-days-drum", + "pink-eggs-enjoy", "pink-gifts-retire", "pink-swans-fetch", "polite-kiwis-arrive", "poor-geese-rescue", "poor-horses-press", "poor-kings-marry", + "poor-rats-pump", "popular-parents-hope", "popular-singers-sort", "pretty-mice-share", @@ -320,6 +379,7 @@ "pretty-scissors-thank", "pretty-singers-change", "proud-carpets-visit", + "proud-frogs-confess", "proud-hairs-check", "proud-trees-yell", "purple-pumas-study", @@ -328,9 +388,11 @@ "quick-gorillas-grin", "quick-poems-sip", "quick-trains-rush", + "quick-walls-share", "quiet-cougars-watch", "rare-bottles-sell", "rare-bulldogs-cheer", + "rare-ladybugs-mate", "rare-poets-deliver", "rare-students-sell", "real-cougars-design", @@ -345,6 +407,7 @@ "rich-readers-obey", "rich-sloths-count", "rotten-rats-protect", + "rotten-tigers-rescue", "rotten-ways-do", "rude-cows-fry", "rude-deers-fetch", @@ -352,22 +415,27 @@ "rude-gorillas-smash", "rude-jobs-yawn", "rude-lamps-yawn", + "selfish-coats-know", "selfish-eggs-sort", "selfish-flies-care", "selfish-peaches-glow", + "selfish-planes-sing", "selfish-pugs-repair", "selfish-trains-breathe", + "serious-doors-reflect", "seven-tables-tan", "shaggy-points-cheer", "shaggy-pumpkins-tap", "sharp-donuts-drum", "sharp-trains-ring", + "shiny-games-buy", "shiny-glasses-switch", "shiny-pumas-share", "short-cheetahs-punch", "short-eagles-search", "short-kings-mate", "shy-bikes-draw", + "shy-eggs-smell", "silent-comics-roll", "silly-bikes-lick", "silly-emus-boil", @@ -376,11 +444,14 @@ "silly-zebras-dream", "silver-cats-appear", "silver-weeks-roll", + "six-doors-teach", "six-kangaroos-serve", "six-lies-refuse", + "six-walls-fry", "sixty-dancers-lie", "sixty-frogs-pump", "sixty-islands-jump", + "sixty-lions-obey", "sixty-months-listen", "sixty-pianos-look", "sixty-rats-bathe", @@ -401,6 +472,8 @@ "smart-suns-train", "smart-ways-sing", "smooth-baboons-shake", + "smooth-forks-flash", + "smooth-numbers-shout", "smooth-pets-rhyme", "soft-apples-chew", "soft-birds-thank", @@ -408,21 +481,26 @@ "soft-fireants-jog", "soft-rats-grab", "soft-swans-swim", + "soft-trees-battle", "sour-ads-wave", "sour-avocados-sin", "sour-comics-stare", "spicy-feet-buy", "spotty-apples-march", "spotty-boxes-do", + "spotty-boxes-fold", "spotty-nails-double", + "spotty-penguins-admire", "spotty-ravens-sleep", "spotty-roses-push", "spotty-tomatoes-wonder", "stale-hats-jump", + "stale-nails-deny", "strange-needles-learn", "strange-ravens-own", "strange-trains-bow", "strong-cows-sit", + "strong-melons-sort", "stupid-suits-accept", "stupid-toys-remain", "sweet-chairs-fry", @@ -433,13 +511,17 @@ "tall-radios-sing", "tall-roses-invent", "tame-beds-promise", + "tame-forks-refuse", "tame-olives-check", + "tasty-beans-sell", "tasty-countries-walk", "tasty-months-try", "tasty-phones-lie", "tasty-terms-fly", + "ten-dryers-share", "ten-mugs-film", "ten-nails-whisper", + "ten-spies-brake", "ten-taxis-lick", "tender-peaches-yell", "tender-phones-explain", @@ -448,14 +530,18 @@ "thin-coats-serve", "thin-fireants-fix", "thin-phones-drop", + "thin-trees-poke", "thirty-chicken-divide", "thirty-cooks-cheer", "thirty-doors-peel", "thirty-insects-exist", + "thirty-kings-trade", "thirty-taxis-ring", "three-planes-tell", "tidy-buttons-pump", "tidy-dots-lick", + "tidy-shrimps-study", + "tiny-beds-yell", "tiny-crabs-eat", "tiny-forks-sit", "tiny-pants-change", @@ -465,16 +551,21 @@ "tough-pots-grow", "tough-roses-hunt", "tricky-bikes-fix", + "tricky-boxes-juggle", "tricky-buses-march", "tricky-swans-develop", "twelve-lions-remain", "twenty-elephants-try", + "twenty-lamps-rule", "two-crews-talk", "two-pumas-doubt", "two-terms-speak", "unlucky-frogs-tap", "unlucky-socks-heal", "violet-birds-scream", + "violet-penguins-nail", + "violet-roses-look", + "warm-apricots-design", "warm-books-begin", "warm-icons-brake", "warm-jars-camp", @@ -490,14 +581,18 @@ "wild-cycles-jog", "wild-emus-whisper", "wild-phones-smoke", + "wise-drinks-divide", "wise-houses-shop", "wise-lions-type", "wise-scissors-know", + "witty-eggs-punch", "witty-forks-cheer", "witty-shirts-dream", "yellow-elephants-begin", "yellow-frogs-teach", + "yellow-papayas-help", "yellow-tigers-know", + "yellow-walls-worry", "young-experts-attack", "young-frogs-enjoy", "young-guests-help", diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index f9be79fd25..637f09efc4 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,61 @@ # Change Log +## 1.0.0-beta-v5.19 + +### Major Changes + +- Make all listing API requests to return consistent `{ data: Resource[], totalCount: number }`. ([#2714](https://github.com/clerk/javascript/pull/2714)) by [@dimkl](https://github.com/dimkl) + + Support pagination request params `{ limit, offset }` to: + + - `sessions.getSessionList({ limit, offset })` + - `clients.getClientList({ limit, offset })` + + Since the `users.getUserList()` does not return the `total_count` as a temporary solution that + method will perform 2 BAPI requests: + + 1. retrieve the data + 2. retrieve the total count (invokes `users.getCount()` internally) + +### Minor Changes + +- Add `unbanUser`, `lockUser`, and `unlockUser` methods to the UserAPI class. ([#2780](https://github.com/clerk/javascript/pull/2780)) by [@panteliselef](https://github.com/panteliselef) + +- Add support for X/Twitter v2 OAuth provider ([#2690](https://github.com/clerk/javascript/pull/2690)) by [@kostaspt](https://github.com/kostaspt) + +- Add `banUser` method to the User operations (accessible under `clerkClient.users`). Executes the [Ban a user](https://clerk.com/docs/reference/backend-api/tag/Users#operation/BanUser) backend API call. ([#2766](https://github.com/clerk/javascript/pull/2766)) by [@bartlenaerts](https://github.com/bartlenaerts) + +### Patch Changes + +- Expose resources types ([#2660](https://github.com/clerk/javascript/pull/2660)) by [@panteliselef](https://github.com/panteliselef) + +- The `auth().redirectToSignIn()` helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent: ([#2691](https://github.com/clerk/javascript/pull/2691)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + + ```js + // Before + export default clerkMiddleware(auth => { + if (protectedRoute && !auth.user) { + return auth().redirectToSignIn() + } + }) + + // After + export default clerkMiddleware(auth => { + if (protectedRoute && !auth.user) { + auth().redirectToSignIn() + } + }) + ``` + + Calling `auth().protect()` from a page will now automatically redirect back to the same page by setting `redirect_url` to the request url before the redirect to the sign-in URL takes place. + +- Fix `clerkClient.organizations.getOrganizationMembershipList()` return type to be `{ data, totalCount }` ([#2681](https://github.com/clerk/javascript/pull/2681)) by [@dimkl](https://github.com/dimkl) + +- Preserve url protocol when joining paths. ([#2745](https://github.com/clerk/javascript/pull/2745)) by [@panteliselef](https://github.com/panteliselef) + +- Updated dependencies [[`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a)]: + - @clerk/shared@2.0.0-beta-v5.12 + ## 1.0.0-beta-v5.18 ### Major Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index cf9d03280d..477b43a02a 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "1.0.0-beta-v5.18", + "version": "1.0.0-beta-v5.19", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "homepage": "https://clerk.com/", "bugs": { @@ -95,13 +95,13 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/shared": "2.0.0-beta-v5.12", "cookie": "0.5.0", "snakecase-keys": "5.4.4", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@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 2fe5abe74d..d8aa9b91b4 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.0-beta-v5.21 + +### Patch Changes + +- Updated dependencies [[`6ac9e717a`](https://github.com/clerk/javascript/commit/6ac9e717a7ce8f09c1604f324add5e7e02041c07), [`6c2d88ee8`](https://github.com/clerk/javascript/commit/6c2d88ee8412aaa73ee78dd47d32ddaca2c9bb67), [`7466fa505`](https://github.com/clerk/javascript/commit/7466fa505a1dde91d28bd41d6456304d68a7c472), [`ee57f21ac`](https://github.com/clerk/javascript/commit/ee57f21ac62fc2dd0d9d68b965f35081b538c85e), [`9737ef510`](https://github.com/clerk/javascript/commit/9737ef5104346821461972d31f3c69e93924f0e0), [`0ee1777e0`](https://github.com/clerk/javascript/commit/0ee1777e030916ad5111f0f817c71ff5a78a8ed6), [`8b466a9ba`](https://github.com/clerk/javascript/commit/8b466a9ba93ca10315b534079b09fa5d76ffa305), [`1affbb22a`](https://github.com/clerk/javascript/commit/1affbb22a040e210cfce8f72d52b7961057c02d1), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`aaa457097`](https://github.com/clerk/javascript/commit/aaa457097da641d9ad7b3d086217f9fb4f5d42c5), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`5d6937c9f`](https://github.com/clerk/javascript/commit/5d6937c9f952f5dc586439b7fcf053abc9fcf320), [`750337633`](https://github.com/clerk/javascript/commit/750337633a07bf3bb92d015f558ead2bfdca8613), [`11fbfdeec`](https://github.com/clerk/javascript/commit/11fbfdeec6aa609d02d23d997b319c94793e452f)]: + - @clerk/clerk-react@5.0.0-beta-v5.18 + - @clerk/clerk-js@5.0.0-beta-v5.21 + - @clerk/shared@2.0.0-beta-v5.12 + ## 1.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index 8c4bc58f9c..5ce16d8bfd 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "1.0.0-beta-v5.20", + "version": "1.0.0-beta-v5.21", "description": "Clerk SDK for Chrome extensions", "keywords": [ "auth", @@ -44,9 +44,9 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/clerk-js": "5.0.0-beta-v5.20", - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/clerk-js": "5.0.0-beta-v5.21", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/shared": "2.0.0-beta-v5.12", "webextension-polyfill": "^0.10.0" }, "devDependencies": { diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index 44ae3eb240..a1f12c8d78 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,5 +1,41 @@ # Change Log +## 5.0.0-beta-v5.21 + +### Minor Changes + +- Accept `skipInvitationScreen` as a prop from OrganizationSwitcher. ([#2713](https://github.com/clerk/javascript/pull/2713)) by [@panteliselef](https://github.com/panteliselef) + + `skipInvitationScreen` hides the screen for sending invitations after an organization is created. + By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1 + +- Add support for X/Twitter v2 OAuth provider ([#2690](https://github.com/clerk/javascript/pull/2690)) by [@kostaspt](https://github.com/kostaspt) + +- Use signInUrl from props/ context / repo-level to construct a redirectUrl in email-link flow. ([#2727](https://github.com/clerk/javascript/pull/2727)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Add data-1p-ignore to input fields that do not benefit from password manager suggestions. ([#2731](https://github.com/clerk/javascript/pull/2731)) by [@panteliselef](https://github.com/panteliselef) + +- Update cookie setting to ensure cookies can be set to be read when an application is embedded in an iframe. ([#2688](https://github.com/clerk/javascript/pull/2688)) by [@SokratisVidros](https://github.com/SokratisVidros) + +- Allow retries for all 300xxx error codes for CF Turnstile. ([#2738](https://github.com/clerk/javascript/pull/2738)) by [@mzhong9723](https://github.com/mzhong9723) + +- Prevent Clerk component flickering when mounted in a Next.js app using App Router ([#2765](https://github.com/clerk/javascript/pull/2765)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Replace semver with custom regex in versionSelector ([#2760](https://github.com/clerk/javascript/pull/2760)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Escape characters in pattern for inputs of [type="email"] ([#2712](https://github.com/clerk/javascript/pull/2712)) by [@panteliselef](https://github.com/panteliselef) + +- Fix redirect flow for OAuth2 IDP flow with email_link verification. ([#2677](https://github.com/clerk/javascript/pull/2677)) by [@mzhong9723](https://github.com/mzhong9723) + +- Give application logo correct CSS width to prevent incorrect widths ([#2735](https://github.com/clerk/javascript/pull/2735)) by [@LekoArts](https://github.com/LekoArts) + +- Updated dependencies [[`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`9737ef510`](https://github.com/clerk/javascript/commit/9737ef5104346821461972d31f3c69e93924f0e0), [`5b8d85886`](https://github.com/clerk/javascript/commit/5b8d85886843fe20c06527b9f015b8c9a03e6b1b), [`8b466a9ba`](https://github.com/clerk/javascript/commit/8b466a9ba93ca10315b534079b09fa5d76ffa305), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a)]: + - @clerk/types@4.0.0-beta-v5.14 + - @clerk/localizations@2.0.0-beta-v5.13 + - @clerk/shared@2.0.0-beta-v5.12 + ## 5.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index 48011bce9e..88cdaae471 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "5.0.0-beta-v5.20", + "version": "5.0.0-beta-v5.21", "description": "Clerk JS library", "keywords": [ "clerk", @@ -50,9 +50,9 @@ }, "browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0", "dependencies": { - "@clerk/localizations": "2.0.0-beta-v5.12", - "@clerk/shared": "2.0.0-beta-v5.11", - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/localizations": "2.0.0-beta-v5.13", + "@clerk/shared": "2.0.0-beta-v5.12", + "@clerk/types": "4.0.0-beta-v5.14", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", "@floating-ui/react": "0.25.4", diff --git a/packages/elements/package.json b/packages/elements/package.json index d51323b036..3dcf441b60 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -67,8 +67,8 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/shared": "2.0.0-beta-v5.12", "@radix-ui/react-form": "^0.0.3", "@radix-ui/react-slot": "^1.0.2", "@statelyai/inspect": "^0.1.0", @@ -76,7 +76,7 @@ "xstate": "^5.4.1" }, "devDependencies": { - "@clerk/types": "^4.0.0-beta-v5.13", + "@clerk/types": "^4.0.0-beta-v5.14", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index 1681ccc1a1..d8f03a1146 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.0.0-beta-v5.21 + +### Patch Changes + +- Updated dependencies [[`6ac9e717a`](https://github.com/clerk/javascript/commit/6ac9e717a7ce8f09c1604f324add5e7e02041c07), [`6c2d88ee8`](https://github.com/clerk/javascript/commit/6c2d88ee8412aaa73ee78dd47d32ddaca2c9bb67), [`7466fa505`](https://github.com/clerk/javascript/commit/7466fa505a1dde91d28bd41d6456304d68a7c472), [`ee57f21ac`](https://github.com/clerk/javascript/commit/ee57f21ac62fc2dd0d9d68b965f35081b538c85e), [`9737ef510`](https://github.com/clerk/javascript/commit/9737ef5104346821461972d31f3c69e93924f0e0), [`0ee1777e0`](https://github.com/clerk/javascript/commit/0ee1777e030916ad5111f0f817c71ff5a78a8ed6), [`8b466a9ba`](https://github.com/clerk/javascript/commit/8b466a9ba93ca10315b534079b09fa5d76ffa305), [`1affbb22a`](https://github.com/clerk/javascript/commit/1affbb22a040e210cfce8f72d52b7961057c02d1), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`aaa457097`](https://github.com/clerk/javascript/commit/aaa457097da641d9ad7b3d086217f9fb4f5d42c5), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`5d6937c9f`](https://github.com/clerk/javascript/commit/5d6937c9f952f5dc586439b7fcf053abc9fcf320), [`750337633`](https://github.com/clerk/javascript/commit/750337633a07bf3bb92d015f558ead2bfdca8613), [`11fbfdeec`](https://github.com/clerk/javascript/commit/11fbfdeec6aa609d02d23d997b319c94793e452f)]: + - @clerk/clerk-react@5.0.0-beta-v5.18 + - @clerk/clerk-js@5.0.0-beta-v5.21 + - @clerk/shared@2.0.0-beta-v5.12 + ## 1.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/expo/package.json b/packages/expo/package.json index 3a82a82025..afbcca5b20 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "1.0.0-beta-v5.20", + "version": "1.0.0-beta-v5.21", "description": "Clerk React Native/Expo library", "keywords": [ "react", @@ -39,14 +39,14 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/clerk-js": "5.0.0-beta-v5.20", - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/clerk-js": "5.0.0-beta-v5.21", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/shared": "2.0.0-beta-v5.12", "base-64": "^1.0.0", "react-native-url-polyfill": "2.0.0" }, "devDependencies": { - "@clerk/types": "^4.0.0-beta-v5.13", + "@clerk/types": "^4.0.0-beta-v5.14", "@types/base-64": "^1.0.2", "@types/node": "^18.17.0", "@types/react": "*", diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index df771da5fb..cb34fd552f 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 1.0.0-beta-v5.21 + +### Minor Changes + +- Introduce handshake mechanism and `x-clerk-auth-status` in response ([#2774](https://github.com/clerk/javascript/pull/2774)) by [@dimkl](https://github.com/dimkl) + +### Patch Changes + +- Updated dependencies [[`966b31205`](https://github.com/clerk/javascript/commit/966b312050b572fbbbc07a6f0581cbec21847375), [`a8901be64`](https://github.com/clerk/javascript/commit/a8901be64fe91125a0d38a3c880ffa73168ccf5c), [`7b200af49`](https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`034c47ccb`](https://github.com/clerk/javascript/commit/034c47ccbef0129b9be9ff8aef683aa039e52602), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`9737ef510`](https://github.com/clerk/javascript/commit/9737ef5104346821461972d31f3c69e93924f0e0), [`8b466a9ba`](https://github.com/clerk/javascript/commit/8b466a9ba93ca10315b534079b09fa5d76ffa305), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`4fced88ac`](https://github.com/clerk/javascript/commit/4fced88acc66a4837779d8bbca359086cddeec56), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`c2b982749`](https://github.com/clerk/javascript/commit/c2b98274970bac5af33c9bb2e84c70ad90225180)]: + - @clerk/backend@1.0.0-beta-v5.19 + - @clerk/types@4.0.0-beta-v5.14 + - @clerk/shared@2.0.0-beta-v5.12 + ## 1.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 10c1ac2d53..a9c1d997d8 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "1.0.0-beta-v5.20", + "version": "1.0.0-beta-v5.21", "description": "Clerk SDK for Fastify", "keywords": [ "auth", @@ -40,9 +40,9 @@ "test:cache:clear": "jest --clearCache --useStderr" }, "dependencies": { - "@clerk/backend": "1.0.0-beta-v5.18", - "@clerk/shared": "2.0.0-beta-v5.11", - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/backend": "1.0.0-beta-v5.19", + "@clerk/shared": "2.0.0-beta-v5.12", + "@clerk/types": "4.0.0-beta-v5.14", "cookies": "0.8.0" }, "devDependencies": { diff --git a/packages/gatsby-plugin-clerk/CHANGELOG.md b/packages/gatsby-plugin-clerk/CHANGELOG.md index af34640ec0..a7e2a89520 100644 --- a/packages/gatsby-plugin-clerk/CHANGELOG.md +++ b/packages/gatsby-plugin-clerk/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 5.0.0-beta-v5.21 + +### Patch Changes + +- Updated dependencies [[`6ac9e717a`](https://github.com/clerk/javascript/commit/6ac9e717a7ce8f09c1604f324add5e7e02041c07), [`966b31205`](https://github.com/clerk/javascript/commit/966b312050b572fbbbc07a6f0581cbec21847375), [`a8901be64`](https://github.com/clerk/javascript/commit/a8901be64fe91125a0d38a3c880ffa73168ccf5c), [`7b200af49`](https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`034c47ccb`](https://github.com/clerk/javascript/commit/034c47ccbef0129b9be9ff8aef683aa039e52602), [`ee57f21ac`](https://github.com/clerk/javascript/commit/ee57f21ac62fc2dd0d9d68b965f35081b538c85e), [`1affbb22a`](https://github.com/clerk/javascript/commit/1affbb22a040e210cfce8f72d52b7961057c02d1), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`4fced88ac`](https://github.com/clerk/javascript/commit/4fced88acc66a4837779d8bbca359086cddeec56), [`c2b982749`](https://github.com/clerk/javascript/commit/c2b98274970bac5af33c9bb2e84c70ad90225180)]: + - @clerk/clerk-react@5.0.0-beta-v5.18 + - @clerk/backend@1.0.0-beta-v5.19 + - @clerk/clerk-sdk-node@5.0.0-beta-v5.19 + ## 5.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/gatsby-plugin-clerk/package.json b/packages/gatsby-plugin-clerk/package.json index 5819285455..0892d7a13f 100644 --- a/packages/gatsby-plugin-clerk/package.json +++ b/packages/gatsby-plugin-clerk/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-clerk", - "version": "5.0.0-beta-v5.20", + "version": "5.0.0-beta-v5.21", "description": "Clerk SDK for Gatsby", "keywords": [ "clerk", @@ -44,14 +44,14 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.0.0-beta-v5.18", - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/clerk-sdk-node": "5.0.0-beta-v5.18", + "@clerk/backend": "1.0.0-beta-v5.19", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/clerk-sdk-node": "5.0.0-beta-v5.19", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/cookie": "^0.5.0", "@types/node": "^18.17.0", "eslint-config-custom": "*", diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index adf94418b9..ff427f6e8b 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.0.0-beta-v5.13 + +### Patch Changes + +- Improve German translations ([#2675](https://github.com/clerk/javascript/pull/2675)) by [@TobiasMaehl-pIX](https://github.com/TobiasMaehl-pIX) + ## 2.0.0-beta-v5.12 ### Major Changes diff --git a/packages/localizations/package.json b/packages/localizations/package.json index 9d4ce52cb7..3110115640 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "2.0.0-beta-v5.12", + "version": "2.0.0-beta-v5.13", "description": "Localizations for the Clerk components", "keywords": [ "react", @@ -90,7 +90,7 @@ "lint": "eslint src/" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/node": "^18.17.0", "eslint-config-custom": "*", "tsup": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index e402febadf..bd400b90a3 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,46 @@ # Change Log +## 5.0.0-beta-v5.21 + +### Minor Changes + +- Replace redirectUrl of protect with `unauthorizedUrl` and `unauthenticatedUrl`. ([#2672](https://github.com/clerk/javascript/pull/2672)) by [@panteliselef](https://github.com/panteliselef) + +### Patch Changes + +- The `auth().redirectToSignIn()` helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent: ([#2691](https://github.com/clerk/javascript/pull/2691)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + + ```js + // Before + export default clerkMiddleware(auth => { + if (protectedRoute && !auth.user) { + return auth().redirectToSignIn() + } + }) + + // After + export default clerkMiddleware(auth => { + if (protectedRoute && !auth.user) { + auth().redirectToSignIn() + } + }) + ``` + + Calling `auth().protect()` from a page will now automatically redirect back to the same page by setting `redirect_url` to the request url before the redirect to the sign-in URL takes place. + +- Remove usage of useSearchParams() to avoid CSR de-opt. ([#2651](https://github.com/clerk/javascript/pull/2651)) by [@BRKalow](https://github.com/BRKalow) + +- Export `EmailLinkErrorCode` from `/errors` module ([#2732](https://github.com/clerk/javascript/pull/2732)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Prevent Clerk component flickering when mounted in a Next.js app using App Router ([#2765](https://github.com/clerk/javascript/pull/2765)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Expose resources types ([#2660](https://github.com/clerk/javascript/pull/2660)) by [@panteliselef](https://github.com/panteliselef) + +- Updated dependencies [[`6ac9e717a`](https://github.com/clerk/javascript/commit/6ac9e717a7ce8f09c1604f324add5e7e02041c07), [`966b31205`](https://github.com/clerk/javascript/commit/966b312050b572fbbbc07a6f0581cbec21847375), [`a8901be64`](https://github.com/clerk/javascript/commit/a8901be64fe91125a0d38a3c880ffa73168ccf5c), [`7b200af49`](https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`034c47ccb`](https://github.com/clerk/javascript/commit/034c47ccbef0129b9be9ff8aef683aa039e52602), [`ee57f21ac`](https://github.com/clerk/javascript/commit/ee57f21ac62fc2dd0d9d68b965f35081b538c85e), [`1affbb22a`](https://github.com/clerk/javascript/commit/1affbb22a040e210cfce8f72d52b7961057c02d1), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`4fced88ac`](https://github.com/clerk/javascript/commit/4fced88acc66a4837779d8bbca359086cddeec56), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`c2b982749`](https://github.com/clerk/javascript/commit/c2b98274970bac5af33c9bb2e84c70ad90225180)]: + - @clerk/clerk-react@5.0.0-beta-v5.18 + - @clerk/backend@1.0.0-beta-v5.19 + - @clerk/shared@2.0.0-beta-v5.12 + ## 5.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 7973789083..78a3178674 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "5.0.0-beta-v5.20", + "version": "5.0.0-beta-v5.21", "description": "Clerk SDK for NextJS", "keywords": [ "clerk", @@ -67,13 +67,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.0.0-beta-v5.18", - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/backend": "1.0.0-beta-v5.19", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/shared": "2.0.0-beta-v5.12", "path-to-regexp": "6.2.1" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/node": "^18.17.0", "@types/react": "*", "@types/react-dom": "*", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 0bc19646ae..c5cf8e2e41 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## 5.0.0-beta-v5.18 + +### Patch Changes + +- Properly fire onLoad event when clerk-js is already loaded. ([#2757](https://github.com/clerk/javascript/pull/2757)) by [@panteliselef](https://github.com/panteliselef) + +- Export `EmailLinkErrorCode` from `/errors` module ([#2732](https://github.com/clerk/javascript/pull/2732)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Replace semver with custom regex in versionSelector ([#2760](https://github.com/clerk/javascript/pull/2760)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Updated dependencies [[`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`9737ef510`](https://github.com/clerk/javascript/commit/9737ef5104346821461972d31f3c69e93924f0e0), [`8b466a9ba`](https://github.com/clerk/javascript/commit/8b466a9ba93ca10315b534079b09fa5d76ffa305), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a)]: + - @clerk/types@4.0.0-beta-v5.14 + - @clerk/shared@2.0.0-beta-v5.12 + ## 5.0.0-beta-v5.17 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index db7c2a733f..07f42fe035 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "5.0.0-beta-v5.17", + "version": "5.0.0-beta-v5.18", "description": "Clerk React library", "keywords": [ "clerk", @@ -76,8 +76,8 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/shared": "2.0.0-beta-v5.11", - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/shared": "2.0.0-beta-v5.12", + "@clerk/types": "4.0.0-beta-v5.14", "eslint-config-custom": "*", "tslib": "2.4.1" }, diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index 320a210979..66987adc49 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 4.0.0-beta-v5.21 + +### Patch Changes + +- Expose resources types ([#2660](https://github.com/clerk/javascript/pull/2660)) by [@panteliselef](https://github.com/panteliselef) + +- Export `EmailLinkErrorCode` from `/errors` module ([#2732](https://github.com/clerk/javascript/pull/2732)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Introduce `/errors` module. This path exports all error-related APIs such as `isClerkAPIResponseError`, `isEmailLinkError`, `isKnownError`, `isMetamaskError`, `EmailLinkErrorCode` ([#2732](https://github.com/clerk/javascript/pull/2732)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + +- Updated dependencies [[`6ac9e717a`](https://github.com/clerk/javascript/commit/6ac9e717a7ce8f09c1604f324add5e7e02041c07), [`966b31205`](https://github.com/clerk/javascript/commit/966b312050b572fbbbc07a6f0581cbec21847375), [`a8901be64`](https://github.com/clerk/javascript/commit/a8901be64fe91125a0d38a3c880ffa73168ccf5c), [`7b200af49`](https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`034c47ccb`](https://github.com/clerk/javascript/commit/034c47ccbef0129b9be9ff8aef683aa039e52602), [`ee57f21ac`](https://github.com/clerk/javascript/commit/ee57f21ac62fc2dd0d9d68b965f35081b538c85e), [`1affbb22a`](https://github.com/clerk/javascript/commit/1affbb22a040e210cfce8f72d52b7961057c02d1), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`4fced88ac`](https://github.com/clerk/javascript/commit/4fced88acc66a4837779d8bbca359086cddeec56), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`c2b982749`](https://github.com/clerk/javascript/commit/c2b98274970bac5af33c9bb2e84c70ad90225180)]: + - @clerk/clerk-react@5.0.0-beta-v5.18 + - @clerk/backend@1.0.0-beta-v5.19 + - @clerk/shared@2.0.0-beta-v5.12 + ## 4.0.0-beta-v5.20 ### Patch Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index 698572dcc8..f94ec9b9af 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "4.0.0-beta-v5.20", + "version": "4.0.0-beta-v5.21", "description": "Clerk SDK for Remix", "keywords": [ "clerk", @@ -73,14 +73,14 @@ "publish:local": "npx yalc push --replace --sig" }, "dependencies": { - "@clerk/backend": "1.0.0-beta-v5.18", - "@clerk/clerk-react": "5.0.0-beta-v5.17", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/backend": "1.0.0-beta-v5.19", + "@clerk/clerk-react": "5.0.0-beta-v5.18", + "@clerk/shared": "2.0.0-beta-v5.12", "cookie": "0.5.0", "tslib": "2.4.1" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@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 f641b57db5..bb0e26a4c1 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 5.0.0-beta-v5.19 + +### Patch Changes + +- Updated dependencies [[`966b31205`](https://github.com/clerk/javascript/commit/966b312050b572fbbbc07a6f0581cbec21847375), [`a8901be64`](https://github.com/clerk/javascript/commit/a8901be64fe91125a0d38a3c880ffa73168ccf5c), [`7b200af49`](https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc), [`244de5ea3`](https://github.com/clerk/javascript/commit/244de5ea3a7641727cd85c544bb79fb04f2c0808), [`034c47ccb`](https://github.com/clerk/javascript/commit/034c47ccbef0129b9be9ff8aef683aa039e52602), [`8daf8451c`](https://github.com/clerk/javascript/commit/8daf8451cb564bc834dd856174ffc2cdfa932e37), [`7f751c4ef`](https://github.com/clerk/javascript/commit/7f751c4ef2d14410058cf65ea984a93b50c0b87e), [`4fced88ac`](https://github.com/clerk/javascript/commit/4fced88acc66a4837779d8bbca359086cddeec56), [`be991365e`](https://github.com/clerk/javascript/commit/be991365e1c78d0f1dfc59bb33dd533b6fad223a), [`c2b982749`](https://github.com/clerk/javascript/commit/c2b98274970bac5af33c9bb2e84c70ad90225180)]: + - @clerk/backend@1.0.0-beta-v5.19 + - @clerk/shared@2.0.0-beta-v5.12 + ## 5.0.0-beta-v5.18 ### Patch Changes diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index 07f8dc6e58..29e6c9bae1 100644 --- a/packages/sdk-node/package.json +++ b/packages/sdk-node/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-sdk-node", - "version": "5.0.0-beta-v5.18", + "version": "5.0.0-beta-v5.19", "description": "Clerk server SDK for usage with node", "keywords": [ "clerk", @@ -53,13 +53,13 @@ "test:ci": "jest --maxWorkers=70%" }, "dependencies": { - "@clerk/backend": "1.0.0-beta-v5.18", - "@clerk/shared": "2.0.0-beta-v5.11", + "@clerk/backend": "1.0.0-beta-v5.19", + "@clerk/shared": "2.0.0-beta-v5.12", "camelcase-keys": "6.2.2", "snakecase-keys": "3.2.1" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/express": "4.17.14", "@types/node": "^18.17.0", "eslint-config-custom": "*", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 594e28631d..f0b20891af 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 2.0.0-beta-v5.12 + +### Minor Changes + +- Add `error` for each paginated property return by `useOrganization` and `useOrganizationList` hooks. ([#2743](https://github.com/clerk/javascript/pull/2743)) by [@panteliselef](https://github.com/panteliselef) + +### Patch Changes + +- Add `joinURL` helper to `@clerk/shared/url` ([#2725](https://github.com/clerk/javascript/pull/2725)) by [@LekoArts](https://github.com/LekoArts) + ## 2.0.0-beta-v5.11 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index d69d2235d6..08f62492ae 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "2.0.0-beta-v5.11", + "version": "2.0.0-beta-v5.12", "description": "Internal package utils used by the Clerk SDKs", "repository": { "type": "git", @@ -93,7 +93,7 @@ "swr": "2.2.0" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/glob-to-regexp": "0.4.1", "@types/js-cookie": "3.0.2", "@types/node": "^18.17.0", diff --git a/packages/themes/package.json b/packages/themes/package.json index eb2c2b9d08..47afa32696 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -37,7 +37,7 @@ "lint": "eslint src/" }, "devDependencies": { - "@clerk/types": "4.0.0-beta-v5.13", + "@clerk/types": "4.0.0-beta-v5.14", "@types/node": "^18.17.0", "eslint-config-custom": "*", "typescript": "*" diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 57c63a16f5..b3c047b8e9 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## 4.0.0-beta-v5.14 + +### Minor Changes + +- Accept `skipInvitationScreen` as a prop from OrganizationSwitcher. ([#2713](https://github.com/clerk/javascript/pull/2713)) by [@panteliselef](https://github.com/panteliselef) + + `skipInvitationScreen` hides the screen for sending invitations after an organization is created. + By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1 + +- Add support for X/Twitter v2 OAuth provider ([#2690](https://github.com/clerk/javascript/pull/2690)) by [@kostaspt](https://github.com/kostaspt) + +### Patch Changes + +- Fix using `ClerkPaginationRequest` type without passing a generic. ([#2714](https://github.com/clerk/javascript/pull/2714)) by [@dimkl](https://github.com/dimkl) + + Before the fix the `ClerkPaginationRequest = any` and after the fix the `ClerkPaginationRequest = { limit, offset }`. + +- Prevent Clerk component flickering when mounted in a Next.js app using App Router ([#2765](https://github.com/clerk/javascript/pull/2765)) by [@nikosdouvlis](https://github.com/nikosdouvlis) + ## 4.0.0-beta-v5.13 ### Major Changes diff --git a/packages/types/package.json b/packages/types/package.json index e4fa5de065..121caa1f51 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "4.0.0-beta-v5.13", + "version": "4.0.0-beta-v5.14", "description": "Typings for Clerk libraries.", "keywords": [ "clerk",