@astrojs/netlify
8.2.14 · 13 Nov 2026MIT71.2k / weekRepositoryHomepagenpmAtom feed
6.6.5 is the newest release of 6.x.
In short
1 new1 internal
Security
3 advisories affect 6.6.0; 8.2.4 fixes them
- ModerateAstro: Netlify Image CDN allowlist bypass enables SSRFGHSA-4233-jc72-56c5 · 30 Sep 2026Fixed in 8.2.4
- 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
Minor Changes
Enables Netlify's skew protection feature for Astro sites deployed on Netlify. Skew protection ensures that your site's client and server versions stay synchronized during deployments, preventing issues where users might load assets from a newer deployment while the server is still running the older version.
When you deploy to Netlify, the deployment ID is now automatically included in both asset requests and API calls, allowing Netlify to serve the correct version to every user. These are set for built-in features (Actions, View Transitions, Server Islands, Prefetch). If you are making your own fetch requests to your site, you can include the header manually using the
DEPLOY_IDenvironment variable:const response = await fetch('/api/endpoint', { headers: { 'X-Netlify-Deploy-ID': import.meta.env.DEPLOY_ID, }, });
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.