Packages

astro

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

Upgrading astro From 4.15.12 to 4.16.19

20 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.15.12Clears its 24 advisories7.4.5Latest7.4.13
  1. 4.15.12yours
  2. 4.16.0breaking
  3. 5 releases
  4. 4.16.6breaking
  5. 12 releases
  6. 4.16.19target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking4.16.6
  • Breaking4.16.0

Security

Release by release

  1. 4.16.19

    19 Aug 20251 fix
    • Fixed

      Fixes an issue where remote paths weren't correctly computed when generating assets

  2. 4.16.18

    18 Dec 20242 fixes
    • Fixed

      Remove all assets created from the server build

    • Fixed

      Clean server sourcemaps from static output

  3. 4.16.17

    5 Dec 20241 fix
    • Fixed

      Fixes an issue where the checkOrigin feature wasn't correctly checking the content-type header

  4. 4.16.16

    27 Nov 20242 fixes
    • Fixed

      Fix JPEG image size determination

    • Fixed

      Fixes an issue where with i18n enabled, Astro couldn't render the 404.astro component for non-existent routes.

  5. 4.16.15

    26 Nov 20241 fix
    • Fixed

      Fixes a regression where Astro was trying to access Request.headers

  6. 4.16.14

    21 Nov 20246 fixes
    • Fixed

      Removes the default throw behavior in astro:env

    • Fixed

      Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM.

    • Fixed

      Fixes a case where the Content Layer glob() loader would not update when renaming or deleting an entry

    • Fixed

      Fix cached image redownloading if it is the first asset

    • Fixed

      Fixes an issue where the SSR build was emitting the dist/server/entry.mjs file with an incorrect import at the top of the file/

    • Fixed

      Fixes an issue where Astro.currentLocale was not correctly returning the locale for 404 and 500 pages.

  7. 4.16.13

    15 Nov 20242 fixes
    • Fixed

      Fixes a potential null access in the clientside router

    • Fixed

      Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same entrypoint and different pattern

  8. 4.16.12

    13 Nov 20241 fix
    • Fixed

      Fixes an issue where the dev server returns a 404 status code when a user middleware returns a valid Response.

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.