Packages

@clerk/astro

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

Upgrading @clerk/astro From 2.17.16 to 4.1.22

100 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.17.16Newest 2.x2.17.18Latest4.1.27
  1. 2.17.16yours
  2. 2 releases
  3. 3.0.0major
  4. 9 releases
  5. 3.0.13security
  6. 22 releases
  7. 3.4.0breaking
  8. 18 releases
  9. 3.4.19security
  10. 1 release
  11. 4.0.0major
  12. 19 releases
  13. 4.0.21security
  14. 22 releases
  15. 4.1.22target
  16. 746 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking3.4.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

  • Bump nanoid to 5.1.16 to pick up an upstream security fix.

    4.0.21
  • 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. 4.1.2 – 4.1.2221 releases, nothing new or fixed in the notes

  2. 4.1.1

    9 Sep 20261 fix
    • Fixed

      Update the nanostores dependency to 1.5.1.

  3. 4.1.0

    2 Sep 20261 new
    • New

      Add an authenticated OAuth device verification component and workflow hook for approving or denying OAuth Device Authorization Grant requests.

  4. 4.0.21

    Security fix1 Sep 2026
    • Security

      Bump nanoid to 5.1.16 to pick up an upstream security fix.

  5. 4.0.15 – 4.0.206 releases, nothing new or fixed in the notes

  6. 4.0.14

    18 Aug 20261 fix
    • Fixed

      Remove the Vite optimizeDeps target override, which is no longer needed and logged a deprecation warning on Astro 7.

  7. 4.0.13nothing new or fixed in the note

  8. 4.0.12

    13 Aug 20262 fixes
    • Fixed

      Log Clerk.load() failures to the console instead of silently swallowing them, making component mount failures diagnosable.

    • Fixed

      Fix the /types entry point to export the documented Clerk types.

2 other lines we could not sort, mostly version bumps
  • Renamed all __unstable_* methods to __internal_* (for internal APIs)

    3.0.0
  • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)

    3.0.0

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