Releases: HaxeCheckstyle/haxe-formatter
Releases · HaxeCheckstyle/haxe-formatter
haxe-formatter v1.17.1
haxe-formatter v1.17.0
- Breaking Change replaced
whitespace.openingBracketPolicy
andwhitespace.closingBracketPolicy
settings withwhitespace.bracketConfig
, fixes #592 - Added wrap condition types
EqualItemLengths
,AllItemLengthsLargerThan
andAllItemLengthsLessThan
- Breaking Change Fixed wrap condition type
AnyItemLengthLessThan
- useAllItemLengthsLessThan
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
haxe-formatter v1.16.0
- 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
- Added
sameLine.ifElseSemicolonNextLine
to allow breakingif (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
- Fixed inline call() and inline new issue (#667)
haxe-formatter v1.14.5
- Fixed null pointer issues (#666)
haxe-formatter v1.14.4
- 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
- Fixed whitespace issue in for loops when using parentheses around start value, fixes vshaxe/vshaxe#545 (#658)
haxe-formatter v1.14.2
- Updated haxeparser and tokentree to support latest Haxe nightly syntax (#657)