Added
- Add
ISetupSequentialResult<TResult>.Returns
method overload that support delegate for deferred results (@snrnats, #594) - Support for C# 7.2's
in
parameter modifier (@stakx, #624, #625) - Missing methods
ReturnsAsync
andThrowsAsync
for sequential setups of methods returning aValueTask
(@stakx, #626)
Changed
- Breaking change: All
ReturnsAsync
andThrowsAsync
setup methods now consistently return a newTask
on each invocation (@snrnats, #595) - Speed up
Mock.Of<T>()
by approx. one order of magnitude (@informatorius, #598) - Update package reference to
Castle.Core
(DynamicProxy) from version 4.2.1 to 4.3.0 (@stakx, #624)