fix(deps): update roborazzi to v1.50.0 #537
Open
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:
1.46.1
->1.50.0
1.46.1
->1.50.0
1.46.1
->1.50.0
1.46.1
->1.50.0
Release Notes
takahirom/roborazzi (io.github.takahirom.roborazzi)
v1.50.0
Compare Source
Fixed: Resolved Gradle task dependency errors with Android Gradle Plugin 8.12+ where
GenerateComposePreviewRobolectricTestsTask
output was used by compilation tasks without explicit dependencies. Thank you @papo2608 for reporting this issue.What's Changed
Full Changelog: takahirom/roborazzi@1.49.0...1.50.0
v1.49.0
Compare Source
ComposablePreviewScanner 0.7.0 Compatibility Update
Breaking Change - Compatibility Update Required
This release addresses a breaking compatibility issue with ComposablePreviewScanner 0.7.0 that affects users of Roborazzi's Preview support feature.
The Problem
When using ComposablePreviewScanner 0.7.0 with previous versions of Roborazzi, you'll encounter
NoSuchMethodError
at runtime. This happens because:AndroidPreviewScreenshotIdBuilder
to provide commonPreviewScreenshotIdBuilder
methods for Glance and Compose MultiplatformThe Solution
This Roborazzi update replaces the old method calls and import statements with new ones compatible with ComposablePreviewScanner 0.7.0+. However, since these new method locations don't exist in ComposablePreviewScanner 0.6.x, you must update both libraries together.
If you use Roborazzi's Preview support, you must:
Both updates are required - updating only one will cause build or runtime errors.
Migration Steps
Improved Error Detection
We've added clear build-time error messages to help you identify when this compatibility issue occurs, so you'll know exactly what needs to be updated instead of encountering cryptic runtime errors.
Common Update Scenarios
Scenario 1: Update only ComposablePreviewScanner to 0.7.0
→
NoSuchMethodError
with old Roborazzi. Update Roborazzi to resolve.Scenario 2: Update only Roborazzi
→ Compile-time error with clear message to update ComposablePreviewScanner ✅
Acknowledgments
Thanks to @sergio-sastre for collaboration on resolving this compatibility challenge and maintaining the ComposablePreviewScanner library.
What's Changed
Full Changelog: takahirom/roborazzi@1.48.0...1.49.0
v1.48.0
Compare Source
Fix Preview Size Retention Bug
Fixed issue where
@Preview
annotation size attributes (heightDp/widthDp) incorrectly persisted between capturesProblem
Subsequent previews without explicit size would inherit dimensions from previous previews instead of using defaults.
Solution
Save and restore Robolectric qualifiers properly in captureRoboImage() to ensure preview size isolation.
Thanks to @smuldr for reporting this issue!
Breaking Changes: Update Libraries
You can see the changes at: https://github.com/takahirom/roborazzi/actions/runs/16952566040
Overall, we are now using Kotlin 2.0.21. We don't chase the latest versions, but we want to add tests using the latest Compose Multiplatform Previews. Thank you for letting me know about this! @sergio-sastre
What's Changed
Full Changelog: takahirom/roborazzi@1.47.0...1.48.0
v1.47.0
Compare Source
Compose Preview Tester Customization
Added
Capturer
interface toAndroidComposePreviewTester
for customizing capture behavior (#716). This allows setting customcomparison thresholds and other RoborazziOptions for generated Compose preview tests.
Fixes #703. Thanks @pavel163 for the issue report and @sergio-sastre for the review!
What's Changed
New Contributors
Full Changelog: takahirom/roborazzi@1.46.1...1.47.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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.