Update dependencies for .NET 8 and analyzers group - #38
Merged
Conversation
Bumps Meziantou.Analyzer from 3.0.114 to 3.0.117 Bumps SharpSource from 1.33.1 to 1.33.2 Bumps SonarAnalyzer.CSharp from 10.27.0.140913 to 10.28.0.143324 --- updated-dependencies: - dependency-name: Meziantou.Analyzer dependency-version: 3.0.117 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: analyzers - dependency-name: SharpSource dependency-version: 1.33.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-version: 10.28.0.143324 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers ... Signed-off-by: dependabot[bot] <support@github.com>
--- updated-dependencies: - dependency-name: System.IO.Pipelines dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…FixedWidthParser/develop/System.IO.Pipelines-10.0.9 Bump System.IO.Pipelines from 8.0.0 to 10.0.9
…lop/analyzers-d35d93e39d Bump the analyzers group with 3 updates
Bumps Meziantou.Analyzer from 3.0.117 to 3.0.122 Bumps Microsoft.CodeAnalysis.Analyzers from 5.3.0 to 5.6.0 Bumps Microsoft.CodeAnalysis.BannedApiAnalyzers from 5.0.0-1.25277.114 to 5.6.0 Bumps Microsoft.CodeAnalysis.CSharp from 5.3.0 to 5.6.0 Bumps Roslyn.Diagnostics.Analyzers from 5.0.0-1.25277.114 to 5.6.0 Bumps SharpSource from 1.33.2 to 1.33.3 --- updated-dependencies: - dependency-name: Meziantou.Analyzer dependency-version: 3.0.122 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: analyzers - dependency-name: Microsoft.CodeAnalysis.Analyzers dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers - dependency-name: Microsoft.CodeAnalysis.BannedApiAnalyzers dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers - dependency-name: Roslyn.Diagnostics.Analyzers dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers - dependency-name: SharpSource dependency-version: 1.33.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: analyzers ... Signed-off-by: dependabot[bot] <support@github.com>
--- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…lop/analyzers-91781e5e57 Bump the analyzers group with 6 updates
…FixedWidthParser.Generator/develop/multi-fc18b8fd9f Bump Microsoft.CodeAnalysis.CSharp from 5.3.0 to 5.6.0
--- updated-dependencies: - dependency-name: Microsoft.Testing.Extensions.CodeCoverage dependency-version: 18.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.Testing.Extensions.CodeCoverage dependency-version: 18.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
--- updated-dependencies: - dependency-name: Microsoft.Testing.Extensions.TrxReport dependency-version: 2.3.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…s/FixedWidthParser.Generator.Tests/develop/Microsoft.Testing.Extensions.TrxReport-2.3.2 Bump Microsoft.Testing.Extensions.TrxReport from 2.2.3 to 2.3.2
…enerator.Tests/develop/multi-0ff5bb3112
…s/FixedWidthParser.Generator.Tests/develop/multi-0ff5bb3112 Bump Microsoft.Testing.Extensions.CodeCoverage from 18.8.0 to 18.9.0
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #38 +/- ##
=======================================
Coverage 97.43% 97.43%
=======================================
Files 43 43
Lines 1323 1323
Branches 199 199
=======================================
Hits 1289 1289
Misses 9 9
Partials 25 25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Benchmark ResultsMeasured on Benchmarks.Perf.AsyncReaderBenchmarks
Benchmarks.Perf.ByteReaderBenchmarks
Benchmarks.Perf.ByteReaderPoolingBenchmarks
Benchmarks.Perf.ByteReaderStreamBenchmarks
Benchmarks.Perf.ComparisonBenchmarks
Benchmarks.Perf.ComparisonWriterBenchmarks
Benchmarks.Perf.ParserBenchmarks
Benchmarks.Perf.PipeReaderBenchmarks
Benchmarks.Perf.ReaderBenchmarks
Benchmarks.Perf.ReaderStartupBenchmarks
Benchmarks.Perf.SourceGenParserBenchmarks
Benchmarks.Perf.WriterBenchmarks
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 pull request introduces .NET 8.0 multi-targeting, updates analyzer and dependency versions, and adds preliminary support for
ref structmodels in .NET 9.0 and above. The changes are divided into three main themes: platform support, analyzer/dependency updates, and code changes forref structsupport.Platform and Targeting Enhancements:
.csproj) to multi-target both .NET 8.0 and .NET 10.0 for the main library and test projects, improving compatibility and test coverage. [1] [2]System.IO.Pipelinesdependency for the .NET 8.0 target to ensure feature parity.netstandard2.1(wasnetstandard2.0), and updatedMicrosoft.CodeAnalysis.CSharpto 5.6.0. [1] [2]Analyzer and Dependency Updates:
Directory.Build.propsto latest stable releases, includingSonarAnalyzer.CSharp,Meziantou.Analyzer,Microsoft.CodeAnalysis.BannedApiAnalyzers,Roslyn.Diagnostics.Analyzers,Microsoft.CodeAnalysis.Analyzers, andSharpSource. [1] [2]Microsoft.CodeAnalysis.CSharpto 5.6.0 andMicrosoft.Testing.Extensions.CodeCoverageto 18.9.0.Ref struct Model Support (for .NET 9.0+):
where TModel : allows ref structconstraints and preprocessor directives throughout the codebase to allowref structmodels when targeting .NET 9.0 or greater. This affects delegates, interfaces, parser classes, and factory methods. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]#if NET9_0_OR_GREATER) to verify parsing ofref structmodels. [1] [2]These changes modernize the codebase, improve analyzer coverage, and prepare the library for advanced .NET features, especially around
ref structsupport in .NET 9.0 and above.