release notes
release notes
Published 8/29/2025
Contains breaking changes#14286 09c5db3 Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP feature
The following runtime APIs of the Astro global have been renamed:
Astro.insertDirective to Astro.csp.insertDirectiveAstro.insertStyleResource to Astro.csp.insertStyleResourceAstro.insertStyleHash to Astro.csp.insertStyleHashAstro.insertScriptResource to Astro.csp.insertScriptResourceAstro.insertScriptHash to Astro.csp.insertScriptHashThe following runtime APIs of the APIContext have been renamed:
ctx.insertDirective to ctx.csp.insertDirectivectx.insertStyleResource to ctx.csp.insertStyleResourcectx.insertStyleHash to ctx.csp.insertStyleHashctx.insertScriptResource to ctx.csp.insertScriptResourcectx.insertScriptHash to ctx.csp.insertScriptHash#14283 3224637 Thanks @ematipico! - Fixes an issue where CSP headers were incorrectly injected in the development server.
#14275 3e2f20d Thanks @florian-lefebvre! - Adds support for experimental CSP when using experimental fonts
Experimental fonts now integrate well with experimental CSP by injecting hashes for the styles it generates, as well as font-src directives.
No action is required to benefit from it.
#14280 4b9fb73 Thanks @ascorbic! - Fixes a bug that caused cookies to not be correctly set when using middleware sequences
#14276 77281c4 Thanks @ArmandPhilippot! - Adds a missing export for resolveSrc, a documented image services utility.
release notes
Published 8/29/2025
Contains breaking changes#14286 09c5db3 Thanks @ematipico! - BREAKING CHANGES only to the experimental CSP feature
The following runtime APIs of the Astro global have been renamed:
Astro.insertDirective to Astro.csp.insertDirectiveAstro.insertStyleResource to Astro.csp.insertStyleResourceAstro.insertStyleHash to Astro.csp.insertStyleHashAstro.insertScriptResource to Astro.csp.insertScriptResourceAstro.insertScriptHash to Astro.csp.insertScriptHashThe following runtime APIs of the APIContext have been renamed:
ctx.insertDirective to ctx.csp.insertDirectivectx.insertStyleResource to ctx.csp.insertStyleResourcectx.insertStyleHash to ctx.csp.insertStyleHashctx.insertScriptResource to ctx.csp.insertScriptResourcectx.insertScriptHash to ctx.csp.insertScriptHash#14283 3224637 Thanks @ematipico! - Fixes an issue where CSP headers were incorrectly injected in the development server.
#14275 3e2f20d Thanks @florian-lefebvre! - Adds support for experimental CSP when using experimental fonts
Experimental fonts now integrate well with experimental CSP by injecting hashes for the styles it generates, as well as font-src directives.
No action is required to benefit from it.
#14280 4b9fb73 Thanks @ascorbic! - Fixes a bug that caused cookies to not be correctly set when using middleware sequences
#14276 77281c4 Thanks @ArmandPhilippot! - Adds a missing export for resolveSrc, a documented image services utility.
The web framework for content-driven websites. ⭐️ Star to support our work!