Skip to content

Commit 4914e49

Browse files
ci(repo): Version packages (Core 2) (#8376)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e085a17 commit 4914e49

45 files changed

Lines changed: 238 additions & 38 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/authorization-bypass-combined-conditions.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/agent-toolkit/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @clerk/agent-toolkit
22

3+
## 0.2.31
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e085a17`](https://github.com/clerk/javascript/commit/e085a174e4b6072022f3ace907bcf020f3216272)]:
8+
- @clerk/shared@3.47.5
9+
- @clerk/backend@2.33.3
10+
- @clerk/types@4.101.23
11+
312
## 0.2.30
413

514
### Patch Changes

packages/agent-toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/agent-toolkit",
3-
"version": "0.2.30",
3+
"version": "0.2.31",
44
"description": "Clerk Toolkit for AI Agents",
55
"homepage": "https://clerk.com/",
66
"bugs": {

packages/astro/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @clerk/astro
22

3+
## 2.17.11
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e085a17`](https://github.com/clerk/javascript/commit/e085a174e4b6072022f3ace907bcf020f3216272)]:
8+
- @clerk/shared@3.47.5
9+
- @clerk/backend@2.33.3
10+
- @clerk/types@4.101.23
11+
312
## 2.17.10
413

514
### Patch Changes

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/astro",
3-
"version": "2.17.10",
3+
"version": "2.17.11",
44
"description": "Clerk SDK for Astro",
55
"keywords": [
66
"auth",

packages/backend/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## 2.33.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e085a17`](https://github.com/clerk/javascript/commit/e085a174e4b6072022f3ace907bcf020f3216272)]:
8+
- @clerk/shared@3.47.5
9+
- @clerk/types@4.101.23
10+
311
## 2.33.2
412

513
### Patch Changes

packages/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/backend",
3-
"version": "2.33.2",
3+
"version": "2.33.3",
44
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
55
"homepage": "https://clerk.com/",
66
"bugs": {

packages/chrome-extension/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## 2.9.15
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e085a17`](https://github.com/clerk/javascript/commit/e085a174e4b6072022f3ace907bcf020f3216272)]:
8+
- @clerk/shared@3.47.5
9+
- @clerk/clerk-js@5.125.10
10+
- @clerk/clerk-react@5.61.6
11+
312
## 2.9.14
413

514
### Patch Changes

packages/chrome-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/chrome-extension",
3-
"version": "2.9.14",
3+
"version": "2.9.15",
44
"description": "Clerk SDK for Chrome extensions",
55
"keywords": [
66
"auth",

packages/clerk-js/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Change Log
22

3+
## 5.125.10
4+
5+
### Patch Changes
6+
7+
- Fix an authorization bypass in `has()`, `auth.protect()`, and related predicates when a single call combined conditions from more than one dimension (for example, `{ permission, reverification }` or `{ feature, permission }`). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed. ([#8373](https://github.com/clerk/javascript/pull/8373)) by [@nikosdouvlis](https://github.com/nikosdouvlis)
8+
9+
Behavior is now:
10+
- When a requested dimension cannot be satisfied because the underlying session data is missing, malformed, or invalid, the call denies. Previously these cases were treated as indeterminate and ignored, which could let another passing dimension carry the call.
11+
- Fixed a minor bug where `session.checkAuthorization()` was building authorization options from the membership row id instead of the organization id.
12+
13+
Single-condition role, permission, feature, and plan checks (`has({ permission })`, etc.) are unchanged. Single-condition `reverification` checks are unchanged on well-formed session data; calls with a missing or malformed `factorVerificationAge` payload now deny where they previously returned indeterminate. Callback-form `auth.protect(has => ...)` is unaffected unless the callback itself invokes the affected shapes.
14+
15+
Separately, `auth.protect()` in `@clerk/nextjs` previously discarded authorization params (`role`, `permission`, `feature`, `plan`, `reverification`) whenever the same argument object also contained `unauthenticatedUrl`, `unauthorizedUrl`, or `token`. TypeScript's excess-property check caught this for inline object literals but did not apply once the argument was assigned to a variable, spread, or used from JavaScript. Mixed-shape calls like `auth.protect({ role: 'org:admin', unauthorizedUrl: '/denied' })` or `auth.protect({ permission: 'org:X', token: 'session_token' })` now correctly enforce the authorization check instead of silently letting every authenticated caller through.
16+
17+
- Updated dependencies [[`e085a17`](https://github.com/clerk/javascript/commit/e085a174e4b6072022f3ace907bcf020f3216272)]:
18+
- @clerk/shared@3.47.5
19+
- @clerk/localizations@3.37.5
20+
321
## 5.125.9
422

523
### Patch Changes

0 commit comments

Comments
 (0)