github FakeItEasy/FakeItEasy 7.0.0-beta.1

latest releases: 8.2.0, 8.1.0, 8.0.1...
pre-release3 years ago

Changed

  • Registering a handler on a fake Wrapping an event does not work (#1795)
    Registering the handler will now work. This introduced a minor change on how events are intercepted and raised. It will be completely transparent to most users. Consult raising events documentation for more details about the current behavior.

Dropped Framework Support

  • No longer producing assemblies for unsupported frameworks .NET Framework 4.0 and .NET Standard 1.6 (#1798, #1802)

Deprecations

  • ClearConfiguration (#1767)
    To "unconfigure" a fake so it has default behavior, discard the fake and create a new one. If this is not feasible, for example because you wish to remove the configuration in the middle of a test and the system under test already holds the fake, see Changing behavior between calls.

New Framework Support

  • Produce new assemblies that target .NET 5.0 directly (#1803)

New

  • Add EqualTo overload with equality comparer (#1810)

Fixed

  • Fixed some typos in documentation (#1793)

Additional Items

  • Repair build after upgrade to .NET 5.0 SDK tooling (#1800)
  • Prefer is not null pattern to is object tests (#1796)
  • Update supporting package dependencies (#1807)
  • Use editorconfig to suppress warnings (#1808)

With special thanks for contributions to this release from:

Don't miss a new FakeItEasy release

NewReleases is sending notifications on new releases.