✨ Major Changes
-
#9263
3cbd8ea75Thanks @bluwy! - Removes additional deprecated APIs:- The Astro preview server now returns a 404 status instead of a 301 redirect when requesting assets from the public directory without a base.
- Removes special handling when referencing the
astro/client-imagetype. You should use theastro/clienttype instead. - Removes deprecated built-in
rsssupport ingetStaticPaths. You should use@astrojs/rssinstead. - Removes deprecated
Astro.request.paramssupport. You should useAstro.paramsinstead.
🍿 Minor Changes
-
#9200
b4b851f5aThanks @ematipico! - Adds a new way to configure thei18n.localesarray.Developers can now assign a custom URL path prefix that can span multiple language codes:
astro.config.mjs export default defineConfig({experimental: {i18n: {defaultLocale: 'english',locales: ['de', { path: 'english', codes: ['en', 'en-US'] }, 'fr'],routingStrategy: 'prefix-always',},},});With the above configuration, the URL prefix of the default locale will be
/english/. When computingAstro.preferredLocale, Astro will use thecodes. -
#9139
459b26436Thanks @bluwy! - Reworks Vite’s logger to use Astro’s logger to correctly log HMR messages
🐞 Patch Changes
-
#9252
7b74ec4baThanks @ematipico! - Consistently emit fallback routes in the correct folders, and emit routes that considertrailingSlash -
#9235
9c2342c32Thanks @Princesseuh! - Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay -
#9254
b750a161eThanks @matthewp! - Improve highlight/tooltip positioning when in fixed positions -
#9230
60cfa49e4Thanks @FredKSchott! - Update the look and feel of the dev overlay -
#9248
43ddb5217Thanks @martrapp! - Adds properties of the submit button (name, value) to the form data of a view transition -
#9255
9ea3e0b94Thanks @matthewp! - Adds instructions on how to hide the dev overlay -
#9013
ff8eadb95Thanks @bayssmekanique! - Returns the updated config in the integrationastro:config:setuphook’supdateConfig()API