Moq v4.7.99 Release Notes
Release Date: 2017-07-17 // over 6 years ago-
โ Added
- โ Add
[NeutralResourcesLanguage]
to assembly info for portable library use (@benbillbob, #394) - โ Add portable, SourceLink-ed debugging symbols (PDB) to NuGet package, enabling end users to step into Moq's source code (@stakx, #417)
๐ Changed
- ๐ Move all hardcoded message strings to
Resources.resx
(@stakx, #403) - โก๏ธ Update package reference to
Castle.Core
(DynamicProxy) from version 4.1.0 to 4.1.1 (@stakx, #416) - ๐ Clean up and simplify the build process by merging separate .NET Framework and .NET Standard projects (@stakx, #417)
- ๐ Replace outdated
ReleaseNotes.md
with newCHANGELOG.md
(@stakx, #423)
๐ Fixed
- ๐ Fix member name typo in reflection code (@JohanLarsson, #389)
- ๐คก Make
Interceptor
more thread-safe duringmock.Setup
(@stakx, #392) - ๐ Make abstract events defined in classes work even when
CallBase
is true by suppressingInvokeBase()
(@stakx, #395) - ๐ Allow setting up null return values using
Mock.Of
(@stakx, #396) - ๐ Allow
Mock<T>.Raise
to raise events on child mocks instead of raising no or the wrong event (@stakx, #397) - ๐ Improve specificity of
Setup
/Verify
exception messages for static members and extension methods (@stakx, #400) - ๐คก Prevent internal interception on a mock from changing its
DefaultValue
property (@vladonemo, #411) - Prevent stack overflow in conditional setups (@stakx, #412)
- ๐ Fix
NullReferenceException
caused by internally relying on a mock'sIEnumerable
implementation (@stakx, #413) - ๐ Improve method match accuracy in
ExtractProxyCall
so that the order of setting up methods in an hierarchy of interfaces does not matter (@stakx, #415) - ๐ Improve mockability of C++/CLI interfaces having custom modifiers (
modopt
,modreq
) in their method signatures (@stakx, #416) - ๐คก Make types implementing the same generic type more than two times mockable (@stakx, #416)
- ๐ Fix misreported
Times
in verification error messages (@stakx, #417)
- โ Add