@clerk/astro
4.1.27 · 18 Nov 2026MIT46.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/astro From 2.10.11 to 2.17.18
73 releases in betweennotes for 72
Reading releases, release notes and advisories…
Counted from 72 of 73 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.11.0
- Deprecated2.14.3
Security
Fixes 2 advisories affecting 2.10.11
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
Release by release
- Fixed
Fix
$billingStoreso it emits the billing namespace only after Clerk has loaded. Before, it could emit whileclerk.load()was still running, so a call likegetPlans()in a subscriber could fail with adev_browser_unauthenticatederror on development instances. - Fixed
Fix
clerkMiddlewareso it adds Clerk's tags to the page once, right before the closing</head>tag. It now finds that tag even when a streamed response splits it across two 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.
- Fixed
2.17.11 – 2.17.177 releases, nothing new or fixed; 1 without a note
- Fixed
Normalize URL paths in
createPathMatcherto prevent route protection bypass
- Fixed
2.17.3 – 2.17.97 releases, nothing new or fixed in the notes
- Fixed
Fixed an issue when using
ClientRouterwhere Clerk components don't load until navigation is performed.
- Fixed
2.17.1nothing new or fixed in the note
- New
Add
$billingStorefor access to theClerk.billingobject containing various Clerk Billing methods.
- New
- Fixed
Fixed an error when using Control components (
<SignedIn />,<SignedOut />) in prerendered pages
- Fixed
197 internal lines (docs, tests, tooling) left out.
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.