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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
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;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); ci(repo): Version packages by clerk-cookie · Pull Request #8993 · clerk/javascript · GitHub
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
2 changes: 0 additions & 2 deletions .changeset/bold-horses-rhyme.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-add-promise-type.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-fixer-quote-style.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-or-auth-guards.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eslint-plugin-project-relative-paths.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expo-bump-clerk-android-1-0-31.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fix-release-notify-nested-packages.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-astro-compiler.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dancers-judge.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ripe-ways-greet.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/soft-astro-routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sso-secondary-button-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tokencache-broadcast-eviction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-tab-focus-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-ants-kind.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-jeans-own.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
# @clerk/astro

## 3.4.8

### Patch Changes

- Fix custom user button menu item rendering for Astro's stricter compiler. ([#8980](https://github.com/clerk/javascript/pull/8980)) by [@wobsoriano](https://github.com/wobsoriano)

- Deprecate `createRouteMatcher()` in favor of resource-based auth checks. ([#8981](https://github.com/clerk/javascript/pull/8981)) by [@wobsoriano](https://github.com/wobsoriano)

Instead of protecting routes only from middleware, move auth checks into each protected Astro page, API route, or server-side handler:

```ts
import type { APIRoute } from 'astro';

export const GET: APIRoute = ({ locals }) => {
const { userId } = locals.auth();

if (!userId) {
return new Response('Unauthorized', { status: 401 });
}

return Response.json({ userId });
};
```

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.4.7

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

## 3.8.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 3.8.3

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

## 3.1.44

### Patch Changes

- Updated dependencies [[`afe9a90`](https://github.com/clerk/javascript/commit/afe9a90c5bee0e22a8b36040ec63690b6629ba22), [`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d), [`0691d46`](https://github.com/clerk/javascript/commit/0691d468e474672aa962c867789f06a3b71ba33a), [`a1e37f4`](https://github.com/clerk/javascript/commit/a1e37f466908ab5da94462ad1ebbaeb2549c00e5)]:
- @clerk/ui@1.23.0
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.1.43

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

## 6.22.0

### Minor Changes

- Handle expired organization domains on self-serve SSO flow, allowing to trigger a new verification ([#9000](https://github.com/clerk/javascript/pull/9000)) by [@LauraBeatris](https://github.com/LauraBeatris)

### Patch Changes

- Prevent a cross-tab broadcast failure from evicting a freshly cached session token. Previously, if broadcasting a token update to other tabs threw (for example when the `BroadcastChannel` was racing a close), the token that was just cached got dropped and the next `getToken()` made an unnecessary network request. The broadcast is now isolated so a failure no longer discards a valid cached token. ([#8969](https://github.com/clerk/javascript/pull/8969)) by [@jacekradko](https://github.com/jacekradko)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 6.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "6.21.1",
"version": "6.22.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/electron/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/electron

## 0.0.5

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 0.0.4

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/electron",
"version": "0.0.4",
"version": "0.0.5",
"description": "Clerk SDK for Electron",
"keywords": [
"clerk",
Expand Down
22 changes: 22 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
# @clerk/eslint-plugin

## 0.2.0

### Minor Changes

- The `require-auth-protection` rule now matches `protected` and `public` globs relative to the project root, instead of relative to `app/`. You can specify `rootDir` to control the project root. ([#8942](https://github.com/clerk/javascript/pull/8942)) by [@Ephem](https://github.com/Ephem)

**Breaking change:** If your project uses the `src/app/` folder structure, you need to rewrite your globs. For example, instead of `public: ['app/sign-in/**']`, use: `public: ['src/app/sign-in/**']`.

### Patch Changes

- Handle non-promise return types when `require-auth-protection` rule fixer makes the function `async`. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

The eslint rule fixer will now wrap a non-promise return type with `Promise<>` to produce valid TypeScript.

- The `require-auth-protection` fixer now matches the string quote style of existing imports when inserting a new `auth` import. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, new imports always used single quotes regardless of how other imports in the file were quoted.

- The `require-auth-protection` rule now accepts OR-conditions like `if (!isAuthenticated || otherCondition)` when determining if a resource is protected. ([#8941](https://github.com/clerk/javascript/pull/8941)) by [@Ephem](https://github.com/Ephem)

Previously, only bare auth checks such as `if (!isAuthenticated)` were recognized. Guards with only `||` are safe but were incorrectly reported as missing protection.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/eslint-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "ESLint plugin for enforcing Clerk patterns across JavaScript frameworks.",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/expo-passkeys

## 1.1.10

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 1.1.9

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

## 3.6.1

### Patch Changes

- Bump the bundled `clerk-android` SDK (`clerk-android-api` and `clerk-android-ui`) from `1.0.30` to `1.0.31`. See the Clerk Android release: https://github.com/clerk/clerk-android/releases/tag/v1.0.31. ([#8996](https://github.com/clerk/javascript/pull/8996)) by [@clerk-cookie](https://github.com/clerk-cookie)

- Allow Expo native theme JSON to configure secondary button background and foreground colors for native SSO buttons. ([#8997](https://github.com/clerk/javascript/pull/8997)) by [@wobsoriano](https://github.com/wobsoriano)

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8), [`2492043`](https://github.com/clerk/javascript/commit/24920437b0c61c4852be830d5495e53ae956e37d)]:
- @clerk/clerk-js@6.22.0
- @clerk/shared@4.22.0
- @clerk/react@6.11.1

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo",
"version": "3.6.0",
"version": "3.6.1",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.1.32

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 2.1.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "2.1.31",
"version": "2.1.32",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
# Change Log

## 3.1.42

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0
- @clerk/backend@3.8.4

## 3.1.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "3.1.41",
"version": "3.1.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down
7 changes: 7 additions & 0 deletions packages/headless/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
# @clerk/headless

## 0.0.4

### Patch Changes

- Updated dependencies [[`19ce04a`](https://github.com/clerk/javascript/commit/19ce04aab6387c430dc41e51c6130a88cc543cc8)]:
- @clerk/shared@4.22.0

## 0.0.3

### Patch Changes
Expand Down
Loading
Loading