Major Changes
-
#9263
3cbd8ea75
Thanks @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-image
type. You should use theastro/client
type instead. - Removes deprecated built-in
rss
support ingetStaticPaths
. You should use@astrojs/rss
instead. - Removes deprecated
Astro.request.params
support. You should useAstro.params
instead.
Minor Changes
-
#9200
b4b851f5a
Thanks @ematipico! - Adds a new way to configure thei18n.locales
array.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
459b26436
Thanks @bluwy! - Reworks Vite's logger to use Astro's logger to correctly log HMR messages
Patch Changes
-
#9252
7b74ec4ba
Thanks @ematipico! - Consistently emit fallback routes in the correct folders, and emit routes that
considertrailingSlash
-
#9235
9c2342c32
Thanks @Princesseuh! - Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay -
#9254
b750a161e
Thanks @matthewp! - Improve highlight/tooltip positioning when in fixed positions -
#9230
60cfa49e4
Thanks @FredKSchott! - Update the look and feel of the dev overlay -
#9248
43ddb5217
Thanks @martrapp! - Adds properties of the submit button (name, value) to the form data of a view transition -
#9255
9ea3e0b94
Thanks @matthewp! - Adds instructions on how to hide the dev overlay -
#9013
ff8eadb95
Thanks @bayssmekanique! - Returns the updated config in the integrationastro:config:setup
hook'supdateConfig()
API