-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency com.lemonappdev:konsist to v0.16.1 #3371
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
9fe17c0
to
76cb788
Compare
76cb788
to
4bce7af
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3371 +/- ##
========================================
Coverage 82.67% 82.67%
========================================
Files 1732 1732
Lines 40970 40970
Branches 4962 4962
========================================
Hits 33873 33873
Misses 5341 5341
Partials 1756 1756 ☔ View full report in Codecov by Sentry. |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
0.15.1
->0.16.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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.