Releases: withastro/prettier-plugin-astro
Releases · withastro/prettier-plugin-astro
v0.9.1
Patch Changes
- 97c4b07: fix: prevent parsing empty script tags
v0.9.0
Minor Changes
- abecea0: Use the babel-ts parser to parse the frontmatter. This parser was already used for expressions inside the template, so the experience should now be more homogenous all throughout the file.
- d2a2c26: Add support for formatting script tags containing JSON, Markdown and other content
v0.8.1
Patch Changes
- 9cb4c4f: Add compatibility for other plugins parsing top-level returns in Astro frontmatter
- 88b0d84: Correctly pass options to embedded parsers
- e5cf99d: Fix style tags using Stylus being truncated under certain circumstances
v0.8.0
Minor Changes
- c724082: Add support for LESS style tags, fixed crash on style tags with unknown languages
- 18cd321: Add support for formatting spread attributes
v0.7.2
Patch Changes
- a97750b: Fix packaging error causing the plugin to only be installable using pnpm
v0.7.1
Patch Changes
- 9fa788f: Upgrade
@astrojs/compiler
- a3ff2ef: Fix inline tags not hugging the end of their content if the last child was a tag
v0.7.0
Minor Changes
- 485fb91: Fixed custom-elements being allowed to self close despite the HTML spec saying otherwise
Patch Changes
- b99b461: Add support for formatting expressions with multiple root elements
- ca48060: Add support for prettier-ignore comments
v0.6.0
Minor Changes
- 699e02c: Allow elements with set:* directives to self-close
Patch Changes
- 163ffec: Fix
jsxSingleQuote
not considering if there was any incompatible characters inside the attribute value
- 17af6ef: Fix style tags getting moved inside body tags
Fix fragments with expressions inside being moved to before the expressions in certain cases
v0.5.5
Patch Changes
- fe68b94: Fix missing newline after attributes on inline elements when using singleAttributePerLine
- 96e2b28: Fix expressions not hugging the end of the tag in cases where they should
- 4e6fde8: Fix newlines being added to style tags even if they were empty
v0.5.4
Patch Changes
- 4115a8e: Support formatting expressions with elements with attributes not compatible with JSX