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 new CHANGELOG.md (@stakx, #423)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix member name typo in reflection code (@JohanLarsson, #389)
    • ๐Ÿคก Make Interceptor more thread-safe during mock.Setup (@stakx, #392)
    • ๐Ÿ‘‰ Make abstract events defined in classes work even when CallBase is true by suppressing InvokeBase() (@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's IEnumerable 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)