Repository navigation
Update dependency com.lemonappdev:konsist to v0.18.1 - #834
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/konsist
branch
from
October 10, 2026 09:43
118d2cf to
7962bd5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.17.3→0.18.1Release Notes
LemonAppDev/konsist (com.lemonappdev:konsist)
v0.18.1This release fixes a crash introduced in
0.18.0and improves how Konsist scans project files.Big thanks goes to @nikitachicherindev for the contribution.
Key changes
Kotlin Type Parent Crash Fix
0.18.0threwIllegalArgumentException: Kotlin type has incorrect fullyQualified namewhen a class extended a Kotlin type with constructor arguments, type arguments or delegation. This brokehasParentOf,hasAllParentsOf,withAllParentsOfand other methods that check parent fully qualified names:parent.sourceDeclarationof a Kotlin type now holds only the supertype, sotextandhasText...methods return the type without constructor arguments or delegation:textin0.18.0textin0.18.1RuntimeException(message)RuntimeException(message)RuntimeExceptionCharSequence by valueCharSequence by valueCharSequenceProject File Scanning (⚠️ Behaviour Change)
.git,.gradle,.idea,.claude/worktrees) andnode_modulesare no longer scanned. This fixesOutOfMemoryErrorin projects containing full project copies, such as git worktrees.buildortargetinsidesrc(e.g.com.example.build) are no longer excluded from scopes. Only build output directories outsidesrcare skipped.Complete List Of Changes
🐛 API Bug Fixes
📕 Documentation
🏗️ Maintenance
0.18.0to0.18.1by @igorwojda in #1920v0.18.0After a long break, I'm bringing Konsist back up to date. This release fixes the most frequently reported issue: Kotlin 2.4. Make sure to check the Migration guide: 0.18.0 breaking changes.
In the AI era, code gets generated faster and in more varied structures than ever. I hope Konsist helps you keep your codebase consistent and your architecture in check.
Community Feedback & What's Next
My next focus is processing community feedback, and I plan to dedicate more time to the project going forward. Apologies for the long silence; life had to take priority for a while. Thanks for your patience and continued support.
Feedback is welcome again! Help shape the future of Konsist: what features would make your work easier? Which bugs are getting in your way? Share your ideas in the #konsist channel or Github Discussions. Your feedback helps us decide what to tackle next.
Please help spread the word: Konsist is back!
Big thanks goes to @nataliapeterwas and @aburmeis for the contributions.
Key changes
Kotlin 2.4
Konsist is now built with Kotlin
2.4.21.Minimum requirements have changed:
0.17.30.18.01.8+2.0+8+17+Konsist still works when your project resolves an older Kotlin compiler at runtime (e.g. Kotlin
2.3enforced viakotlin-bom).Companion Object Support
Companion objects can now be verified with Konsist:
Use
includeNested = trueto also include companion objects of nested classes:Case-Insensitive Name Matching
All name-based methods (
hasName...,withName...,hasXWithName...,withXNamed..., etc.) now accept anignoreCaseparameter (defaultfalse). A newhasNamemethod was added for exact name matching.Annotation Source Declaration (⚠️ Breaking Change)
KoAnnotationDeclarationnow providessourceDeclaration, so annotation declarations can be verified directly:fullyQualifiedNameof an annotation applied via an import alias now returns the real fully qualified name:Enum Constant Improvements
Added
ordinalproperty:KoEnumConstantDeclarationnow provides properties, functions and classes declared in the constant body. Variable and local declaration accessors are deprecated (removal planned for0.20.0):enumConstant.hasProperty { it.hasGetter } // previously hasVariable { ... } enumConstant.hasFunction { it.hasReturnType() } // previously hasLocalFunction { ... }Architecture Assertions
Fixed
strictdependency check reporting conflicts between unrelated layers:Layerdocumentation was updated to reflect the current package rules:..wildcard is allowed at the start, middle or end of the package pattern.Notable Bug Fixes
hasParentOf(Throwable::class),hasAnnotationOf(RestController::class)withimport org.springframework.web.bind.annotation.*)typeArgumentsis now available for nullable types (e.g.List<String>?)parametersis now available for nullable function types (e.g.((String) -> Unit)?)isGenericnow returnstruefor types with nullable type arguments (e.g.List<String?>).gitdirectory is no longer scannedMigration guide: 0.18.0 breaking changes
Other breaking changes are covered in Key changes: minimum Kotlin
2.0/ Java17, andfullyQualifiedNameof import-aliased annotations.APIs deprecated in earlier releases have been removed. Properties on declarations (
isNullable,isTopLeveland so on) work the same. Only code that refers to the old provider types or the removed list extensions needs changes.Provider interfaces
KoNullableProviderKoIsNullableProviderKoGenericTypeProviderKoIsGenericProvider(isGeneric)KoConstructorDefinedProviderKoIsConstructorDefinedProviderKoWildcardProviderKoIsWildcardProviderKoInitializerProviderKoIsInitializedProviderKoReadOnlyProviderKoIsReadOnlyProviderKoTopLevelProviderKoIsTopLevelProviderList extensions
withNullableType()withNullable()withoutNullableType()withoutNullable()Complete List Of Changes
KoAnnotationDeclarationby @igorwojda in #18291.8to2.0by @igorwojda in #18918to17by @igorwojda11to17by @igorwojda in #19030.18.0by @igorwojda in #1910 (see Migration guide)🐛 API Bug Fixes
typeArgumentsis not available for nullable parameters by @igorwojda in #1843💡 API Improvements
KoEnumConstantDeclarationby @nataliapeterwas in #1618💡 Improvements
📕 Documentation
🏗️ Maintenance
spotlessconfig by @igorwojda in #1800buildLogictobuild-logicby @igorwojda in #1827SampletoFixturein test code by @igorwojda in #19070.17.3to0.18.0by @igorwojda in #1909Full Changelog: LemonAppDev/konsist@v0.17.3...v0.18.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.