Skip to content

Releases: HaxeCheckstyle/haxe-formatter

haxe-formatter v1.13.1

26 Apr 17:04
0e04dfb
Compare
Choose a tag to compare
  • Fixed conditional line ends / wrapping (#654)
  • Fixed whitespace after from/to with arrow functions (#654)

haxe-formatter v1.13.0

18 Mar 12:21
0c6518d
Compare
Choose a tag to compare
  • Added default type parameter support, fixes #650 (#651)
  • Added support for static locals (#652)
  • Fixed empty lines in anonymous functions, fixes #644 (#645)
  • Fixed trailing whitespace getting moved to previous line, fixes #646 (#647)
  • Fixed exclude handling (#653)

haxe-formatter v1.12.0

28 Feb 21:29
768bb49
Compare
Choose a tag to compare
  • 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 as isas, fixes #634 (#635)
  • Retired Haxe 3.4.7 compile support (#627)

haxe-formatter v1.11.2

04 Nov 23:05
fdd1fba
Compare
Choose a tag to compare
  • Fixed array type parameter, fixes #622 (#623)

haxe-formatter v1.11.1

03 Nov 21:17
e13a1f7
Compare
Choose a tag to compare
  • 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 and Semicolon, 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

07 Jun 13:22
7f1657c
Compare
Choose a tag to compare
  • Added whitespace policies for ifConditionParens, switchConditionParens, whileConditionParens, sharpConditionParens and catchParens - all inside whitespace.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

17 Apr 23:40
6ccc77f
Compare
Choose a tag to compare
  • Fixed a null pointer exception in tokentree (#584)

haxe-formatter v1.10.1

12 Apr 21:45
Compare
Choose a tag to compare
  • Fixed broken indentation after case with OpOr pattern, fixes #576 (#581)
  • Fixed missing linebreak between metadata and doc comment, fixes #578 (#581)
  • Fixed indentation in anon function body, fixes #577 (#581)
  • Changed default wrapping location of casePattern to afterLast, fixes #579 (#581)

haxe-formatter v1.10.0

11 Apr 21:35
6d311ce
Compare
Choose a tag to compare
  • 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 with same, fixes #304 (#548 + #550)

haxe-formatter v1.9.2

19 Dec 10:19
69d5c0c
Compare
Choose a tag to compare
  • 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)