Skip to content

Conversation

@magicxor
Copy link
Owner

Updates the target framework for all projects to .NET 10.0.
Also updates package versions, including analyzers and dependencies, to their latest versions.
Enables central package transitive pinning.

Updates analyzer and package dependencies to the latest versions.

This change ensures the project benefits from the newest features, bug fixes, and performance improvements offered by these dependencies.
Enables central package transitive pinning and floating versions to allow more control over dependency versions.

Adds specific version constraints for Azure.Identity, Microsoft.IdentityModel.JsonWebTokens, System.IdentityModel.Tokens.Jwt, System.Drawing.Common, and System.Formats.Asn1 to address potential vulnerabilities or compatibility issues.
Updates the target framework for all projects to .net10.0.

Adds `Microsoft.Extensions.Options.DataAnnotations` package for validation.

Disables some code analysis warnings in `.editorconfig`.

Updates package versions in `Directory.Packages.props`.
@magicxor magicxor self-assigned this Nov 14, 2025
Copilot AI review requested due to automatic review settings November 14, 2025 07:07
@magicxor magicxor added the enhancement New feature or request label Nov 14, 2025
Updates the .NET SDK version used in the testing workflow from 9.0 to 10.0.

This ensures that the tests are run against the latest .NET SDK version, providing better compatibility and identifying potential issues early on.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the entire solution from .NET 9.0 to .NET 10.0, updates all package dependencies to their latest versions (including several pre-release versions), and enables central package transitive pinning to improve build reproducibility.

Key Changes

  • Upgrades all projects from net9.0 to net10.0 target framework
  • Updates analyzer packages (Roslynator, SonarAnalyzer, Meziantou.Analyzer, etc.) and core dependencies (Entity Framework Core, Microsoft.Extensions packages) to latest versions
  • Enables central package transitive pinning and adds wildcard version constraints for transitive dependencies to address known vulnerabilities

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Directory.Packages.props Updates all package versions to .NET 10 compatible versions, enables transitive pinning with floating versions, adds transitive package constraints for vulnerability fixes
Directory.Build.props Updates AnalysisLevel to 10-all, adds NU1903 warning suppression for known vulnerabilities
DiplomaticMailBot.Cli/DiplomaticMailBot.Cli.csproj Updates target framework to net10.0, adds Microsoft.Extensions.Options.DataAnnotations package reference
DiplomaticMailBot.Infra.Telegram.Implementations/DiplomaticMailBot.Infra.Telegram.Implementations.csproj Updates target framework to net10.0, adds Microsoft.Extensions.Logging.Abstractions package reference
All other .csproj files Updates target framework from net9.0 to net10.0
.editorconfig Adds suppressions for CA1873 (logging performance) and MA0015 (parameter matching) diagnostics

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@magicxor magicxor merged commit 82e8d4c into master Nov 14, 2025
2 checks passed
@magicxor magicxor deleted the feature/dotnet-sdk-10 branch November 14, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants