✨ Major Changes
-
#9225
c421a3d17Thanks @natemoo-re! - Removes the opt-inhandleFormsproperty for<ViewTransitions />. Form submissions are now handled by default and can be disabled by settingdata-astro-reloadon relevant<form />elements. -
#9199
49aa215a0Thanks @lilnasy! - This change only affects maintainers of third-party adapters. In the Integration API, theapp.render()method of theAppclass has been simplified.Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties:
routeDataandlocals.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
c0383ea0cThanks @alexanderniebuhr! - Removes deprecatedapp.match()option,matchNotFound
🍿 Minor Changes
-
#9115
3b77889b4Thanks @natemoo-re! - Adds theastro preferencescommand to manage user preferences. User preferences are specific to individual Astro users, unlike theastro.config.mjsfile 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.jsonfile. Using the--globalflag, 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.Terminal window # Disable the dev overlay for the current user in the current projectnpm run astro preferences disable devOverlay# Disable the dev overlay for the current user in all Astro projects on this machinenpm run astro preferences --global disable devOverlay# Check if the dev overlay is enabled for the current usernpm run astro preferences list devOverlay -
#9129
8bfc20511Thanks @FredKSchott! - Update error log formatting
🐞 Patch Changes
-
#9222
279e3c1b3Thanks @matthewp! - Ensure the dev-overlay-window is anchored to the bottom -
#9218
f4401c8c1Thanks @matthewp! - Improve high contrast mode with the Dev Overlay -
#9227
4b8a42406Thanks @matthewp! - Ensure overlay x-ray z-index is higher than the island -
#9214
4fe523b00Thanks @Princesseuh! - Fixes a number of small user experience bugs with the dev overlay