Skip to content

Release 3.0.0

Choose a tag to compare

@hmlongco hmlongco released this 29 Apr 19:19
· 157 commits to main since this release
  • Redefine factory closures to avoid isolation issues in Swift 6.1 and 6.2
  • Explicitly mark many of Factory's structures as nonisolated for Swift 6.2
  • Adds global dependency resolution functions that also allow for passed parameters
  • Refactor circular dependency checking mechanism to dramatically improve performance
  • Replaces dependencyChainTestMax value with circularDependencyTesting flag
  • Refactor trace mechanism to better work with circular dependency checks
  • Returns to ObjectIdentifier for keys (multi-module key issues seem to be due to multiple copies of Factory)
  • Adds decorator variant that returns true for new instances and false if a cached instance is returned
  • Moves to SPM, dropping support for CocoaPods