Closed renovate[bot] closed 4 months ago
This PR contains the following updates:
4.5.0
4.10.0
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This PR contains the following updates:
4.5.0
->4.10.0
Release Notes
dotnet/roslynator (Roslynator.Analyzers)
### [`v4.10.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4100---2024-01-24) ##### Added - Publish NuGet packages that provide [refactorings](https://www.nuget.org/packages/roslynator.refactorings) and [code fixes for compiler diagnostics](https://www.nuget.org/packages/roslynator.codefixes) ([PR](https://togithub.com/dotnet/roslynator/pull/1358)) - These packages are recommended to be used in an environment where Roslynator IDE extension cannot be used, e.g. VS Code + C# Dev Kit (see related [issue](https://togithub.com/dotnet/vscode-csharp/issues/6790)) - Add analyzer "Remove redundant catch block" [RCS1265](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1265) ([PR](https://togithub.com/dotnet/roslynator/pull/1364) by [@jakubreznak](https://togithub.com/jakubreznak)) - \[CLI] Spellcheck file names ([PR](https://togithub.com/dotnet/roslynator/pull/1368)) - `roslynator spellcheck --scope file-name` ##### Changed - Update analyzer [RCS1197](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1197) ([PR](https://togithub.com/dotnet/roslynator/pull/1370)) - Do not report interpolated string and string concatenation ##### Fixed - Fix analyzer [RCS1055](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1055) ([PR](https://togithub.com/dotnet/roslynator/pull/1361)) - Fix analyzer [RCS1261](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1261) ([PR](https://togithub.com/dotnet/roslynator/pull/1374)) - Fix analyzer [RCS0056](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0056) ([PR](https://togithub.com/dotnet/roslynator/pull/1373)) - Fix analyzer [RCS1211](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1211) ([PR](https://togithub.com/dotnet/roslynator/pull/1377)) - Fix analyzer [RCS0061](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0061) ([PR](https://togithub.com/dotnet/roslynator/pull/1376)) ### [`v4.9.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#490---2024-01-10) ##### Added - Add support for Unity ([PR](https://togithub.com/dotnet/roslynator/pull/1349)) - [Unity uses Roslyn 3.8](https://docs.unity3d.com/Manual/roslyn-analyzers.html) and this version is now supported by Roslynator NuGet packages with analyzers (Roslynator.Analyzers etc.) ##### Fixed - Fix analyzer [RCS0034](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0034) ([PR](https://togithub.com/dotnet/roslynator/pull/1351)) - Fix analyzer [RCS0023](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0023) ([PR](https://togithub.com/dotnet/roslynator/pull/1352)) - Fix analyzer [RCS1014](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1014) ([PR](https://togithub.com/dotnet/roslynator/pull/1350)) ### [`v4.8.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#480---2024-01-02) ##### Added - Add analyzer "Add/remove blank line between switch sections" ([RCS0061](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0061)) ([PR](https://togithub.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://togithub.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://togithub.com/dotnet/roslynator/pull/1333)) - Applicable to: `CS8600`, `CS8610`, `CS8765` and `CS8767` - Add option `roslynator_use_collection_expression = true|false` ([PR](https://togithub.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://togithub.com/dotnet/roslynator/pull/1323), [PR](https://togithub.com/dotnet/roslynator/pull/1327)) - \[TestFramework] Bump `MSTest.TestFramerk` to `3.1.1` ([PR](https://togithub.com/dotnet/roslynator/pull/1332)) - \[TestFramework] Bump `xunit.assert` to `2.6.2` ([PR](https://togithub.com/dotnet/roslynator/pull/1332)) - Bump Roslyn to 4.7.0 ([PR](https://togithub.com/dotnet/roslynator/pull/1325)) ##### Fixed - Fix analyzer [RCS1262](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1262) ([PR](https://togithub.com/dotnet/roslynator/pull/1339)) - Fix analyzer [RCS1213](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1213) ([PR](https://togithub.com/dotnet/roslynator/pull/1343)) ### [`v4.7.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#470---2023-12-03) ##### Added - Add analyzer "Dispose resource asynchronously" ([RCS1261](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1261)) ([PR](https://togithub.com/dotnet/roslynator/pull/1285)) - Add analyzer "Unnecessary raw string literal" ([RCS1262](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1262)) ([PR](https://togithub.com/dotnet/roslynator/pull/1293)) - Add analyzer "Invalid reference in a documentation comment" ([RCS1263](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1263)) ([PR](https://togithub.com/dotnet/roslynator/pull/1295)) - Add analyzer "Add/remove blank line between switch sections" ([RCS0061](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0061)) ([PR](https://togithub.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 ##### Changed - Improve refactoring "Remove comment" [RR0098](https://josefpihrt.github.io/docs/roslynator/refactorings/RR0098) ([PR](https://togithub.com/dotnet/roslynator/pull/1284)) - Remove trailing dot from analyzer's title ([PR](https://togithub.com/dotnet/roslynator/pull/1298)) - Group code fix "Change accessibility to ..." ([PR](https://togithub.com/dotnet/roslynator/pull/1305)) - \[CLI] Bump Roslyn to 4.8.0 ([PR](https://togithub.com/dotnet/roslynator/pull/1307)). - Group refactoring "Remove members above/below'" ([PR](https://togithub.com/dotnet/roslynator/pull/1308)) - Rename analyzers ([PR](https://togithub.com/dotnet/roslynator/pull/1314)) - "Add new line before embedded statement" -> "Put embedded statement on its own line" ([RCS0030](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0030)) - "Add new line before statement" -> "Put statement on its own line" ([RCS0033](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0033)) - Group refactoring "Wrap in ..." ([PR](https://togithub.com/dotnet/roslynator/pull/1317)) ##### Fixed - Fix analyzer [RCS1124](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1124) ([PR](https://togithub.com/dotnet/roslynator/pull/1279)) - Fix analyzer [RCS0058](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0058) ([PR](https://togithub.com/dotnet/roslynator/pull/1281)) - Fix analyzer [RCS1163](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1163) ([PR](https://togithub.com/dotnet/roslynator/pull/1280)) - Fix analyzer [RCS1203](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1203) ([PR](https://togithub.com/dotnet/roslynator/pull/1282)) - Fix analyzer [RCS1046](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1046) ([PR](https://togithub.com/dotnet/roslynator/pull/1283)) - Fix analyzer [RCS1158](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1158) ([PR](https://togithub.com/dotnet/roslynator/pull/1288)) - Fix analyzer [RCS1032](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1032) ([PR](https://togithub.com/dotnet/roslynator/pull/1289)) - Fix analyzer [RCS1176](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1176) ([PR](https://togithub.com/dotnet/roslynator/pull/1291)) - Fix analyzer [RCS1197](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1197) ([PR](https://togithub.com/dotnet/roslynator/pull/1166)) - Fix analyzer [RCS1093](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1093) ([PR](https://togithub.com/dotnet/roslynator/pull/1296)) - \[Testing] Detect nested code actions ([PR](https://togithub.com/dotnet/roslynator/pull/1305)) ### [`v4.6.4`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#464---2023-11-24) ### [`v4.6.3`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#463---2023-11-23) ##### Added - \[CLI] Add command `find-symbol` ([PR](https://togithub.com/dotnet/roslynator/pull/1255)) - This command can be used not only to find symbols but also to find unused symbols and optionally remove them. - Example: `roslynator find-symbol --symbol-kind type --visibility internal private --unused --remove` ##### Changed - Bump Roslyn to 4.6.0 ([PR](https://togithub.com/dotnet/roslynator/pull/1248)). - \[CLI] Add support for .NET 8 ([PR](https://togithub.com/josefpihrt/roslynator/pull/1251)). ##### Fixed - Fix analyzer [RCS1228](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1228) ([PR](https://togithub.com/dotnet/roslynator/pull/1249)) - Fix analyzer [RCS1213](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1213) ([PR](https://togithub.com/dotnet/roslynator/pull/1254)) - Fix analyzer [RCS1055](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1055) ([PR](https://togithub.com/dotnet/roslynator/pull/1253)) - Fix analyzer [RCS1196](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1196) ([PR](https://togithub.com/dotnet/roslynator/pull/1235)) - Fix analyzer [RCS1257](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1257) ([PR](https://togithub.com/dotnet/roslynator/pull/1264)) - Fix analyzer [RCS1259](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1259) ([PR](https://togithub.com/dotnet/roslynator/pull/1268)) - \[CLI] Fix reading of non-existent redirected input on git bash ([PR](https://togithub.com/dotnet/roslynator/pull/1265), [PR](https://togithub.com/dotnet/roslynator/pull/1274), [PR](https://togithub.com/dotnet/roslynator/pull/1275)) - \[CLI] Fix exit code for `roslynator --version` ([PR](https://togithub.com/dotnet/roslynator/pull/1273)) ### [`v4.6.2`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#462---2023-11-10) ##### Added - \[CLI] Add note to docs that Roslynator CLI does not contain any analyzers itself ([PR](https://togithub.com/dotnet/roslynator/pull/1241)) ##### Fixed - Fix [RCS1234](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1234) ([PR](https://togithub.com/dotnet/roslynator/pull/1233)) - Fix refactoring [Inline method](https://josefpihrt.github.io/docs/roslynator/refactorings/RR0062) ([PR](https://togithub.com/dotnet/roslynator/pull/1234)) - \[CLI] Fix globbing ([PR](https://togithub.com/dotnet/roslynator/pull/1238)) - \[CLI] Remove assembly resolving ([PR](https://togithub.com/dotnet/roslynator/pull/1237)) - Detect false positive from Unity code ([RCS1169](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1169)) ([PR](https://togithub.com/dotnet/roslynator/pull/1245)) - Introduce config option `roslynator_unity_code_analysis.enabled = true|false` - Make option `roslynator_suppress_unity_script_methods` obsolete ### [`v4.6.1`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#461---2023-10-23) ##### Fixed - Fix [RCS1197](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1197) ([PR](https://togithub.com/dotnet/roslynator/pull/1226)). ### [`v4.6.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#460---2023-10-18) ##### Added - Add social card ([PR](https://togithub.com/dotnet/roslynator/pull/1212)). - Add nullable annotation to public API ([PR](https://togithub.com/dotnet/roslynator/pull/1198)). - Add refactoring "Remove directive (including content)" ([PR](https://togithub.com/dotnet/roslynator/pull/1224)). ##### Changed - Update logo ([PR](https://togithub.com/dotnet/roslynator/pull/1208), [PR](https://togithub.com/dotnet/roslynator/pull/1210)). - Migrate to .NET Foundation ([PR](https://togithub.com/dotnet/roslynator/pull/1206), [PR](https://togithub.com/dotnet/roslynator/pull/1207), [PR](https://togithub.com/dotnet/roslynator/pull/1219)). - Bump Roslyn to 4.7.0 ([PR](https://togithub.com/dotnet/roslynator/pull/1218)). - Applies to CLI and testing library. - Bump Microsoft.Build.Locator to 1.6.1 ([PR](https://togithub.com/dotnet/roslynator/pull/1194)) - Improve testing framework ([PR](https://togithub.com/dotnet/roslynator/pull/1214)) - Add methods to `DiagnosticVerifier`, `RefactoringVerifier` and `CompilerDiagnosticFixVerifier`. - Add property `DiagnosticVerifier.Descriptor` (BREAKING CHANGE). - Add property `CompilerDiagnosticFixVerifier.DiagnosticId` (BREAKING CHANGE). - Make property `DiagnosticTestData.Descriptor` obsolete. - Make property `CompilerDiagnosticFixTestData.DiagnosticId` obsolete. ##### Fixed - Fix [RCS1164](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1164) ([PR](https://togithub.com/dotnet/roslynator/pull/1196)). - Fix [RCS1241](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1241) ([PR](https://togithub.com/dotnet/roslynator/pull/1197)). - Fix [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) ([PR](https://togithub.com/dotnet/roslynator/pull/1205)). - \[CLI] Fix globbing ([PR](https://togithub.com/dotnet/roslynator/pull/1215)). - \[CLI] Fix generation of root file ([PR](https://togithub.com/dotnet/roslynator/pull/1221)).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.