github FakeItEasy/FakeItEasy 5.3.0

latest releases: 8.2.0, 8.1.0, 8.0.1...
4 years ago

New

  • Make Dummy ValueTuples' members Dummies, to match Tuple (#1637)
  • Detect and reject an "argument constraint factory method" that produces multiple constraints (#1628)

Fixed

  • Stack overflow exception when concurrently creating two Dummies of a type that takes a parameter of its own type (#1639)
  • Fakes that wrap another object are not considered to be equal to themselves (#1630)
  • Exception thrown from argument constraint factory prevents detection of misused A<T>._, A<T>.Ignored, or A<T>.That (#1644)
  • Exception thrown by argument constraint factory is wrapped in TargetInvocationException, not UserCallbackException (#1646)
  • Exceptions thrown by "action" callbacks are wrapped in UserCallbackException (#1640)

Additional Items

  • Build requires Visual Studio 2019 or Visual Studio Build Tools 2019, and tests now run against netcoreapp3.0 (#1632)
  • Add parentheses to test method in quickstart (#1621)
  • Pre-reduce nullable warnings (#1620)
  • Check for nullity using is null or is object (#1624)
  • Protect out and ref parameters value producer (#1625)
  • Simplify type checking in AnyCallRule (#1626)
  • Embed FakeItEasy icon in package (#1627)
  • GitHub API calls fail during deployment (#1618)
  • Fix capitalization of .NET in docs (#1653)
  • Updated build tools (#1631, #1655)
  • Automatically add "this change has been released" note to issues (#1652)
  • Make wording consistent in DummyCreationSpecs and don't use A.Dummy directly (#1659)

With special thanks for contributions to this release from:

Don't miss a new FakeItEasy release

NewReleases is sending notifications on new releases.