Packages

@clerk/astro

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

Your version

0.0.3

16 Jul 2024Where it was published

0.0.4 is the newest release of 0.0.x.

In short

3 new4 fixed4 internal

Security

1 advisory affects 0.0.3; 1.5.7 fixes them

Release note

The section about @clerk/astro of a note shared by several packages.

Patch Changes

  • Update existing env variables that is still using PUBLIC_ASTRO_APP prefix to PUBLIC_.

  • Move @clerk/astro/components/* to @clerk/astro/components

    - import { UserProfile } from "@clerk/astro/components/interactive"
    + import { UserProfile } from "@clerk/astro/components"
    
    - import { Protect } from "@clerk/astro/components/control"
    + import { Protect } from "@clerk/astro/components"
    
    - import { SignInButton } from "@clerk/astro/components/unstyled"
    + import { SignInButton } from "@clerk/astro/components"
  • Simplify submodules and drop the bundled variant.

    Moved

    • @clerk/astro/client/react to @clerk/astro/react

    • @clerk/astro/client/stores to @clerk/astro/client
      Dropped

    • @clerk/astro/bundled

    • @clerk/astro/client/bundled

    • @clerk/astro/internal/bundled

    • @clerk/astro/integration

    • @clerk/astro/integration/bundled

  • Support Astro.locals.auth().redirectToSignIn()

    This allows for redirectingToSignIn at the page level

  • Add a reusable ID generation function

  • Remove @nanostores/react from dependency.

  • Introduce <AuthenticateWithRedirectCallback/> as an Astro and as a React component

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.