unstale

npm / @astrojs/netlify

@astrojs/netlify

What changed in @astrojs/netlify 7 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

9 breaking3 security1 new APIs and options4 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@astrojs/netlify 83 changes

Security 2

  • Astro: Netlify Image CDN allowlist bypass enables SSRF

    8.2.4security advisory

  • @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped

    8.1.2security advisory

Fixes and other changes 1

  • Netlify Image CDN patterns with pathnames ending in /** now match only paths below that directory, consistent with Astro pattern matching; /public/** no longer matches /public-assets/.

    8.2.8release notes

@astrojs/netlify 715 changes

Breaking changes 9

  • The default changes from true to 'jsx', stripping HTML whitespace using JSX rules; set it to true to keep the previous behavior.

    7.0.0upgrade guide

  • This deprecated option still works, but now requires @astrojs/markdown-remark to be installed.

    7.0.0upgrade guide

  • This deprecated option still works, but now requires @astrojs/markdown-remark to be installed.

    7.0.0upgrade guide

  • This deprecated option still works, but now requires @astrojs/markdown-remark to be installed.

    7.0.0upgrade guide

  • Queued rendering is now the default, so projects no longer need the experimental flag to enable it.

    7.0.0upgrade guide

  • The Rust-based compiler replaces the Go-based compiler as the default and only compiler; it rejects unclosed tags and no longer corrects semantically invalid HTML.

    7.0.0upgrade guide

  • Sätteri is now the default Markdown pipeline for .md and .mdx files; the remark/rehype pipeline is no longer installed by default.

    7.0.0upgrade guide

  • Astro now treats this file as advanced routing configuration and automatically imports it; rename an unrelated existing file or configure fetchFile.

    7.0.0upgrade guide

  • Astro v7 upgrades its development server and production bundler to Vite 8. Projects using Vite-specific plugins, configuration, or APIs may need updates for breaking changes.

    7.0.0upgrade guide

Security 1

  • @astrojs/netlify broadens Astro image.remotePatterns in Netlify Image CDN config

    7.0.13security advisory

New APIs and options 1

  • Set a different filename or null to disable advanced routing when src/fetch.ts is used for another purpose or routing features are not needed.

    7.0.0upgrade guide

Behavior and default changes 4

  • Advanced routing is enabled by default, so its experimental flag is no longer needed.

    7.0.0upgrade guide

  • Route caching is stable; move cache and routeRules out of the experimental block in Astro config.

    7.0.0upgrade guide

  • The experimental flag is no longer needed for the logging system; configure the logger directly in the top-level Astro config field.

    7.0.0upgrade guide

  • Set this to unified() from @astrojs/markdown-remark to keep using the unified Markdown pipeline and its plugins.

    7.0.0upgrade guide