Skip to content
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

build(deps): bump com.lemonappdev:konsist from 0.16.1 to 0.17.0 #202

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2024

Bumps com.lemonappdev:konsist from 0.16.1 to 0.17.0.

Release notes

Sourced from com.lemonappdev:konsist's releases.

v0.17.0

Complete list of changes

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:

Konsist
    .classes
    .withName("StringContainer")
    .assertTrue {
        it.parent.sourceDeclaration.hasModifier(KoModifier.PUBLIC) // previously it.parent.hasModifier
    }

This change allows to verify parent generic type arguments (parent use site).

Konsist
    .classes
    .withName("StringContainer")
    .assertTrue {
        it.typeArguments.flattern().contains { it.name == "String" }
    }

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

... (truncated)

Commits
  • 6d879e4 Merge pull request #1575 from LemonAppDev/release/v0.17.0
  • 9f8e65f Upd docs
  • 5c9d3b6 Upd Version to 0.17.0
  • d6dd01d KON-677 Fix snippets in GenericTypesSnippets (#1515)
  • 7b3a807 Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.3.1-p...
  • 703dcbe Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.3.1-pre.8...
  • b0c1b6b Update dependency org.jetbrains.kotlin-wrappers:kotlin-emotion to v11.13.5-pr...
  • a8f3ef2 KON-688 Update KoSourceDeclaration and KoStarProjectionDeclaration API (#1567)
  • 41f8e5a Update dependency org.jetbrains.kotlin-wrappers:kotlin-react-dom to v18.3.1-p...
  • b84c8a6 Update dependency org.jetbrains.kotlin-wrappers:kotlin-react to v18.3.1-pre.8...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.lemonappdev:konsist](https://github.com/LemonAppDev/konsist) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/LemonAppDev/konsist/releases)
- [Commits](LemonAppDev/konsist@v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: com.lemonappdev:konsist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from sureshg December 1, 2024 01:19
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 1, 2024

The following labels could not be found: gradle, dependencies.

@github-actions github-actions bot merged commit 053ec18 into main Dec 1, 2024
2 of 8 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/com.lemonappdev-konsist-0.17.0 branch December 1, 2024 01:20
Copy link

sonarcloud bot commented Dec 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants