Astro: astro@6.0.0-beta.2 Release
Release date:
January 22, 2026
Magnitude:
367
Diff Delta
Contributors:
2 total committers
8 Commits
in this Release
Ordered by the degree to which they evolved the repo in this version.
Authored January 21, 2026
Authored January 21, 2026
Authored January 20, 2026
Authored January 15, 2026
Authored January 15, 2026
Authored January 15, 2026
Authored January 15, 2026
Authored January 15, 2026
Browse Other Releases
Latest Pending
Unreleased π
astro@6.0.0-beta.6
Released January 30, 2026
268 Ξ
astro@6.0.0-beta.5
Released January 28, 2026
75 Ξ
astro@6.0.0-beta.4
Released January 27, 2026
258 Ξ
astro@6.0.0-beta.3
Released January 23, 2026
58 Ξ
astro@6.0.0-beta.2
Released January 22, 2026
367 Ξ
astro@6.0.0-beta.1
Released January 13, 2026
13 Ξ
astro@6.0.0-beta.0
Released January 13, 2026
587 Ξ
astro@6.0.0-alpha.5
Released January 6, 2026
1,302 Ξ
astro@6.0.0-alpha.4
Released December 19, 2025
0 Ξ
astro@6.0.0-alpha.3
Released December 18, 2025
579 Ξ
Top Contributors in astro@6.0.0-beta.2
Release Notes Published
Major Changes
#15192 ada2808 Thanks @gameroman! - Removes support for CommonJS config files - (v6 upgrade guidance)
#15266 f7c9365 Thanks @florian-lefebvre! - Allows Astro.csp and context.csp to be undefined instead of throwing errors when csp: true is not configured
When using the experimental Content Security Policy feature in Astro 5.x, context.csp was always defined but would throw if experimental.csp was not enabled in the Astro config.
For the stable version of this API in Astro 6, context.csp can now be undefined if CSP is not enabled and its methods will never throw.
What should I do?
If you were using experimental CSP runtime utilities, you must now access methods conditionally:
-Astro.csp.insertDirective("default-src 'self'");
+Astro.csp?.insertDirective("default-src 'self'");
Patch Changes
#15208 8dbdd8e Thanks @matthewp! - Makes session.driver optional in config schema, allowing adapters to provide default drivers
Adapters like Cloudflare, Netlify, and Node provide default session drivers, so users can now configure session options (like ttl) without explicitly specifying a driver.
#15260 abca1eb Thanks @ematipico! - Fixes an issue where adding new pages weren't correctly shown when using the development server.
#15214 6bab8c9 Thanks @ematipico! - Fixes an issue where the internal perfomance timers weren't correctly updated to reflect new build pipeline.
#15259 8670a69 Thanks @ematipico! - Fixes an issue where styles weren't correctly reloaded when using the @astrojs/cloudflare adapter.
#15205 12adc55 Thanks @martrapp! - Fixes an issue where the astro:page-load event did not fire on initial page loads.
#15269 6f82aae Thanks @ematipico! - Fixes a regression where build.serverEntry stopped working as expected.