github nsubstitute/NSubstitute v4.3.0

latest releases: v5.2.0, v5.1.0, v5.0.0...
2 years ago

Hi everyone,

We've just released NSubstitute v4.3.0. This introduces support for .NET 5 (#636) and .NET 6 (#674). Thanks to @zvirja and @Havunen!

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

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

Breaking changes: There should be no breaking changes with this release.

Project links:

What's Changed

  • Handle protected and internal property setters by @zvirja in #627
  • Fix typo in help. Changed "was" to "way". by @DarqueWarrior in #628
  • Add .NET 5 target and arrange nullability attributes by @zvirja in #636
  • Slightly refactor code to make it look fresh by @zvirja in #639
  • Update Castle.Core min from 4.4.0 to 4.4.1 by @dtchepak in #640
  • doc: Update property received checking to make use of Discards by @rugk in #651
  • Ignore "null handlers" when a substituted event is raised by @x789 in #667
  • Add argument matching tests to demonstrate matching of value and reference types by @suzicurran in #671
  • Added .Net6 target framework by @Havunen in #674
  • Prep for 4.3.0 release by @dtchepak in #678

New Contributors

Full Changelog: v4.2.2...v4.3.0

Don't miss a new NSubstitute release

NewReleases is sending notifications on new releases.