chore(deps): update dependency com.lemonappdev:konsist to v0.17.3 #549
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.16.1
->0.17.3
Release Notes
LemonAppDev/konsist (com.lemonappdev:konsist)
v0.17.3
Complete List Of Changes
💡 API Improvements
v0.17.2
Complete List Of Changes
🐛 API Bug Fixes
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 todependsOn
method:strict = false
(default) - may depend on layerstrict = true
- have to depend on layerComplete List Of Changes
🐛 API Bug Fixes
💡 API Improvements
🏗️ Maintenance
v0.17.0
First of all we have an exciting news - Konsist is the winner of the Kotlin Foundation Grants Program 2024 🎉.
We have been hearing you feedback, so this update bring many important improvements requested by the community.
This release bring bugs fixes and many API improvements as well as some groundwork for upcoming
1.0.0-Beta1
release.Overall Kosnist API is quite stable now , so we don’t expect any more major API changes.
Big thanks goes to @chrisbanes for the contributions.
Key changes
Improvement for Parent References (⚠️ Breaking Change)
We enhanced parent references in the API to now support both examining the parent type declaration (enabling Konsist checks for annotations, modifiers, and other declaration properties) and analyzing actual parent usage details (such as inspecting generic type arguments) through separate access methods.
This is best demonstrated with the example:
This change allows to verify parent generic type arguments (parent use site).
Added Support for Generic Type Arguments
This release bring top requested feature - support for generic types. Generic type parameters and type arguments can be now verified with Konsist.
Check Verifying Generics documentation page.
Source Declaration (⚠️ Breaking Change)
API around source declarations has been unified. From property declaration, function declaration, function return type, parent
declaration, etc. it's possible to can access
sourceDeclaration
(declaration site) to get the actual type and verify it.In this example we are checking if type of
current
property is a class declaration withinternal
modifier:Due to updated API, some methods have been deprecated. For example,
asClassDeclaration
has been "moved to sourceDeclaration`:Konsist .scopeFromProject() .functions() .returnTypes .assertTrue { it.sourceDeclaration() ?.asClassDeclaration() ?.hasPrivateModifier }
Improved Kotlin Backwards Compatibility
Konsist has been updated to ensure backward compatibility with Kotlin 1.8. This enhancement enables developers to integrate Konsist
into projects that haven't yet upgraded to the latest Kotlin version. By supporting Kotlin 1.8, Konsist can now be utilized in a wider
range of codebases, including those maintaining older Kotlin versions for various reasons. From now on Konsist should be compatible with
at least 3 most recent releases of Kotlin (does not take
path
releases into consideration). We will also slow down with updating minorversion of Kotlin to boost compatibility even more.
Language Reference Link
The Konsist Language reference was added.
API Improvements
Added
isExtension
:... and more.
Updated Architecture Assertions
A new
include()
method was added to include layers in architecture verification, without defining a dependency.What's Next
We will now focus on adding baseline and processing community feedback.
Complete List Of Changes
🐛 API Bug Fixes
💡 API Improvements
💡 Improvements
📕 Documentation
🏗️ Maintenance
KON-631 Write a script to create release by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1327
KON-641 Update script to create release by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1365
KON-632 Fix .kttest and .ktdoc github actions by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1337
KON-633 Add final modifier to override methods by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1343
KON-634 Update Java version in starter projects by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1350
Fix Project Url in MavenCentral by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1361
KON-376 Update Dokka Task Name by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1395
KON-651 Limit Kotlin Updates by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1401
Add Gh Pages by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1398
Add Gh Pages by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1399
KON-652 Add Maintenance Label To PRs Opened By Renovate by by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1402
Update Dev Readme by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1403
Update Java Version In Starter Projects by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1405
Update README.md by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1406
Reorganize Konsist Tests by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1431
Fix Jobs that are failing forked repositories external by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1418
Update Architecture Test Descriptions by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1484
KON-676 Add tests for parents defined by import alias and type alias by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1498
Unify Dependency Names by @igorwojda in https://github.com/LemonAppDev/konsist/pull/1512
Refactor Asci Tree Node @igorwojda in https://github.com/LemonAppDev/konsist/pull/1511
Full Changelog: LemonAppDev/konsist@v0.16.1...v0.17.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.