Skip to content

Update kotlin.inject to v0.8.0 #363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: modern
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 13, 2024

This PR contains the following updates:

Package Change Age Confidence
me.tatarka.inject:kotlin-inject-runtime 0.7.1 -> 0.8.0 age confidence
me.tatarka.inject:kotlin-inject-compiler-ksp 0.7.1 -> 0.8.0 age confidence

Release Notes

evant/kotlin-inject (me.tatarka.inject:kotlin-inject-runtime)

v0.8.0

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)

v0.7.2

Changed
  • kotlin updated to 2.0.0
Fixed
  • Fixed various issues with qualifier annotations.
  • Fixed issue with inner class or companion inside a component extending the component interface causing an error.
  • Fixed crash when attempting to display a type parameter.
  • Added ksp work-around when running multiple rounds to prevent a FileAlreadyExistsException on a duplicate symbol.
  • Fixed injecting into a java constructor that doesn't have a nullability annotation defined.
  • Fixed various issues when resolving cycles.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate Automated PR from renovate bot label Sep 13, 2024
@renovate renovate bot requested a review from r0adkll as a code owner September 13, 2024 19:53
@renovate renovate bot enabled auto-merge (squash) September 13, 2024 19:53
Copy link

github-actions bot commented Sep 13, 2024

Messages
📖 This PR has been checked by Danger

Generated by 🚫 Danger Kotlin against c1d60d8

@renovate renovate bot force-pushed the renovate/kotlin.inject branch 6 times, most recently from 7b5ea35 to 5dfabc2 Compare February 10, 2025 14:11
@renovate renovate bot force-pushed the renovate/kotlin.inject branch from 5dfabc2 to c1d60d8 Compare April 28, 2025 02:55
@renovate renovate bot changed the title Update kotlin.inject to v0.7.2 Update kotlin.inject to v0.8.0 Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renovate Automated PR from renovate bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants