Skip to content

Commit 2bdcca6

Browse files
fix(deps): update roborazzi to v1.54.0 (#707)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [io.github.takahirom.roborazzi](https://redirect.github.com/takahirom/roborazzi) | `1.53.0` → `1.54.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.54.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.53.0/1.54.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi-junit-rule](https://redirect.github.com/takahirom/roborazzi) | `1.53.0` → `1.54.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.54.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.53.0/1.54.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi-compose](https://redirect.github.com/takahirom/roborazzi) | `1.53.0` → `1.54.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.54.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.53.0/1.54.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi](https://redirect.github.com/takahirom/roborazzi) | `1.53.0` → `1.54.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi/1.54.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi/1.53.0/1.54.0?slim=true) | --- ### Release Notes <details> <summary>takahirom/roborazzi (io.github.takahirom.roborazzi)</summary> ### [`v1.54.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.54.0) [Compare Source](https://redirect.github.com/takahirom/roborazzi/compare/1.53.0...1.54.0) ##### Breaking change: Report HTML and JSON paths have changed The HTML report used to be at `build/reports/roborazzi/index.html` but is now located at `build/reports/roborazzi/<build_variant>/index.html`. This is a first step toward fixing a long-standing issue where running `recordRoborazzi` (instead of `recordRoborazziDebug`) could break test results; further work is still needed to make it fully reliable. You should be able to fix it by adding `/debug/` (or your build variant) to the path in your CI script. I believe the change is straightforward, but if you run into any cases where it's difficult please let me know. **Note**: This change does **not** affect the paths of the generated screenshot images, so most users will not be impacted. Thank you for your contribution, [@&#8203;vladcudoidem](https://redirect.github.com/vladcudoidem)! ##### Behavioral change: Fixed screenshot timing for Compose Preview Support Previously, we used Espresso.onIdle() and ShadowLooper.idle(), but these APIs are not suitable for Compose. Consequently, screenshots could not be captured after onSizeChanged completed. ```kotlin @&#8203;Preview @&#8203;Composable fun PreviewOnSizeChanged() { var size by remember { mutableStateOf("unknown") } Box( modifier = Modifier .size(100.dp) .background(Color.Blue) .onSizeChanged { size = "${it.width}x${it.height}" } // Now invoked! (It used to be skipped.) ) { Text(text = size, color = Color.White) } } ``` If you encounter issues with infinite animations—such as `CircularProgressIndicator`—you can configure frame-based captures using `@RoboComposePreviewOptions`. ```kotlin @&#8203;RoboComposePreviewOptions( manualClockOptions = [ManualClockOptions(advanceTimeMillis = 0L)] ) ``` Thank you for reporting this issue, [@&#8203;savvasenok](https://redirect.github.com/savvasenok)! ##### What's Changed - Add PreviewOnSizeChanged to reproduce issue [#&#8203;768](https://redirect.github.com/takahirom/roborazzi/issues/768) by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;769](https://redirect.github.com/takahirom/roborazzi/pull/769) - Store HTML and JSON reports in flavored directories by [@&#8203;vladcudoidem](https://redirect.github.com/vladcudoidem) in [#&#8203;749](https://redirect.github.com/takahirom/roborazzi/pull/749) - Fix onSizeChanged recomposition not completing before capture by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;770](https://redirect.github.com/takahirom/roborazzi/pull/770) **Full Changelog**: <takahirom/roborazzi@1.53.0...1.54.0> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/EmergeTools/hackernews). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent ba581e0 commit 2bdcca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ coreKtx = "1.17.0"
66
junit = "4.13.2"
77
junitVersion = "1.1.5" # This is to match Compose's version
88
robolectric = "4.16"
9-
roborazzi = "1.53.0"
9+
roborazzi = "1.54.0"
1010
espressoCore = "3.5.0" # This is to match Compose's version
1111
lifecycleRuntimeKtx = "2.10.0"
1212
activityCompose = "1.12.2"

0 commit comments

Comments
 (0)