Skip to content

Releases: withastro/prettier-plugin-astro

v0.5.3

23 Aug 19:52
0e07469
Compare
Choose a tag to compare

Patch Changes

  • 1da195e: Update to latest version of the compiler

v0.5.2

23 Aug 14:59
1349fee
Compare
Choose a tag to compare

Patch Changes

  • 13810b7: End tag hugs text nodes not ending in whitespace
  • 5b2177e: Correctly break self-closing tags

v0.5.1

22 Aug 14:42
2685a61
Compare
Choose a tag to compare

Patch Changes

  • d4afe5b: Fix TypeScript not working inside expressions

v0.5.0

10 Aug 12:45
1115fd8
Compare
Choose a tag to compare

Minor Changes

  • 2bc2f38: Properly format multi-lines expressions, fixes expression with leading comments not being formatted properly

v0.4.1

08 Aug 19:45
e86704d
Compare
Choose a tag to compare

Patch Changes

  • babd8c3: Properly trim the class attribute on HTML elements

v0.4.0

08 Aug 14:27
edb9c6d
Compare
Choose a tag to compare

Minor Changes

  • 2d78f06: Fix loading workers not working when parser is used from an external module

Patch Changes

  • 285360e: Fixed error when trying to format custom elements
  • 1b6622e: Properly handle errors inside style tags

v0.3.0

04 Aug 17:11
ea96cdc
Compare
Choose a tag to compare

Minor Changes

  • 6ebc4d4: Update error handling to give better error messages when we fail to parse an expression, fixed shorthands props not working inside expressions
  • bfe22e3: Improve error handling for frontmatter and script tags

v0.2.0

29 Jul 15:43
1c8c948
Compare
Choose a tag to compare

Minor Changes

  • f9aa07e: Remove support for the Markdown component

v0.1.3

29 Jul 15:38
0ec0da4
Compare
Choose a tag to compare

Patch Changes

  • 4c8d8dc: Use Prettier option: 'singleAttributePerLine'

v0.1.2

21 Jul 19:05
e28c355
Compare
Choose a tag to compare

Patch Changes

  • 9eddad9: Use prettier option 'semi' for jsx semi colons
  • 0cf8f08: HTML attribute quotes now depend on jsxSingleQuote option
  • 9ae7efa: Self-close slots
  • edc21c2: Remove dedup utility