Releases
v4.8.3
stakx
released this
30 Dec 12:06
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
and ThrowsAsync
for sequential setups of methods returning a ValueTask
(@stakx , #626 )
Changed
Breaking change: All ReturnsAsync
and ThrowsAsync
setup methods now consistently return a new Task
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 )
Fixed
Usage of ReturnsExtensions.ThrowsAsync()
can cause UnobservedTaskException
(@snrnats , #595 )
ReturnsAsync
and ThrowsAsync
with delay parameter starts timer at setup (@snrnats , #595 )
Returns
regression with null function callback (@Caraul , #602 )
You can’t perform that action at this time.