All Versions
101
Latest Version
Avg Release Cycle
51 days
Latest Release
244 days ago

Changelog History
Page 4

  • v4.7.127 Changes

    September 26, 2017

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Make setups for inaccessible internal members fail fast by throwing an exception (@stakx, #455)

    โœ‚ Removed

    • ๐Ÿšš The redundant type ObsoleteMockException has been removed (@stakx)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Make SetupAllProperties work correctly for same-typed sibling properties (@stakx, #442)
    • ๐Ÿ‘ Switch back from portable PDBs to classic PDBs for better compatibility of SourceLink with older .NET tools (@stakx, #443)
    • ๐Ÿคก Make strict mocks recognize that .CallBase() can set up a return value, too (@stakx, #450)
  • v4.7.99 Changes

    July 17, 2017

    โž• 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)
  • v4.7.63 Changes

    June 21, 2017

    ๐Ÿ”„ Changed

    • Ensure that null never matches an It.IsRegex(โ€ฆ) (@stakx, #385)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix mocking of non-virtual methods via mock.As<TInterface>() which was broken by #381 (@stakx, #387)
  • v4.7.58 Changes

    June 21, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix formatting inconsistencies for array values in MockException.Message (@stakx, #380)
    • ๐Ÿ›  Fix major "class method vs. interface method" bug introduced by #119 / commit 162a543 (@stakx, #381)
    • ๐Ÿ›  Fix mocking for redeclared interface properties (get-set but get-only in base type) (@stakx, #382)
  • v4.7.49 Changes

    June 18, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix incorrect Castle.Core package reference in NuGet package specification (@stakx, #379)
  • v4.7.46 Changes

    June 18, 2017

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Extend EmptyDefaultValueProvider so it understands multidimensional arrays (return empty multidimensional arrays instead of null) (@stakx, #360)
    • โšก๏ธ Update package reference to Castle.Core (DynamicProxy) from version 4.0.0 to 4.1.0, update System and Microsoft packages from versions 4.0.1 to 4.3.0 (@stakx, #369)
    • Clean up and reduce usage of conditional compilation (#if) (@stakx, #378)

    ๐Ÿ›  Fixed

    • ๐Ÿคก Ensure default mock names are (more) unique (@stakx, #359)
    • ๐Ÿ‘‰ Make It.IsAny, It.IsNotNull work for COM types (@stakx, #361)
    • ๐Ÿ›  Fix equality check bug in ExpressionKey which meant Moq would sometimes ignore exact argument order in setups (@kostadinmarinov, #135; @stakx, #363)
    • Ensure incorrect implementations of ISerializable are caught properly (@stakx, #370)
    • ๐Ÿšš Make event accessor recognition logic more correct (don't just rely on add_ or remove_ name prefixes) (@stakx, #376)
  • v4.7.25 Changes

    June 03, 2017

    โž• Added

    • โž• Add new setup.ReturnsAsync and setup.ThrowsAsync overloads allowing you to specify a delay (@jochenz, #289)

    ๐Ÿ”„ Changed

    • Migrate .NET Core project to the new .csproj format (@jeremymeng, #336)
  • v4.7.12 Changes

    May 30, 2017

    ๐Ÿ›  Fixed

    • โž• Add overload in mock.Protected() setups to enforce the old behavior of exact parameter matching (new behavior fails for specific overloads) (@80er, #347)
  • v4.7.11 Changes

    May 30, 2017

    ๐Ÿ“š Minor change only (fix typo in documentation)

  • v4.7.10 Changes

    May 10, 2017

    ๐Ÿ“‡ Minor change only (update project URL in NuGet package metadata)