Skip to content

Bump the tests group with 6 updates - #370

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/src/DNTCommon.Web.Core.Tests/tests-86c99a29ef
Closed

Bump the tests group with 6 updates#370
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/src/DNTCommon.Web.Core.Tests/tests-86c99a29ef

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Updated CancelCop.Analyzer from 1.38.0 to 1.46.0.

Release notes

Sourced from CancelCop.Analyzer's releases.

1.46.0

Added

CC043 (BlockingDnsAnalyzer) flags blocking Dns.GetHostAddresses in async code.

GetHostAddresses parks a pool thread on a DNS query. GetHostAddressesAsync yields; on modern .NET it takes a CancellationToken. .NET Framework has the tokenless form. CC002 cannot see this method (no token overload). CC036–CC042 are Socket/Tcp/Udp/HttpListener/named-pipe; DNS produced zero diagnostics from every shipped rule.

1151 tests passing. 43 diagnostics. NuGet publishing is handled by the release workflow.

1.45.0

Added

CC042 (BlockingNamedPipeClientAnalyzer) flags blocking NamedPipeClientStream.Connect in async code.

Connect parks a pool thread until the server accepts (or a timeout elapses). ConnectAsync yields; on modern .NET it takes a CancellationToken. The rule stays quiet where ConnectAsync is absent. CC041 is the server accept wait; the client produced zero diagnostics from every shipped rule.

1144 tests passing. 42 diagnostics. NuGet publishing is handled by the release workflow.

1.44.0

Added

CC041 (BlockingNamedPipeAnalyzer) flags blocking NamedPipeServerStream.WaitForConnection in async code.

WaitForConnection parks a pool thread until a client connects. WaitForConnectionAsync yields; on modern .NET it takes a CancellationToken. CC028 maps File/Stream Read/Write/CopyTo/Flush only; CC036–CC040 are Socket/TcpClient/TcpListener/UdpClient/HttpListener; the named-pipe server produced zero diagnostics from every shipped rule.

1136 tests passing. 41 diagnostics. NuGet publishing is handled by the release workflow.

1.43.0

Added

CC040 (BlockingHttpListenerAnalyzer) flags blocking HttpListener.GetContext in async code.

GetContext parks a pool thread until a request arrives. GetContextAsync yields (it does not take a token). CC036–CC039 are Socket/TcpClient/TcpListener/UdpClient; the HTTP listener produced zero diagnostics from every shipped rule.

1130 tests passing. 40 diagnostics. NuGet publishing is handled by the release workflow.

1.42.0

Added

CC039 (BlockingUdpClientAnalyzer) flags blocking UdpClient.Receive in async code.

Receive parks a pool thread until a datagram arrives. ReceiveAsync yields and accepts a token on modern .NET. CC036 is Socket-only, CC037 is TcpClient.Connect, and CC038 is TcpListener accept; the UDP wrapper produced zero diagnostics from every shipped rule.

if (client.Available > 0), while (Available > 0), the inverted poll (if (Available == 0) continue; then receive), and client.Client.Blocking = false stay quiet.

1124 tests passing. 39 diagnostics. NuGet publishing is handled by the release workflow.

1.41.1

Changed

CC038 now reports AcceptTcpClient / AcceptSocket when the Pending() guard is negated.

if (!listener.Pending()) AcceptTcpClient() is the blocking path (no client is queued). if (Pending() == false) is the same. A positive probe stays quiet: if (Pending()), while (Pending()), while (flag && Pending()), Pending() is true, if (!Pending()) { } else Accept, and the inverted poll (if (!Pending()) continue/return; then accept).

1103 tests passing. 38 diagnostics. NuGet publishing is handled by the release workflow.

1.41.0

Added

CC038 (BlockingTcpListenerAnalyzer) flags blocking TcpListener.AcceptTcpClient and AcceptSocket in async code.

Both park a pool thread until a client connects. Accept*Async yields and accepts a token on modern .NET. CC036 is Socket-only and CC037 is TcpClient.Connect; the listener path produced zero diagnostics from every shipped rule.

if (listener.Pending()) and listener.Server.Blocking = false stay quiet. Reassignment / ref/out invalidate the exemption.

1091 tests passing. 38 diagnostics. NuGet publishing is handled by the release workflow.

1.40.0

Added

CC037 (BlockingTcpClientAnalyzer) flags blocking TcpClient.Connect in async code.

Connect parks a pool thread until the handshake finishes or TCP times out. ConnectAsync yields and accepts a token on modern .NET. CC036 already covers Socket.Connect; application code almost always uses the TcpClient wrapper, which none of the 36 shipped rules reported.

Hostname Connect still reports after Client.Blocking = false (synchronous DNS). The non-blocking exemption applies only to IP/endpoint overloads on a simple local, parameter, or field.

1076 tests passing. 37 diagnostics. NuGet publishing is handled by the release workflow.

1.39.4

Changed

CC031 now flags ReaderWriterLock.UpgradeToWriterLock in async code.

The v1.39.3 slice covered Acquire*Lock but left the upgrade path silent. UpgradeToWriterLock parks on contention, including the zero-timeout form: a failed upgrade restores the read lock with Timeout.Infinite. Acquire*Lock(0) remains a try-acquire.

1051 tests passing. 36 diagnostics. NuGet publishing is handled by the release workflow.

1.39.3

Changed

CC031 now flags ReaderWriterLock.AcquireReaderLock / AcquireWriterLock in async code.

The pre-Slim lock is not a WaitHandle and has no …Async counterpart, so the previous type map never saw it. Acquire*Lock(Timeout.Infinite) is an unbounded wait. A zero timeout is a non-blocking try-acquire and stays quiet.

// ❌ CC031
public async Task ReadAsync(ReaderWriterLock gate)
{
    gate.AcquireReaderLock(Timeout.Infinite);
    try { await Task.Yield(); }
    finally { gate.ReleaseReaderLock(); }
}

1049 tests passing. 36 diagnostics. NuGet publishing is handled by the release workflow.

1.39.2

Changed

CC031 now flags Barrier.SignalAndWait in async code.

Barrier is not a WaitHandle and has no …Async counterpart, so the previous type map never saw it. SignalAndWait parks every participant until the last one arrives. Zero-timeout overloads still report: the last arriver runs the post-phase action synchronously before returning.

// ❌ CC031
public async Task RendezvousAsync(Barrier barrier)
{
    barrier.SignalAndWait();
    await Task.Yield();
}

1044 tests passing. 36 diagnostics. NuGet publishing is handled by the release workflow.

1.39.1

Changed

CC031 now flags ReaderWriterLockSlim.Enter*Lock and TryEnter*Lock in async code.

Those members park a thread-pool thread and have no …Async counterpart, but they are not WaitHandle methods, so the previous type map never saw them. TryEnterWriteLock(Timeout.Infinite) is an unbounded enter. Zero-timeout TryEnter probes, look-alikes, and synchronous methods stay quiet.

// ❌ CC031 — parks a pooled thread until every writer exits
public async Task ReadAsync(ReaderWriterLockSlim gate)
{
    gate.EnterReadLock();
    try { await Task.Yield(); }
    finally { gate.ExitReadLock(); }
}

// ❌ CC031 — Timeout.Infinite is EnterWriteLock by another name
if (gate.TryEnterWriteLock(Timeout.Infinite)) { ... }

// ✅ zero-timeout probe stays quiet
_ = gate.TryEnterReadLock(0);

1038 tests passing. 36 diagnostics. NuGet publishing is handled by the release workflow.

1.39.0

Framework cancellation tokens are now in-scope

HttpContext.RequestAborted and ServerCallContext.CancellationToken participate in the shared token walk that powers CC002/CC003/CC004 and sibling rules (CC009, CC010, CC012, CC013, CC026, CC028, CC029, CC030, CC034). A CancellationToken parameter still wins when both exist.

// ❌ CC004 — RequestAborted is in scope but not passed
public async Task InvokeAsync(HttpContext context)
{
    return await _http.GetStringAsync(url);
}

// ✅
public async Task InvokeAsync(HttpContext context)
{
    return await _http.GetStringAsync(url, context.RequestAborted);
}

CC001 skips convention middleware Invoke / InvokeAsync(HttpContext). Adding a token parameter is not injected by the pipeline and can throw at runtime. Use RequestAborted instead. Closes the remaining half of #​1.

Code fixes emit member-access expressions (context.RequestAborted), not dotted identifiers. CC028's speculative bind uses the same expression so blocking file I/O in middleware is no longer silent.

1030 tests passing. Focused Stryker.NET on the walk at 96% mutation score. 36 diagnostics.

Commits viewable in compare view.

Updated iTextSharp.LGPLv2.Core from 3.8.4 to 3.8.5.

Release notes

Sourced from iTextSharp.LGPLv2.Core's releases.

No release notes found for this version range.

Commits viewable in compare view.

Updated Microsoft.Extensions.Http.Polly from 9.0.0 to 9.0.19.

Release notes

Sourced from Microsoft.Extensions.Http.Polly's releases.

9.0.19

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.18...v9.0.19

9.0.18

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.17...v9.0.18

9.0.17

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.16...v9.0.17

9.0.16

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.15...v9.0.16

9.0.15

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.14...v9.0.15

9.0.14

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.13...v9.0.14

9.0.13

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.12...v9.0.13)

9.0.12

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.11...v9.0.12

9.0.11

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.10...v9.0.11

9.0.10

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.9...v9.0.10

9.0.9

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.8...v9.0.9

9.0.7

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.6...v9.0.7

9.0.6

Bug Fixes

  • Forwarded Headers Middleware: Ignore X-Forwarded-Headers from Unknown Proxy (#​61622)
    The Forwarded Headers Middleware now ignores X-Forwarded-Headers sent from unknown proxies. This change improves security by ensuring that only trusted proxies can influence forwarded header values, preventing potential spoofing or misrouting issues.

Dependency Updates

  • Bump src/submodules/googletest from 52204f7 to 04ee1b4 (#​61762)
    Updates the GoogleTest submodule to a newer commit, bringing in the latest improvements and bug fixes from the upstream project.
  • Update dependencies from dotnet/arcade (#​61714)
    Updates internal build and infrastructure dependencies from the dotnet/arcade repository, ensuring compatibility and access to the latest build tools.
  • Update dependencies from dotnet/extensions (#​61571)
    Refreshes dependencies from the dotnet/extensions repository, incorporating the latest features and fixes from the extensions libraries.
  • Update dependencies from dotnet/extensions (#​61877)
    Further updates dependencies from dotnet/extensions, ensuring the project benefits from recent improvements and bug fixes.
  • Update dependencies from dotnet/arcade (#​61892)
    Additional updates to build and infrastructure dependencies from dotnet/arcade, maintaining up-to-date tooling and build processes.

Miscellaneous

  • Update branding to 9.0.6 (#​61831)
    Updates the project version and branding to 9.0.6, reflecting the new release and ensuring version consistency across the codebase.
  • Merging internal commits for release/9.0 (#​61925)
    Incorporates various internal commits into the release/9.0 branch, ensuring that all relevant changes are included in this release.

This summary is generated and may contain inaccuracies. For complete details, please review the linked pull requests.

Full Changelog: v9.0.5...v9.0.6

9.0.5

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.4...v9.0.5

9.0.4

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.3...v9.0.4

9.0.3

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.2...v9.0.3

9.0.2

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.1...v9.0.2

9.0.1

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.0...v9.0.1

Commits viewable in compare view.

Updated Microsoft.NET.Test.Sdk from 18.8.1 to 18.9.0.

Release notes

Sourced from Microsoft.NET.Test.Sdk's releases.

18.9.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v18.8.0...v18.9.0

Commits viewable in compare view.

Updated Roslynator.Analyzers from 4.16.0 to 4.16.1.

Release notes

Sourced from Roslynator.Analyzers's releases.

4.16.1

Fixed

  • Fix analyzer RCS1060 to not report a file that contains only multiple partial declarations of the same type (PR)
  • Fix analyzer RCS1231 to not suggest in for ref struct parameters (#​1725) (PR)
  • Fix analyzer RCS1260 false positive for omit_when_single_line on multi-line object/collection initializers (#​1439) (PR)
  • Fix analyzer RCS0036 to report blank lines between single-line declarations in records (PR)
  • Fix analyzer RCS1046 to report async void methods without Async suffix (PR)
  • Fix analyzer RCS1265 to not report catch clauses with a when filter (PR)
  • Fix analyzer RCS0034 for types with a primary constructor and multiple constraint clauses (PR)
  • Fix analyzer RCS1231 to not report CancellationToken in sync methods returning Task (PR)
  • [CLI] Fix GitLab output format to use relative paths, forward slashes, and 1-based line numbers (PR)
  • [CLI] Fix generate-doc to omit internal interfaces from type declarations and the Implements section (PR)

Commits viewable in compare view.

Updated System.ServiceModel.Syndication from 9.0.0 to 9.0.19.

Release notes

Sourced from System.ServiceModel.Syndication's releases.

9.0.19

Release

What's Changed

Full Changelog: dotnet/runtime@v9.0.18...v9.0.19

9.0.18

Release

What's Changed

Full Changelog: dotnet/runtime@v9.0.17...v9.0.18

9.0.17

Release

What's Changed

Full Changelog: dotnet/runtime@v9.0.16...v9.0.17

9.0.16

Release

9.0.15

Release

9.0.14

Release

9.0.13

Release

What's Changed

Full Changelog: dotnet/runtime@v9.0.12...v9.0.13

9.0.12

Release

9.0.11

Release

What's Changed

Full Changelog: dotnet/runtime@v9.0.10...v9.0.11

9.0.10

Release

What's Changed

Description has been truncated

Bumps CancelCop.Analyzer from 1.38.0 to 1.46.0
Bumps iTextSharp.LGPLv2.Core from 3.8.4 to 3.8.5
Bumps Microsoft.Extensions.Http.Polly from 9.0.0 to 9.0.19
Bumps Microsoft.NET.Test.Sdk from 18.8.1 to 18.9.0
Bumps Roslynator.Analyzers from 4.16.0 to 4.16.1
Bumps System.ServiceModel.Syndication from 9.0.0 to 9.0.19

---
updated-dependencies:
- dependency-name: CancelCop.Analyzer
  dependency-version: 1.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tests
- dependency-name: iTextSharp.LGPLv2.Core
  dependency-version: 3.8.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tests
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-version: 9.0.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tests
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tests
- dependency-name: Roslynator.Analyzers
  dependency-version: 4.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tests
- dependency-name: System.ServiceModel.Syndication
  dependency-version: 9.0.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tests
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Aug 18, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .net code labels Aug 18, 2026
@dependabot
dependabot Bot deployed to release August 18, 2026 19:37 Active
@what-the-diff

what-the-diff Bot commented Aug 18, 2026

Copy link
Copy Markdown

PR Summary

  • Updated Microsoft.NET.Test.Sdk Package in Test Project
    The version of the Microsoft.NET.Test.Sdk package in the test project has been updated from 18.8.1 to 18.9.0. This might enhance testing capabilities with bug fixes and potential new features of the updated version.

  • Updated Roslynator.Analyzers Package in Main Project
    The main project now has the version 4.16.1 of the Roslynator.Analyzers package, previous version was 4.16.0. This could help improve code quality by offering newer or better static code analysis.

  • Updated CancelCop.Analyzer Package in Main Project
    We have upgraded the version of the CancelCop.Analyzer package in the main project from 1.38.0 to 1.46.0. This may improve performance and accuracy of our cancelable operation analyses.

  • Update to iTextSharp.LGPLv2.Core Package in Main Project
    The iTextSharp.LGPLv2.Core package in the main project is now the slightly new version, moving from 3.8.4 to 3.8.5. As a result, any functionality reliant on this package might perform better or more reliably.

  • Updates to System.ServiceModel.Syndication and Microsoft.Extensions.Http.Polly Packages for net8.0 and net9.0
    We upgraded the versions of the System.ServiceModel.Syndication and Microsoft.Extensions.Http.Polly packages for both the net8.0 and net9.0 target frameworks. These updates from version 8.0.0 to 9.0.19 and from version 9.0.0 to 9.0.19 respectively could provide improved syndication service models and more resilient Http service, enhancing the overall stability and reliability of the project.

@dependabot @github

dependabot Bot commented on behalf of github Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #373.

@dependabot @github

dependabot Bot commented on behalf of github Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 19, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/src/DNTCommon.Web.Core.Tests/tests-86c99a29ef branch August 19, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants