Skip to content

chore(deps): Bump com.slack.lint.compose:compose-lint-checks from 1.4.2 to 1.5.1#759

Merged
svenjacobs merged 1 commit into
mainfrom
dependabot/gradle/com.slack.lint.compose-compose-lint-checks-1.5.1
Jun 1, 2026
Merged

chore(deps): Bump com.slack.lint.compose:compose-lint-checks from 1.4.2 to 1.5.1#759
svenjacobs merged 1 commit into
mainfrom
dependabot/gradle/com.slack.lint.compose-compose-lint-checks-1.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps com.slack.lint.compose:compose-lint-checks from 1.4.2 to 1.5.1.

Release notes

Sourced from com.slack.lint.compose:compose-lint-checks's releases.

1.5.1

  • Enhancement: Add AndroidX mutable scatter collections to known mutable collection types.
  • Fix: Keep ComposeMutableParameters enabled by default for all known mutable parameter types, including a number of mutable collections.
  • Fix: Fix and clean up some lint explanation text formatting.

Special thanks to @​SimonMarquis for contributing to this release!

What's Changed

Full Changelog: slackhq/compose-lints@1.5.0...1.5.1

1.5.0

  • Behavior change: The stability checks (ComposeUnstableReceiver, ComposeMutableParameters, ComposeUnstableCollections) are now disabled by default as they are significantly less important in the era of Compose strong skipping. Re-enable them via the new stability-checks option in lint.xml. See https://slackhq.github.io/compose-lints/rules/#stability.
  • New: Add ComposeItemKeyHashCode to flag hashCode() used in Lazy*/Pager item keys. Item keys must be unique, but hashCodes are not. See https://slackhq.github.io/compose-lints/rules/#dont-use-hashcode-as-a-key.
  • New: Add ComposeRedundantComposable to flag functions/properties annotated @Composable that don't use the composition (no @Composable calls or property reads), so the annotation can be removed. See https://slackhq.github.io/compose-lints/rules/#remove-unnecessary-composable-annotations.
  • Enhancement: Improve ModifierReused data flow analysis. This addresses several past issues with modifier parameter use in composables.
  • Enhancement: ComposeViewModelForwarding is now smarter: it detects ViewModels forwarded inside nested blocks (e.g. Row { Composable(viewModel) }), follows reassignments (e.g. val vm = viewModel; Other(vm)) via data-flow analysis instead of name matching, and no longer flags capitalized non-composable calls (such as event handlers) that happen to take a ViewModel.
  • Fix: Fix ComposeUnstableReceiver false positives on Kotlin value class receivers and on composable members of value class types. Value classes are now treated as stable when their underlying property type is stable, including for compiled cross-module classes (via a metadata-aware evaluator).
  • Fix: Fix the stability-checks option being intermittently ignored: each stability check now registers its own option instance, since a single instance shared across issues had its (lint-internal) issue back-reference overwritten depending on class-load order, causing the configured value to resolve against the wrong issue.
  • Removed: Remove the ComposeRememberMissing rule in favor of Compose's own UnrememberedMutableState lint, which ships with the Compose runtime, is enabled by default, and covers more state builders without the false positives our rule had. See #490.
  • Build against lint 32.2.1.
  • Target Kotlin 2.2 (matches lint 32.*).

Special thanks to @​aasitnikov for contributing to this release!

What's Changed

... (truncated)

Changelog

Sourced from com.slack.lint.compose:compose-lint-checks's changelog.

1.5.1

2026-05-31

  • Enhancement: Add AndroidX mutable scatter collections to known mutable collection types.
  • Fix: Keep ComposeMutableParameters enabled by default for all known mutable parameter types, including a number of mutable collections.
  • Fix: Fix and clean up some lint explanation text formatting.

Special thanks to @​SimonMarquis for contributing to this release!

1.5.0

2026-05-26

  • Behavior change: The stability checks (ComposeUnstableReceiver, ComposeMutableParameters, ComposeUnstableCollections) are now disabled by default as they are significantly less important in the era of Compose strong skipping. Re-enable them via the new stability-checks option in lint.xml. See https://slackhq.github.io/compose-lints/rules/#stability.
  • New: Add ComposeItemKeyHashCode to flag hashCode() used in Lazy*/Pager item keys. Item keys must be unique, but hashCodes are not. See https://slackhq.github.io/compose-lints/rules/#dont-use-hashcode-as-a-key.
  • New: Add ComposeRedundantComposable to flag functions/properties annotated @Composable that don't use the composition (no @Composable calls or property reads), so the annotation can be removed. See https://slackhq.github.io/compose-lints/rules/#remove-unnecessary-composable-annotations.
  • Enhancement: Improve ModifierReused data flow analysis. This addresses several past issues with modifier parameter use in composables.
  • Enhancement: ComposeViewModelForwarding is now smarter: it detects ViewModels forwarded inside nested blocks (e.g. Row { Composable(viewModel) }), follows reassignments (e.g. val vm = viewModel; Other(vm)) via data-flow analysis instead of name matching, and no longer flags capitalized non-composable calls (such as event handlers) that happen to take a ViewModel.
  • Fix: Fix ComposeUnstableReceiver false positives on Kotlin value class receivers and on composable members of value class types. Value classes are now treated as stable when their underlying property type is stable, including for compiled cross-module classes (via a metadata-aware evaluator).
  • Fix: Fix the stability-checks option being intermittently ignored: each stability check now registers its own option instance, since a single instance shared across issues had its (lint-internal) issue back-reference overwritten depending on class-load order, causing the configured value to resolve against the wrong issue.
  • Removed: Remove the ComposeRememberMissing rule in favor of Compose's own UnrememberedMutableState lint, which ships with the Compose runtime, is enabled by default, and covers more state builders without the false positives our rule had. See #490.
  • Build against lint 32.2.1.
  • Target Kotlin 2.2 (matches lint 32.*).

Special thanks to @​aasitnikov for contributing to this release!

1.4.3

2026-05-06

  • New: Add slot parameter passing detection to SlotReusedDetector.
  • Enhancement: ComposeUnstableReceiver only for non-Unit returning functions.
  • Fix: Fix a false positive for ModifierReused.
  • Fix: Fix a false positive when using custom preview annotations.
  • Build against Kotlin 2.3.21.
  • Build against lint 32.2.0.
  • Build against AGP lint plugin 9.2.0.
  • Build against Gradle 9.5.0.
  • Update KSP to 2.3.7.
  • Update ktfmt to 0.56.
  • Update detekt to 1.23.8.
  • Update spotless to 8.4.0.
  • Update dokka to 2.2.0.
  • Update mavenPublish to 0.36.0.
Commits

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 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.slack.lint.compose:compose-lint-checks](https://github.com/slackhq/compose-lints) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/slackhq/compose-lints/releases)
- [Changelog](https://github.com/slackhq/compose-lints/blob/main/CHANGELOG.md)
- [Commits](slackhq/compose-lints@1.4.2...1.5.1)

---
updated-dependencies:
- dependency-name: com.slack.lint.compose:compose-lint-checks
  dependency-version: 1.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from svenjacobs as a code owner June 1, 2026 02:35
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

📦 Build artifacts are available here.

@svenjacobs
svenjacobs merged commit dbf25c6 into main Jun 1, 2026
1 check passed
@svenjacobs
svenjacobs deleted the dependabot/gradle/com.slack.lint.compose-compose-lint-checks-1.5.1 branch June 1, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant