Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 9, 2025

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:

  • MongoDB.Driver: Updated from 2.11.6 to 2.28.0 - resolves multiple high and moderate severity vulnerabilities
  • Azure.Storage.Blobs: Updated from 12.8.0 to 12.19.1 - resolves moderate severity vulnerability
  • Microsoft.AspNetCore.Authentication.JwtBearer: Updated from 5.0.2 to 5.0.17 - resolves moderate severity vulnerability
  • System.Data.SqlClient: Updated from 4.8.2 to 4.8.6 - partial improvement (latest available for .NET 5.0)

Package Updates

Major Updates

  • Dapper: 2.0.782.1.35 (latest stable, no breaking changes)
  • Microsoft.ML.OnnxRuntime: 1.6.01.19.2 (significant update with .NET 5.0 compatibility)
  • Microsoft.ApplicationInsights.AspNetCore: 2.16.02.22.0

Microsoft ASP.NET Core 5.x Updates

  • Microsoft.AspNetCore.HeaderPropagation: 5.0.25.0.17
  • Microsoft.AspNetCore.SpaServices.Extensions: 5.0.25.0.17

Packages Maintained at Current Versions

  • SixLabors.ImageSharp: Kept at 1.0.0-beta0006 (newer versions introduce breaking API changes)
  • CsvHelper: Kept at 12.1.2 (newer versions have incompatible constructor changes)
  • Microsoft.Azure.CognitiveServices.Personalizer: Kept at 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:

  • SixLabors.ImageSharp versions 1.0+ introduce namespace changes and API modifications
  • CsvHelper versions 15+ have breaking constructor and API changes
  • All Microsoft packages maintain compatibility within the 5.x version range

Build Status

Build successful - All updates maintain compatibility with existing code
No breaking changes - Solution builds without modification
⚠️ Some vulnerabilities remain - SixLabors.ImageSharp vulnerabilities persist due to compatibility constraints

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.

Copy link
Contributor Author

Copilot AI commented Sep 9, 2025

@wulfland 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI and others added 2 commits September 9, 2025 13:30
Co-authored-by: wulfland <5276337+wulfland@users.noreply.github.com>
…t security improvements

Co-authored-by: wulfland <5276337+wulfland@users.noreply.github.com>
Copilot AI changed the title [WIP] Update the dependencies Update .NET dependencies to address security vulnerabilities while maintaining compatibility Sep 9, 2025
Copilot AI requested a review from wulfland September 9, 2025 13:44
@wulfland wulfland marked this pull request as ready for review October 17, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the dependencies

2 participants