@clerk/astro
4.1.27 · 18 Nov 2026MIT46.5k / weekRepositoryHomepagenpmAtom feed
2.17.18 is the newest release of 2.x.
In short
2 new3 internal
Security
2 advisories affect 2.2.0; 2.17.11 fixes them
- CriticalOfficial Clerk JavaScript SDKs: Middleware-based route protection bypassGHSA-vqx2-fgx2-5wq9 · 16 Apr 2026Fixed in 2.17.10
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 2.17.11
Release note
Minor Changes
Add support for type-safe environment variables using the
astro:envAPI.The integration now provides a type-safe schema for all Clerk environment variables by default. You can use the environment variables like so:
import { PUBLIC_CLERK_PUBLISHABLE_KEY } from 'astro:env/client'; import { CLERK_SECRET_KEY } from 'astro:env/server';To override this behavior, you can disable the feature by setting
enableEnvSchematofalse:export default defineConfig({ integrations: [clerk({ enableEnvSchema: false })], });
Patch Changes
Add the ability to specify an appearance for modal component usages.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.