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](
https://github.com/nsubstitute/NSubstitute/issues) if you have any problems.
Changelog:
https://github.com/nsubstitute/NSubstitute/blob/v4.4.0/CHANGELOG.mdBreaking changes: There should be no breaking changes with this release.
Project links:
* NuGet:
-
https://www.nuget.org/packages/NSubstitute -
https://www.nuget.org/profiles/NSubstitute* GitHub:
http://github.com/nsubstitute/NSubstitute