@astrojs/netlify
8.2.14 · 13 Nov 2026MIT71.2k / weekRepositoryHomepagenpmAtom feed
6.6.5 is the newest release of 6.x.
In short
5 breaking1 deprecated1 new
- Breaking
Removed support for the Squoosh image service. As the underlying library
libsquooshis no longer maintained, and the image service sees very little usage we have decided to remove it from Astro. - Breaking
Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5
- Breaking
Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.
- Breaking
Updates esbuild dependency to v0.24.0
- Breaking
Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5
- Deprecated
Deprecates the
functionPerRouteoption
Security
3 advisories affect 6.0.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
The section about @astrojs/netlify of a note shared by several packages.
Major Changes
- Breaking
Removed support for the Squoosh image service. As the underlying library
libsquooshis no longer maintained, and the image service sees very little usage we have decided to remove it from Astro.Our recommendation is to use the base Sharp image service, which is more powerful, faster, and more actively maintained.
- import { squooshImageService } from "astro/config"; import { defineConfig } from "astro/config"; export default defineConfig({ - image: { - service: squooshImageService() - } });If you are using this service, and cannot migrate to the base Sharp image service, a third-party extraction of the previous service is available here: github.com/Princesseuh/astro-image-service-squo…
- Deprecated
Deprecates the
functionPerRouteoptionThis option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:
import { defineConfig } from 'astro/config'; import vercel from '@astrojs/vercel/serverless'; export default defineConfig({ // ... output: 'server', adapter: vercel({ - functionPerRoute: true, }), }); - Breaking
Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5
- Breaking
Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.
Starting from this release, no breaking changes will be introduced unless absolutely necessary.
To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.
- Breaking
Updates esbuild dependency to v0.24.0
- Breaking
Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5
Minor Changes
Cleans up
astro:envsupport
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.