@astrojs/netlify
8.2.14 · 13 Nov 2026MIT71.2k / weekRepositoryHomepagenpmAtom feed
Upgrading @astrojs/netlify From 2.2.1 to 2.6.0
8 releases in betweenevery note read
Reading releases, release notes and advisories…
Security
2 advisories still affect 2.6.0
- @astrojs/netlify broadens Astro image.remotePatterns in Netlify Image CDN configmoderate · GHSA-529g-xq4f-cw38
- @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escapedlow · GHSA-hp3v-mfqw-h74c
Upgrading to 8.1.2 clears them.
Release by release
- New
If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call the
runtime.setBuildersTtl()local in either your frontmatter or middleware.
- New
- Fixed
Fix README GitHub search link
- Fixed
Improve
404behavior forserverlessandedge
- Fixed
- Fixed
Prevent building .html file redirects in hybrid mode
- Fixed
- New
When a project uses the new
build.excludeMiddlewareAstro config option, the@astrojs/netlify/functionsadapter will bundle your middleware to run in a Netlify Edge Function.
- New
- New
The Netlify adapter builds to a single function by default. Astro 2.7 added support for splitting your build into separate entry points per page. If you use this configuration, the Netlify adapter will generate a separate function for each page. This can help reduce the size of each function so they are only bundling code used on that page.
- New
- New
Support for experimental redirects
- Fixed
Unflags support for
output: 'hybrid'mode, which enables pre-rendering by default. The additionalexperimental.hybridOutputflag can be safely removed from your configuration.
- New
- New
Enable experimental support for hybrid SSR with pre-rendering enabled by default
- Fixed
Specify
"files"field to only publish necessary files
- New
- Fixed
No edge functions deployed to netlify
- Fixed
8 internal lines (docs, tests, tooling) left out.
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.