Update dependency com.lemonappdev:konsist to v0.16.1 #172
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.15.1
->0.16.1
Release Notes
LemonAppDev/konsist (com.lemonappdev:konsist)
v0.16.1
What's Changed
Hot fix release.
Complete list of changes
🐛 API Bug Fixes
Full Changelog: LemonAppDev/konsist@v0.16.0...v0.16.1
v0.16.0
What's Changed
This release contains new improvement and API updates. Two new features are providers for all common combinations of interface, object and class and
doesNotDependOn
method for architecture checks.Thanks you for your feedback 🙏
1. Add providers for all common combinations of interface, object and class
Adding suport for writing tests for classes, interfaces and objects in one test.
Konsist now provides a set of methods such as:
classesAndInterfacesAndObjects()
classesAndInterfaces()
classesAndObjects()
interfacesAndObjects()
These methods can be used in two ways:
For example:
In addition to these methods, Konsist offers various other functions that allow you to count all selected declarations, check whether they meet a specific predicate, or determine if any declarations match the selected criteria. Examples include:
numClassesAndInterfacesAndObjects()
countClassesAndInterfacesAndObjects { it.hasNameEndingWith("Suffix") }
hasClassesOrInterfacesOrObjects()
hasClassOrInterfaceOrObject { it.hasNameEndingWith("Suffix") }
The examples above demonstrate methods for classes, interfaces, and objects, but Konsist provides similar methods for all combinations of classes, interfaces, and objects (either individually, in pairs, or all together).
Additionally, Konsist includes a set of
withX/withoutX
extension functions, enabling you to write tests like:2.
doesNotDependOn
methodAdded
doesNotDependOn
method to architectural checks.Eg. It is possible to write such tests for this architecture
Complete list of changes
🐛 API Bug Fixes
KoTypeDeclarationProvider.declaration
throws an exception whentypeAliases
extension is called by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1089hasOperatorModifier()
filtrationKoInternalException
was shown with message:Modifier not found: with
by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1167KoDefaultValueProviderCore
does not handle default values that are objects by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1282💡 API Improvements
withText
extensions by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1118doesNotDependOn
to layer verification by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1233📕 Documentation
🏗️ Maintanance
.ktdoc
have valid Kotlin code by @nataliapeterwas in https://github.com/LemonAppDev/konsist/pull/1122Full Changelog: LemonAppDev/konsist@v0.15.1...v0.16.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.