Skip to content

Bump NSubstitute from 5.3.0 to 6.2.0 - #217

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/NSubstitute-6.2.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/NSubstitute-6.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Updated NSubstitute from 5.3.0 to 6.2.0.

Release notes

Sourced from NSubstitute's releases.

6.2.0

NSubstitute v6.2.0

This release improves generic call matching (#​989, #​974, #​990). Thanks to @​zvirja and @​JMolenkamp for fixes this.
We've also switched to using trusted nuget publishing linked to GitHub Releases. (#​987, @​zvirja)

What's Changed

Full Changelog: nsubstitute/NSubstitute@v6.1.0...v6.2.0

6.1.0

NSubstitute v6.1.0

This release reverts nullability support introduced in 6.0. This change caused a number of problems for callers (#​973, #​976), and trying to resolve these (#​976) revealed the need for more fundamental changes to NSubstitute to effectively support this. As a result, nullability is again disabled for public API. Huge thanks to @​jdb0123, @​Romfos, and @​Moha-sami for their PRs addressing this, and thanks for all those who raised issues. We also humbly award @​zvirja with one unlimited "I told you so" pass to use as he sees fit.

What's Changed

New Contributors

Full Changelog: nsubstitute/NSubstitute@v6.0.0...v6.1.0

6.0.0

ℹ️ No changes from Release Candidate 1.

NSubstitute v6.0.0

From RC1 notes:

  • [NEW] ArgMatchers.Matching predicate matcher as an alternative to Is(Expression<Predicate<T>>. (.NET6 and above.)
  • [UPDATE] Improved support for custom argument matchers. Arg.Is now accepts arg matchers.
  • [UPDATE][BREAKING] Update target frameworks: .NET8, .NET Standard 2.0
  • [UPDATE][BREAKING] Remove legacy obsolete API
  • [UPDATE][BREAKING] Mark as obsolete api CompatArg with pre c# 7.0 support
  • [UPDATE][BREAKING] Nullability is enabled for public api for .NET 8+ TFMs
  • [UPDATE] Migrate documentation to docfx platform and update samples to NUnit 4
  • [NEW] Added NuGet Package README file.

Full change list

6.0.0-rc.1

NSubstitute v6.0.0 Release Candidate 1

Due to the large number of changes in this release, we wanted to start with a release candidate to ensure we've correctly captured breaking changes.

  • [NEW] ArgMatchers.Matching predicate matcher as an alternative to Is(Expression<Predicate<T>>. (.NET6 and above.)
  • [UPDATE] Improved support for custom argument matchers. Arg.Is now accepts arg matchers.
  • [UPDATE][BREAKING] Update target frameworks: .NET8, .NET Standard 2.0
  • [UPDATE][BREAKING] Remove legacy obsolete API
  • [UPDATE][BREAKING] Mark as obsolete api CompatArg with pre c# 7.0 support
  • [UPDATE][BREAKING] Nullability is enabled for public api for .NET 8+ TFMs
  • [UPDATE] Migrate documentation to docfx platform and update samples to NUnit 4
  • [NEW] Added NuGet Package README file.

Full change list

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: NSubstitute
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies labels Oct 26, 2026
@coderabbitai

coderabbitai Bot commented Oct 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Cadacious added a commit that referenced this pull request Oct 26, 2026
…ansitives

- NSubstitute 5.3.0 -> 6.2.0 (#217), Refit 9.0.2 -> 16.4.0 (#218),
  StackExchange.Redis 2.13.17 -> 3.4.20 (#219),
  SQLitePCLRaw.bundle_e_sqlite3 2.1.14 -> 3.0.5 (#220). No code changes.
- OpenTelemetry.Instrumentation.StackExchangeRedis 1.0.0-rc9.15 ->
  1.20.1-beta.1: the old pre-release caps StackExchange.Redis below 3.
- Turn on CentralPackageTransitivePinningEnabled, so indirect dependencies
  use the central versions (JWT 8.23, Http.Resilience 10.11 everywhere).
  Replaces #221's per-project direct references.
- Microsoft.Extensions.Http.Polly 10.0.0 -> 10.0.14: pinning exposed that
  OpenIddict needs >= 10.0.11.
- Dependabot: ignore Microsoft.OpenApi majors. Microsoft.AspNetCore.OpenApi
  10.x requires Microsoft.OpenApi < 3.0 (#216).

Lock files regenerated with --force-evaluate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QCSL3vKBpaY5vx6epF7wE
Cadacious added a commit that referenced this pull request Oct 26, 2026
…ansitives

- NSubstitute 5.3.0 -> 6.2.0 (#217), Refit 9.0.2 -> 16.4.0 (#218),
  StackExchange.Redis 2.13.17 -> 3.4.20 (#219),
  SQLitePCLRaw.bundle_e_sqlite3 2.1.14 -> 3.0.5 (#220). No code changes.
- OpenTelemetry.Instrumentation.StackExchangeRedis 1.0.0-rc9.15 ->
  1.20.1-beta.1: the old pre-release caps StackExchange.Redis below 3.
- Turn on CentralPackageTransitivePinningEnabled, so indirect dependencies
  use the central versions (JWT 8.23, Http.Resilience 10.11 everywhere).
  Replaces #221's per-project direct references.
- Microsoft.Extensions.Http.Polly 10.0.0 -> 10.0.14: pinning exposed that
  OpenIddict needs >= 10.0.11.
- Dependabot: ignore Microsoft.OpenApi majors. Microsoft.AspNetCore.OpenApi
  10.x requires Microsoft.OpenApi < 3.0 (#216).

Lock files regenerated with --force-evaluate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QCSL3vKBpaY5vx6epF7wE
Cadacious added a commit that referenced this pull request Oct 26, 2026
…transitives (#215)

* chore(deps): Microsoft.Graph 6, Test.Sdk 18, prettier-plugin-astro 1

- Microsoft.Graph 5.105.0 -> 6.9.0. Graph.Core 4 floors
  Microsoft.Kiota.Abstractions at 2.0.0, past GHSA-7j59-v9qr-6fq9, so the
  direct Kiota pin in Notifications is removed as its comment asked.
  Replaces #209 and #210 (each failed alone: Graph 6 needs Kiota 2).
- Microsoft.NET.Test.Sdk 17.14.1 -> 18.11.0 (#211).
- Scope: prettier-plugin-astro 0.14.1 -> 1.1.2 (#213). The new plugin
  formats .astro markup differently, so the affected files are
  reformatted (whitespace only).

Lock files regenerated with --force-evaluate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QCSL3vKBpaY5vx6epF7wE

* chore(deps): eslint-plugin-astro 3.2.1 in Scope

Replaces #214. No config change needed; lint is unchanged (0 errors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QCSL3vKBpaY5vx6epF7wE

* chore(deps): NSubstitute 6, Refit 16, Redis 3, SQLitePCLRaw 3; pin transitives

- NSubstitute 5.3.0 -> 6.2.0 (#217), Refit 9.0.2 -> 16.4.0 (#218),
  StackExchange.Redis 2.13.17 -> 3.4.20 (#219),
  SQLitePCLRaw.bundle_e_sqlite3 2.1.14 -> 3.0.5 (#220). No code changes.
- OpenTelemetry.Instrumentation.StackExchangeRedis 1.0.0-rc9.15 ->
  1.20.1-beta.1: the old pre-release caps StackExchange.Redis below 3.
- Turn on CentralPackageTransitivePinningEnabled, so indirect dependencies
  use the central versions (JWT 8.23, Http.Resilience 10.11 everywhere).
  Replaces #221's per-project direct references.
- Microsoft.Extensions.Http.Polly 10.0.0 -> 10.0.14: pinning exposed that
  OpenIddict needs >= 10.0.11.
- Dependabot: ignore Microsoft.OpenApi majors. Microsoft.AspNetCore.OpenApi
  10.x requires Microsoft.OpenApi < 3.0 (#216).

Lock files regenerated with --force-evaluate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QCSL3vKBpaY5vx6epF7wE

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@Cadacious

Copy link
Copy Markdown
Contributor

Superseded by #215, which includes this update (merged).

@Cadacious Cadacious closed this Oct 26, 2026
@Cadacious
Cadacious deleted the dependabot/nuget/NSubstitute-6.2.0 branch October 26, 2026 23:54
@dependabot @github

dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant