Skip to content

Releases: HaxeCheckstyle/haxe-formatter

haxe-formatter v1.17.1

22 Oct 13:08
3f0103f
Compare
Choose a tag to compare
  • Fixed WhitespacePolicy compilation error

haxe-formatter v1.17.0

06 Oct 16:40
Compare
Choose a tag to compare
  • Breaking Change replaced whitespace.openingBracketPolicy and whitespace.closingBracketPolicy settings with whitespace.bracketConfig, fixes #592
  • Added wrap condition types EqualItemLengths, AllItemLengthsLargerThan and AllItemLengthsLessThan
  • Breaking Change Fixed wrap condition type AnyItemLengthLessThan - use AllItemLengthsLessThan for old behaviour
  • Fixed modifiers with complex conditionals, fixes #332
  • Fixed unexpected array wrapping behavior, fixes #340
  • Fixed conditionalized class declaration with constraints, fixes #431
  • Fixed empty classes with conditional metadata
  • Fixed class fields with conditional function signatures
  • Fixed abstract enum abstracts with conditionals
  • Fixed map wrapping rules to avoid fill line wrapping
  • Fixed curly with comments, fixes #445
  • Fixed array literals in ternarys
  • Fixed expression try…catch, fixes #509
  • Fixed long array access wrapping
  • Fixed expression try…catch for allman curlies
  • Fixed conditionalized chained function call, fixes #375
  • Fixed sameLine.functionBody with metadata before body, fixes #681
  • Fixed nested conditional types

haxe-formatter v1.16.1

17 Sep 23:34
b0b1b5a
Compare
Choose a tag to compare
  • Refactored unittests to work with utest library (#679)
  • Removed munit library (#679)
  • Fixed parse error when trying to format conditional arrow function

haxe-formatter v1.16.0

10 Feb 22:18
897f5d1
Compare
Choose a tag to compare
  • Added wrapping.mapWrap, fixes #675 (#677)
  • Fixed comment indentation in empty switch cases, fixes #392, #174 (#677)
  • Fixed multiline comment indentation with conditionals, fixes #499 (#677)
  • Fixed empty lines between static functions in abstract, fixes #356 (#677)
  • Fixed multiline string literals with empty lines, fixes #368 (#677)
  • Fixed expressionIf for array comprehension, fixes #365 (#677)

haxe-formatter v1.15.0

05 Sep 19:18
40e3883
Compare
Choose a tag to compare
  • Added sameLine.ifElseSemicolonNextLine to allow breaking if (true) foo; else foo;, fixes #612 (#668)
  • Fixed whitespace before null safety operator
  • Fixed keeping same line for macro if expressions
  • Fixed wrapping with maxLineLength off by one, fixes #670 (#671)
  • Fixed extends wrapping for interfaces, fixes #669
  • Fixed empty lines between fields of enum abstract, fixes #672 (#673)
  • Fixed empty lines for if with comment, fixes [#556](https://github. (#673)com//issues/556)
  • Fixed empty lines for block level doc comments, fixes #511 (#673)

haxe-formatter v1.14.6

22 Feb 14:01
4bb8d95
Compare
Choose a tag to compare
  • Fixed inline call() and inline new issue (#667)

haxe-formatter v1.14.5

15 Feb 20:36
3a907da
Compare
Choose a tag to compare
  • Fixed null pointer issues (#666)

haxe-formatter v1.14.4

14 Dec 20:43
8328457
Compare
Choose a tag to compare
  • Refactored PosInfosMacro to limit number of invocations of inner loop
  • Fixed anon objects with metadata, fixes #607 (#662)
  • Fixed ComplexType reification mixed with ternary, fixes #638 (#662)
  • Fixed arrow function with optional parameter, fixes #642 (#662)
  • Fixed comments in typedef definition, fixes #643 (#662)
  • Fixed enum type parameter, fixes #659 (#662)
  • Fixed macro type hint, fixes #660 (#662)

haxe-formatter v1.14.3

21 Sep 19:23
7b9b526
Compare
Choose a tag to compare
  • Fixed whitespace issue in for loops when using parentheses around start value, fixes vshaxe/vshaxe#545 (#658)

haxe-formatter v1.14.2

14 Sep 21:34
efbacf9
Compare
Choose a tag to compare
  • Updated haxeparser and tokentree to support latest Haxe nightly syntax (#657)