Skip to content

Commit

Permalink
Bump version to 4.0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Jan 29, 2022
1 parent f900252 commit 849e6ad
Show file tree
Hide file tree
Showing 15 changed files with 116 additions and 96 deletions.
14 changes: 14 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
### 4.0.2 (2022-01-29)

* Disable analyzer ROS003 by default ([commit](https://github.com/JosefPihrt/Roslynator/commit/9c562921b6ae4eb46e1cfe252282e6b2ad520ca6))
* Analyzers that require option to be set should disabled by default (RCS1018, RCS1096, RCS1250) ([commit](https://github.com/JosefPihrt/Roslynator/commit/de374858f9d8120a6f6d705ad685101ed1bab699))

#### Bug fixes

* Fix analyzer [RCS1014](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1014.md) (Use explicitly/implicitly typed array) ([commit](https://github.com/JosefPihrt/Roslynator/commit/004a83756b9fbcf117710d7afb6bab964a59f1be))
* Fix analyzer [RCS1016](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1016.md) (Use block body or expression body) ([commit](https://github.com/JosefPihrt/Roslynator/commit/8c633e966f2706d3888fd942dd186d066d440ac0))
* Fix refactoring AddUsingDirective (RR0013) ([commit](https://github.com/JosefPihrt/Roslynator/commit/199787bdf921aeeecd69d9a118bbb86419bce81a))
* Propagate some options from .roslynatorconfig ([commit](https://github.com/JosefPihrt/Roslynator/commit/a619ebf285d1de77941a9c4a5fce46bb19485d3a))
* Enable ROS analyzers to be set from .roslynatorconfig ([commit](https://github.com/JosefPihrt/Roslynator/commit/a4c0ad8fb60d694cc7d2546016d742547f1d585b))
* Files generated with source generators have relative paths ([commit](https://github.com/JosefPihrt/Roslynator/commit/cec55ab23404a11f4fe332a3568ab87a4016e55b))

### 4.0.1 (2022-01-21)

* Bug fixes
Expand Down
5 changes: 5 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ roslynator_compiler_diagnostic_fixes.enabled = true|false
roslynator_compiler_diagnostic_fix.<COMPILER_DIAGNOSTIC_ID>.enabled = true|false
```

## Required Options

Some analyzers require option to be set. For this purpose there is special analyzer ROS0003 that reports a diagnostic
if an analyzer is enabled but required option is not set. ROS0003 is disabled by default.

## Default Configuration

If you want to configure Roslynator on a user-wide basis you have to use Roslynator config file.
Expand Down
2 changes: 1 addition & 1 deletion docs/analyzers/RCS1018.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| Property | Value |
| --------------- | ------------------------------------ |
| Id | RCS1018 |
| Severity | Info |
| Severity | None |
| Required option | `roslynator_accessibility_modifiers` |

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/analyzers/RCS1096.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| Property | Value |
| --------------- | -------------------------------- |
| Id | RCS1096 |
| Severity | Info |
| Severity | None |
| Required option | `roslynator_enum_has_flag_style` |

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/analyzers/RCS1250.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| Property | Value |
| ------------------------ | --------------------------------------- |
| Id | RCS1250 |
| Severity | Info |
| Severity | None |
| Minimum language version | 9\.0 |
| Required option | `roslynator_object_creation_type_style` |

Expand Down
6 changes: 3 additions & 3 deletions src/Analyzers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
| RCS1014 | [Use explicitly/implicitly typed array](../../docs/analyzers/RCS1014.md) | None |
| RCS1015 | [Use nameof operator](../../docs/analyzers/RCS1015.md) | Info |
| RCS1016 | [Use block body or expression body](../../docs/analyzers/RCS1016.md) | None |
| RCS1018 | [Add/remove accessibility modifiers](../../docs/analyzers/RCS1018.md) | Info |
| RCS1018 | [Add/remove accessibility modifiers](../../docs/analyzers/RCS1018.md) | None |
| RCS1019 | [Order modifiers](../../docs/analyzers/RCS1019.md) | None |
| RCS1020 | [Simplify Nullable\<T> to T?](../../docs/analyzers/RCS1020.md) | Info |
| RCS1021 | [Convert lambda expression body to expression body](../../docs/analyzers/RCS1021.md) | Info |
Expand Down Expand Up @@ -74,7 +74,7 @@
| RCS1091 | [Remove empty region](../../docs/analyzers/RCS1091.md) | Hidden |
| RCS1093 | [Remove file with no code](../../docs/analyzers/RCS1093.md) | Info |
| RCS1094 | [Declare using directive on top level](../../docs/analyzers/RCS1094.md) | None |
| RCS1096 | [Use 'HasFlag' method or bitwise operator](../../docs/analyzers/RCS1096.md) | Info |
| RCS1096 | [Use 'HasFlag' method or bitwise operator](../../docs/analyzers/RCS1096.md) | None |
| RCS1097 | [Remove redundant 'ToString' call](../../docs/analyzers/RCS1097.md) | Info |
| RCS1098 | [Constant values should be placed on right side of comparisons](../../docs/analyzers/RCS1098.md) | Info |
| RCS1099 | [Default label should be the last label in a switch section](../../docs/analyzers/RCS1099.md) | Info |
Expand Down Expand Up @@ -202,7 +202,7 @@
| RCS1247 | [Fix documentation comment tag](../../docs/analyzers/RCS1247.md) | Info |
| RCS1248 | [Normalize null check](../../docs/analyzers/RCS1248.md) | None |
| RCS1249 | [Unnecessary null-forgiving operator](../../docs/analyzers/RCS1249.md) | Info |
| RCS1250 | [Use implicit/explicit object creation](../../docs/analyzers/RCS1250.md) | Info |
| RCS1250 | [Use implicit/explicit object creation](../../docs/analyzers/RCS1250.md) | None |


*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)*
20 changes: 10 additions & 10 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
</PropertyGroup>

<PropertyGroup>
<RoslynatorVersion>4.0.0.1</RoslynatorVersion>
<RoslynatorAnalyzersPackageVersion>4.0.0</RoslynatorAnalyzersPackageVersion>
<RoslynatorCoreVersion>4.0.0.1</RoslynatorCoreVersion>
<RoslynatorCorePackageVersion>4.0.0</RoslynatorCorePackageVersion>
<RoslynatorVersion>4.0.2.0</RoslynatorVersion>
<RoslynatorAnalyzersPackageVersion>4.0.2</RoslynatorAnalyzersPackageVersion>
<RoslynatorCoreVersion>4.0.2.0</RoslynatorCoreVersion>
<RoslynatorCorePackageVersion>4.0.2</RoslynatorCorePackageVersion>
<RoslynatorCliVersion>0.3.1.0</RoslynatorCliVersion>
<RoslynatorCliPackageVersion>0.3.1</RoslynatorCliPackageVersion>
<RoslynatorFormattingAnalyzersVersion>4.0.0.1</RoslynatorFormattingAnalyzersVersion>
<RoslynatorFormattingAnalyzersPackageVersion>4.0.0</RoslynatorFormattingAnalyzersPackageVersion>
<RoslynatorCodeAnalysisAnalyzersVersion>4.0.0.1</RoslynatorCodeAnalysisAnalyzersVersion>
<RoslynatorCodeAnalysisAnalyzersPackageVersion>4.0.0</RoslynatorCodeAnalysisAnalyzersPackageVersion>
<RoslynatorTestingVersion>4.0.0.1</RoslynatorTestingVersion>
<RoslynatorTestingPackageVersion>4.0.0</RoslynatorTestingPackageVersion>
<RoslynatorFormattingAnalyzersVersion>4.0.2.0</RoslynatorFormattingAnalyzersVersion>
<RoslynatorFormattingAnalyzersPackageVersion>4.0.2</RoslynatorFormattingAnalyzersPackageVersion>
<RoslynatorCodeAnalysisAnalyzersVersion>4.0.2.0</RoslynatorCodeAnalysisAnalyzersVersion>
<RoslynatorCodeAnalysisAnalyzersPackageVersion>4.0.2</RoslynatorCodeAnalysisAnalyzersPackageVersion>
<RoslynatorTestingVersion>4.0.2.0</RoslynatorTestingVersion>
<RoslynatorTestingPackageVersion>4.0.2</RoslynatorTestingPackageVersion>
<RoslynatorCodeFixesPackageVersion>2.0.0</RoslynatorCodeFixesPackageVersion>
<RoslynatorDocumentationPackageVersion>1.0.0</RoslynatorDocumentationPackageVersion>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Roslynator.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
..\ChangeLog.md = ..\ChangeLog.md
CodeFixes\CodeFixes.xml = CodeFixes\CodeFixes.xml
CodeFixes\Diagnostics.xml = CodeFixes\Diagnostics.xml
Directory.Build.props = Directory.Build.props
global.ruleset = global.ruleset
..\LICENSE.txt = ..\LICENSE.txt
..\README.md = ..\README.md
Expand Down
2 changes: 1 addition & 1 deletion src/VisualStudio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("4.0.0.1")]
//[assembly: AssemblyVersion("4.0.2.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: NeutralResourcesLanguage("en-US")]
2 changes: 1 addition & 1 deletion src/VisualStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="f326ee1b-81a6-4577-b251-1f29d391cef3" Version="4.0.1" Language="en-US" Publisher="Josef Pihrt" />
<Identity Id="f326ee1b-81a6-4577-b251-1f29d391cef3" Version="4.0.2" Language="en-US" Publisher="Josef Pihrt" />
<DisplayName>Roslynator 2022</DisplayName>
<Description xml:space="preserve">A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.</Description>
<MoreInfo>http://github.com/JosefPihrt/Roslynator</MoreInfo>
Expand Down
14 changes: 14 additions & 0 deletions src/VisualStudioCode/package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 4.0.2 (2022-01-29)

* Disable analyzer ROS003 by default ([commit](https://github.com/JosefPihrt/Roslynator/commit/9c562921b6ae4eb46e1cfe252282e6b2ad520ca6))
* Analyzers that require option to be set should disabled by default (RCS1018, RCS1096, RCS1250) ([commit](https://github.com/JosefPihrt/Roslynator/commit/de374858f9d8120a6f6d705ad685101ed1bab699))

### Bug fixes

* Fix analyzer [RCS1014](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1014.md) (Use explicitly/implicitly typed array) ([commit](https://github.com/JosefPihrt/Roslynator/commit/004a83756b9fbcf117710d7afb6bab964a59f1be))
* Fix analyzer [RCS1016](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1016.md) (Use block body or expression body) ([commit](https://github.com/JosefPihrt/Roslynator/commit/8c633e966f2706d3888fd942dd186d066d440ac0))
* Fix refactoring AddUsingDirective (RR0013) ([commit](https://github.com/JosefPihrt/Roslynator/commit/199787bdf921aeeecd69d9a118bbb86419bce81a))
* Propagate some options from .roslynatorconfig ([commit](https://github.com/JosefPihrt/Roslynator/commit/a619ebf285d1de77941a9c4a5fce46bb19485d3a))
* Enable ROS analyzers to be set from .roslynatorconfig ([commit](https://github.com/JosefPihrt/Roslynator/commit/a4c0ad8fb60d694cc7d2546016d742547f1d585b))
* Files generated with source generators have relative paths ([commit](https://github.com/JosefPihrt/Roslynator/commit/cec55ab23404a11f4fe332a3568ab87a4016e55b))

## 4.0.1 (2022-01-21)

* Bug fixes
Expand Down
Loading

0 comments on commit 849e6ad

Please sign in to comment.