Skip to content

Releases: devodo/DivertR

v4.0.0

22 May 12:48
71e8231
Compare
Choose a tag to compare

What's Changed

  • Remove ability to reset persistent vias by @devodo in #63
  • Remove Clone methods from ICallInfo interface by @devodo in #64
  • Remove generic CallHandler and CallConstraint interfaces by @devodo in #65
  • Cache redirect proxies against root instances by @devodo in #67
  • Add support for nested registrations by @devodo in #66
  • Add decorator support by @devodo in #68
  • Move registration methods out of IDiverter into a separate DiverterBuilder class by @devodo in #69
  • Support nested redirects with call constraints by @devodo in #70
  • Add IDiverter and IServiceProvider decorator func params by @devodo in #71
  • Support adding nested redirects to IDiverterBuilder by @devodo in #72
  • Rename IRedirect.ViaDecorator to Decorate by @devodo in #73
  • Replace nested redirect builders with flat extend builders by @devodo in #74
  • Fix dummy value factory for void returns by @devodo in #75
  • Copy over existing IRedirect builder methods to IDiverterRedirectBuilder by @devodo in #76
  • Remove unnecessary DiverterSetting properties by @devodo in #77
  • Redirect builder naming and documentation refactoring by @devodo in #78
  • Remove RedirectSet property from the IDiverter interface by @devodo in #79
  • Add delegate CallHandler classes for exception stacktrace hiding by @devodo in #80
  • Documentation update for upcoming v4.0.0 release by @devodo in #81

Full Changelog: v3.1.0...v4.0.0

v3.1.0

27 Jan 09:55
52b55da
Compare
Choose a tag to compare

What's Changed

  • Rename IRedirectSet.Redirect methods to IRedirectSet.GetOrCreate by @devodo in #56
  • Call record code refactor and simplification by @devodo in #57
  • Add spy mock feature by @devodo in #58
  • Remove Via builder object parameter methods by @devodo in #59
  • Code cleanup and documentation update by @devodo in #60
  • Update RedirectRepository to support reset and insert of persistent Vias by @devodo in #61

Full Changelog: v3.0.0...v3.1.0

v3.0.0

07 Jan 20:51
fbb7a41
Compare
Choose a tag to compare

What's Changed

  • Switch naming of all redirect and via terms by @devodo in #48
  • Add GitHub Pages workflow by @devodo in #49
  • RecordedCall refactor by @devodo in #51
  • Update Diverter to return existing Redirects from its RedirectSet by @devodo in #52
  • Remove all occurrence of delegates with second args param by @devodo in #53
  • Clean up RedirectUpdater interfaces by @devodo in #54
  • Configure GitHub Pages by @devodo in #50

Full Changelog: v2.2.0...v3.0.0

v2.2.0

26 Nov 22:15
2927579
Compare
Choose a tag to compare

What's Changed

  • Documentation and sample refinement by @devodo in #44
  • Add persistent redirect feature by @devodo in #45
  • Add ForEach iterator helpers to IVerifySnapshot collection by @devodo in #46
  • Project documentation update by @devodo in #47

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

v2.1.0

13 Nov 22:24
32f37e8
Compare
Choose a tag to compare

What's Changed

  • Include System.Threading.Tasks.Extensions for netstandard 2.0 only by @devodo in #23
  • Add github nuget package publish action by @devodo in #24
  • Add where filter to record ICallStream by @devodo in #25
  • Allow ValueTuple discard type __ in any position by @devodo in #26
  • Rename AddContraint methods to Filter by @devodo in #27
  • Fix to correctly dispose DI resolved root instances by @devodo in #28
  • Exclude DI container dispose of disposable proxy target roots by @devodo in #29
  • Rename DependencyFactory setting to ViaProxyDecorator by @devodo in #30
  • Add null default to ToSet constraint parameter that matches any value by @devodo in #31
  • Additional validation on Via To and ToSet expression input by @devodo in #32
  • Simplify IRedirectOptions and separate out of IRedirect by @devodo in #33
  • Add Redirect method to Via by @devodo in #34
  • Add all Via generated proxies to static map by settings decorator by @devodo in #35
  • Allow specialised ValueTuple type mapping from argument constraint type by @devodo in #36
  • Simplify generic method constraint matching by @devodo in #37
  • Publish DivertR.DynamicProxy nuget package by @devodo in #39
  • Update documentation by @devodo in #40
  • Remove Dummy value empty defaults for IEnumarable and Array by @devodo in #41
  • Update DynamicProxy factory to copy root fields when creating class proxies by @devodo in #42

Full Changelog: v2.0.1...v2.1.0

v2.0.1

16 Aug 20:14
72e39f1
Compare
Choose a tag to compare

What's Changed

  • Include target type in call invoker cache key by @devodo in #19
  • Update RedirectVia proxy cache to use ConditionalWeakTable by @devodo in #20
  • Add static proxy create and Via from proxy retrieval methods by @devodo in #21
  • Add VerifyAsync helper extensions by @devodo in #22

Full Changelog: v2.0.0...v2.0.1

v2.0.0

12 Aug 20:11
b469f08
Compare
Choose a tag to compare

What's Changed

  • Refactor record replay and rename to verify by @devodo in #3
  • Add default Dummy Root feature by @devodo in #4
  • Remove redundant builder redirects by @devodo in #5
  • Rename WithArgs to Args by @devodo in #6
  • Use extension methods for RedirectVia and Remove ClassFuncViaBuilder by @devodo in #7
  • Refactor DummyFactory to insert redirects using a DummyBuilder by @devodo in #8
  • Simplify redirect builder constraint data structure by @devodo in #9
  • Cache RedirectVia proxies by @devodo in #10
  • Remove switch feature by @devodo in #11
  • Remove redundant delegate redirect feature by @devodo in #12
  • Refactor and simplify proxy framework by @devodo in #13
  • Do not proxy null resolved dependencies by @devodo in #14
  • Upgrade test projects to .NET 6 by @devodo in #15
  • Clean up nullable reference type declaration by @devodo in #16
  • Enable DispatchProxy ByRef In tests for .NET 6 by @devodo in #17
  • Change record redirects to disable satisfy strict by default by @devodo in #18

Full Changelog: v1.3.1...v2.0.0

v1.3.1

19 May 05:14
Compare
Choose a tag to compare
  • Add ValueTuple overrides to Record Replay methods

v1.3.0

30 Jan 18:04
Compare
Choose a tag to compare
  • Improved argument type mapping validation error messages.
  • Expose IViaSet instance from IDiverter interface.

v1.2.0

07 Dec 23:13
Compare
Choose a tag to compare
  • Via.Spy methods replaced with Record.Map
  • Record.Scan methods renamed to Record.Replay
  • Add Redirect switch feature
  • Redirect performance optmisations