-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrades target framework to .NET 10 and updates packages #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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`.
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.
There was a problem hiding this 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.0tonet10.0target 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.
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.