|
| 1 | +### 2.9.0 (2020-03-13) |
| 2 | + |
| 3 | +* Switch to Roslyn 3.x libraries |
| 4 | +* Add `Directory.Build.props` file |
| 5 | +* Add open configuration commands to Command Palette (VS Code) ([PR](https://github.com/JosefPihrt/Roslynator/pull/648)) |
| 6 | + |
| 7 | +#### Bug Fixes |
| 8 | + |
| 9 | +* Fix key duplication/handle camel case names in `omnisharp.json` ([PR](https://github.com/JosefPihrt/Roslynator/pull/645)) |
| 10 | +* Use prefix unary operator instead of postfix unary operator ([RCS1089](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1089.md)) ([issue](https://github.com/JosefPihrt/Roslynator/issues/639)) |
| 11 | +* Cast of `this` to its interface cannot be null ([RCS1202](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1202.md)) ([issue](https://github.com/JosefPihrt/Roslynator/issues/640)) |
| 12 | +* Do not remove braces in switch section if it contains 'using variable' ([RCS1031](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1031.md)) ([issue](https://github.com/JosefPihrt/Roslynator/issues/632)) |
| 13 | + |
| 14 | +#### New Analyzers |
| 15 | + |
| 16 | +* [RCS1242](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1242.md) (DoNotPassNonReadOnlyStructByReadOnlyReference). |
| 17 | +* [RCS1243](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1243.md) (DuplicateWordInComment). |
| 18 | +* [RCS1244](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1244.md) (SimplifyDefaultExpression). |
| 19 | +* [RCS1245](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1245.md) (SimplifyConditionalExpression2) ([issue](https://github.com/JosefPihrt/Roslynator/issues/612)). |
| 20 | + |
| 21 | +#### Analyzers |
| 22 | + |
| 23 | +* Disable analyzer [RCS1057](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1057.md) by default ([issue](https://github.com/JosefPihrt/Roslynator/issues/590)). |
| 24 | +* Merge analyzer [RCS1156](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1156.md) with [RCS1113](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1113.md) ([issue](https://github.com/JosefPihrt/Roslynator/issues/650)). |
| 25 | + * `x == ""` should be replaced with `string.IsNullOrEmpty(x)` |
| 26 | +* Improve analyzer [RCS1215](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1215.md) ([commit](https://github.com/JosefPihrt/Roslynator/commit/0fdd97f9a62463f8b004abeb17a8b8509374c35a)). |
| 27 | + * `x == double.NaN` should be replaced with `double.IsNaN(x)` |
| 28 | +* Enable [RCS1169](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1169.md) and [RCS1170](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1170.md) if the type is read-only struct ([commit](https://github.com/JosefPihrt/Roslynator/commit/f34e105433dbc65686369adf712b0b99d93eaef7)). |
| 29 | +* Improve analyzer [RCS1077](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1077.md) ([commit](https://github.com/JosefPihrt/Roslynator/commit/3ee275442cb16f6a9104b42d582ba7d76d6df88c)). |
| 30 | + * `x.OrderBy(y => y).Reverse()` can be simplified to `x.OrderByDescending(y => y)` |
| 31 | + * `x.SelectMany(y => y).Count()` can be simplified to `x.Sum(y => y.Count)` if `x` has `Count` or `Length` property |
| 32 | +* Improve analyzer [RCS1161](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1161.md) - Declare explicit enum value using `<<` operator ([commit](https://github.com/JosefPihrt/Roslynator/commit/6b78496efe1a2f2678f2ef2a71986e2bee006863)). |
| 33 | +* Improve analyzer [RCS1036](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1036.md) - remove empty line between documentation comment and declaration ([commit](https://github.com/JosefPihrt/Roslynator/commit/de0f1205671281679866e92edd9337a7416409e6)). |
| 34 | +* Improve analyzer [RCS1037](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1037.md) - remove trailing white-space from documentation comment ([commit](https://github.com/JosefPihrt/Roslynator/commit/c3f7d193ee37d04de7e2c698aab7f3e1e6350e80)). |
| 35 | +* Improve analyzer [RCS1143](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1143.md) ([commit](https://github.com/JosefPihrt/Roslynator/commit/4c4281ebdf8eb0aa1a77d5e5bfda71bc66cce1df)) |
| 36 | + * `x?.M() ?? default(int?)` can be simplified to `x?.M()` if `x` is a nullable struct. |
| 37 | +* Improve analyzer [RCS1206](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1206.md) ([commit](https://github.com/JosefPihrt/Roslynator/commit/88dd4cea4df07f036a8296511410ccff70f8fefe)) |
| 38 | + * `(x != null) ? x.M() : default(int?)` can be simplified to `x?.M()` if `x` is a nullable struct. |
| 39 | + |
1 | 40 | ### 2.3.1 (2020-01-20) |
2 | 41 |
|
3 | 42 | * Last release of package Roslynator.Analyzers (2.3.0) that references Roslyn 2.x (VS 2017) |
4 | 43 |
|
5 | 44 | ### 2.3.0 (2019-12-28) |
6 | 45 |
|
7 | 46 | * Last release of Roslynator for VS 2017 |
| 47 | +* Automatically update configuration in omnisharp.json (VS Code) ([PR](https://github.com/JosefPihrt/Roslynator/pull/623)). |
8 | 48 |
|
9 | 49 | ### 2.2.1 (2019-10-26) |
10 | 50 |
|
11 | 51 | * Add set of formatting analyzers (RCS0...). |
12 | 52 |
|
13 | 53 | ### 2.2.0 (2019-09-28) |
14 | 54 |
|
| 55 | +* Enable configuration for non-Windows systems (VS Code). |
| 56 | + |
15 | 57 | #### Analyzers |
16 | 58 |
|
17 | 59 | * Disable analyzer [RCS1029](https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1029.md) (FormatBinaryOperatorOnNextLine) by default. |
18 | 60 |
|
| 61 | +## 2.1.4 (2019-08-13) |
| 62 | + |
| 63 | +* Initial release of Roslynator for VS Code. |
| 64 | + |
19 | 65 | ### 2.1.3 (2019-08-06) |
20 | 66 |
|
21 | 67 | #### Analyzers |
|
0 commit comments