Public aliases for masked Factory objects - Issue #154
Fix key issue when building xcframeworks - Issue #173
Add VisionOS target to package.swift - PR #186
Add Privacy Manifest file - PR #180
Update README to include example for use with Swift's new Observable macro - PR #172
2.3.1
7 months ago
Fix for SpinLock on Linux
Add action to test linux - Issue #113
Add various aliases to avoid external naming conflicts - Issue #154
2.3.0
8 months ago
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
2.2.0
10 months ago
2.2.0
Converts "shared" container variables from var to let. - Issue #111
Add convenience reset() function to container. - Issue #111
Note that issue #111 could be a breaking change if your code attempts to "replace" a shared container. Do reset instead.
Container.shared.reset() // Do this...
Container.shared = Container() // Not this...
Removes @MainActor from @InjectedObject property wrapper variables. - Issue #107
Fix registering a new context doesn't clear existing cache as did register. - Issue #114