Releases: ivlevAstef/DITranquillity
Build framework
Fix SwiftLazy and DITranquillity for correct building framework. Remove prefix operator errors
Swift concurrency
- Improve support Swift Concurrency - fix potencial deadlock for MainActor initialize
- Improve support Swift Concurrency - fix no MainActor Sendable classes - now classes resolved in current thread not main thread
- Improve thread save performance
- Improve and Extend Test cases
Swift concurrency
Improve support Swift Concurrency - fix support detect MainActor register with modificators. e.g.:
container.register(MyMainActorClass.init) { arg($0) }
Swift concurrency
Improve support Swift Concurrency - fix support detect MainActor classes for register methods initialize.
Swift concurrency
- Beta Support Swift Concurrency for DITranquillity and SwiftLazy.
- Update SwiftLazy - fix and optimize Lazy.
- Update SwiftLazy - Lazy support @dynamicMemberLookup
Fix Deadlock in SwiftLazy library
- Update SwiftLazy library to version 1.3.0 for fix deadlock in Lazy https://github.com/ivlevAstef/SwiftLazy/releases/tag/v1.3.0
Support Variadic types/generics
-
Support Variadic types/generics: https://github.com/apple/swift-evolution/blob/main/proposals/0398-variadic-types.md
Now register and injection have infinity paramaters after swift 5.9 version. -
Improve changes from 4.3.4 release. Now your can simplify use two modificators:
Old:container.register { Cat(name: arg($0), owner: many($1), home: $2) }
New:container.register(Cat.init) { (arg($0), many($1)) }
Work only with swift 5.9+ version.
Root Components
Add new safety idea - root components. For more information your can see link
Remove SpinLock
Remove SpinLock and increase minimum OS version