Skip to content

chore(deps): bump io.insert-koin.compiler.plugin from 1.0.0 to 1.0.1#183

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/io.insert-koin.compiler.plugin-1.0.1
Open

chore(deps): bump io.insert-koin.compiler.plugin from 1.0.0 to 1.0.1#183
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/io.insert-koin.compiler.plugin-1.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bumps io.insert-koin.compiler.plugin from 1.0.0 to 1.0.1.

Release notes

Sourced from io.insert-koin.compiler.plugin's releases.

1.0.1

A maintenance release focused on Kotlin 2.4.0 support and Kotlin/Native + WASM/JS build reliability. One plugin artifact now spans Kotlin 2.3.20 → 2.4.x.

🔑 Highlights

  • Kotlin 2.4.0 support — the plugin no longer crashes on Kotlin 2.4.0, and the same artifact also works on Kotlin 2.3.20.
  • iOS / Native / WASM builds fixed — annotation definitions no longer break KLIB serialization.
  • @Single(createdAtStart = true) honored on definition functions — eager singletons are created at startKoin again.

🐛 Fixes

Kotlin version compatibility — #19, #42 (and koin#2431)

The plugin hard-crashed on the two most recent Kotlin versions:

  • Kotlin 2.4.0ClassCastException during FIR extension registration.
  • Kotlin 2.3.20NoSuchMethodError (IrDeclarationOrigin.IR_EXTERNAL_DECLARATION_STUB).

1.0.1 introduces a Kotlin version-adapter layer: the core is compiled against the stable IR API, and a small per-version adapter (selected at compile time) absorbs the breaking compiler-internal differences. A single published jar supports Kotlin 2.3.20 and 2.4.0; an unrecognized newer Kotlin gets a warning and best-effort support, while versions below the floor get a clear, actionable error instead of an internal crash.

Duplicate injectedparams_* signatures broke iOS + WASM/JS — #44, #40

A type collected by more than one @ComponentScan module generated the @InjectedParam hint function twice with identical signatures. The JVM tolerated it; KLIB serialization (iOS/Native/WASM/JS) rejected it with "Different declarations with the same signatures". The hint is now emitted exactly once per target. (Regression vs 1.0.0-RC2.)

WASM/JS KLIB serialization — #40

The plugin's generated hint files lacked a resolvable source, failing the JS/WASM KLIB serializer ("No file found for source null"). Fixed — DSL-based projects now build on WASM/JS.

@Single(createdAtStart = true) silently dropped — koin#2425, koin#2415

createdAtStart = true on a @Single / @Singleton definition function inside a @Module was discarded in codegen, so eager singletons were never created at startKoin (no error or warning). Now propagated correctly. (The @Module(createdAtStart) and @Singleton class cases were already fixed in 1.0.0-RC3.13.)

⚠️ Known limitation — annotation-based WASM/JS on Kotlin 2.3.20

Annotation-based projects (@Module / @ComponentScan) targeting WASM/JS require Kotlin 2.4.0. On Kotlin 2.3.20 they hit an upstream Kotlin compiler bug — KT-82395 — in the JS/WASM KLIB metadata serializer, which the plugin cannot work around. Kotlin 2.4.0 resolves it. (iOS/Native and DSL-based WASM/JS are unaffected and work on both Kotlin versions.)

✅ Compatibility

Kotlin 2.3.20 Kotlin 2.4.0
JVM / Android
iOS / Native
WASM/JS — DSL
WASM/JS — annotations ⚠️ KT-82395

📦 Install

plugins {
    id("io.insert-koin.compiler.plugin") version "1.0.1"
}

Full changelog: InsertKoinIO/koin-compiler-plugin@1.0.0...1.0.1

Commits
  • 5a3910d Merge pull request #57 from InsertKoinIO/arnaud/ktz-4152-createdatstart
  • 5392860 Broaden createdAtStart coverage: class+function box test + sample apps
  • dcd3e56 Fix @​Single(createdAtStart=true) silently dropped on definition functions
  • 238743a Merge pull request #56 from InsertKoinIO/arnaud/ktz-wall2-wasm-null-source
  • 1dd4ec2 Merge pull request #55 from InsertKoinIO/arnaud/ktz-4151-injectedparams-ir-dup
  • 4ad5562 Add app-kmp-klib: KLIB-target (wasmJs/iosArm64) regression sample
  • c7183f0 Attach a resolvable source file to IR-generated hint files (wasmJs/JS KLIB)
  • 02fae3e Merge pull request #52 from InsertKoinIO/arnaud/ktz-4150-kotlin-compat
  • b13a501 Fix duplicate injectedparams_* IR signatures when a target is collected by mu...
  • a720fe4 Review fixes: fail loudly on receiver-shape mismatch, surface lazy-path versi...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [io.insert-koin.compiler.plugin](https://github.com/InsertKoinIO/koin-compiler-plugin) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/InsertKoinIO/koin-compiler-plugin/releases)
- [Commits](InsertKoinIO/koin-compiler-plugin@1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: io.insert-koin.compiler.plugin
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants