Update .NET dependencies to address security vulnerabilities while maintaining compatibility #1011
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 updates various NuGet package dependencies to their latest compatible versions while maintaining .NET 5.0 compatibility and ensuring the solution continues to build without breaking changes.
Security Improvements
The following critical security vulnerabilities have been resolved:
2.11.6to2.28.0- resolves multiple high and moderate severity vulnerabilities12.8.0to12.19.1- resolves moderate severity vulnerability5.0.2to5.0.17- resolves moderate severity vulnerability4.8.2to4.8.6- partial improvement (latest available for .NET 5.0)Package Updates
Major Updates
2.0.78→2.1.35(latest stable, no breaking changes)1.6.0→1.19.2(significant update with .NET 5.0 compatibility)2.16.0→2.22.0Microsoft ASP.NET Core 5.x Updates
5.0.2→5.0.175.0.2→5.0.17Packages Maintained at Current Versions
1.0.0-beta0006(newer versions introduce breaking API changes)12.1.2(newer versions have incompatible constructor changes)1.0.0(latest available)Compatibility Notes
The solution has been tested and builds successfully with all updates. Some packages were intentionally kept at their current versions to avoid breaking changes that would require significant code modifications:
Build Status
✅ Build successful - All updates maintain compatibility with existing code
⚠️ Some vulnerabilities remain - SixLabors.ImageSharp vulnerabilities persist due to compatibility constraints
✅ No breaking changes - Solution builds without modification
Fixes #1010.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.