astro 2.5.6
Patch Changes
-
#7193
8b041bf57Thanks @ematipico! - Refactor how pages are emitted during the internal bundling. Now each page is emitted as a separate entry point. -
#7218
6c7df28abThanks @bluwy! - Fix CSS deduping and missing chunks -
#7235
ee2aca80aThanks @MoustaphaDev! - Prioritize dynamic prerendered routes over dynamic server routes -
#7192
7851f9258Thanks @ematipico! - Detectmdxfiles using their full extension -
#7244
bef3a75dbThanks @bholmesdev! - Remove the auto-generated$entryvariable for Markdoc entries. To access frontmatter as a variable, you can passentry.dataas a prop where you render your content:--- import { getEntry } from 'astro:content'; const entry = await getEntry('docs', 'why-markdoc'); const { Content } = await entry.render(); --- <Content frontmatter={entry.data} /> -
#7204
52af9ad18Thanks @bluwy! - Add error message ifAstro.globis called outside of an Astro file -
#7246
f5063d0a0Thanks @bholmesdev! - Fix content collection build errors for empty collections or underscore files of type.json. -
#7062
cf621340bThanks @wulinsheng123! - fix miss a head when the templaterender has a promise -
#7189
2bda7fb0bThanks @elevatebart! - fix: add astro-static-slot to the list of inert tags in astro css -
#7219
af3c5a2e2Thanks @bluwy! - UseAstroErrorforAstro.globerrors -
#7139
f2f18b440Thanks @Princesseuh! - Thesrcproperty returned by ESM importing images withastro:assetsis now an absolute path, unlocking support for importing images outside the project. -
Updated dependencies [
bf63f615f]:- @astrojs/webapi@2.2.0