You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable nullable annotations on Roslynator.Common and Roslynator.Workspaces.Common (#1817)
Source-breaking for projects that compile against this surface with nullable reference types enabled.
[Testing Framework] Lower Roslyn dependency of testing packages to 3.8.0 so that the Roslyn version is determined by the consumer's own Microsoft.CodeAnalysis.* reference instead of being forced to a fixed version (PR)
Roslynator.Testing.Common, Roslynator.Testing.CSharp, Roslynator.Testing.CSharp.Xunit and Roslynator.Testing.CSharp.MSTest now depend on Microsoft.CodeAnalysis.*>= 3.8.0 (previously >= 4.14.0).
Roslynator.Testing.Common no longer depends on Roslynator.Core.
Action required: a test project that previously relied on the testing framework to pull in Roslyn 4.14.0 should now add its own reference, e.g. <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />. The chosen version raises the maximum C# language version the parser can accept; test sources still parse at CSharpParseOptions.Default unless you set parse options / LanguageVersion (for example LanguageVersion.Latest).
Action required: a test project that used Roslynator.Core types via the old transitive dependency must now add an explicit Roslynator.Core package reference.
Remove SyntaxInverter (Roslynator.CSharp.Workspaces). Use SyntaxLogicalInverter.
Remove unused obsolete DiagnosticCategories constants and make the type internal.
Remove unused ROS0001/ROS0002 diagnostic IDs.
Remove obsolete constructors/properties from the testing package (DiagnosticTestData, CompilerDiagnosticFixTestData, RefactoringTestData).
Remove legacy config keys roslynator.max_line_length, roslynator.prefix_field_identifier_with_underscore, and roslynator_suppress_unity_script_methods. Use roslynator_max_line_length, roslynator_prefix_field_identifier_with_underscore, and roslynator_unity_code_analysis.enabled.
[CLI] Remove obsolete command generate-doc-root. Use generate-doc --root-file-path instead.
Remove bundled analyzers from Visual Studio extension (PR)
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.15.0→5.0.04.15.0→5.0.04.15.0→5.0.04.15.0→5.0.04.15.0→5.0.0Release Notes
dotnet/roslynator (Roslynator.Analyzers)
v5.0.0Added
roslyn5.0NuGet package flavor (analyzers/dotnet/roslyn5.0/cs) (PR)Breaking
Roslynator.CommonandRoslynator.Workspaces.Common(#1817)Microsoft.CodeAnalysis.*reference instead of being forced to a fixed version (PR)Roslynator.Testing.Common,Roslynator.Testing.CSharp,Roslynator.Testing.CSharp.XunitandRoslynator.Testing.CSharp.MSTestnow depend onMicrosoft.CodeAnalysis.*>= 3.8.0(previously>= 4.14.0).Roslynator.Testing.Commonno longer depends onRoslynator.Core.<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />. The chosen version raises the maximum C# language version the parser can accept; test sources still parse atCSharpParseOptions.Defaultunless you set parse options /LanguageVersion(for exampleLanguageVersion.Latest).Roslynator.Coretypes via the old transitive dependency must now add an explicitRoslynator.Corepackage reference.Changed
[18.0,19.0)) (PR)dotnet.server.useOmnisharptotrue)Removed
SyntaxInverter(Roslynator.CSharp.Workspaces). UseSyntaxLogicalInverter.DiagnosticCategoriesconstants and make the typeinternal.ROS0001/ROS0002diagnostic IDs.DiagnosticTestData,CompilerDiagnosticFixTestData,RefactoringTestData).roslynator.max_line_length,roslynator.prefix_field_identifier_with_underscore, androslynator_suppress_unity_script_methods. Useroslynator_max_line_length,roslynator_prefix_field_identifier_with_underscore, androslynator_unity_code_analysis.enabled.generate-doc-root. Usegenerate-doc --root-file-pathinstead.AnalyzersOptionsPagefrom Visual Studio extension (PR)Fixed
v4.16.1Fixed
inforref structparameters (#1725) (PR)omit_when_single_lineon multi-line object/collection initializers (#1439) (PR)async voidmethods withoutAsyncsuffix (PR)whenfilter (PR)CancellationTokenin sync methods returningTask(PR)generate-docto omit internal interfaces from type declarations and the Implements section (PR)v4.16.0Added
Fixed
asyncTask<>/ValueTask<>andIAsyncEnumerable<>return types (PR by @John-Leitch)filemodifier (PR by @cbersch)fixcommand ignoring--include/--excludefile filter (PR by @hashiiiii)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.