Skip to content

Releases: NikSativa/DIKit

3.2.5

Choose a tag to compare

@NikSativa NikSativa released this 15 Jun 18:51
  • lower iOS minimum to 15
  • bump SpryKit to 3.2.1

3.2.4

Choose a tag to compare

@NikSativa NikSativa released this 17 Apr 10:04

thread-safe Lazy resolution

Full Changelog: 3.2.3...3.2.4

3.2.3

Choose a tag to compare

@NikSativa NikSativa released this 14 Apr 10:43

Fix container key collision for parameterized existentials (any P<X>).

  • Add EntityKeyProviding protocol so types can supply an explicit container key.
  • Derive the default key through a fallback chain: EntityKeyProviding → Mirror subjectType → String(reflecting:)ObjectIdentifier hash.
  • README: document the parameterized-existential crash and the workaround.

3.2.2

Choose a tag to compare

@NikSativa NikSativa released this 14 Apr 10:01

Replace _mangledTypeName with ObjectIdentifier-based key derivation. The former could return nil for parameterized existentials crossing module boundaries, triggering the <<< invalid type >>> fallback and colliding keys. ObjectIdentifier uses the runtime metadata pointer and is unique for every representable metatype.

3.2.1

Choose a tag to compare

@NikSativa NikSativa released this 14 Apr 09:57

Fix key collision for parameterized existentials (any P<X>). Previously String(reflecting:) returned <<< invalid type >>> for these types at runtime, causing distinct registrations to collide under the same storage key. Container now uses _mangledTypeName for key derivation.

  • Bump Threading to 2.3.1

3.2.0

Choose a tag to compare

@NikSativa NikSativa released this 27 Mar 14:11
  • macOS minimum updated to 14.0
  • SpryKit dependency updated to 3.2.0
  • Threading dependency updated to 2.3.0
  • All platform versions aligned across frameworks

3.1.4

Choose a tag to compare

@NikSativa NikSativa released this 26 Feb 22:37

Full Changelog: 3.1.3...3.1.4

3.1.3

Choose a tag to compare

@NikSativa NikSativa released this 26 Feb 22:09

Lazy and Provider as @propertyWrapper

Full Changelog: 3.1.2...3.1.3

3.1.2

Choose a tag to compare

@NikSativa NikSativa released this 08 Jul 11:03

IsolatedMainRegistrator

Full Changelog: 3.1.1...3.1.2

3.1.1

Choose a tag to compare

@NikSativa NikSativa released this 11 Jun 16:46

upd SwiftFormat rules and github actions and Threading with new AtomicValue

Full Changelog: 3.1.0...3.1.1