Minor Changes
-
#12226
51d13e2
Thanks @ematipico! - The following renderer fields and integration fields now acceptURL
as a type:Renderers:
AstroRenderer.clientEntrpoint
AstroRenderer.serverEntrypoint
Integrations:
InjectedRoute.entrypoint
AstroIntegrationMiddleware.entrypoint
DevToolbarAppEntry.entrypoint
Patch Changes
-
#12168
1cd3085
Thanks @ascorbic! - Allows "slug" as a field in content layer data -
#12169
15fa9ba
Thanks @ematipico! - Fixes a bug where configured redirects were incorrectly constructed when reading the file system.This caused an issue where configuring a redirect in
astro.config.mjs
like{ /old: /new }
, failed to trigger the correct redirect in the dev server. -
#12169
15fa9ba
Thanks @ematipico! - Fixes a bug where the dev server was not providing a consistent user experience for configured redirects.With the fix, when you configure a redirect in
astro.config.mjs
like this{ /old: "/new" }
, the dev server return an HTML response that matches the one emitted by a static build.