Skip to content

Release 2.3.0

Compare
Choose a tag to compare
@hmlongco hmlongco released this 30 Sep 05:51
· 71 commits to main since this release
  • Dramatic performance enhancements:
    Up to 200% faster in debug builds!
    Up to 400% faster in production builds!
  • Fixed bug where registering a context in the Factory definition cleared the scope cache. - Issue #146
    Note that issue #146 could be a breaking change if your code attempts to replace a scoped context registration.
    Add a manual reset.
    Container.shared.myService.reset(.scope).onTest { MockService() }
    See The Factory Wins section in the Modifiers documentation for more on this.
  • Update trace output to also show actual instance type