Releases: belav/csharpier
Releases · belav/csharpier
0.14.0
What's Changed
- File with no preprocessor symbols formats twice. #555
- A namespace with
assembly
attribute andusing
causes two newlines #551 - Wrapping arithmetic expressions not stacked/chopped down #547
- Use UTF8 for piping in/out to CLI to support unicode characters #545
Full Changelog: 0.13.0...0.14.0
0.13.0
What's Changed
- Incorrect indentation in Method chain inside Initializer #529
- Allow empty lines before comments in enums #524
- For with empty statement should have space. #523
- Empty lines are not respected with break and continue #520
- Extra Whitespace in empty anonymous initializer #519
- Class that ends with comment does not retain extra line before comment #513
- Join Clause with Type losing Type #508
- Give cli bad path, you get an exception #506
- Double blank lines appearing in top level statements #501
- VisualStudio Extension #499
- Rider Plugin #498
- CSharpier.MSBuild may have mismatched version with CLI #490
- Break object initializers if there are 3 or more properties #446
- Force lines before and after some members. #285
- Formatting may conflict with StyleCopAnalayzers #13
Full Changelog: 0.12.0...0.13.0
0.12.0
Breaking Changes
- If a file that fails to compile is piped to csharpier, csharpier now writes an error message on std error and return a 1 exit code.
What's Changed
- Nested Initializers should break #487
- Adding --pipe-multiple-files and other changes to support vscode extension #283
Full Changelog: 0.11.1...0.12.0
0.11.1
What's Changed
- base should merge in an invocation chain #473
- File with multiple newlines at the end keeps them #464
- Extra space in generic with omitted types #463
- Object creation still uses SpaceBrace #462
- Empty Initializer gets double whitespace #461
- Support C# 10 and .Net 6 #448
- Always break nested Conditionals #434
Full Changelog: 0.10.0...0.11.0
0.10.0
What's Changed
- try-finally without catch clause is formatted strangely. #454
- Nested FixedStatements should break #438
- Disabled text validation fails with trailing whitespace #428
- Vertically Align Curly Braces #423
- Crash On Empty Config File #421
- Conditional in Arguments should indent. #419
- Chained assignments formatting can be improved #417
- Improve ConditionalExpression in ReturnStatement formatting #416
- Pattern Matching edge cases #413
- Implement proper logging. #406
- (finally) Improve formatting of InvocationExpressions #7
New Contributors
Full Changelog: 0.9.9...0.10.0
0.9.9
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
New Contributors
- @pmccloghrylaing made their first contribution in #384
Full Changelog: 0.9.8...0.9.9
0.9.8
What's Changed
- Remove all configuration options except for print width. #358
- Array Rank not breaking #353
- SwitchStatement should SpaceBrace #352
- ObjectInitializer keeping brace on same line #336
- ObjectInitializer in CollectionInitializer breaking #335
- Better format do-while #317
- Blocks inside of other blocks are getting an extra new line. #316
- Implicit Object Creation breaking #302
- ForEachVariableStatement not breaking/indenting consistently with regular ForEachStatement #300
- MethodDeclaration with Constraints not breaking before brace #299
- Constructor with Base edge cases #298
- Nested Generics in Variable Declaration #295
- #pragma or trailing comment causes breaking in Object Initializer #252
- Verbatim string with mismatched line endings triggers "failed syntax tree validation" #244
- SwitchExpression formatting. #237
- Empty Method should keep braces on same line #133
- Improving formatting for edge cases of ForStatement #112
- ConditionalExpression indentation #83
- BinaryExpression Grouping #37
Full Changelog: 0.9.7...0.9.8
0.9.7
What's Changed
- New overload for
Doc.GroupWithId()
#334 - Improve formatting by grouping parenthesized expressions and indenting them if they break. #328
- Improve formatting of IsPattern in IfStatement #327
- Improve formatting of the condition in a do-while #326
- Always break statements without braces. #303
- Empty Line being added with Array Type #301
- Implicit Array Initializer does not format braces consistently with other statements. #297
- Format checked like a invocation expression with an argument list #270
- Attribute should newline before close paren #257
- Tuple with VariableDeclaration #251
- Record - does not format consistently with a class. #233
- CSharpier.Playground should only publish with new released version #224
- Attributes on parameters #204
- Improve Lambda Formatting - indent expression body and break in a way to minimize new lines. #176
- Format ObjectCreationExpression with Initializer consistently #113
- Improve formatting of long Catch Clauses #86
New Contributors
- @ryanavogel made their first contribution in #315
- @brikabrak made their first contribution in #333
Full Changelog: 0.9.6...0.9.7
0.9.6
What's Changed
- Add options to write the formatted file to stdout and accept a file from stdin #282
- Implement ConditionalGroup doc type #278
- Optimize some hot paths to speed up formatting. #277
- Implement Align Doc Type #276
- Improve formatting of ClassDeclaration with BaseList + Constraints #275
- Switch tests to width 100 so they line up with default option #256
- Improving formatting of generics + variable declarations. #240
- Improve Forrmatting of Field with lambda and generics #236
- Improve Formatting of object initialiser syntax #234
- Improve formatting of generic methods and constructors #94
- Improve formatting of field with generics #47
New Contributors
- @superstrom made their first contribution in #281
Full Changelog: 0.9.5...0.9.6
0.9.5
What's Changed
- CSharpier.MSBuild does not work with dotnet watch run #228
- Leading comments interfering with breaking InitializerExpression #217
- #endregion is getting indented more on each format #216
- Some files getting extra new lines on each format #215
- File that fails check should give some indication of the formatting that was missing. #182
- Missing nodes in SyntaxNodeComparer need better reporting. #160
Full Changelog: 0.9.4...0.9.5