Releases: dotnet/roslynator
v4.1.0
- Add analyzer RCS1254 (Normalize format of enum flag value)
- Add analyzer RCS1253 (Format documentation comment summary)
- Add analyzer RCS1252 (Normalize usage of infinite loop)
- Add analyzer RCS1251 (Remove unnecessary braces from record declaration)
- Add refactoring Deconstruct foreach variable (RR0217)
- Add code fix for CS8602, CS8604
- Add suggestion to call AddRange instead of Add (RCS1235)
- Put back refactoring "Split local declaration and assignment" (RR0194) (issue)
- Adopt activation events in VS Code extension (issue) (thanks to ProphetLamb)
- Fix: Get config value from global AnalyzerConfig if available (issue)
- Fix: Do not suggest using null-forgiving operator for parameter default value (CS8625)
- Fix: Check if equality operator is overloaded (RCS1171)
- Fix: Do not remove field initialization in struct with constructor(s) (RCS1129)
v4.0.2
4.0.2 (2022-01-29)
- Disable analyzer ROS003 by default (commit)
- Analyzers that require option to be set should disabled by default (RCS1018, RCS1096, RCS1250) (commit)
Bug fixes
- Fix analyzer RCS1014 (Use explicitly/implicitly typed array) (commit)
- Fix analyzer RCS1016 (Use block body or expression body) (commit)
- Fix refactoring AddUsingDirective (RR0013) (commit)
- Propagate some options from .roslynatorconfig (commit)
- Enable ROS analyzers to be set from .roslynatorconfig (commit)
- Files generated with source generators have relative paths (commit)
v4.0.0
-
Bump Roslyn version to 4.0.1
-
Change category of all analyzers to 'Roslynator'
-
Migrate all options to EditorConfig
- Enable/disable all analyzers
- Enable/disable all refactorings
- Enable/disable specific refactoring
- Enable/disable all compiler diagnostics fixes
- Enable/disable specific compiler diagnostic fix
-
Add analyzer RCS0057 (Normalize whitespace at the beginning of a file)
-
Add analyzer RCS0058 (Normalize whitespace at the end of a file)
-
Add analyzer RCS0059 (Place new line after/before null-conditional operator)
-
Add analyzer RCS1249 (Unnecessary null-forgiving operator)
-
Add analyzer RCS1250 (Use implicit/explicit object creation)
-
Add refactoring ExpandPositionalRecord (RR0215)
-
Add refactoring AddAllPropertiesToInitializer (RR0216)
-
Add code fix for CS8403, CS8618 and CS8625
v3.3.0
- Bunch of bug fixes and small improvements
- Disable analyzers RCS1079 and RCS1090 by default
v3.2.2
v3.2.1
- Publish Roslynator for Visual Studio 2022 Preview
- Bug fixes and various improvements
v3.2.0
- Publish Roslynator Testing Framework
- Support editorconfig to configure analyzer options (commit)
- Update references to Roslyn API to 3.8.0
- A bunch of bug fixes
Analyzers
- Add option to invert analyzer RCS1016 (commit)
- Add more cases to analyzer RCS1218 (commit)
- Convert
!= null
tois not null
(RCS1248) (commit)
Code Fixes
v3.1.0
v3.0.1
-
Add analyzer RCS0055 (Fix formatting of a binary expression chain)
-
Add analyzer RCS0054 (Fix formatting of a call chain)
-
Add analyzer RCS0053 (Fix formatting of a list)
-
Add analyzer RCS0052 (Add newline before equals sign instead of after it (or vice versa))
-
Add analyzer RCS1248 (Use 'is null' pattern instead of comparison (or vice versa)) (issue)
-
Add analyzer RCS1247 (Fix documentation comment tag)
-
Add analyzer option RCS1207i (Convert method group to anonymous function)
-
Add analyzer option RCS1090i (Remove call to 'ConfigureAwait')
-
Add analyzer option RCS1018i (Remove accessibility modifiers) (issue)
-
Add analyzer option RCS1014i (Use implicitly typed array)
-
Add analyzer option RCS1014a (Use implicitly typed array (when type is obvious))
-
Add analyzer option RCS1078i (Use string.Empty instead of "")
-
Add analyzer option RCS1016a (Convert expression-body to block body when expression is multi-line)
-
Add analyzer option RCS1016b (Convert expression-body to block body when declaration is multi-line)
-
Disable by default analyzer RCS1207i (Convert method group to anonymous function)
-
Remove analyzer RCS1219 (Call 'Enumerable.Skip' and 'Enumerable.Any' instead of 'Enumerable.Count')
-
Rename analyzer "Avoid 'null' on left side of binary expression" to "Constant values should be placed on right side of comparisons" RCS1098
-
Rename analyzer "Simplify boolean expression" to "Unncessary null check" RCS1199 (issue)
-
More syntax is considered as having obvious type:
- string literal
- character literal
- boolean literal
- implicit array creation that contains only expressions whose type is obvious
v3.0.0
- Update references to Roslyn API to 3.5.0
- Release .NET Core Global Tool Roslynator.DotNet.Cli
- Introduce concept of "Analyzer Options"
- Reassign ID for some analyzers.
- Remove references to Roslynator assemblies from omnisharp.json on uninstall (VS Code)