Releases: withastro/prettier-plugin-astro
Releases · withastro/prettier-plugin-astro
v0.14.1
Patch Changes
- 7282bcb: Fixes an issue where style and script tags would sometimes get moved to other tags
v0.14.0
Minor Changes
- bb756df: Adds a new option called
astroSkipFrontmatter
to disable formatting the frontmatter. This can be useful when using other tools to format the frontmatter, such as Biome or dprint.
v0.13.0
Minor Changes
- e97406a: Fix plugin sometimes including significant whitespace inside components, fragments and custom elements
v0.12.3
Patch Changes
- e75f9c7: Fix
<br />
tags sometimes causing additional spaces to appear
- b4b0918: Fix not being able to format expressions with more than 2 roots
v0.12.2
Patch Changes
- 11b0dc7: Fix attributes using optional chaining not formatting correctly
v0.12.1
Patch Changes
- 0188f04: Fix attributes with multiple invalid JSX characters in their key inside expressions causing the plugin to throw an error
v0.12.0
Minor Changes
- fa1a6e3: Do not delete line breaks and indentation of lines in class attribute
Patch Changes
- b806845: Format doctype as lowercase to match Prettier 3.0
v0.11.0
Minor Changes
- 94ed904: Migrated the plugin to Prettier 3's new APIs. It's unfortunately not possible for a plugin to support both version 2 and 3 of Prettier. As such, from this version on, only Prettier 3 is supported.
v0.10.0
Minor Changes
- af9324e: Use the sync entrypoint of the Astro compiler instead of
synckit
, improving performance and reducing the dependency count of the plugin