astro@2.0.0-beta.1
Pre-releaseMajor Changes
-
#5778
49ab4f231
Thanks @bluwy! - Remove proload to load the Astro config. It will now use NodeJS and Vite to load the config only. -
#5771
259a539d7
Thanks @matthewp! - Removes support for astroFlavoredMarkdownIn 1.0 Astro moved the old Astro Flavored Markdown (also sometimes called Components in Markdown) to a legacy feature. This change removes the
legacy.astroFlavoredMarkdown
option completely.In 2.0 this feature will not be available in Astro at all. We recommend migration to MDX for those were still using this feature in 1.x.
-
#5584
9963c6e4d
Thanks @wulinsheng123! - Builds chunks into theassets
folder. This simplifies configuring immutable caching with your adapter provider as all files are now in the sameassets
folder. -
#5717
a3a7fc929
Thanks @bluwy! - Removestyle.postcss
Astro config. Refactor tailwind integration to configure throughvite
instead. Also disablesautoprefixer
in dev.
Minor Changes
-
#5769
93e633922
Thanks @bholmesdev! - Introduce asmartypants
flag to opt-out of Astro's default SmartyPants plugin.{ markdown: { smartypants: false, } }
Migration
You may have disabled Astro's built-in plugins (GitHub-Flavored Markdown and Smartypants) with the
extendDefaultPlugins
option. This has now been split into 2 flags to disable each plugin individually:markdown.gfm
to disable GitHub-Flavored Markdownmarkdown.smartypants
to disable SmartyPants
// astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ markdown: { - extendDefaultPlugins: false, + smartypants: false, + gfm: false, } });
Patch Changes
-
#5734
55cea0a9d
Thanks @natemoo-re! - Fixprerender
when used withgetStaticPaths
-
#5756
116d8835c
Thanks @matthewp! - Fix for hoisted scripts in project with spaces in the file path -
#5743
2a5786419
Thanks @Princesseuh! - Add error location during build for user-generated errors -
#5761
fa8c131f8
Thanks @bholmesdev! - Add helpful error message when the MDX integration is missing. -
Updated dependencies [
93e633922
]:- @astrojs/markdown-remark@2.0.0-beta.1