Releases: vRallev/kotlin-inject-anvil
Releases · vRallev/kotlin-inject-anvil
Release list
0.1.7
Added
- Add
mingwX64target toruntimeandruntime-optionalartifacts.
Changed
- No longer test KSP1.
- Update to kotlin-inject
0.9.0. - Update to Kotlin
2.2.20. - Update to KotlinPoet
2.2.0.
Other Notes & Contributions
Thanks to @ZacSweers for contributing to this release!
0.1.6
Changed
- Upgraded Kotlin to
2.1.21. - Carry over qualifiers for
@ContributesBinding, see #113. - Snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
0.1.5
Changed
- Upgraded KSP to
2.1.20-2.0.1. - Removed redundant
@Retentionannotation to avoid https://youtrack.jetbrains.com/issue/KT-41082/, see #112.
0.1.4
Changed
- Upgraded KSP to
2.1.20-2.0.0, where KSP2 becomes the default. This project is still tested with KSP1 and KSP2.
0.1.3
Added
- Added support for assisted injection with
@ContributesBinding, see #92.
Changed
- Upgraded Kotlin to
2.1.20and KSP to2.1.20-1.0.32.
0.1.2
Added
- Support
replacesattribute in@ContributesBindingand@ContributesTo, see #79.
Changed
- Upgraded Kotlin to
2.1.0and KSP to2.1.0-1.0.29.
0.1.1
Added
- Allow
@MergeComponents to bepublic,internal, orprotected, see #77.
Changed
- Upgraded the KSP to Kotlin
2.0.21-1.0.28.
Fixed
- Add an
overridemodifier if a subcomponent factory parameter matches a property in the subcomponent, see #75. - Add a companion object to generated KotlinInjectComponent classes, see #74.
- Copy all annotations from
expect funfunctions annotated with@CreateComponentto the generatedactual funfunctions to avoid a Kotlin compiler warning, see #72. - Support component parameters for components annotated with
@MergeComponent, see #76.
0.1.0
0.0.5
Changed
- BREAKING CHANGE: Enforce scope parameter on all
@Contributes*annotations and stop using the kotlin-inject scope implicitly, see #36. - Made the generated property when using
@ContributingAnnotationprivate. There is no reason to expose the property on the compile classpath. - Support excluding contributions from custom annotations as long as they have the
@Originannotation added to generated code.
Fixed
- Allow adding annotations from
:runtime-optionalto abstract properties.
0.0.4
Fixed
- Allow adding annotations from
:runtime-optionalto property getters and value parameters.