Skip to content

Bump io.insert-koin.compiler.plugin from 1.2.1 to 1.2.3 - #289

Merged
sebaslogen merged 1 commit into
mainfrom
dependabot/gradle/io.insert-koin.compiler.plugin-1.2.3
Nov 10, 2026
Merged

sebaslogen merged 1 commit into
mainfrom
dependabot/gradle/io.insert-koin.compiler.plugin-1.2.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps io.insert-koin.compiler.plugin from 1.2.1 to 1.2.3.

Release notes

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

1.2.3

Patch release: two regressions reported on 1.2.2, a location for cross-module KOIN-D001, and compile safety that says, on the line, which DSL shape it could not follow.

🐛 Fixed

  • Native, JS and wasm compilations crashed on 1.2.2 with Different declarations with the same signatures when two DSL modules provided two internal types of the main source set, or the same type twice (#144).
  • False KOIN-D001 for a factory<T>() from another Gradle module under startKoin<T> / @KoinApplication; 1.2.2 fixed it for single only (#143). A factory inside a scope { } block stays scoped. Rebuild the library with 1.2.3 to get it.
  • KOIN-D001 on a definition from another Gradle module had no location. With startKoin { modules(...) } it now points at the modules(...) call that loads it, with the chain: loaded by: modules() at ToolsTest.kt:60 → toolsModule → useCasesModule → notificationsKernelModule. A local single<LibImpl>() of a library class points at that line.
  • The "Fix with AI" line could point at the wrong file, or at another compilation's error under parallel builds (#140). It follows the error.
  • Diagnostics anchored on a declaration or a modules() call showed the file only in the Gradle output, no line and column, so a KOIN-D001 or KOIN-W001 could not be clicked to. Every Koin diagnostic now carries file:line:column.

✨ Added

  • Compile safety discloses the DSL shapes it cannot follow, on the line, with the shape to use instead: KOIN-W012 for an includes() inside an inline module { } or a public fun Module.x() helper (its modules are reported unloaded and their types missing), KOIN-W014 for a private helper called on an explicit receiver or as a function reference, KOIN-W015 for a module { } in by lazy, a lambda or a list builder. KOIN-W013 says an entry point in a module with no DSL definition of its own gets no DSL graph check (#142); no rewrite yet. Followed shapes: docs/COMPILE_TIME_SAFETY.md. Like every KOIN-W, they fail a build with allWarningsAsErrors.

🔧 Changed

  • modules(AppModule().module()) is now verified like modules(AppModule::class). A missing dependency in such a graph now reports KOIN-D001.
  • KOIN-W003 points at the operand it could not read and names it (the parameter under a *spread or a +, not the spread or the plus()); when that operand is a parameter of the enclosing function, it says to start Koin where the modules are known. KOIN-W001 points at the module declaration.
  • KOIN-W012 and KOIN-W015 are INFO in a compilation that starts no Koin, since what they describe can only happen in the module that does; they stay warnings there. One warning per module block.

✅ Compatibility

  • Koin 4.2.0+
  • Kotlin 2.3.20, 2.4.0, 2.4.10, 2.4.20

📦 Install

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

Thanks

@​richmenaft (#144), @​JajaComp (#143) and @​renaudmathieu (#142) for the reports and reproducers.

Your feedback is welcome 🙏

Full changelog: InsertKoinIO/koin-compiler-plugin@1.2.2...1.2.3

1.2.2

Compile safety on Kotlin/Native and wasm/JS now sees your whole graph, and multi-module projects get far fewer false errors.

✨ Added

  • Hidden dependency check (opt-in): koinCompiler { hiddenDependencyCheck = "warning" } (or "error") lists the modules that the startKoin module reaches only through a transitive implementation dependency, so compile safety can't fully check them. JVM and Android.

🐛 Fixed

... (truncated)

Commits
  • 63decb6 fix: diagnostics carry line:column; disclosure warnings say what to change
  • 008ab5e docs: 1.2.3 release notes cover #140, #143 and #144
  • 19b2f84 fix: no false KOIN-D001 for a factory<T>() from another Gradle module under a...
  • ec739c5 fix: KOIN-W012 says the included modules' types are reported missing
  • 857f0e2 fix: hint signatures unique per KLIB file, no "Different declarations with th...
  • f8a147f feat: compile safety discloses the DSL shapes it cannot follow
  • 6356b30 chore: keep Metro's copyright header in files adapted from Metro
  • 8e5847a fix: the "Fix with AI" line stays on its compilation's error under parallel b...
  • e6b8d21 fix: KOIN-D001 on a local definition of a library class points at its registr...
  • 9badf07 docs: 1.2.3 release notes, playgrounds pin 1.2.3
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 9, 2026 23:25
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 9, 2026
Copilot AI balanced review requested due to automatic review settings November 9, 2026 23:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Koin compiler plugin 1.2.3 is verified only through Kotlin 2.4.20, so the repository’s Kotlin 2.4.21 combination requires Android and iOS compilation results to establish compatibility.

No open issues 🎉

What changed in this PR

Updates the Koin compiler plugin used by the Kotlin Multiplatform template to pick up upstream compilation fixes and improved dependency-injection diagnostics.

Changes:

  • Bumps koin-plugin from 1.2.1 to 1.2.3 in the centralized version catalog.
File Description
gradle/​libs.versions.toml Updates the shared Koin compiler plugin version to 1.2.3.

Review effort: Balanced

@sebaslogen
sebaslogen enabled auto-merge (rebase) November 10, 2026 06:29
Bumps [io.insert-koin.compiler.plugin](https://github.com/InsertKoinIO/koin-compiler-plugin) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/InsertKoinIO/koin-compiler-plugin/releases)
- [Changelog](https://github.com/InsertKoinIO/koin-compiler-plugin/blob/main/RELEASE_NOTES_1.1.0.md)
- [Commits](InsertKoinIO/koin-compiler-plugin@1.2.1...1.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/gradle/io.insert-koin.compiler.plugin-1.2.3 branch from 55a6033 to 7387704 Compare November 10, 2026 06:31
@sebaslogen
sebaslogen merged commit d809dd1 into main Nov 10, 2026
2 checks passed
@sebaslogen
sebaslogen deleted the dependabot/gradle/io.insert-koin.compiler.plugin-1.2.3 branch November 10, 2026 06:40
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.

2 participants