Releases: HaxeCheckstyle/haxe-formatter
Releases · HaxeCheckstyle/haxe-formatter
haxe-formatter v1.13.1
haxe-formatter v1.13.0
haxe-formatter v1.12.0
- Added
lineEnds.lineEndCharacter
to set line end character used for output (#633) - Fixed support for overload access modifier, fixes #626 (#627)
- Fixed parens after curly block, fixes #629 (#631)
- Fixed local metadata linebreak, fixes #630 (#631 + #636)
- Fixed
is as
formatted asisas
, fixes #634 (#635) - Retired Haxe 3.4.7 compile support (#627)
haxe-formatter v1.11.2
haxe-formatter v1.11.1
- Fixed whitespace for negative const values (#600)
- Fixed multiline comments with vars, fixes #598 (#600)
- Fixed whitespace for null safe navigation operator, fixes #599 (#600)
- Fixed sameline handling of metadata after
BrOpen
andSemicolon
, fixes #602 (#603) - Fixed whitespace of macro reification in call, fixes #591 (#603)
- Fixed emptyline after final in enum abstract, fixes #601 (#603)
- Fixed keep trailing whitespace of multiline comments, fixes #593 (#603)
- Fixed whitespace around is operator, fixes #605 (#606)
- Fixed newline before semicolon when used with binops, fixes #614 (#616)
- Fixed whitespace between
&&=
and||=
, fixes #615 (#616) - Fixed handling of missing semicolon, fixes #410 (#619)
- Fixed line breaks for anonymous type hints (#619)
- Fixed indentation of wrapped expressions, fixes #372 + #452 + #557 + #613 + #617 + #618 (#619)
- Refactored for tokentree API change (#604 + #609)
- Fixed indentation for block init of var with function, fixes #611 (#619)
- Fixed wrapping with multiline comment in parameters, fixes #610 (#619)
- Fixed type parameter exception (#620)
- Fixed map initialisation with comment (#620)
- Fixed Dollar chains (#620)
- Refactored for deprecation of
is
(#608) - Refactored anonymous type wrapping (#619)
- Refactored wrapping diagnostics to provide more info in logs (#619)
haxe-formatter v1.11.0
- Added whitespace policies for
ifConditionParens
,switchConditionParens
,whileConditionParens
,sharpConditionParens
andcatchParens
- all insidewhitespace.parenConfig
, fixes #583 (#585) - Fixed type hint whitespace in anonymous types, fixes #586 (#587)
- Fixed type hint whitespace with conditionals, fixes #582 (#587)
- Fixed whitspace handling for anon types as type parameter, fixes #588 (#590)
- Fixed whitespace around @in, fixes #594 (#596)
haxe-formatter v1.10.2
- Fixed a null pointer exception in tokentree (#584)
haxe-formatter v1.10.1
haxe-formatter v1.10.0
- Added
lineEnds.anonFunctionCurly
, fixes #538 (#549) - Added detection for and skipping files with merge conflicts, fixes #558 (#559)
- Added case pattern wrapping with
wrapping.casePattern
, fixes #359 (#566) - Added support for
var @:meta name
(#568) - Added new wrapping rule condition type
exceedsMaxLineLength
, fixes #572 (#573 + #574) - Fixed indentation of wrapped callbacks, fixes #470, #476, #540, #546 (#548)
- Fixed indentation of array literals in calls, fixes #376 (#548)
- Fixed indentation of array literals in assignments, fixes #512 (#548)
- Fixed indentation of object literals, fixes #490 (#548)
- Fixed handling of unary OpSub, fixes #547 (#548)
- Fixed
expressionIf
detection in switch, fixes #552 (#553) - Fixed keep wrapping with multiline strings, fixes #561 (#564)
- Fixed whitespace of block comment in array literals, fixes #441 (#564)
- Fixed whitespace of conditionalised case (#564)
- Fixed conditionalised class declaration with constraints, fixes #431 (#564)
- Fixed conditionalised function type typedef, fixes #531 (#564)
- Fixed arrow function in map literal, fixes #426 (#564)
- Fixed whitespace in single argument arrow function, fixes #562 (#564)
- Fixed whitespace of final in interfaces, fixes #563 (#564)
- Fixed newline after macro class, fixes #565 (#566)
- Fixed indentation of if-expression with metadata, fixes #567 (#568)
- Fixed wrapping of object literals with OpBoolOr/OpBooland, fixes #569 (#570)
- Fixed handling of parens in
@:default(1)
(#570) - Fixed range format when endpos is inside token, fixes vshaxe/vshaxe#425 (#570)
- Changed keep-like behaviour of
sameLine.expressionIf
withsame
, fixes #304 (#548 + #550)
haxe-formatter v1.9.2
- Added unittests for empty lines (#535)
- Fixed range format issues with multiline tokens (#532 + #533)
- Fixed extra indentation for parens after
=
, fixes #534 (#535) - Fixed method chain with comments detection and wrapping (#536)
- Fixed whitespace before metadata (#537)
- Fixed whitespace after else with ifPolicy, fixes #543 (#544)
- Fixed emptyline afterReturn when return is body of function (#544)
- Refactored build system to use lix (#537 + #539)