[ANN] NSubstitute 5.1.0 released

34 views
Skip to first unread message

David Tchepak

unread,
Sep 11, 2023, 4:35:33 AM9/11/23
to nsubs...@googlegroups.com
Hi all,

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: https://github.com/nsubstitute/NSubstitute/issues

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 (e.g. https://github.com/nsubstitute/NSubstitute/pull/715#issuecomment-1712043274). Follow https://github.com/nsubstitute/NSubstitute.Analyzers/issues/212 for progress on this. These warnings can be suppressed if required.

Project links:

NuGet:
https://www.nuget.org/packages/NSubstitute
https://www.nuget.org/profiles/NSubstitute
GitHub: http://github.com/nsubstitute/NSubstitute
Web: http://nsubstitute.github.io/
Reply all
Reply to author
Forward
0 new messages