Skip to content

Commit 2e06d78

Browse files
committed
Merge branch 'main' into elef/billing-hooks-should-accept-enabled-option
2 parents 2f70c0b + 50e630a commit 2e06d78

File tree

126 files changed

+1684
-169
lines changed

Some content is hidden

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

126 files changed

+1684
-169
lines changed

.changeset/fuzzy-keys-smell.md

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

.changeset/lovely-tools-sleep.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@clerk/backend': minor
3+
---
4+
5+
Add `external_id` field to `user.deleted` webhook events; Add `user` field to `SessionWebhookEventJSON`
6+
7+
- Adds `external_id` field to `user.deleted` webhook events by creating a new `UserDeletedJSON` interface that extends `DeletedObjectJSON` to include an optional `external_id` string.
8+
- Creates a new `SessionWebhookEventJSON` interface that extends `SessionJSON` to include a nullable `user` field as the `UserJSON` interface, and updates the webhook event types to use this new interface for `session.created`, `session.ended`, `session.removed`, and `session.revoked` events.

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.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`b5a7e2f`](https://github.com/clerk/javascript/commit/b5a7e2f8af5514e19e06918632d982be65f4a854), [`a1d10fc`](https://github.com/clerk/javascript/commit/a1d10fc6e231f27ec7eabd0db45b8f7e8c98250e), [`b944ff3`](https://github.com/clerk/javascript/commit/b944ff30494a8275450ca0d5129cdf58f02bea81), [`4011c5e`](https://github.com/clerk/javascript/commit/4011c5e0014ede5e480074b73d064a1bc2a577dd)]:
8+
- @clerk/types@4.100.0
9+
- @clerk/shared@3.34.0
10+
- @clerk/backend@2.22.0
11+
312
## 0.2.0
413

514
### Minor 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.0",
3+
"version": "0.2.1",
44
"description": "Clerk Toolkit for AI Agents",
55
"homepage": "https://clerk.com/",
66
"bugs": {

packages/astro/CHANGELOG.md

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

3+
## 2.15.1
4+
5+
### Patch Changes
6+
7+
- Fixed missing API keys props within `<UserButton />` ([#7201](https://github.com/clerk/javascript/pull/7201)) by [@wobsoriano](https://github.com/wobsoriano)
8+
9+
- Updated dependencies [[`b5a7e2f`](https://github.com/clerk/javascript/commit/b5a7e2f8af5514e19e06918632d982be65f4a854), [`a1d10fc`](https://github.com/clerk/javascript/commit/a1d10fc6e231f27ec7eabd0db45b8f7e8c98250e), [`b944ff3`](https://github.com/clerk/javascript/commit/b944ff30494a8275450ca0d5129cdf58f02bea81), [`4011c5e`](https://github.com/clerk/javascript/commit/4011c5e0014ede5e480074b73d064a1bc2a577dd)]:
10+
- @clerk/types@4.100.0
11+
- @clerk/shared@3.34.0
12+
- @clerk/backend@2.22.0
13+
314
## 2.15.0
415

516
### Minor 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.15.0",
3+
"version": "2.15.1",
44
"description": "Clerk SDK for Astro",
55
"keywords": [
66
"auth",

packages/astro/src/astro-components/interactive/UserButton/UserButton.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { UserButtonProps, UserProfileProps, Without } from '@clerk/types';
33
44
type Props = Without<UserButtonProps, 'userProfileProps'> & {
5-
userProfileProps?: Pick<UserProfileProps, 'additionalOAuthScopes' | 'appearance'>;
5+
userProfileProps?: Pick<UserProfileProps, 'additionalOAuthScopes' | 'appearance' | 'apiKeysProps'>;
66
/**
77
* If you have more than one UserButton on a page, providing a custom ID is required
88
* to properly scope menu items to the correct button.

packages/backend/CHANGELOG.md

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

3+
## 2.22.0
4+
5+
### Minor Changes
6+
7+
- Removed internal parameter when creating API keys ([#7207](https://github.com/clerk/javascript/pull/7207)) by [@wobsoriano](https://github.com/wobsoriano)
8+
9+
### Patch Changes
10+
11+
- Updated dependencies [[`b5a7e2f`](https://github.com/clerk/javascript/commit/b5a7e2f8af5514e19e06918632d982be65f4a854), [`a1d10fc`](https://github.com/clerk/javascript/commit/a1d10fc6e231f27ec7eabd0db45b8f7e8c98250e), [`b944ff3`](https://github.com/clerk/javascript/commit/b944ff30494a8275450ca0d5129cdf58f02bea81), [`4011c5e`](https://github.com/clerk/javascript/commit/4011c5e0014ede5e480074b73d064a1bc2a577dd)]:
12+
- @clerk/types@4.100.0
13+
- @clerk/shared@3.34.0
14+
315
## 2.21.0
416

517
### Minor 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.21.0",
3+
"version": "2.22.0",
44
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
55
"homepage": "https://clerk.com/",
66
"bugs": {

packages/backend/src/api/endpoints/APIKeysApi.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ type GetAPIKeyListParams = ClerkPaginationRequest<{
2121
}>;
2222

2323
type CreateAPIKeyParams = {
24-
type?: 'api_key';
2524
/**
2625
* API key name
2726
*/

0 commit comments

Comments
 (0)