Major Changes
-
#9225
c421a3d17
Thanks @natemoo-re! - Removes the opt-inhandleForms
property for<ViewTransitions />
. Form submissions are now handled by default and can be disabled by settingdata-astro-reload
on relevant<form />
elements. -
#9199
49aa215a0
Thanks @lilnasy! - This change only affects maintainers of third-party adapters. In the Integration API, theapp.render()
method of theApp
class has been simplified.Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties:
routeData
andlocals
.app.render(request) - app.render(request, routeData) + app.render(request, { routeData }) - app.render(request, routeData, locals) + app.render(request, { routeData, locals }) - app.render(request, undefined, locals) + app.render(request, { locals })
The current signature is deprecated but will continue to function until next major version.
-
#9212
c0383ea0c
Thanks @alexanderniebuhr! - Removes deprecatedapp.match()
option,matchNotFound
Minor Changes
-
#9115
3b77889b4
Thanks @natemoo-re! - Adds theastro preferences
command to manage user preferences. User preferences are specific to individual Astro users, unlike theastro.config.mjs
file which changes behavior for everyone working on a project.User preferences are scoped to the current project by default, stored in a local
.astro/settings.json
file. Using the--global
flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location.# Disable the dev overlay for the current user in the current project npm run astro preferences disable devOverlay # Disable the dev overlay for the current user in all Astro projects on this machine npm run astro preferences --global disable devOverlay # Check if the dev overlay is enabled for the current user npm run astro preferences list devOverlay
-
#9129
8bfc20511
Thanks @FredKSchott! - Update error log formatting
Patch Changes
-
#9222
279e3c1b3
Thanks @matthewp! - Ensure the dev-overlay-window is anchored to the bottom -
#9218
f4401c8c1
Thanks @matthewp! - Improve high contrast mode with the Dev Overlay -
#9227
4b8a42406
Thanks @matthewp! - Ensure overlay x-ray z-index is higher than the island -
#9214
4fe523b00
Thanks @Princesseuh! - Fixes a number of small user experience bugs with the dev overlay