Skip to content

feat(deps): Auto-update ComposablePreviewScanner version#1173

Merged
runningcode merged 1 commit intomainfrom
no/auto-update-composable-preview-scanner
Apr 28, 2026
Merged

feat(deps): Auto-update ComposablePreviewScanner version#1173
runningcode merged 1 commit intomainfrom
no/auto-update-composable-preview-scanner

Conversation

@runningcode
Copy link
Copy Markdown
Contributor

@runningcode runningcode commented Apr 28, 2026

The version was previously hardcoded inside the plugin source, so each bump required a manual PR. This brings it in line with how sentry-cli and the Android SDK versions are kept up to date.

Summary

  • Externalizes the ComposablePreviewScanner version into plugin-build/composable-preview-scanner.properties (mirrors sentry-cli.properties) and exposes it as BuildConfig.ComposablePreviewScannerVersion, replacing the hardcoded coordinate string in AndroidComponentsConfig.
  • Adds a composable-preview-scanner job to .github/workflows/update-deps.yml using the existing getsentry/github-workflows/updater action, so a PR is opened automatically when sergio-sastre/ComposablePreviewScanner publishes a new release (daily + on every push to main).

#skip-changelog

Externalize the ComposablePreviewScanner version into a properties
file and wire it through BuildConfig, so the existing
getsentry/github-workflows/updater action can open update PRs the
same way it does for sentry-cli and the Android SDK.

Also switch the properties read to providers.fileContents so the
configuration cache is invalidated on file change instead of the
file being read eagerly at configuration time.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 436d2dd

@runningcode runningcode marked this pull request as ready for review April 28, 2026 13:51
@@ -0,0 +1,2 @@
version = 0.8.1
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest version is 0.8.2. Intentionally set to 0.8.1 to test that the updater works.

@runningcode runningcode merged commit 1024da8 into main Apr 28, 2026
23 of 24 checks passed
@runningcode runningcode deleted the no/auto-update-composable-preview-scanner branch April 28, 2026 16:21
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.

2 participants