v0.17.1
This release is focused on bug fixes and minor improvements.
Konsist 0.17.0
has accidentally changed layer dependency behaviour from "may depend on" to "has to depend on".
We have reverted this change and added a strict
parameter to dependsOn
method:
strict = false
(default) - may depend on layerstrict = true
- have to depend on layer
// Optional dependency - Feature layer may depend on Domain layer
featureLayer.dependsOn(domainLayer) // strict = false by default
// Required dependency - Feature layer must depend on Domain layer
featureLayer.dependsOn(domainLayer, strict = true)
Complete List Of Changes
🐛 API Bug Fixes
- KON-699 Restore Layer Package Validation by @igorwojda in #1600
- KON-698 Restore Depends On Behaviour by @igorwojda in #1599
- KON-697 hasValidKDocParamTags not distinguish non-KDoc tags by @nataliapeterwas in #1598
- KON-692 Fix "StackOverflowError" Exception when trying to find indirect parents by @nataliapeterwas in #1583
💡 API Improvements
- KON-696 Add missing deprecation for KoTypeDeclaration for extensions from KoDeclarationCastProviderListExt by @nataliapeterwas in #1597
- KON-693 Add ASCII tree to missing methods like assertNotEmpty by @nataliapeterwas in #1586
🏗️ Maintenance
- Block Kotlin updates prior to version 2.1.0 (no Kotlin-related changes in this release) by @igorwojda
- Revert "Update kotlin monorepo to v2.1.0" by @igorwojda in #1592
- Disable Kotlin updates by @igorwojda in #1594
- Update allowed Kotlin version in renovate to "allowedVersions": "<2.1.0" by @igorwojda in #1591