CSharpier v0.9.9 Release Notes

  • ๐Ÿ’ฅ Breaking Changes

    • Require the directoryOrFile argument when not piping into to stdin #381

    What's Changed

    • SwitchExpression + Pattern edge cause causes extra line and poor formatting #408
    • ๐Ÿ†• NewLines not retained before lock statement #401
    • ๐Ÿ‘ Better error handling when given a csproj or sln file #398
    • CSharpierignore not taken into account when supplying . as the directory #392
    • SwitchStatement with When breaks even with body of switch #387
    • Respect new lines between case statements #383
    • Line breaks in "when" clause in SwitchExpression #382
    • Block loses extra lines #378
    • RecordDeclaration should format consistently with ConstructorDeclaration #371
    • Conditional breaking without indentation #345
    • ๐Ÿ‘Œ Improve formatting of pattern matching (IsPatternExpression, BinaryPattern, etc) #154
    • Code in IfDirective can't currently be formatted #15

    Full Changelog: https://github.com/belav/csharpier/compare/0.9.8...0.9.9