Download Latest Version v5.3.0 source code.tar.gz (19.7 MB)
Email in envelope

Get an email when there's a new version of NSubstitute

Home / v4.4.0
Name Modified Size InfoDownloads / Week
Parent folder
nsubstitute.4.4.0.nupkg 2022-07-17 456.0 kB
README.md 2022-07-10 2.2 kB
v4.4.0.tar.gz 2022-07-10 19.7 MB
v4.4.0.zip 2022-07-10 19.9 MB
Totals: 4 Items   40.1 MB 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: https://github.com/nsubstitute/NSubstitute/compare/v4.3.0...v4.4.0

Source: README.md, updated 2022-07-10