Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Upgrading astro From 4.5.18 to 4.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.5.18Newest 4.x4.16.19Clears its 24 advisories7.4.5Latest7.4.13
  1. 4.5.18yours
  2. 4.6.0target
1
change to make
0
advisories fixed
3
new
4
fixes

Start here

Before you upgrade

Tick each one off as you go
  • Deprecated4.6.0

Security

Release by release

  1. 4.6.0

    Security fix11 Apr 20243 new · 4 fixes
    • Security

      Adds a new experimental security option to prevent Cross-Site Request Forgery (CSRF) attacks. This feature is available only for pages rendered on demand:

    • Deprecated

      Deprecate support for versions of Node.js older than v18.17.1 for Node.js 18, older than v20.0.3 for Node.js 20, and the complete Node.js v19 release line.

    • New

      Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right.

    • New

      Adds a new i18n routing option manual to allow you to write your own i18n middleware:

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