Skip to content

Releases: ivlevAstef/DITranquillity

Fix Deadlock in SwiftLazy library

20 Oct 04:00
Compare
Choose a tag to compare

Support Variadic types/generics

30 May 15:58
Compare
Choose a tag to compare

Work only with swift 5.9+ version.

Root Components

31 Aug 09:59
Compare
Choose a tag to compare

Add new safety idea - root components. For more information your can see link

Remove SpinLock

02 Jun 18:34
Compare
Choose a tag to compare

Remove SpinLock and increase minimum OS version

fix makeGraph while use container hierarchy

08 Jul 09:00
Compare
Choose a tag to compare

Simplifying a particular case

25 Sep 05:39
Compare
Choose a tag to compare

Add simple one modificator injection into initialize method. For example:
Old: container.register { Cat(name: arg($0), owner: $1, home: $2) }
New: container.register(Cat.init) { arg($0) }

Argument injection with Tag or Name

23 Jun 08:45
Compare
Choose a tag to compare

Fix argument injection for Tag and named resolve. for example:

container.register { MyClass(inj: arg($0)) }
    .as(name: "Name", MyProtocol.self)
    .as(tag: MyTag.self, MyProtocol.self)
let arg = AnyArgument(type: MyProtocol.self, value: 1)
let obj1: MyProtocol = container.resolve(name: "Name", arguments: arg)
let obj2: MyProtocol = by(tag: MyTag.self, on: container.resolve(arguments: arg))

Fix resolve with arguments use none base type

15 Jun 08:00
Compare
Choose a tag to compare

Fix arguments resolve if for resolve used none base type. for example: let a: T? = container.resolve(args: ...). In current example T is Optional. Also fix if T use many or tag.

Update Arguments API

09 Jun 12:41
Compare
Choose a tag to compare

Warning! This version change public API!

  • Update arguments. Now inject arguments it's thread save operation. Also change syntax - remove extensions, and now inject arguments use resolve method in container. see

#159

Fix potential crash into FastLock

28 Apr 16:25
Compare
Choose a tag to compare

Fix potential crash into FastLock. For more information saw: ivlevAstef/SwiftLazy#6