diff --git a/.changeset/eighty-lamps-joke.md b/.changeset/eighty-lamps-joke.md new file mode 100644 index 0000000000..dfe2e016ea --- /dev/null +++ b/.changeset/eighty-lamps-joke.md @@ -0,0 +1,6 @@ +--- +'@clerk/backend': minor +'@clerk/nextjs': minor +--- + +Add support for NextJS applications hosted on AWS Amplify diff --git a/.changeset/fresh-stingrays-brake.md b/.changeset/fresh-stingrays-brake.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/fresh-stingrays-brake.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/grumpy-dragons-complain.md b/.changeset/grumpy-dragons-complain.md new file mode 100644 index 0000000000..334cb15af2 --- /dev/null +++ b/.changeset/grumpy-dragons-complain.md @@ -0,0 +1,5 @@ +--- +'@clerk/nextjs': patch +--- + +Improve debug logs in NextJS by adding AuthStatusObject.debug data diff --git a/.changeset/hot-gorillas-fix.md b/.changeset/hot-gorillas-fix.md new file mode 100644 index 0000000000..1477c3613a --- /dev/null +++ b/.changeset/hot-gorillas-fix.md @@ -0,0 +1,6 @@ +--- +"@clerk/localizations": patch +"@clerk/types": patch +--- + +fix(types,localizations): Improve invalid form email_address param error message diff --git a/.changeset/lemon-trains-wash.md b/.changeset/lemon-trains-wash.md new file mode 100644 index 0000000000..321e50f380 --- /dev/null +++ b/.changeset/lemon-trains-wash.md @@ -0,0 +1,5 @@ +--- +'@clerk/nextjs': patch +--- + +The devBrowser JWT is now added to all cross-origin redirects triggered by calling `redirectToSignIn` or `redirectToSignUp`. diff --git a/.changeset/old-stingrays-tap.md b/.changeset/old-stingrays-tap.md new file mode 100644 index 0000000000..1751a7f30f --- /dev/null +++ b/.changeset/old-stingrays-tap.md @@ -0,0 +1,7 @@ +--- +'@clerk/localizations': patch +'@clerk/clerk-js': patch +'@clerk/types': patch +--- + +Make first name, last name & password readonly for users with active SAML accounts diff --git a/.changeset/poor-eagles-bake.md b/.changeset/poor-eagles-bake.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/poor-eagles-bake.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/pretty-horses-suffer.md b/.changeset/pretty-horses-suffer.md new file mode 100644 index 0000000000..eab0aef044 --- /dev/null +++ b/.changeset/pretty-horses-suffer.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Load CF turnstile from FAPI diff --git a/.changeset/rare-mails-smash.md b/.changeset/rare-mails-smash.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/rare-mails-smash.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/real-pillows-dance.md b/.changeset/real-pillows-dance.md new file mode 100644 index 0000000000..4ed94e2d46 --- /dev/null +++ b/.changeset/real-pillows-dance.md @@ -0,0 +1,5 @@ +--- +'@clerk/nextjs': patch +--- + +Improve debug logging by including `AuthObject.debug()` data when `debug` is `true` in `authMiddleware` diff --git a/.changeset/rotten-moles-divide.md b/.changeset/rotten-moles-divide.md new file mode 100644 index 0000000000..843555774e --- /dev/null +++ b/.changeset/rotten-moles-divide.md @@ -0,0 +1,14 @@ +--- +'@clerk/shared': minor +'@clerk/clerk-react': minor +'@clerk/clerk-js': patch +'@clerk/nextjs': patch +'@clerk/remix': patch +--- + +ESM/CJS support for `@clerk/clerk-react` +Changes that should affect users and OS contributors: +- Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. +- Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. +- Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb +- A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. diff --git a/.changeset/seven-mayflies-push.md b/.changeset/seven-mayflies-push.md new file mode 100644 index 0000000000..242a85a0e3 --- /dev/null +++ b/.changeset/seven-mayflies-push.md @@ -0,0 +1,11 @@ +--- +'@clerk/nextjs': minor +--- +Tweaked the default `authMiddleware` behavior for protected API routes. An unauthenticated request for a protected API route will no longer return a `307 Redirect` - a `401 Unauthorized` response will be returned instead. +With this change, an API route is considered a request for which the following rules apply: +- The request url matches the following patterns; `['/api/(.*)', '/trpc/(.*)']` +- Or, the request has `Content-Type: application/json` +- Or, the request method is not one of: `GET`, `OPTIONS` ,` HEAD` + +A new `apiRoutes` param has been introduced on `authMiddleware`. It can accept an array of path patterns, `RegexExp` or strings. If `apiRoutes` is passed in explicitly, then it overrides the behavior described above and only the requests matching `apiRoutes` will be considered as API routes requests. + For more technical details, refer to the PR's description. diff --git a/.changeset/shiny-feet-matter.md b/.changeset/shiny-feet-matter.md new file mode 100644 index 0000000000..2e7c144092 --- /dev/null +++ b/.changeset/shiny-feet-matter.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': minor +--- + +Add missing appearance keys for the "Manage Organization" button within `` diff --git a/.changeset/silver-days-sit.md b/.changeset/silver-days-sit.md new file mode 100644 index 0000000000..8594006455 --- /dev/null +++ b/.changeset/silver-days-sit.md @@ -0,0 +1,6 @@ +--- +'@clerk/clerk-js': patch +'@clerk/types': patch +--- + +Add support for dataURLs in User.setProfileImage diff --git a/.changeset/silver-kiwis-prove.md b/.changeset/silver-kiwis-prove.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/silver-kiwis-prove.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/sixty-fireants-clap.md b/.changeset/sixty-fireants-clap.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/sixty-fireants-clap.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/small-bikes-complain.md b/.changeset/small-bikes-complain.md new file mode 100644 index 0000000000..ebe8bb23dc --- /dev/null +++ b/.changeset/small-bikes-complain.md @@ -0,0 +1,6 @@ +--- +'@clerk/clerk-js': patch +--- + +Support OTP autofill for Chrome on iOS +- Fixes a bug preventing OTP being correctly autofilled when received via SMS diff --git a/.changeset/soft-rocks-clean.md b/.changeset/soft-rocks-clean.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/soft-rocks-clean.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/tasty-cars-battle.md b/.changeset/tasty-cars-battle.md new file mode 100644 index 0000000000..93fb9df076 --- /dev/null +++ b/.changeset/tasty-cars-battle.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': minor +--- + +Address npm audit issues for the clerk backend package diff --git a/.changeset/thick-dodos-eat.md b/.changeset/thick-dodos-eat.md new file mode 100644 index 0000000000..e48fe23949 --- /dev/null +++ b/.changeset/thick-dodos-eat.md @@ -0,0 +1,6 @@ +--- +'@clerk/backend': minor +'@clerk/nextjs': minor +--- + +Add support for NextJS applications hosted on Railway diff --git a/.changeset/thin-apes-wait.md b/.changeset/thin-apes-wait.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/thin-apes-wait.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/thin-carpets-reflect.md b/.changeset/thin-carpets-reflect.md new file mode 100644 index 0000000000..6d47a21d4b --- /dev/null +++ b/.changeset/thin-carpets-reflect.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': patch +--- + +Remove unused `url` prop from `redirectToSignIn` and `redirectToSignUp` helpers diff --git a/.changeset/weak-bees-walk.md b/.changeset/weak-bees-walk.md new file mode 100644 index 0000000000..1171e18d36 --- /dev/null +++ b/.changeset/weak-bees-walk.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Preview known SAML error messages during failed Sign in/up flows diff --git a/.changeset/wise-rockets-fetch.md b/.changeset/wise-rockets-fetch.md new file mode 100644 index 0000000000..acdb46c031 --- /dev/null +++ b/.changeset/wise-rockets-fetch.md @@ -0,0 +1,5 @@ +--- +'@clerk/nextjs': patch +--- + +`authMiddleware` handles multi-domain relared properties passed as functions properly diff --git a/.changeset/yellow-roses-relate.md b/.changeset/yellow-roses-relate.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/yellow-roses-relate.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index 3381f601d2..17bbd5bdaf 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,22 +1,5 @@ # Change Log -## 0.22.0 - -### Minor Changes - -- Add support for NextJS applications hosted on AWS Amplify ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -- Address npm audit issues for the clerk backend package ([#1312](https://github.com/clerkinc/javascript/pull/1312)) by [@desiprisg](https://github.com/desiprisg) - -- Add support for NextJS applications hosted on Railway ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -### Patch Changes - -- Remove unused `url` prop from `redirectToSignIn` and `redirectToSignUp` helpers ([#1293](https://github.com/clerkinc/javascript/pull/1293)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - -- Updated dependencies [[`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b)]: - - @clerk/types@3.41.1 - ## [0.21.0](https://github.com/clerkinc/javascript/compare/@clerk/backend@0.21.0-staging.4...@clerk/backend@0.21.0) (2023-06-03) **Note:** Version bump only for package @clerk/backend diff --git a/packages/backend/package.json b/packages/backend/package.json index ce3dd53531..461440e3cf 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/backend", - "version": "0.22.0", + "version": "0.21.0", "license": "MIT", "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", "types": "./dist/types/index.d.ts", @@ -25,7 +25,7 @@ "test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh" }, "dependencies": { - "@clerk/types": "^3.41.1", + "@clerk/types": "^3.41.0", "@peculiar/webcrypto": "1.4.1", "@types/node": "16.18.6", "deepmerge": "4.2.2", diff --git a/packages/chrome-extension/CHANGELOG.md b/packages/chrome-extension/CHANGELOG.md index e8890e1ef1..6b5bd07246 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,13 +1,5 @@ # Change Log -## 0.3.8 - -### Patch Changes - -- Updated dependencies [[`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`78d538f09`](https://github.com/clerkinc/javascript/commit/78d538f0993492a67b4acbb55dbd9c982102d84a), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`4e9eb438`](https://github.com/clerkinc/javascript/commit/4e9eb43812f1aeae47044f4246e92342325dd21e), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`7f200855`](https://github.com/clerkinc/javascript/commit/7f200855359fc69743227861580ee1b0eccdb854), [`6e555829`](https://github.com/clerkinc/javascript/commit/6e555829e6665328fc73e654775e41882e0ef550)]: - - @clerk/clerk-js@4.46.0 - - @clerk/clerk-react@4.19.0 - ## [0.3.0](https://github.com/clerkinc/javascript/compare/@clerk/chrome-extension@0.2.8-staging.4...@clerk/chrome-extension@0.3.0) (2023-05-15) **Note:** Version bump only for package @clerk/chrome-extension diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index d58f37b426..951ba9b514 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/chrome-extension", - "version": "0.3.8", + "version": "0.3.7", "license": "MIT", "description": "Clerk SDK for Chrome extensions", "keywords": [ @@ -28,8 +28,8 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@clerk/clerk-js": "^4.46.0", - "@clerk/clerk-react": "^4.19.0" + "@clerk/clerk-js": "^4.45.0", + "@clerk/clerk-react": "^4.18.0" }, "devDependencies": { "@types/chrome": "*", diff --git a/packages/clerk-js/CHANGELOG.md b/packages/clerk-js/CHANGELOG.md index f268c2eaed..ca4bb6f083 100644 --- a/packages/clerk-js/CHANGELOG.md +++ b/packages/clerk-js/CHANGELOG.md @@ -1,39 +1,5 @@ # Change Log -## 4.46.0 - -### Minor Changes - -- Add missing appearance keys for the "Manage Organization" button within `` ([#1328](https://github.com/clerkinc/javascript/pull/1328)) by [@desiprisg](https://github.com/desiprisg) - -### Patch Changes - -- Make first name, last name & password readonly for users with active SAML accounts ([#1278](https://github.com/clerkinc/javascript/pull/1278)) by [@yourtallness](https://github.com/yourtallness) - -- Load CF turnstile from FAPI ([#1296](https://github.com/clerkinc/javascript/pull/1296)) by [@panteliselef](https://github.com/panteliselef) - -- ESM/CJS support for `@clerk/clerk-react` ([#1289](https://github.com/clerkinc/javascript/pull/1289)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - - Changes that should affect users and OS contributors: - - - Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - - Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb - - A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. - -- Add support for dataURLs in User.setProfileImage ([#1320](https://github.com/clerkinc/javascript/pull/1320)) by [@panteliselef](https://github.com/panteliselef) - -- Support OTP autofill for Chrome on iOS ([#1315](https://github.com/clerkinc/javascript/pull/1315)) by [@panteliselef](https://github.com/panteliselef) - - - Fixes a bug preventing OTP being correctly autofilled when received via SMS - -- Preview known SAML error messages during failed Sign in/up flows ([#1310](https://github.com/clerkinc/javascript/pull/1310)) by [@chanioxaris](https://github.com/chanioxaris) - -- Updated dependencies [[`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b)]: - - @clerk/localizations@1.17.1 - - @clerk/types@3.41.1 - - @clerk/shared@0.18.0 - ## [4.45.0](https://github.com/clerkinc/javascript/compare/@clerk/clerk-js@4.45.0-staging.4...@clerk/clerk-js@4.45.0) (2023-06-03) **Note:** Version bump only for package @clerk/clerk-js diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index c8fb7b8669..ba63b3a57e 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-js", - "version": "4.46.0", + "version": "4.45.0", "license": "MIT", "description": "Clerk JS library", "keywords": [ @@ -39,9 +39,9 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@clerk/localizations": "^1.17.1", - "@clerk/shared": "^0.18.0", - "@clerk/types": "^3.41.1", + "@clerk/localizations": "^1.17.0", + "@clerk/shared": "^0.17.2", + "@clerk/types": "^3.41.0", "@emotion/cache": "11.10.5", "@emotion/react": "11.10.5", "@floating-ui/react": "0.19.0", diff --git a/packages/expo/CHANGELOG.md b/packages/expo/CHANGELOG.md index 1174ebb2fa..450129b7e1 100644 --- a/packages/expo/CHANGELOG.md +++ b/packages/expo/CHANGELOG.md @@ -1,13 +1,5 @@ # Change Log -## 0.17.8 - -### Patch Changes - -- Updated dependencies [[`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`78d538f09`](https://github.com/clerkinc/javascript/commit/78d538f0993492a67b4acbb55dbd9c982102d84a), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`4e9eb438`](https://github.com/clerkinc/javascript/commit/4e9eb43812f1aeae47044f4246e92342325dd21e), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`7f200855`](https://github.com/clerkinc/javascript/commit/7f200855359fc69743227861580ee1b0eccdb854), [`6e555829`](https://github.com/clerkinc/javascript/commit/6e555829e6665328fc73e654775e41882e0ef550)]: - - @clerk/clerk-js@4.46.0 - - @clerk/clerk-react@4.19.0 - ## [0.17.0](https://github.com/clerkinc/javascript/compare/@clerk/clerk-expo@0.16.5-staging.4...@clerk/clerk-expo@0.17.0) (2023-05-15) **Note:** Version bump only for package @clerk/clerk-expo diff --git a/packages/expo/package.json b/packages/expo/package.json index d150a47bc1..baacf186f3 100644 --- a/packages/expo/package.json +++ b/packages/expo/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-expo", - "version": "0.17.8", + "version": "0.17.7", "license": "MIT", "description": "Clerk React Native/Expo library", "keywords": [ @@ -27,13 +27,13 @@ "lint": "eslint ." }, "dependencies": { - "@clerk/clerk-js": "^4.46.0", - "@clerk/clerk-react": "^4.19.0", + "@clerk/clerk-js": "^4.45.0", + "@clerk/clerk-react": "^4.18.0", "base-64": "1.0.0", "react-native-url-polyfill": "1.3.0" }, "devDependencies": { - "@clerk/types": "^3.41.1", + "@clerk/types": "^3.41.0", "@types/base-64": "^1.0.0", "@types/node": "^16.11.55", "@types/react": "*", diff --git a/packages/fastify/CHANGELOG.md b/packages/fastify/CHANGELOG.md index 8ca5cb7d9c..70b43b28df 100644 --- a/packages/fastify/CHANGELOG.md +++ b/packages/fastify/CHANGELOG.md @@ -1,13 +1,5 @@ # Change Log -## 0.4.6 - -### Patch Changes - -- Updated dependencies [[`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`cb7be34b`](https://github.com/clerkinc/javascript/commit/cb7be34b93baddd96fe1f80f8e6f880673f69724), [`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`9e64d2369`](https://github.com/clerkinc/javascript/commit/9e64d236980f7cb7cdfaadc5320f2ea52906537c)]: - - @clerk/backend@0.22.0 - - @clerk/types@3.41.1 - ## [0.4.0](https://github.com/clerkinc/javascript/compare/@clerk/fastify@0.3.1-staging.3...@clerk/fastify@0.4.0) (2023-05-15) **Note:** Version bump only for package @clerk/fastify diff --git a/packages/fastify/package.json b/packages/fastify/package.json index 55edc0d82f..5aa88cdec6 100644 --- a/packages/fastify/package.json +++ b/packages/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/fastify", - "version": "0.4.6", + "version": "0.4.5", "license": "MIT", "description": "Clerk SDK for Fastify", "keywords": [ @@ -26,8 +26,8 @@ "test": "jest" }, "dependencies": { - "@clerk/backend": "^0.22.0", - "@clerk/types": "^3.41.1", + "@clerk/backend": "^0.21.0", + "@clerk/types": "^3.41.0", "cookies": "0.8.0" }, "devDependencies": { diff --git a/packages/gatsby-plugin-clerk/CHANGELOG.md b/packages/gatsby-plugin-clerk/CHANGELOG.md index 59bbb950e5..dad42d950b 100644 --- a/packages/gatsby-plugin-clerk/CHANGELOG.md +++ b/packages/gatsby-plugin-clerk/CHANGELOG.md @@ -1,15 +1,5 @@ # Change Log -## 4.3.7 - -### Patch Changes - -- Updated dependencies [[`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`cb7be34b`](https://github.com/clerkinc/javascript/commit/cb7be34b93baddd96fe1f80f8e6f880673f69724), [`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`9e64d2369`](https://github.com/clerkinc/javascript/commit/9e64d236980f7cb7cdfaadc5320f2ea52906537c)]: - - @clerk/backend@0.22.0 - - @clerk/types@3.41.1 - - @clerk/clerk-react@4.19.0 - - @clerk/clerk-sdk-node@4.10.4 - ## [4.3.0](https://github.com/clerkinc/javascript/compare/gatsby-plugin-clerk@4.2.8-staging.4...gatsby-plugin-clerk@4.3.0) (2023-05-15) **Note:** Version bump only for package gatsby-plugin-clerk diff --git a/packages/gatsby-plugin-clerk/package.json b/packages/gatsby-plugin-clerk/package.json index 20a1c05575..c56e208cd5 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.3.7", + "version": "4.3.6", "license": "MIT", "description": "Clerk SDK for Gatsby", "keywords": [ @@ -32,10 +32,10 @@ "lint": "eslint ." }, "dependencies": { - "@clerk/backend": "^0.22.0", - "@clerk/clerk-react": "^4.19.0", - "@clerk/clerk-sdk-node": "^4.10.4", - "@clerk/types": "^3.41.1", + "@clerk/backend": "^0.21.0", + "@clerk/clerk-react": "^4.18.0", + "@clerk/clerk-sdk-node": "^4.10.3", + "@clerk/types": "^3.41.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/localizations/CHANGELOG.md b/packages/localizations/CHANGELOG.md index 78284d21be..97c9ccfd73 100644 --- a/packages/localizations/CHANGELOG.md +++ b/packages/localizations/CHANGELOG.md @@ -1,16 +1,5 @@ # Change Log -## 1.17.1 - -### Patch Changes - -- fix(types,localizations): Improve invalid form email_address param error message ([#1303](https://github.com/clerkinc/javascript/pull/1303)) by [@dimkl](https://github.com/dimkl) - -- Make first name, last name & password readonly for users with active SAML accounts ([#1278](https://github.com/clerkinc/javascript/pull/1278)) by [@yourtallness](https://github.com/yourtallness) - -- Updated dependencies [[`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b)]: - - @clerk/types@3.41.1 - ## [1.17.0](https://github.com/clerkinc/javascript/compare/@clerk/localizations@1.17.0-staging.2...@clerk/localizations@1.17.0) (2023-06-03) ### Features diff --git a/packages/localizations/package.json b/packages/localizations/package.json index b0db7e488e..197d011c11 100644 --- a/packages/localizations/package.json +++ b/packages/localizations/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/localizations", - "version": "1.17.1", + "version": "1.17.0", "license": "MIT", "description": "Localizations for the Clerk components", "keywords": [ @@ -28,7 +28,7 @@ "lint": "eslint ." }, "dependencies": { - "@clerk/types": "^3.41.1" + "@clerk/types": "^3.41.0" }, "devDependencies": { "tsup": "*", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index 3d8fe433c8..221d7572e7 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,49 +1,5 @@ # Change Log -## 4.20.0 - -### Minor Changes - -- Add support for NextJS applications hosted on AWS Amplify ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -- Tweaked the default `authMiddleware` behavior for protected API routes. An unauthenticated request for a protected API route will no longer return a `307 Redirect` - a `401 Unauthorized` response will be returned instead. ([#1276](https://github.com/clerkinc/javascript/pull/1276)) by [@anagstef](https://github.com/anagstef) - - With this change, an API route is considered a request for which the following rules apply: - - - The request url matches the following patterns; `['/api/(.*)', '/trpc/(.*)']` - - Or, the request has `Content-Type: application/json` - - Or, the request method is not one of: `GET`, `OPTIONS` ,` HEAD` - - A new `apiRoutes` param has been introduced on `authMiddleware`. It can accept an array of path patterns, `RegexExp` or strings. If `apiRoutes` is passed in explicitly, then it overrides the behavior described above and only the requests matching `apiRoutes` will be considered as API routes requests. - For more technical details, refer to the PR's description. - -- Add support for NextJS applications hosted on Railway ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -### Patch Changes - -- Improve debug logs in NextJS by adding AuthStatusObject.debug data ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -- The devBrowser JWT is now added to all cross-origin redirects triggered by calling `redirectToSignIn` or `redirectToSignUp`. ([#1297](https://github.com/clerkinc/javascript/pull/1297)) by [@anagstef](https://github.com/anagstef) - -- Improve debug logging by including `AuthObject.debug()` data when `debug` is `true` in `authMiddleware` ([#1306](https://github.com/clerkinc/javascript/pull/1306)) by [@dimkl](https://github.com/dimkl) - -- ESM/CJS support for `@clerk/clerk-react` ([#1289](https://github.com/clerkinc/javascript/pull/1289)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - - Changes that should affect users and OS contributors: - - - Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - - Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb - - A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. - -- `authMiddleware` handles multi-domain relared properties passed as functions properly ([#1332](https://github.com/clerkinc/javascript/pull/1332)) by [@panteliselef](https://github.com/panteliselef) - -- Updated dependencies [[`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`cb7be34b`](https://github.com/clerkinc/javascript/commit/cb7be34b93baddd96fe1f80f8e6f880673f69724), [`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`9e64d2369`](https://github.com/clerkinc/javascript/commit/9e64d236980f7cb7cdfaadc5320f2ea52906537c)]: - - @clerk/backend@0.22.0 - - @clerk/types@3.41.1 - - @clerk/clerk-react@4.19.0 - - @clerk/clerk-sdk-node@4.10.4 - ## [4.19.0](https://github.com/clerkinc/javascript/compare/@clerk/nextjs@4.19.0-staging.1...@clerk/nextjs@4.19.0) (2023-05-26) **Note:** Version bump only for package @clerk/nextjs diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index dc538ebcce..1590de513c 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/nextjs", - "version": "4.20.0", + "version": "4.19.1", "license": "MIT", "description": "Clerk SDK for NextJS", "keywords": [ @@ -72,10 +72,10 @@ "dev": "tsup --watch" }, "dependencies": { - "@clerk/backend": "^0.22.0", - "@clerk/clerk-react": "^4.19.0", - "@clerk/clerk-sdk-node": "^4.10.4", - "@clerk/types": "^3.41.1", + "@clerk/backend": "^0.21.0", + "@clerk/clerk-react": "^4.18.0", + "@clerk/clerk-sdk-node": "^4.10.3", + "@clerk/types": "^3.41.0", "path-to-regexp": "6.2.1", "tslib": "2.4.1" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 5ea21dfc00..a002224d2a 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,24 +1,5 @@ # Change Log -## 4.19.0 - -### Minor Changes - -- ESM/CJS support for `@clerk/clerk-react` ([#1289](https://github.com/clerkinc/javascript/pull/1289)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - - Changes that should affect users and OS contributors: - - - Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - - Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb - - A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. - -### Patch Changes - -- Updated dependencies [[`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b)]: - - @clerk/types@3.41.1 - - @clerk/shared@0.18.0 - ## [4.18.0](https://github.com/clerkinc/javascript/compare/@clerk/clerk-react@4.18.0-staging.1...@clerk/clerk-react@4.18.0) (2023-06-03) **Note:** Version bump only for package @clerk/clerk-react diff --git a/packages/react/package.json b/packages/react/package.json index f85ba6b4f7..d51c82748e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/clerk-react", - "version": "4.19.0", + "version": "4.18.0", "license": "MIT", "description": "Clerk React library", "keywords": [ @@ -38,8 +38,8 @@ "test": "jest" }, "dependencies": { - "@clerk/shared": "^0.18.0", - "@clerk/types": "^3.41.1", + "@clerk/shared": "^0.17.2", + "@clerk/types": "^3.41.0", "swr": "1.3.0", "tslib": "2.4.1" }, diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index d74604f675..c2524d1024 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,24 +1,5 @@ # Change Log -## 2.6.6 - -### Patch Changes - -- ESM/CJS support for `@clerk/clerk-react` ([#1289](https://github.com/clerkinc/javascript/pull/1289)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - - Changes that should affect users and OS contributors: - - - Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - - Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb - - A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. - -- Updated dependencies [[`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`4f8a821a`](https://github.com/clerkinc/javascript/commit/4f8a821ae7192bba181f59e6e608a2a57d8db5b4), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`cb7be34b`](https://github.com/clerkinc/javascript/commit/cb7be34b93baddd96fe1f80f8e6f880673f69724), [`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`9e64d2369`](https://github.com/clerkinc/javascript/commit/9e64d236980f7cb7cdfaadc5320f2ea52906537c)]: - - @clerk/backend@0.22.0 - - @clerk/types@3.41.1 - - @clerk/shared@0.18.0 - - @clerk/clerk-react@4.19.0 - ## [2.6.0](https://github.com/clerkinc/javascript/compare/@clerk/remix@2.6.0-staging.4...@clerk/remix@2.6.0) (2023-05-15) **Note:** Version bump only for package @clerk/remix diff --git a/packages/remix/package.json b/packages/remix/package.json index 256a148ecc..6dc9a5f1de 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/remix", - "version": "2.6.6", + "version": "2.6.5", "license": "MIT", "description": "Clerk SDK for Remix", "keywords": [ @@ -30,10 +30,10 @@ "lint": "eslint ." }, "dependencies": { - "@clerk/backend": "^0.22.0", - "@clerk/clerk-react": "^4.19.0", - "@clerk/shared": "^0.18.0", - "@clerk/types": "^3.41.1", + "@clerk/backend": "^0.21.0", + "@clerk/clerk-react": "^4.18.0", + "@clerk/shared": "^0.17.2", + "@clerk/types": "^3.41.0", "cookie": "0.5.0", "tslib": "2.4.1" }, diff --git a/packages/sdk-node/CHANGELOG.md b/packages/sdk-node/CHANGELOG.md index f57ffe6272..9ed98be0a5 100644 --- a/packages/sdk-node/CHANGELOG.md +++ b/packages/sdk-node/CHANGELOG.md @@ -1,13 +1,5 @@ # Change Log -## 4.10.4 - -### Patch Changes - -- Updated dependencies [[`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`cf65a322`](https://github.com/clerkinc/javascript/commit/cf65a322b2741448e5932c417d3740afeab9620f), [`6018fb12`](https://github.com/clerkinc/javascript/commit/6018fb12155acfc8f3d5c5198104497770169539), [`fd15b341`](https://github.com/clerkinc/javascript/commit/fd15b341d2389743cbfe9755d31e078a92aba56b), [`cb7be34b`](https://github.com/clerkinc/javascript/commit/cb7be34b93baddd96fe1f80f8e6f880673f69724), [`5fce80b8`](https://github.com/clerkinc/javascript/commit/5fce80b8a55927fbaf41e512a0cb8e09dbe69831), [`9e64d2369`](https://github.com/clerkinc/javascript/commit/9e64d236980f7cb7cdfaadc5320f2ea52906537c)]: - - @clerk/backend@0.22.0 - - @clerk/types@3.41.1 - ## [4.10.0](https://github.com/clerkinc/javascript/compare/@clerk/clerk-sdk-node@4.10.0-staging.2...@clerk/clerk-sdk-node@4.10.0) (2023-05-23) **Note:** Version bump only for package @clerk/clerk-sdk-node diff --git a/packages/sdk-node/package.json b/packages/sdk-node/package.json index b75672744d..48f4e07eae 100644 --- a/packages/sdk-node/package.json +++ b/packages/sdk-node/package.json @@ -1,5 +1,5 @@ { - "version": "4.10.4", + "version": "4.10.3", "license": "MIT", "type": "commonjs", "main": "./dist/index.js", @@ -54,8 +54,8 @@ "typescript": "*" }, "dependencies": { - "@clerk/backend": "^0.22.0", - "@clerk/types": "^3.41.1", + "@clerk/backend": "^0.21.0", + "@clerk/types": "^3.41.0", "@types/cookies": "0.7.7", "@types/express": "4.17.14", "@types/node-fetch": "2.6.2", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 7cc1ea998a..867988bf08 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,18 +1,5 @@ # Change Log -## 0.18.0 - -### Minor Changes - -- ESM/CJS support for `@clerk/clerk-react` ([#1289](https://github.com/clerkinc/javascript/pull/1289)) by [@nikosdouvlis](https://github.com/nikosdouvlis) - - Changes that should affect users and OS contributors: - - - Better source map support for `@clerk/clerk-react`, `@clerk/shared`. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - - Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb - - A new `clerkJSVersion` prop has been added on ClerkProvider allowing to fetch a specific clerk-js version. - ## [0.17.0](https://github.com/clerkinc/clerk_docker/compare/@clerk/shared@0.17.0-staging.0...@clerk/shared@0.17.0) (2023-05-23) **Note:** Version bump only for package @clerk/shared diff --git a/packages/shared/package.json b/packages/shared/package.json index fb78e0ab9a..1dae85a14c 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/shared", - "version": "0.18.0", + "version": "0.17.2", "description": "Internal package utils used by the Clerk SDKs", "types": "./dist/types/index.d.ts", "main": "./dist/cjs/index.js", @@ -34,7 +34,7 @@ "test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html" }, "devDependencies": { - "@clerk/types": "^3.41.1", + "@clerk/types": "^3.41.0", "@types/glob-to-regexp": "0.4.1", "@types/js-cookie": "3.0.2", "tsup": "*", diff --git a/packages/themes/package.json b/packages/themes/package.json index a33acdde66..cde0527214 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -28,7 +28,7 @@ "lint": "eslint ." }, "devDependencies": { - "@clerk/types": "^3.41.1", + "@clerk/types": "^3.41.0", "typescript": "*" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index d6d9b3153b..28e680c655 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,15 +1,5 @@ # Change Log -## 3.41.1 - -### Patch Changes - -- fix(types,localizations): Improve invalid form email_address param error message ([#1303](https://github.com/clerkinc/javascript/pull/1303)) by [@dimkl](https://github.com/dimkl) - -- Make first name, last name & password readonly for users with active SAML accounts ([#1278](https://github.com/clerkinc/javascript/pull/1278)) by [@yourtallness](https://github.com/yourtallness) - -- Add support for dataURLs in User.setProfileImage ([#1320](https://github.com/clerkinc/javascript/pull/1320)) by [@panteliselef](https://github.com/panteliselef) - ## [3.41.0](https://github.com/clerkinc/javascript/compare/@clerk/types@3.41.0-staging.1...@clerk/types@3.41.0) (2023-06-03) **Note:** Version bump only for package @clerk/types diff --git a/packages/types/package.json b/packages/types/package.json index 2def074f8e..926bfe9ce8 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/types", - "version": "3.41.1", + "version": "3.41.0", "license": "MIT", "description": "Typings for Clerk libraries.", "keywords": [