v1.2.0
What's Changed
- Implement new ap options mechanism to ensure that they are all provided in processor by @bacecek in #16
- Enhance: Improve error-type handling. by @Jeffset in #25
- Unresolved types reporting should include type names themselves (if
correctErrorTypes
is enabled for KAPT, KSP support is limited) instead oferror.UnresolvedCla$$
.
- Unresolved types reporting should include type names themselves (if
- API: Add and implement
@Reusable
scope. by @Jeffset in #26- Now
@Reusable
scope is properly supoprted as in Dagger.
- Now
- Enhance: Allow adding child components implicitly. by @Jeffset in #28
- Now sub-components can be added by declaring their factory methods inside the parent component as with Dagger.
- Enhance: Support full-blown subcomponent factory methods. by @Jeffset in #33
- Now sub-component factory methods can accept modules, dependencies and
@BindInstance
arguments as in Dagger and more.
- Now sub-component factory methods can accept modules, dependencies and
- Fix: Properly resolve aliases while computing caching omission. by @Jeffset in #36
- Generated code performance optimization.
- Enhance: Implement auto-builder. by @Jeffset in #34
- New
Yatagan.autoBuilder()
loader can be used for components without a declared builder. Use with caution - no type safety is enforced at compile time. Feature aimed to compensate for the Dagger's auto-generated builder absence.
- New
- Enhance: Allow for
@Builder
's factory methods to return supertypes by @Jeffset in #42- As in Dagger
- Enhance: Allow IntoMap.Key annotations to have non-"value" attributes. by @Jeffset in #43
- As in Dagger
- Fix: Introduce
reportDuplicateAliasesAsErrors
option. by @Jeffset in #49
New Contributors
Full Changelog: v1.1.0...v1.2.0