# Changelog

## Score

- CAI 48 → 53 (+4.9)
- Rubric changed (rubric-2026.08.15 → rubric-2026.09.15) — scores are not directly comparable.

## Lenses

- Code Health 97 → 98 (+0.4)
- Architecture 94 → 95 (+1.2)
- Maturity 55 → 59 (+3.7)
- Readiness 17 → 25 (+7.8)
- Security 100 → 100 (+0.0)

## Resolved (6)

- Coverage not measured — test suite did not build
- Dimension evaluation failed
- Duplicated block (10 lines × 2) (lib/src/main/kotlin/com/dbflow5/query/IConditional.kt)
- No exposed public API
- No tests found
- Test reliability not included

## New (19)

- CreationSQLWriter.create (cognitive 38) (kotlin-codegen/src/main/kotlin/com/grosner/dbflow5/codegen/kotlin/writer/CreationSQLWriter.kt)
- CreationSQLWriter.create (cyclomatic 16) (kotlin-codegen/src/main/kotlin/com/grosner/dbflow5/codegen/kotlin/writer/CreationSQLWriter.kt)
- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Duplicated block (10 lines × 2) (lib/src/androidMain/kotlin/com/dbflow5/database/AndroidDatabase.kt)
- Duplicated block (13–15 lines × 2) (kotlin-codegen/src/main/kotlin/com/grosner/dbflow5/codegen/kotlin/writer/ObjectWriter.kt)
- Duplicated block (26 lines × 2) (compiler/src/main/kotlin/com/dbflow5/compiler/ir/CompanionAdapterIrTransformer.kt)
- Duplicated block (29–37 lines × 2) (kotlin-codegen/src/main/kotlin/com/grosner/dbflow5/codegen/kotlin/writer/ManyToManyClassWriter.kt)
- Duplicated block (6 lines × 2) (compiler/src/main/kotlin/com/dbflow5/compiler/ir/AnnotationParsers.kt)
- Edited copy of a member (27 corresponding lines) (compiler/src/main/kotlin/com/dbflow5/compiler/ir/CompanionAdapterIrTransformer.kt)
- JDBCConnection.getDatabaseLocked (cognitive 17) (lib/src/jvmMain/kotlin/com/dbflow5/database/JDBCConnection.kt)
- TodoComment (lib/src/androidMain/kotlin/com/dbflow5/content/ContentNotification.kt)
- TodoComment (lib/src/commonMain/kotlin/com/dbflow5/query/Join.kt)
- TodoComment (lib/src/commonMain/kotlin/com/dbflow5/query/operations/Method.kt)
- TodoComment (lib/src/nativeMain/kotlin/com/dbflow5/database/NativeMigrationFileHelper.kt)
- TodoComment (tests/src/commonMain/kotlin/com/dbflow5/test/ProspectQuiz.kt)
- TodoComment (tests/src/commonMain/kotlin/com/dbflow5/test/TestForeignKeyDatabase.kt)
- TodoComment (tests/src/commonTest/kotlin/com/dbflow5/test/usecases/OneToManyModelTest.kt)

## Changes since last survey

- 10 commits — 10 feature/other, 0 fixes

## By area

- lib/src — 2 commits
- tests/src — 2 commits
- (repo) — 1 commit
- (root) — 1 commit
- compiler/src — 1 commit
- core/src — 1 commit
- processor/src — 1 commit
- usage2/usage — 1 commit

## Notable commits

- change: Make model companions the runtime adapters
- change: Merge pull request #1747 from agrosner/compiler-plugin
- change: Remove legacy KSP and KAPT processor modules
- change: [API] generate AdapterCompanion model companions in the compiler plugin, replacing *_Table objects and the database holder factory.
- change: [API] open databases with createDB instead of generated types.
- change: [Build] upgrade to Gradle 9.7, AGP 9.3, and Kotlin 2.4
- change: [Compiler] generate adapters with a Kotlin compiler plugin.
- change: [Docs] rewrite usage for the compiler plugin and KMP.
- change: [Gradle] plugin wires lib, compiler classpath, generated sources, linker opts, and a dbflowGenerate task.
- change: [Tests] make JVM and native KMP host tests pass.

## Architecture

- Containers 0 added · 0 removed · contexts 6 added · 0 removed · edges 4 added · 0 removed

## Added bounded contexts (6)

- compiler
- kotlin-codegen
- lib
- reactive-streams
- shared-model
- sqlcipher

## Added dependency edges (4)

- compiler → shared-model
- kotlin-codegen → shared-model
- reactive-streams → lib (coupling)
- sqlcipher → lib
