Packages

@clerk/astro

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

Upgrading @clerk/astro From 3.0.4 to 3.4.20

50 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.4Clears its 2 advisories3.0.18Latest4.1.27
  1. 3.0.4yours
  2. 6 releases
  3. 3.0.13security
  4. 22 releases
  5. 3.4.0breaking
  6. 18 releases
  7. 3.4.19security
  8. 3.4.20target

Before you upgrade

Tick each one off as you go
  • Breaking3.4.0
  • Deprecated3.4.8

Security

  • Escape <, >, and / when serializing the Clerk auth state into SSR <script> tags, preventing a </script> sequence inside user-controllable session claims from breaking out of the script element (stored XSS). The embedded JSON still parses to identical values on the client.

    3.4.19
  • Bump astro devDependency floor to 5.18.1 to pick up an upstream security fix.

    3.0.13

Release by release

  1. 3.4.20nothing new or fixed in the note

  2. 3.4.19

    Security fix16 Jul 20261 fix
    • Security

      Escape <, >, and / when serializing the Clerk auth state into SSR <script> tags, preventing a </script> sequence inside user-controllable session claims from breaking out of the script element (stored XSS). The embedded JSON still parses to identical values on the client.

    • Fixed

      Fix Astro initialization when bundled ui or prefetchUI: false is passed to the integration.

  3. 3.4.9 – 3.4.1810 releases, nothing new or fixed in the notes

  4. 3.4.8

    Deprecation25 Jun 20261 fix
    • Deprecated

      Deprecate createRouteMatcher() in favor of resource-based auth checks.

    • Fixed

      Fix custom user button menu item rendering for Astro's stricter compiler.

  5. 3.4.4 – 3.4.74 releases, nothing new or fixed in the notes

  6. 3.4.3

    15 Jun 20261 fix
    • Fixed

      Align the HeadlessBrowserClerk.load() parameter type with the runtime behavior by accepting the full ClerkOptions, including isSatellite. The clerk-js implementation has always accepted and used isSatellite from load() options — it's the only way to configure a satellite app when using @clerk/clerk-js directly — but the type previously excluded it, producing a contradictory generated API reference and type errors for direct consumers.

  7. 3.4.2

    11 Jun 20261 fix
    • Fixed

      Migrate the build pipeline to tsdown and TypeScript 6.0. This is an internal tooling change with no intended changes to the public API or runtime behavior.

  8. 3.4.1nothing new or fixed in the note

94 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.