Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Updated NSubstitute from 4.2.1 to 5.3.0.

Release notes

Sourced from NSubstitute's releases.

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:

5.0.0

Hi all,

We've released NSubstitute v5.0.0. This release updates our target frameworks to the ones recommended by Microsoft: .NET 6+, .NET Framework 4.6.2+, .NET Standard 2.0+. Thanks to @​Romfos for this change (#​710), and @​alexandrnikitin for the review and merge. Thanks also to @​TillW for some clarifications to our docs on internal members (#​706).

See full release notes here: https://github.com/nsubstitute/NSubstitute/releases/tag/v5.0.0

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.0.0/CHANGELOG.md
Breaking changes:

  • Dropped support for older platforms. Minimum versions now .NET 6+, .NET Framework 4.6.2+, .NET Standard 2.0+

Project links:

What's Changed

New Contributors

Full Changelog: nsubstitute/NSubstitute@v4.4.0...v5.0.0

4.4.0

Hi all,

We've released NSubstitute v4.4.0. This adds support for Castle Core v5, thanks to @​Havunen (#​690, #​673), as well as fixing an issue checking for constructor args on null object, courtesy of @​phongphanq, and @​appel1 (#​683, #​685). Thanks also to @​Mandroide for the code review. @​Socolin has also added .ThrowsAsync() that will correctly mock exceptions on async methods (#​609, #​663).

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/v4.4.0/CHANGELOG.md
Breaking changes: There should be no breaking changes with this release.
Project links:

What's Changed

New Contributors

Full Changelog: nsubstitute/NSubstitute@v4.3.0...v4.4.0

4.3.0

Hi everyone,

We've just released NSubstitute v4.3.0. This introduces support for .NET 5 (#​636) and .NET 6 (#​674). Thanks to @​zvirja and @​Havunen!

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 or email the group if you have any problems.

Changelog: https://github.com/nsubstitute/NSubstitute/blob/v4.3.0/CHANGELOG.md

Breaking changes: There should be no breaking changes with this release.

Project links:

What's Changed

New Contributors

Full Changelog: nsubstitute/NSubstitute@v4.2.2...v4.3.0

4.2.2

Hi everyone,

We've just released NSubstitute 4.2.2. This patch release fixes a thread-safety issue with auto-value providers (#​600, #​601). Thanks to Alex Povar (@​zvirja) for these changes.

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 or email the group if you have any problems.

Changelog: https://github.com/nsubstitute/NSubstitute/blob/v4.2.2/CHANGELOG.md

Breaking changes: There should be no breaking changes with this release.

Project links:

Commits viewable in compare view.

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 18, 2025
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.

1 participant