[ANN] NSubstitute 4.2.0 released

13 views
Skip to first unread message

David Tchepak

unread,
May 19, 2019, 8:09:40 AM5/19/19
to nsubs...@googlegroups.com
Hi everyone,

We've just released NSubstitute 4.2.0. This is a small update from 4.1.0 that fixes a bug raising events of type Action<T[]> (for an array of some type T). Thanks to Alex Povar (@zvirja) for this fix. It also includes a new `Quantity.Within(min, max)` method in `NSubstitute.ReceivedExtensions` which can be used to assert a call was received within a certain range of times.

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

Changelog:

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

Breaking 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
Web: http://nsubstitute.github.io/

Regards,
David
Reply all
Reply to author
Forward
0 new messages