Skip to content

Releases: dotnet/format

v5.1.225507

v5.0.211103

11 Feb 19:34
b95e169
Compare
Choose a tag to compare

View Complete Diff of Changes

New Features

  • Can now apply codestyle codefixes automatically with dotnet format --fix-codestyle
  • Can now apply analyzer codefixes automatically with dotnet format --fix-analyzers

Breaking Changes

Removed Deprecated options from 4.0:

  • Removed --dry-run should use --check instead
  • Removed --files should use --include instead
  • Removed --workspace this option is now implied

Changes:

v4.1.131201

05 May 18:37
82a5527
Compare
Choose a tag to compare

v4.0.130203

02 Jun 00:33
Compare
Choose a tag to compare

View Complete Diff of Changes

Breaking Changes:

  • Added an imports formatter for sorting imports.
  • Format now runs on the latest installed Runtime.
  • --check and --dry-run have combined into a single option.
  • --include and --exclude use space-separated paths instead of comma-separated.

Deprecations:

  • Added warning to use the default argument instead of --workspace option. Use dotnet format ./format.sln instead of dotnet format -w ./format.sln
  • Added warning to use the default argument to specify the folder path when using the --folder option. Use dotnet format ./src -f instead of dotnet format -f ./src
  • Added warning to use --include instead of --files alias.
  • Added warning to use --check instead of --dry-run alias.

Merged PRs:

v3.3.111304

v3.2.107702

13 Feb 19:10
3f2b20c
Compare
Choose a tag to compare

v3.1.37601

13 Feb 19:09
3f2b20c
Compare
Choose a tag to compare

v3.0.4

13 Feb 19:09
3f2b20c
Compare
Choose a tag to compare

v3.0.2

13 Feb 19:08
3f2b20c
Compare
Choose a tag to compare

Initial Release

  • Partial support for core .editorconfig options
  • Support for .NET whitespace formatting options
  • Support for --dry-run option