Skip to content

Releases: g-plane/markup_fmt

v0.23.3

25 Aug 01:12
v0.23.3
84b25ec
Compare
Choose a tag to compare

Features

  • Added support of Svelte <script> tag with TypeScript generics.

Fixes

  • Fixed indentation bug of <script> tag.

v0.23.2

22 Aug 14:56
v0.23.2
56d5e1c
Compare
Choose a tag to compare

Fixes

  • Added missing "j2" extension for Jinja.
  • Fixed parsing Angular ICU expression.
  • Fixed detecting root when formatting <script> tag.
  • Fixed formatting <style> tag for Sass.

v0.23.1

19 Jul 07:45
v0.23.1
2d902a5
Compare
Choose a tag to compare

Fixes

  • Ignore SVG tags when converting Vue component case.

v0.23.0

18 Jul 05:42
v0.23.0
9b16bf7
Compare
Choose a tag to compare

Features

  • Added angularNextControlFlowSameLine option.
  • Added support of formatting Jinja expression and statement with external formatter.
  • Don't insert line break inside attribute value. We received some feedback about previous behavior, and this change may affect existing code layout.
  • Added vueComponentCase option.

Fixes

  • Fixed unmatched quotes in Astro front matter.
  • Fixed unexpected whitespaces for non-Astro code.

v0.22.0

22 Jun 14:22
v0.22.0
f958ebb
Compare
Choose a tag to compare

Features

  • Added Mustache support.
  • Added support of Astro template literal attribute.

Fixes

  • Fixed Astro expression and template indentation.

v0.21.0

17 Jun 09:51
v0.21.0
27c7868
Compare
Choose a tag to compare

Features

  • Added support of Svelte optional each binding.
  • Never wrap opening tag with no attributes.
  • Improved error message of missing close tag.
  • Added support of Svelte {@attach} syntax.
  • Added support unquoted attribute value recovery for Jinja tags and blocks.
  • Added XML and SVG support.
  • Optimized inline elements.

Fixes

  • Removed unexpected whitespace in whitespace-insensitive tag.
  • Fixed TS as syntax in Svelte each block.

v0.20.0

04 May 13:09
v0.20.0
91d900b
Compare
Choose a tag to compare

Features

Fixes

  • Fixed Jinja whitespace control modifiers.

v0.19.1

05 Apr 09:00
v0.19.1
cbba785
Compare
Choose a tag to compare

Fixes

  • Fixed Unicode in tag name. (fix #108)
  • Fixed @default position of Angular. (fix #110)
  • Fixed other blocks after Angular @for. (fix #109)
  • Fixed Angular @for with multiple lets. (fix #109)

v0.19.0

28 Feb 07:04
v0.19.0
70859b4
Compare
Choose a tag to compare

Features

  • Optimized quotes of attribute value in Jinja.
  • Avoid multiline opening tag for single attribute.
  • Always print end tag in single line.
  • Added .j2 extension for Jinja.
  • Allow "postcss" as style lang.

Fixes

  • Fixed Jinja set assignment.
  • Removed special case of <label> tag.
  • Fixed Jinja interpolation in tag name.
  • Fixed parsing Jinja comments in HTML tag.
  • Fixed formatting expression with semicolon in Vue.

v0.18.0

02 Dec 13:34
v0.18.0
3e134bd
Compare
Choose a tag to compare

Features

  • Apply special indentation logic for dprint, and introduce new scriptFormatter option.
  • Added support of quoteStyle option of Biome.

Fixes

  • Format Svelte snippet block as function declaration.

API Changes

  • Type of Hints::indent_level was changed from usize to u16.