Packages

astro

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

Your version

5.1.4

9 Jan 2025Where it was published

5.18.2 is the newest release of 5.x.

In short

1 new10 fixed

Security

21 advisories affect 5.1.4; 7.4.5 fixes them

16 more

Release note

Patch Changes

  • Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character %

  • Improves the config error for invalid combinations of context and access properties under env.schema

  • Fixes an issue where Astro.locals coming from an adapter weren't available in the 404.astro, when using the astro dev command,

  • Ensures image styles are not imported unless experimental responsive images are enabled

  • Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file.

  • Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter

  • Fixes a bug where the logged output path does not match the actual output path when using build.format: 'preserve'

  • Allows configuring Astro modules TypeScript compilation with the vite.esbuild config

  • Fixes a bug where content collections would sometimes appear empty when first running astro dev

  • Fixes a bug where users could use Astro.request.headers during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens.

  • Fixes an issue where the use of Astro.rewrite would trigger the invalid use of Astro.request.headers

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.