#179787a698ca Thanks @astro-factory! - Fixes skew protection to include the build assets directory (/_astro/ by default) in skew-protection.json patterns, preventing lazy-hydrated islands from loading duplicate framework instances after a redeploy
#17752e362d4c Thanks @matthewp! - Fixes generated Netlify Image CDN allowlists to reject remote URLs that contain an allowed image origin only within their path or query string
#1687190c98ae Thanks @adamchal! - When session: false is set in astro.config, the adapter no longer auto-wires the Netlify Blobs session driver. Combined with the matching astro change, this lets the session runtime tree-shake out of the function bundle.
#17368ee74c28 Thanks @matthewp! - Fixes the generated Netlify Image CDN remote_images patterns so that regex metacharacters (such as .) in image.remotePatterns (hostname, pathname) and image.domains are matched literally instead of behaving like wildcards. This makes the generated patterns consistent with how Astro matches these values elsewhere.
#17245f56d9e7 Thanks @astrobot-houston! - Adds edgeFunctions to the devFeatures adapter option, allowing users to disable Netlify Edge Function emulation during astro dev
Some npm packages that access the filesystem at initialization (e.g. node-html-parser) fail inside the edge function sandbox with βReading or writing files with Edge Functions is not supported yet.β You can now disable edge function emulation to avoid this error:
import netlify from'@astrojs/netlify';
import { defineConfig } from'astro/config';
exportdefaultdefineConfig({
adapter: netlify({
devFeatures: {
edgeFunctions: false,
},
}),
});
Edge functions will still work in production builds and via netlify dev.
π Patch Changes
#1724902b73b0 Thanks @ematipico! - Fixes an issue where the peerDependencies field used incorrect dependencies.
Use Astro.cache.set() in your pages and API routes to cache responses on Netlifyβs edge network. The provider uses Netlifyβs durable cache so cached responses are shared across all edge nodes, reducing function invocations.