Skip to content

Releases: SvetlovA/static-mock

v2.6.0

27 Nov 15:28

Choose a tag to compare

What's Changed

Full Changelog: v2.5.0...v2.6.0

v2.5.0

18 Aug 19:22

Choose a tag to compare

What's Changed

Full Changelog: v2.4.0...v2.5.0

v2.4.0

21 Mar 10:56

Choose a tag to compare

What's Changed

  • added unsafe Methods/Properties mock support
  • updated core libs (using MonoMod.Core for .net)
  • fixed getting instance from expressions scope
  • implemented framework dependent hook builders

PRs

Full Changelog: v2.3.0...v2.4.0

v2.3.0

20 Nov 14:06

Choose a tag to compare

  • added net9 support
  • organized nuget versions dependencies for netstandard2.0

What's Changed

Full Changelog: v2.2.0...v2.3.0

v2.2.0

08 Feb 08:59

Choose a tag to compare

  • [Implemented] net8 support
  • [Improved] documentation

Full Changelog: v2.1.0...v2.2.0

v2.1.0

29 Aug 14:32
8900d3f

Choose a tag to compare

  • [Implemented] Sequential mock call (Hierarchical calls still supported)

v2.0.0

16 Jul 12:55

Choose a tag to compare

  • [improved] added support for .net framework .net core .net (net462; net47; net471; net472; net48; net481;netcoreapp3.1; net5.0; net6.0; net7.0);
  • [improved] set main project to target framework for netstandard2.0;
  • [improved] added tests for multiple frameworks and core engines;
  • [Implemented] support of core hooking engines (MonoMod);
  • [implemented] benchmark projects;
  • [braking changes] for instances methods/properties mocking for non-generic way of mocking, parameter setupProperties new SetupProperties { Instance = instance } is required

v1.8.0

13 Dec 12:55

Choose a tag to compare

  • [Improve] Bodies of functions executes on mocking
  • [Implemented] Parametrized hook functions (support up to 9 parameters)
  • [Implemented] Methods mapping by parameters, to map owerridings
  • [Breaking changes] Removed async callbacks and returns. Use returns with functions
  • [Breaking changes] Removed return callbacks. Use returns with functions
  • [Breaking changes] Renamed IActionMock -> IActionMock
  • [Breaking changes] Renamed SetupVoid -> SetupAction for non-generic mocking
  • [Breaking changes] Callback available only for methods that returns void

v1.7.1

27 Aug 19:18

Choose a tag to compare

  • removed debug logs from It implementation
  • updated copyright year

v1.7.0

27 Aug 19:06

Choose a tag to compare

  • Added Setup Context (It logic It.IsAny, It.Is)
  • Fixed callback throwing
  • Fixed instance/static hook calling