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
7 changes: 0 additions & 7 deletions .changeset/better-results-jump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brave-guests-kick.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/clean-apes-invent.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/cuddly-masks-beam.md

This file was deleted.

40 changes: 0 additions & 40 deletions .changeset/floppy-tigers-push.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-rivers-tell.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/neat-women-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/odd-monkeys-rush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/petite-donkeys-leave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/public-goats-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/purple-crabs-cheat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silent-women-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-suits-type.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/tiny-spoons-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wild-pots-grab.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/agent-toolkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @clerk/agent-toolkit

## 0.1.31

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`63fa204`](https://github.com/clerk/javascript/commit/63fa2042b821096d4f962832ff3c10ad1b7ddf0e), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 0.1.30

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/agent-toolkit",
"version": "0.1.30",
"version": "0.1.31",
"description": "Clerk Toolkit for AI Agents",
"homepage": "https://clerk.com/",
"bugs": {
Expand Down
48 changes: 48 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @clerk/astro

## 2.12.0

### Minor Changes

- Introduces machine authentication, supporting four token types: `api_key`, `oauth_token`, `m2m_token`, and `session_token`. For backwards compatibility, `session_token` remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. ([#6671](https://github.com/clerk/javascript/pull/6671)) by [@wobsoriano](https://github.com/wobsoriano)

You can specify which token types are allowed by using the `acceptsToken` option in the `auth()` local. This option can be set to a specific type, an array of types, or `'any'` to accept all supported tokens.

Example usage in endpoints:

```ts
export const GET: APIRoute = ({ locals }) => {
const authObject = locals.auth({ acceptsToken: 'any' });

if (authObject.tokenType === 'session_token') {
console.log('this is session token from a user');
} else {
console.log('this is some other type of machine token (api_key | oauth_token | m2m_token)');
console.log('more specifically, a ' + authObject.tokenType);
}

return new Response(JSON.stringify({}));
};
```

In middleware:

```ts
import { clerkMiddleware, createRouteMatcher } from '@clerk/astro/server';

const isProtectedRoute = createRouteMatcher(['/api(.*)']);

export const onRequest = clerkMiddleware((auth, context) => {
const { userId } = auth({ acceptsToken: 'api_key' });

if (!userId && isProtectedRoute(context.request)) {
return new Response('Unauthorized', { status: 401 });
}
});
```

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`63fa204`](https://github.com/clerk/javascript/commit/63fa2042b821096d4f962832ff3c10ad1b7ddf0e), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 2.11.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/astro",
"version": "2.11.11",
"version": "2.12.0",
"description": "Clerk SDK for Astro",
"keywords": [
"auth",
Expand Down
12 changes: 12 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 2.13.0

### Minor Changes

- Extend the trial of a subscription item via the BillingAPI. ([#6714](https://github.com/clerk/javascript/pull/6714)) by [@panteliselef](https://github.com/panteliselef)

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]

## 2.12.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "2.12.1",
"version": "2.13.0",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 2.5.30

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`aa098bd`](https://github.com/clerk/javascript/commit/aa098bd5b71fd5cdc7e1a17bb19da542446fd43b), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`bddb828`](https://github.com/clerk/javascript/commit/bddb82815d4dbfe574834867d66639d3e342f7f8), [`4a5bd7a`](https://github.com/clerk/javascript/commit/4a5bd7a4d9e96c89af07db69fc140ca2adb87f08)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 2.5.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "2.5.29",
"version": "2.5.30",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand Down
21 changes: 21 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## 5.92.0

### Minor Changes

- Introduce "Last Used" functionality to Sign In and Up ([#6722](https://github.com/clerk/javascript/pull/6722)) by [@tmilewski](https://github.com/tmilewski)

### Patch Changes

- Change placement of the manage subscription button inside `<UserProfile/>` and `<OrganizationProfile/>` ([#6428](https://github.com/clerk/javascript/pull/6428)) by [@panteliselef](https://github.com/panteliselef)

- Do not trigger organization roles query when the current user's membership lacks the required permissions (`org:sys_memberships:read` or `org:sys_memberships:manage`). ([#6703](https://github.com/clerk/javascript/pull/6703)) by [@LauraBeatris](https://github.com/LauraBeatris)

This fixes an issue where the `OrganizationSwitcher` component was making unnecessary API calls to fetch roles, resulting in HTTP 403 errors.

- Update search icon, payment source icon, and user preview identifier colors. ([#6697](https://github.com/clerk/javascript/pull/6697)) by [@alexcarpenter](https://github.com/alexcarpenter)

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`f689d99`](https://github.com/clerk/javascript/commit/f689d990117383b3f9e5417298dae39a20053cbf), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789), [`465369b`](https://github.com/clerk/javascript/commit/465369bba2a545304649666c4e1714b9a904c948)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 5.91.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.91.2",
"version": "5.92.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
11 changes: 11 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @clerk/elements

## 0.23.62

### Patch Changes

- Correctly specify dependency on `type-fest` package. ([#6711](https://github.com/clerk/javascript/pull/6711)) by [@dstaley](https://github.com/dstaley)

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`4a5bd7a`](https://github.com/clerk/javascript/commit/4a5bd7a4d9e96c89af07db69fc140ca2adb87f08), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 0.23.61

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.23.61",
"version": "0.23.62",
"description": "Clerk Elements",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @clerk/expo-passkeys

## 0.3.39

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]

## 0.3.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-passkeys/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo-passkeys",
"version": "0.3.38",
"version": "0.3.39",
"description": "Passkeys library to be used with Clerk for expo",
"keywords": [
"react-native",
Expand Down
12 changes: 12 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 2.14.29

### Patch Changes

- Accepts `showInRecents` in `authSessionOptions` for `useSSO`, preventing the Android web browser tab from closing when navigating away during the SSO flow ([#6718](https://github.com/clerk/javascript/pull/6718)) by [@LauraBeatris](https://github.com/LauraBeatris)

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`aa098bd`](https://github.com/clerk/javascript/commit/aa098bd5b71fd5cdc7e1a17bb19da542446fd43b), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`bddb828`](https://github.com/clerk/javascript/commit/bddb82815d4dbfe574834867d66639d3e342f7f8), [`4a5bd7a`](https://github.com/clerk/javascript/commit/4a5bd7a4d9e96c89af07db69fc140ca2adb87f08), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 2.14.28

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "2.14.28",
"version": "2.14.29",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
9 changes: 9 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.7.30

### Patch Changes

- Updated dependencies [[`55490c3`](https://github.com/clerk/javascript/commit/55490c31fadc82bdca6cd5f2b22e5e158aaba0cb), [`e8d21de`](https://github.com/clerk/javascript/commit/e8d21de39b591973dad48fc1d1851c4d28b162fe), [`63fa204`](https://github.com/clerk/javascript/commit/63fa2042b821096d4f962832ff3c10ad1b7ddf0e), [`637f2e8`](https://github.com/clerk/javascript/commit/637f2e8768b76aaf756062b6b5b44bf651f66789)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 1.7.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "1.7.29",
"version": "1.7.30",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
Loading
Loading