# What changed in @astrojs/netlify

> 18 changes in @astrojs/netlify 7 to 8 from its official release notes, upgrade guides and advisories: 9 breaking, 3 security, 1 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@astrojs/netlify/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @astrojs/netlify 8

### Security

- Astro: Netlify Image CDN allowlist bypass enables SSRF (8.2.4) — [security advisory](https://github.com/advisories/GHSA-4233-JC72-56C5)
- @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped (8.1.2) — [security advisory](https://github.com/advisories/GHSA-HP3V-MFQW-H74C)

### Fixes and other changes

- 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.8) — [release notes](https://github.com/withastro/astro/releases/tag/%40astrojs/netlify%408.2.8)

## @astrojs/netlify 7

### Breaking changes

- The default changes from true to 'jsx', stripping HTML whitespace using JSX rules; set it to true to keep the previous behavior. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- This deprecated option still works, but now requires @astrojs/markdown-remark to be installed. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- This deprecated option still works, but now requires @astrojs/markdown-remark to be installed. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- This deprecated option still works, but now requires @astrojs/markdown-remark to be installed. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- Queued rendering is now the default, so projects no longer need the experimental flag to enable it. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- 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.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- 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.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- Astro now treats this file as advanced routing configuration and automatically imports it; rename an unrelated existing file or configure fetchFile. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- 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.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)

### Security

- @astrojs/netlify broadens Astro image.remotePatterns in Netlify Image CDN config (7.0.13) — [security advisory](https://github.com/advisories/GHSA-529G-XQ4F-CW38)

### New APIs and options

- 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.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)

### Behavior and default changes

- Advanced routing is enabled by default, so its experimental flag is no longer needed. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- Route caching is stable; move cache and routeRules out of the experimental block in Astro config. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- The experimental flag is no longer needed for the logging system; configure the logger directly in the top-level Astro config field. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
- Set this to unified() from @astrojs/markdown-remark to keep using the unified Markdown pipeline and its plugins. (7.0.0) — [upgrade guide](https://docs.astro.build/en/guides/upgrade-to/v7)
