Packages

@clerk/astro

4.1.27 · 18 Nov 2026MIT46.5k / weekRepositoryHomepagenpmAtom feed

Your version

3.1.0

1 May 2026Where it was published

3.4.20 is the newest release of 3.x.

In short

5 new2 internal

Release note

Minor Changes

  • Add an env-var shortcut for unsafe_disableDevelopmentModeConsoleWarning across the Astro, Nuxt, React Router, and TanStack Start integrations so the development-keys console warning can be suppressed without threading the option through <ClerkProvider> manually:

    • Astro: PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING

    • Nuxt: NUXT_PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING

    • React Router: VITE_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING (or CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING)

    • TanStack Start: VITE_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING (or CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING)

    The Next.js equivalent (NEXT_PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING) already existed; the JSDoc on unsafe_disableDevelopmentModeConsoleWarning now lists every framework's env-var shortcut and clarifies that suppressing the warning at source also keeps it from being mirrored to the dev-server terminal (e.g. Next.js with experimental.browserDebugInfoInTerminal).

  • Expose OAuthConsent as a public component export for Astro.

    Example:

    ---
    import { OAuthConsent } from '@clerk/astro/components';
    ---
    
    <OAuthConsent />

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.