@astrojs/netlify
8.2.14 · 13 Nov 2026MIT71.2k / weekRepositoryHomepagenpmAtom feed
2.6.0 is the newest release of 2.x.
In short
3 breaking1 new2 fixed2 internal
- Breaking
& #5842
c4b0cb8bfThanks @wulinsheng123 and @natemoo-re! - Breaking Change: client assets are built to an_astrodirectory in the build output directory. Previously these were built to various locations, includingassets/,chunks/and the root of build output. - Breaking
Remove
astro:build:startbackwards compatibility code - Breaking
Make astro a peerDependency of integrations
Security
2 advisories affect 2.0.0; 8.1.2 fixes them
- Moderate@astrojs/netlify broadens Astro image.remotePatterns in Netlify Image CDN configGHSA-529g-xq4f-cw38 · 16 Jun 2026Fixed in 7.0.13
- Low@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escapedGHSA-hp3v-mfqw-h74c · 20 Jul 2026Fixed in 8.1.2
Release note
Major Changes
- Breaking
& #5842
c4b0cb8bfThanks @wulinsheng123 and @natemoo-re! - Breaking Change: client assets are built to an_astrodirectory in the build output directory. Previously these were built to various locations, includingassets/,chunks/and the root of build output.You can control this location with the new
buildconfiguration option namedassets. - Breaking
Remove
astro:build:startbackwards compatibility code - Breaking
Make astro a peerDependency of integrations
This marks
astroas a peerDependency of several packages that are already gettingmajorversion bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
Patch Changes
Fix set-cookies not working in certain cases when using Node 18+
Support prerender in _redirects
Fix issue with prerendered pages when using
edge-functionsadapter
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.