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 / v5.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-09-10 1.6 kB
v5.1.0.tar.gz 2023-09-10 19.7 MB
v5.1.0.zip 2023-09-10 20.0 MB
Totals: 3 Items   39.7 MB 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 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/

Source: README.md, updated 2023-09-10