Packages

@clerk/astro

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

Your version

4.1.26

18 Nov 2026Where it was published

4.1.30 is the newest release of 4.x.

In short

2 fixed2 internal

Release note

Patch Changes

  • Fix $billingStore so it emits the billing namespace only after Clerk has loaded. Before, it could emit while clerk.load() was still running, so a call like getPlans() in a subscriber could fail with a dev_browser_unauthenticated error on development instances.

  • Fix clerkMiddleware so it inserts Clerk's tags only before the document's real </head> tag. It no longer matches </head> inside attribute values, comments, or the text of elements like script, style, textarea, title, and noscript, and it now finds a </head> tag that is split across streamed chunks. The server data now goes in <meta> tags, and clerk-js is preloaded with a <link> tag and loaded by the integration's page script.

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.