Skip to content

chore: bump NuGet dependencies#1746

Open
waldekmastykarz wants to merge 2 commits into
mainfrom
waldekmastykarz-merge-dependabot-prs-july
Open

chore: bump NuGet dependencies#1746
waldekmastykarz wants to merge 2 commits into
mainfrom
waldekmastykarz-merge-dependabot-prs-july

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

Bumps NuGet dependencies:

  • YamlDotNet from 18.0.0 to 18.1.0
  • Microsoft.VisualStudio.Threading from 17.14.15 to 18.7.23

The Microsoft.VisualStudio.Threading 18.x update introduced a stricter VSTHRD103 analyzer rule that flagged CertificateDiskCache.LoadCertificate for synchronous blocking. Fixed by converting it to an async method using File.ReadAllBytesAsync.

This PR consolidates what were previously separate dependabot PRs (#1737, #1745) that couldn't be merged due to branch protection rules requiring approval from someone other than the last pusher.

- YamlDotNet from 18.0.0 to 18.1.0
- Microsoft.VisualStudio.Threading from 17.14.15 to 18.7.23

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@waldekmastykarz waldekmastykarz requested a review from a team as a code owner July 6, 2026 06:56
Copilot AI review requested due to automatic review settings July 6, 2026 06:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates NuGet dependencies across Dev Proxy (notably Microsoft.VisualStudio.Threading and YamlDotNet) and adjusts certificate disk-cache loading to avoid synchronous file I/O flagged by newer VS Threading analyzers.

Changes:

  • Bump Microsoft.VisualStudio.Threading to 18.7.23 and update the corresponding lock file entries.
  • Bump YamlDotNet to 18.1.0 across the solution and lock files.
  • Make certificate loading from disk truly async by switching to File.ReadAllBytesAsync(...).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DevProxy/Proxy/CertificateDiskCache.cs Converts certificate file loading to async I/O to satisfy stricter threading analyzers.
DevProxy/packages.lock.json Updates locked dependency graph for DevProxy (Threading + YamlDotNet and transitives).
DevProxy/DevProxy.csproj Bumps direct reference to Microsoft.VisualStudio.Threading to 18.7.23.
DevProxy.Plugins/packages.lock.json Updates locked dependency graph to align with YamlDotNet 18.1.0.
DevProxy.Abstractions/packages.lock.json Updates locked dependency graph for YamlDotNet 18.1.0.
DevProxy.Abstractions/DevProxy.Abstractions.csproj Bumps direct reference to YamlDotNet to 18.1.0.

Comment thread DevProxy/Proxy/CertificateDiskCache.cs Outdated
Comment thread DevProxy/Proxy/CertificateDiskCache.cs Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

3 participants