Skip to content

Commit

Permalink
Bump version to 4.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Jan 16, 2022
1 parent c717591 commit 72fb418
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 27 deletions.
20 changes: 20 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
### 4.0.0 (2022-01-16)

* 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](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS0057.md) (Normalize whitespace at the beginning of a file)
* Add analyzer [RCS0058](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS0058.md) (Normalize whitespace at the end of a file)
* Add analyzer [RCS0059](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS0059.md) (Place new line after/before null-conditional operator)
* Add analyzer [RCS1249](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1249.md) (Unnecessary null-forgiving operator)
* Add analyzer [RCS1250](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1250.md) (Use implicit/explicit object creation)
* Add refactoring ExpandPositionalRecord (RR0215)
* Add refactoring AddAllPropertiesToInitializer (RR0216)
* Add code fix for CS8403, CS8618 and CS8625

### 3.3.0 (2021-11-14)

* Bunch of bug fixes and small improvements
Expand Down
2 changes: 1 addition & 1 deletion src/Analyzers.CodeFixes/Roslynator.Analyzers.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- This package is dependent on Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.1.</description>
<summary>A collection of 200+ analyzers for C#, powered by Roslyn.</summary>
<copyright>Copyright (c) 2016-2021 Josef Pihrt</copyright>
<copyright>Copyright (c) 2016-2022 Josef Pihrt</copyright>
<tags>Roslyn Analyzer Refactoring Productivity CodeAnalysis C# CSharp</tags>
<developmentDependency>true</developmentDependency>
<repository type="git" url="https://github.com/JosefPihrt/Roslynator.git" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- This package is dependent on Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.1.
- This package is applicable for projects that use Roslyn API (Microsoft.CodeAnalysis* packages)</description>
<summary>A collection of analyzers for Roslyn API.</summary>
<copyright>Copyright (c) 2016-2021 Josef Pihrt</copyright>
<copyright>Copyright (c) 2016-2022 Josef Pihrt</copyright>
<tags>Roslyn Analyzer CodeAnalysis C# CSharp</tags>
<developmentDependency>true</developmentDependency>
<repository type="git" url="https://github.com/JosefPihrt/Roslynator.git" />
Expand Down
2 changes: 1 addition & 1 deletion src/CodeFixes/Roslynator.CodeFixes.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- This package cannot be used with Visual Studio 2015.
- This package is dependent on Microsoft.CodeAnalysis.CSharp.Workspaces 2.3.0.</description>
<summary>A collection of code fixes for C# compiler diagnostics (CS....), powered by Roslyn.</summary>
<copyright>Copyright (c) 2016-2019 Josef Pihrt</copyright>
<copyright>Copyright (c) 2016-2022 Josef Pihrt</copyright>
<tags>Roslyn Analyzer Refactoring Productivity CodeAnalysis C# CSharp</tags>
<developmentDependency>true</developmentDependency>
<repository type="git" url="https://github.com/JosefPihrt/Roslynator.git" />
Expand Down
4 changes: 4 additions & 0 deletions src/CommandLine/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.3.1 (2022-01-16)

* Add support for .NET 6

### 0.3.0 (2021-11-14)

* Bump Roslyn version to 4.0.1
Expand Down
2 changes: 1 addition & 1 deletion src/CommandLine/CommandLine.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Roslynator command line tool</description>
<summary>Roslynator command line tool</summary>
<copyright>Copyright (c) 2017-2021 Josef Pihrt</copyright>
<copyright>Copyright (c) 2017-2022 Josef Pihrt</copyright>
<tags>CLI Roslyn C# CSharp VB VisualBasic</tags>
<developmentDependency>true</developmentDependency>
<repository type="git" url="https://github.com/JosefPihrt/Roslynator.git" />
Expand Down
26 changes: 13 additions & 13 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Roslynator.snk</AssemblyOriginatorKeyFile>
<Authors>Josef Pihrt</Authors>
<Copyright>Copyright (c) 2017-2021 Josef Pihrt</Copyright>
<Copyright>Copyright (c) 2016-2022 Josef Pihrt</Copyright>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
</PropertyGroup>

<PropertyGroup>
<RoslynatorVersion>3.3.0.1</RoslynatorVersion>
<RoslynatorAnalyzersPackageVersion>3.3.0</RoslynatorAnalyzersPackageVersion>
<RoslynatorCoreVersion>2.2.0.1</RoslynatorCoreVersion>
<RoslynatorCorePackageVersion>2.2.0</RoslynatorCorePackageVersion>
<RoslynatorCliVersion>0.3.0.0</RoslynatorCliVersion>
<RoslynatorCliPackageVersion>0.3.0</RoslynatorCliPackageVersion>
<RoslynatorFormattingAnalyzersVersion>3.3.0.1</RoslynatorFormattingAnalyzersVersion>
<RoslynatorFormattingAnalyzersPackageVersion>3.3.0</RoslynatorFormattingAnalyzersPackageVersion>
<RoslynatorCodeAnalysisAnalyzersVersion>3.3.0.1</RoslynatorCodeAnalysisAnalyzersVersion>
<RoslynatorCodeAnalysisAnalyzersPackageVersion>3.3.0</RoslynatorCodeAnalysisAnalyzersPackageVersion>
<RoslynatorTestingVersion>1.0.0.1</RoslynatorTestingVersion>
<RoslynatorTestingPackageVersion>1.0.0</RoslynatorTestingPackageVersion>
<RoslynatorVersion>4.0.0.0</RoslynatorVersion>
<RoslynatorAnalyzersPackageVersion>4.0.0-rc</RoslynatorAnalyzersPackageVersion>
<RoslynatorCoreVersion>4.0.0.0</RoslynatorCoreVersion>
<RoslynatorCorePackageVersion>4.0.0-rc</RoslynatorCorePackageVersion>
<RoslynatorCliVersion>0.3.1.0</RoslynatorCliVersion>
<RoslynatorCliPackageVersion>0.3.1</RoslynatorCliPackageVersion>
<RoslynatorFormattingAnalyzersVersion>4.0.0.0</RoslynatorFormattingAnalyzersVersion>
<RoslynatorFormattingAnalyzersPackageVersion>4.0.0-rc</RoslynatorFormattingAnalyzersPackageVersion>
<RoslynatorCodeAnalysisAnalyzersVersion>4.0.0.0</RoslynatorCodeAnalysisAnalyzersVersion>
<RoslynatorCodeAnalysisAnalyzersPackageVersion>4.0.0-rc</RoslynatorCodeAnalysisAnalyzersPackageVersion>
<RoslynatorTestingVersion>4.0.0.0</RoslynatorTestingVersion>
<RoslynatorTestingPackageVersion>4.0.0-rc</RoslynatorTestingPackageVersion>
<RoslynatorCodeFixesPackageVersion>2.0.0</RoslynatorCodeFixesPackageVersion>
<RoslynatorDocumentationPackageVersion>1.0.0</RoslynatorDocumentationPackageVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- This package is dependent on Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.1.
- All analyzers are disabled by default.</description>
<summary>A collection of formatting analyzers, powered by Roslyn.</summary>
<copyright>Copyright (c) 2016-2021 Josef Pihrt</copyright>
<copyright>Copyright (c) 2016-2022 Josef Pihrt</copyright>
<tags>Roslyn Analyzer Formatting Productivity CodeAnalysis C# CSharp</tags>
<developmentDependency>true</developmentDependency>
<repository type="git" url="https://github.com/JosefPihrt/Roslynator.git" />
Expand Down
1 change: 1 addition & 0 deletions src/VisualStudio/VisualStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />

<PropertyGroup>
<Version>$(RoslynatorVersion)</Version>
<TargetFramework>net472</TargetFramework>
<RootNamespace>Roslynator.VisualStudio</RootNamespace>
<AssemblyName>Roslynator.VisualStudio</AssemblyName>
Expand Down
4 changes: 2 additions & 2 deletions src/VisualStudioCode/package/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/VisualStudioCode/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"displayName": "Roslynator",
"description": "A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.",
"icon": "images/icon.png",
"version": "3.3.0",
"version": "4.0.0",
"author": "Josef Pihrt",
"license": "SEE LICENSE IN LICENSE.TXT",
"license": "Apache-2.0",
"homepage": "https://github.com/josefpihrt/roslynator",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions tools/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set _programFiles=%ProgramFiles%
set _msbuildPath="%_programFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild"
set _properties=Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591
set _outDir=..\out\Release
set _version=3.3.0
set _version4=3.3.0.1
set _version=4.0.0
set _version4=4.0.0.0

orang replace "..\src\VisualStudio\source.extension.vsixmanifest" ^
-c "patterns\vsix_manifest_version.txt" from-file -t m r ^
Expand All @@ -22,8 +22,8 @@ orang delete "..\src" -a d -n "bin,obj" l li e -i "packages,node_modules" l li e

echo.

dotnet restore --force "..\src\Roslynator.sln"

dotnet restore "..\src\Roslynator.sln"
dotnet restore "..\src\VisualStudio.sln"
dotnet restore "..\src\Tools\Tools.sln"

%_msbuildPath% "..\src\Tools\Tools.sln" ^
Expand Down
2 changes: 1 addition & 1 deletion tools/build_vscode.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set _programFiles=%ProgramFiles%

set _msbuildPath="%_programFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild"
set _properties=Configuration=Release,Deterministic=true,TreatWarningsAsErrors=true,WarningsNotAsErrors=1591,DefineConstants=VSCODE
set _version=3.3.0
set _version=4.0.0

orang replace "..\src\VisualStudioCode\package\package.json" ^
-c "patterns\vscode_version.txt" from-file -t m r ^
Expand Down

0 comments on commit 72fb418

Please sign in to comment.