New
- Faked classes implement all interfaces, including explicitly-implemented members (#477)
- New expression parser improves performance of call specifications (#850)
- [Analyzer] New diagnostic FakeItEasy0002 detects attempt to configure non-virtual member (#723)
Fixed
NullReferenceException
when calling a method that returns a value type and has been configured withDoesNothing
(#806)InvalidOperationException
when usingThrows
,CallsBaseMethod
, orDoesNothing
to configure void method on unnatural fake (#832)- Wrapping fake throws
TargetInvocationException
instead of the original exception (#836) - A.CallTo is not side-effect free - can interfere with the usual default behaviour of a faked method (#556)
- [Analyzer] False positive FakeItEasy0001 when call spec is returned from a method (#844)
With special thanks for contributions to this release from:
- Matthew Edmondson - @medmondson
- Tim Lovell-Smith - @TimLovellSmith