Skip to content

Commit

Permalink
Revert "chore(repo): Version packages (#1331)"
Browse files Browse the repository at this point in the history
This reverts commit b32b363.
  • Loading branch information
nikosdouvlis committed Jun 9, 2023
1 parent 1ccee46 commit b66ea0a
Show file tree
Hide file tree
Showing 52 changed files with 166 additions and 252 deletions.
6 changes: 6 additions & 0 deletions .changeset/eighty-lamps-joke.md
@@ -0,0 +1,6 @@
---
'@clerk/backend': minor
'@clerk/nextjs': minor
---

Add support for NextJS applications hosted on AWS Amplify
2 changes: 2 additions & 0 deletions .changeset/fresh-stingrays-brake.md
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/grumpy-dragons-complain.md
@@ -0,0 +1,5 @@
---
'@clerk/nextjs': patch
---

Improve debug logs in NextJS by adding AuthStatusObject.debug data
6 changes: 6 additions & 0 deletions .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
5 changes: 5 additions & 0 deletions .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`.
7 changes: 7 additions & 0 deletions .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
2 changes: 2 additions & 0 deletions .changeset/poor-eagles-bake.md
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/pretty-horses-suffer.md
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Load CF turnstile from FAPI
2 changes: 2 additions & 0 deletions .changeset/rare-mails-smash.md
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .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`
14 changes: 14 additions & 0 deletions .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.
11 changes: 11 additions & 0 deletions .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.
5 changes: 5 additions & 0 deletions .changeset/shiny-feet-matter.md
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': minor
---

Add missing appearance keys for the "Manage Organization" button within `<OrganizationSwitcher/>`
6 changes: 6 additions & 0 deletions .changeset/silver-days-sit.md
@@ -0,0 +1,6 @@
---
'@clerk/clerk-js': patch
'@clerk/types': patch
---

Add support for dataURLs in User.setProfileImage
2 changes: 2 additions & 0 deletions .changeset/silver-kiwis-prove.md
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/sixty-fireants-clap.md
@@ -0,0 +1,2 @@
---
---
6 changes: 6 additions & 0 deletions .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
2 changes: 2 additions & 0 deletions .changeset/soft-rocks-clean.md
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/tasty-cars-battle.md
@@ -0,0 +1,5 @@
---
'@clerk/backend': minor
---

Address npm audit issues for the clerk backend package
6 changes: 6 additions & 0 deletions .changeset/thick-dodos-eat.md
@@ -0,0 +1,6 @@
---
'@clerk/backend': minor
'@clerk/nextjs': minor
---

Add support for NextJS applications hosted on Railway
2 changes: 2 additions & 0 deletions .changeset/thin-apes-wait.md
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/thin-carpets-reflect.md
@@ -0,0 +1,5 @@
---
'@clerk/backend': patch
---

Remove unused `url` prop from `redirectToSignIn` and `redirectToSignUp` helpers
5 changes: 5 additions & 0 deletions .changeset/weak-bees-walk.md
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Preview known SAML error messages during failed Sign in/up flows
5 changes: 5 additions & 0 deletions .changeset/wise-rockets-fetch.md
@@ -0,0 +1,5 @@
---
'@clerk/nextjs': patch
---

`authMiddleware` handles multi-domain relared properties passed as functions properly
2 changes: 2 additions & 0 deletions .changeset/yellow-roses-relate.md
@@ -0,0 +1,2 @@
---
---
17 changes: 0 additions & 17 deletions 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
Expand Down
4 changes: 2 additions & 2 deletions 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",
Expand All @@ -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",
Expand Down
8 changes: 0 additions & 8 deletions 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
Expand Down
6 changes: 3 additions & 3 deletions 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": [
Expand Down Expand Up @@ -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": "*",
Expand Down
34 changes: 0 additions & 34 deletions 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 `<OrganizationSwitcher/>` ([#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
Expand Down
8 changes: 4 additions & 4 deletions 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": [
Expand Down Expand Up @@ -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",
Expand Down
8 changes: 0 additions & 8 deletions 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
Expand Down
8 changes: 4 additions & 4 deletions 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": [
Expand All @@ -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": "*",
Expand Down
8 changes: 0 additions & 8 deletions 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
Expand Down
6 changes: 3 additions & 3 deletions 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": [
Expand All @@ -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": {
Expand Down
10 changes: 0 additions & 10 deletions 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
Expand Down
10 changes: 5 additions & 5 deletions 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": [
Expand Down Expand Up @@ -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"
},
Expand Down

0 comments on commit b66ea0a

Please sign in to comment.