Releases: dotnet/roslynator
Releases · dotnet/roslynator
v4.12.0
v4.11.0
v4.10.0
Added
- Publish NuGet packages that provide refactorings and code fixes for compiler diagnostics (PR)
- These packages are recommended to be used in an environment where Roslynator IDE extension cannot be used, e.g. VS Code + C# Dev Kit (see related issue)
- Add analyzer "Remove redundant catch block" RCS1265 (PR by @jakubreznak)
- [CLI] Spellcheck file names (PR)
roslynator spellcheck --scope file-name
Changed
Fixed
v4.9.0
v4.8.0
Added
- Add analyzer "Add/remove blank line between switch sections" (RCS0061) (PR)
- Option (required):
roslynator_blank_line_between_switch_sections = include|omit|omit_after_block
- Make analyzer RCS0014 obsolete
- Option (required):
- Add analyzer "Declare explicit/implicit type" (RCS1264) (PR)
- Add code fix "Declare as nullable" (PR)
- Applicable to:
CS8600
,CS8610
,CS8765
andCS8767
- Applicable to:
- Add option
roslynator_use_collection_expression = true|false
(PR)
Changed
- Replace type declaration's empty braces with semicolon (RCS1251 (PR, PR)
- [TestFramework] Bump
MSTest.TestFramework
to3.1.1
(PR) - [TestFramework] Bump
xunit.assert
to2.6.2
(PR) - Bump Roslyn to 4.7.0 (PR)
Fixed
v4.7.0
Added
- Add analyzer "Dispose resource asynchronously" (RCS1261) (PR)
- Add analyzer "Unnecessary raw string literal" (RCS1262) (PR)
- Add analyzer "Invalid reference in a documentation comment" (RCS1263) (PR)
- Add analyzer "Add/remove blank line between switch sections" (RCS0061) (PR)
- Option (required):
roslynator_blank_line_between_switch_sections = include|omit|omit_after_block
- Make analyzer RCS0014 obsolete
- Option (required):
Changed
- Improve refactoring "Remove comment" RR0098 (PR)
- Remove trailing dot from analyzer's title (PR)
- Group code fix "Change accessibility to ..." (PR)
- [CLI] Bump Roslyn to 4.8.0 (PR)
- Group refactoring "Remove members above/below" (PR)
- Rename analyzers (PR)
- Group refactoring "Wrap in ..." (PR)
Fixed
- Fix analyzer RCS1124 (PR)
- Fix analyzer RCS0058 (PR)
- Fix analyzer RCS1163 (PR)
- Fix analyzer RCS1203 (PR)
- Fix analyzer RCS1046 (PR)
- Fix analyzer RCS1158 (PR)
- Fix analyzer RCS1032 (PR)
- Fix analyzer RCS1176 (PR)
- Fix analyzer RCS1197 (PR by @jamesHargreaves12)
- Fix analyzer RCS1093 (PR)
- [Testing] Detect nested code actions (PR)
v4.6.4
Release 4.6.4 (#1277)
v4.6.3
Added
- [CLI] Add command
find-symbol
(PR)- This command can be used not only to find symbols but also to find unused symbols and optionally remove them.
- Example:
roslynator find-symbol --symbol-kind type --visibility internal private --unused --remove
Changed
- Bump Roslyn to 4.6.0 (PR)
- [CLI] Add support for .NET 8 (PR by @JonasSchubert)
Fixed
v4.6.2
Added
- [CLI] Add note to docs that Roslynator CLI does not contain any analyzers itself (PR)
Fixed
- Fix RCS1234 (PR by @jakubreznak)
- Fix refactoring Inline method (PR)
- [CLI] Fix globbing (PR)
- [CLI] Remove assembly resolving (PR)
- Detect false positive from Unity code (RCS1169) (PR)
- Introduce config option
roslynator_unity_code_analysis.enabled = true|false
- Make option
roslynator_suppress_unity_script_methods
obsolete
- Introduce config option