Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 96 additions & 1 deletion .changeset/pre.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -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": {
Expand DownExpand Up@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
36 changes: 36 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,16 +67,16 @@
"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",
"@xstate/react": "^4.0.2",
"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": "*",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
13 changes: 13 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line numberDiff line numberDiff line change
@@ -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",
Expand DownExpand Up@@ -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": "*",
Expand Down
Loading