diff --git a/ChangeLog.md b/ChangeLog.md index fb85c0657a..a6ff185f46 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,8 @@ +### 3.3.0 (2021-11-14) + +* Bunch of bug fixes and small improvements +* Disable analyzers RCS1079 and RCS1090 by default + ### 3.2.2 (2021-08-15) * Ensure that shared assemblies with be loaded properly on .NET Core ([issue](https://github.com/JosefPihrt/Roslynator/issues/833)) diff --git a/docs/analyzers/RCS1079.md b/docs/analyzers/RCS1079.md index f7fbfb6ee4..0a41ae4eaa 100644 --- a/docs/analyzers/RCS1079.md +++ b/docs/analyzers/RCS1079.md @@ -4,7 +4,7 @@ | -------- | ------- | | Id | RCS1079 | | Category | General | -| Severity | Info | +| Severity | None | ## Example diff --git a/docs/analyzers/RCS1090.md b/docs/analyzers/RCS1090.md index 9b536c2b76..cba5c90b5c 100644 --- a/docs/analyzers/RCS1090.md +++ b/docs/analyzers/RCS1090.md @@ -4,7 +4,7 @@ | -------- | ------- | | Id | RCS1090 | | Category | Design | -| Severity | Info | +| Severity | None | ## Example diff --git a/src/Analyzers/CSharp/DiagnosticRules.Generated.cs b/src/Analyzers/CSharp/DiagnosticRules.Generated.cs index 7bee99e63d..f63d05dc96 100644 --- a/src/Analyzers/CSharp/DiagnosticRules.Generated.cs +++ b/src/Analyzers/CSharp/DiagnosticRules.Generated.cs @@ -792,7 +792,7 @@ public static partial class DiagnosticRules messageFormat: "Implement the functionality instead of throwing new NotImplementedException.", category: DiagnosticCategories.General, defaultSeverity: DiagnosticSeverity.Info, - isEnabledByDefault: true, + isEnabledByDefault: false, description: null, helpLinkUri: DiagnosticIdentifiers.ThrowingOfNewNotImplementedException, customTags: Array.Empty()); @@ -868,7 +868,7 @@ public static partial class DiagnosticRules messageFormat: "Add call to 'ConfigureAwait'.", category: DiagnosticCategories.Design, defaultSeverity: DiagnosticSeverity.Info, - isEnabledByDefault: true, + isEnabledByDefault: false, description: null, helpLinkUri: DiagnosticIdentifiers.AddCallToConfigureAwaitOrViceVersa, customTags: Array.Empty()); @@ -2570,7 +2570,7 @@ public static partial class ReportOnly messageFormat: "Remove call to 'ConfigureAwait'.", category: DiagnosticCategories.Design, defaultSeverity: DiagnosticSeverity.Info, - isEnabledByDefault: true, + isEnabledByDefault: false, description: null, helpLinkUri: DiagnosticIdentifiers.AddCallToConfigureAwaitOrViceVersa, customTags: WellKnownDiagnosticTags.Unnecessary); diff --git a/src/Analyzers/README.md b/src/Analyzers/README.md index c221f71f36..eff7b3d1c4 100644 --- a/src/Analyzers/README.md +++ b/src/Analyzers/README.md @@ -66,13 +66,13 @@ | RCS1075 | [Avoid empty catch clause that catches System.Exception](../../docs/analyzers/RCS1075.md) | Design | Warning | | RCS1077 | [Optimize LINQ method call](../../docs/analyzers/RCS1077.md) | Performance | Info | | RCS1078 | [Use "" instead of string.Empty (or vice versa)](../../docs/analyzers/RCS1078.md) | General | None | -| RCS1079 | [Throwing of new NotImplementedException](../../docs/analyzers/RCS1079.md) | General | Info | +| RCS1079 | [Throwing of new NotImplementedException](../../docs/analyzers/RCS1079.md) | General | None | | RCS1080 | [Use 'Count/Length' property instead of 'Any' method](../../docs/analyzers/RCS1080.md) | Performance | Info | | RCS1081 | [Split variable declaration](../../docs/analyzers/RCS1081.md) | Readability | None | | RCS1084 | [Use coalesce expression instead of conditional expression](../../docs/analyzers/RCS1084.md) | Simplification | Info | | RCS1085 | [Use auto-implemented property](../../docs/analyzers/RCS1085.md) | Simplification | Info | | RCS1089 | [Use --/++ operator instead of assignment](../../docs/analyzers/RCS1089.md) | Simplification | Info | -| RCS1090 | [Add call to 'ConfigureAwait' (or vice versa)](../../docs/analyzers/RCS1090.md) | Design | Info | +| RCS1090 | [Add call to 'ConfigureAwait' (or vice versa)](../../docs/analyzers/RCS1090.md) | Design | None | | RCS1091 | [Remove empty region](../../docs/analyzers/RCS1091.md) | Redundancy | Hidden | | RCS1093 | [Remove file with no code](../../docs/analyzers/RCS1093.md) | Redundancy | Info | | RCS1094 | [Declare using directive on top level](../../docs/analyzers/RCS1094.md) | Readability | None | diff --git a/src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj b/src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj index 48f7245704..ff83da91bc 100644 --- a/src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj +++ b/src/CommandLine.DocumentationGenerator/CommandLine.DocumentationGenerator.csproj @@ -26,8 +26,8 @@ - - + + \ No newline at end of file diff --git a/src/CommandLine/ChangeLog.md b/src/CommandLine/ChangeLog.md index abe1a1917e..d96abe28c8 100644 --- a/src/CommandLine/ChangeLog.md +++ b/src/CommandLine/ChangeLog.md @@ -1,3 +1,11 @@ +### 0.3.0 (2021-11-14) + +* Bump Roslyn version to 4.0.1 +* Add option `--max-word-length` to `spellcheck` command +* Add spellchecking of string literals +* Fix exit code so the tool can be used in CI/CD pipeline + * Return 0 if no diagnostic is found + ### 0.2.0 (2021-09-05) * Add command [`rename-symbol`](https://github.com/JosefPihrt/Roslynator/blob/master/docs/cli/rename-symbol-command.md) diff --git a/src/CommandLine/README.md b/src/CommandLine/README.md index 382d41d554..640500b2a6 100644 --- a/src/CommandLine/README.md +++ b/src/CommandLine/README.md @@ -6,3 +6,4 @@ * [Roslynator Command-Line Interface](../../docs/cli/README.md) * [How to Generate API Documentation](../../docs/HowToGenerateDocumentation.md) * [How to Fix All Diagnostics in a Solution](../../docs/HowToFixAllDiagnostics.md) +* [Changelog](ChangeLog.md) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index a53cfb5d9f..b5ca89fa48 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -11,18 +11,18 @@ - 3.2.3.0 - 3.2.2 - 2.1.0.5 - 2.1.0 - 0.2.0.0 - 0.2.0 + 3.3.0.0 + 3.3.0-rc + 2.2.0.0 + 2.2.0 + 0.3.0.0 + 0.3.0 1.2.2.0 1.2.2 1.1.1.0 1.1.1 - 1.0.0.0 - 1.0.0-rc + 1.0.0.1 + 1.0.0 2.0.0 1.0.0 diff --git a/src/VisualStudio.Common/Properties/AssemblyInfo.cs b/src/VisualStudio.Common/Properties/AssemblyInfo.cs index 4fa00ef344..0d5e94b51c 100644 --- a/src/VisualStudio.Common/Properties/AssemblyInfo.cs +++ b/src/VisualStudio.Common/Properties/AssemblyInfo.cs @@ -37,5 +37,5 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.2.2.0")] +[assembly: AssemblyVersion("3.3.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/VisualStudio/Properties/AssemblyInfo.cs b/src/VisualStudio/Properties/AssemblyInfo.cs index f08dd6a10d..510c9f7b29 100644 --- a/src/VisualStudio/Properties/AssemblyInfo.cs +++ b/src/VisualStudio/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // Build Number // Revision // -[assembly: AssemblyVersion("3.2.2.0")] +[assembly: AssemblyVersion("3.3.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/VisualStudio/source.extension.vsixmanifest b/src/VisualStudio/source.extension.vsixmanifest index 197842f930..b59100da6c 100644 --- a/src/VisualStudio/source.extension.vsixmanifest +++ b/src/VisualStudio/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + Roslynator 2019 A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn. http://github.com/JosefPihrt/Roslynator diff --git a/src/VisualStudioCode/package/CHANGELOG.md b/src/VisualStudioCode/package/CHANGELOG.md index 4a216f0d8b..2bad37d93c 100644 --- a/src/VisualStudioCode/package/CHANGELOG.md +++ b/src/VisualStudioCode/package/CHANGELOG.md @@ -1,3 +1,8 @@ +## 3.3.0 (2021-11-14) + +* Bunch of bug fixes and small improvements +* Disable analyzers RCS1079 and RCS1090 by default + ## 3.2.2 (2021-08-15) * Ensure that shared assemblies with be loaded properly on .NET Core ([issue](https://github.com/JosefPihrt/Roslynator/issues/833)) diff --git a/tools/build.cmd b/tools/build.cmd index dcefe2be0c..d3aa288801 100644 --- a/tools/build.cmd +++ b/tools/build.cmd @@ -6,8 +6,8 @@ if not defined _programFiles set _programFiles=%ProgramFiles% set _msbuildPath="%_programFiles%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild" set _properties=Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591 set _outDir=..\out\Release -set _version=3.2.3 -set _version4=3.2.3.0 +set _version=3.3.0 +set _version4=3.3.0.0 orang replace "..\src\VisualStudio\source.extension.vsixmanifest" ^ -c "patterns\vsix_manifest_version.txt" from-file -t m r ^