From 3b53fca8d93fd5a8c3a474729be95d87f75ecb71 Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Tue, 2 Jan 2024 15:20:56 +0100 Subject: [PATCH] Release 4.8.0 (#1344) --- ChangeLog.md | 6 +++-- src/VisualStudioCode/package/CHANGELOG.md | 33 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 20886008e0..8ade0a03fd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -7,13 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.8.0] - 2024-01-02 + ### Added - Add analyzer "Add/remove blank line between switch sections" ([RCS0061](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0061)) ([PR](https://github.com/dotnet/roslynator/pull/1302)) - - Option (required): `roslynator_blank_line_between_switch_sections = include|omit|omit_after_block` + - Option (required): `roslynator_blank_line_between_switch_sections = include|omit|omit_after_block` - Make analyzer [RCS0014](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0014) obsolete - Add analyzer "Declare explicit/implicit type" ([RCS1264](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1264)) ([PR](https://github.com/dotnet/roslynator/pull/1335)) - - Required option: `roslynator_use_var = always | never | when_type_is_obvious` + - Required option: `roslynator_use_var = always | never | when_type_is_obvious` - This analyzer consolidates following analyzers (which are made obsolete): - [RCS1008](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1008) - [RCS1009](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1009) diff --git a/src/VisualStudioCode/package/CHANGELOG.md b/src/VisualStudioCode/package/CHANGELOG.md index ca2397a63e..325068b9a8 100644 --- a/src/VisualStudioCode/package/CHANGELOG.md +++ b/src/VisualStudioCode/package/CHANGELOG.md @@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.8.0] - 2024-01-02 + +### Added + +- Add analyzer "Add/remove blank line between switch sections" ([RCS0061](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0061)) ([PR](https://github.com/dotnet/roslynator/pull/1302)) + - Option (required): `roslynator_blank_line_between_switch_sections = include|omit|omit_after_block` + - Make analyzer [RCS0014](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0014) obsolete +- Add analyzer "Declare explicit/implicit type" ([RCS1264](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1264)) ([PR](https://github.com/dotnet/roslynator/pull/1335)) + - Required option: `roslynator_use_var = always | never | when_type_is_obvious` + - This analyzer consolidates following analyzers (which are made obsolete): + - [RCS1008](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1008) + - [RCS1009](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1009) + - [RCS1010](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1010) + - [RCS1012](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1012) + - [RCS1176](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1176) + - [RCS1177](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1177) +- Add code fix "Declare as nullable" ([PR](https://github.com/dotnet/roslynator/pull/1333)) + - Applicable to: `CS8600`, `CS8610`, `CS8765` and `CS8767` +- Add option `roslynator_use_collection_expression = true|false` ([PR](https://github.com/dotnet/roslynator/pull/1325)) + - Applicable to [RCS1014](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1014) and [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) + +### Changed + +- Replace type declaration's empty braces with semicolon ([RCS1251](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1251) ([PR](https://github.com/dotnet/roslynator/pull/1323), [PR](https://github.com/dotnet/roslynator/pull/1327)) +- [TestFramework] Bump `MSTest.TestFramerk` to `3.1.1` ([PR](https://github.com/dotnet/roslynator/pull/1332)) +- [TestFramework] Bump `xunit.assert` to `2.6.2` ([PR](https://github.com/dotnet/roslynator/pull/1332)) +- Bump Roslyn to 4.7.0 ([PR](https://github.com/dotnet/roslynator/pull/1325)) + +### Fixed + +- Fix analyzer [RCS1262](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1262) ([PR](https://github.com/dotnet/roslynator/pull/1339)) +- Fix analyzer [RCS1213](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1213) ([PR](https://github.com/dotnet/roslynator/pull/1343)) + ## [4.7.0] - 2023-12-03 ### Added