Packages

@clerk/astro

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

Upgrading @clerk/astro From 3.4.7 to 3.4.20

13 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.4.7Latest4.1.27
  1. 3.4.7yours
  2. 11 releases
  3. 3.4.19security
  4. 3.4.20target
1
change to make
0
advisories fixed
0
new
2
fixes

Before you upgrade

Tick each one off as you go
  • 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

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.

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