Skip to content

⬆️ Bump NSubstitute from 5.0.0 to 6.0.0 - #468

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Percy.Test/NSubstitute-6.0.0
Open

⬆️ Bump NSubstitute from 5.0.0 to 6.0.0#468
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Percy.Test/NSubstitute-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Updated NSubstitute from 5.0.0 to 6.0.0.

Release notes

Sourced from NSubstitute's releases.

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

5.3.0

Thanks to first-time contributors @​mihnea-radulescu and @​marcoregueira! Thanks also @​304NotModified and @​Romfos for their continued support and contributions to this release.

Full Changelog: nsubstitute/NSubstitute@v5.2.0...v5.3.0

5.2.0

⚠️ Note: there is no build currently available for this version due to an issue switching over to a new automated release build. We'll have a new release shortly once we sort this.

Summary of main changes:

  • [UPDATE] Upgrade website build to jekyll 3.9.0 and add link to edit website pages (#​767, #​769; thanks to @​brad)
  • [UPDATE] Build improvements:
    • migrate to GitHub Actions and update doc dependencies (#​754, #​774; thanks to @​alexandrnikitin)
    • improve test platform coverage; add .NET 8 to test platforms (#​742, #​756; thanks to @​Romfos)
    • source code format improvements; check format on CI (#​758, ##​761, #​762, #​763; thanks again to @​Romfos)
  • [NEW] Support for Sourcelink and Deterministic Build. Thanks @​304NotModified! (#​737)

Many thanks to @​alexandrnikitin, @​Romfos, @​brad, and @​304NotModified for their contributions!
Thanks a lot to all code contributors, reviewers, and people who have raised and/or commented on issues.

If you haven't already done so, please make sure you add the NSubstitute.Analyzers package wherever you reference NSubstitute: https://nsubstitute.github.io/help/nsubstitute-analysers/

As always, please raise an issue on GitHub if you have any problems.

Changelog: https://github.com/nsubstitute/NSubstitute/blob/v5.2.0/CHANGELOG.md
Breaking changes: None.

Project links:

Change list

New Contributors

... (truncated)

5.1.0

We've released NSubstitute v5.1.0!

Changes:

  • [DOC] Add clickable headings. Thanks @​jheinath! (#​729)
  • [UPDATE] Update Castle.Core to 5.1.1-* to support C# 9 covariants. Thanks @​siblount to tracking this down. (#​730)
  • [UPDATE] Improved support for testing ILogger. Thanks to @​zlangner for this contribution, and also thanks to @​Saibamen for reviewing this PR. (#​732)
  • [NEW] Add Arg.AnyType for matching calls with generic parameters. Thanks @​icalvo for implementing and documenting this! (#​634, #​715, #​733).

Thanks a lot to all code contributors, reviewers, and people who have raised and/or commented on issues.

If you haven't already done so, please make sure you add the NSubstitute.Analyzers package wherever you reference NSubstitute: https://nsubstitute.github.io/help/nsubstitute-analysers/

As always, please raise an issue on GitHub if you have any problems.

Changelog: https://github.com/nsubstitute/NSubstitute/blob/v5.1.0/CHANGELOG.md
Breaking changes: NSubstitute Analyzers may produce false positives in some cases for Arg.AnyType. Follow nsubstitute/NSubstitute.Analyzers#212 for progress on this. These warnings can be suppressed if required.

Project links:

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.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the ⬆️⬇️ dependencies Pull requests that update a dependency file label Jul 13, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 13, 2026 02:25
@dependabot dependabot Bot added the ⬆️⬇️ dependencies Pull requests that update a dependency file label Jul 13, 2026
@dependabot
dependabot Bot requested review from pranavz28 and rishigupta1599 July 13, 2026 02:25
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions Bot added the 🍞 stale Closed due to inactivity label Jul 28, 2026
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 🍞 stale Closed due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants