Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@evant evant released this 27 Apr 22:36
· 3 commits to main since this release

0.8.0 - 2025-04-27

Changed

  • Kotlin updated to 2.1.20

Fixed

  • Will now error when a child and parent components provide a binding for the same type.

Added

  • Added mingwX64 target for windows
  • KSP2 support
  • You can now use @AssistedFactory to annotate an interface that creates an instance of a type. This factory can be
    used in place of a lambda when injecting. This can be useful because an explicit interface can have named and default
    parameters. ex:
    @Inject class Foo(@Assisted arg: String)
    
    @AssistedFactory
    interface CreateFoo {
      fun create(arg: String): Foo
    }
    
    @Inject
    class Bar(fooFactory: CreateFoo)