Skip to content

Commit ba581e0

Browse files
fix(deps): update roborazzi to v1.53.0 (#704)
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.52.0` → `1.53.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.53.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.52.0/1.53.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi-junit-rule](https://redirect.github.com/takahirom/roborazzi) | `1.52.0` → `1.53.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.53.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.52.0/1.53.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi-compose](https://redirect.github.com/takahirom/roborazzi) | `1.52.0` → `1.53.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.53.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.52.0/1.53.0?slim=true) | | [io.github.takahirom.roborazzi:roborazzi](https://redirect.github.com/takahirom/roborazzi) | `1.52.0` → `1.53.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi/1.53.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi/1.52.0/1.53.0?slim=true) | --- ### Release Notes <details> <summary>takahirom/roborazzi (io.github.takahirom.roborazzi)</summary> ### [`v1.53.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.53.0) [Compare Source](https://redirect.github.com/takahirom/roborazzi/compare/1.52.0...1.53.0) ##### New feature `generatedTestClassCount` and behavior changes to Compose Preview support We've added the `generatedTestClassCount` option, which enables us to run Preview tests in parallel when you set maxParallelForks to a value greater than 1. ```gradle roborazzi { generateComposePreviewRobolectricTests { generatedTestClassCount = 4 } } ``` As the name `generatedTestClassCount` suggests, this option generates as many test classes as specified. It creates tests whose `previewIndex % totalTestClassCount == testClassIndex`. **However, this option does not modify maxParallelForks, so you must also set maxParallelForks yourself to run tests in parallel.** This is our policy: we never alter other plugin(AGP) settings in order to keep one single source of configuration. Behavior changes: generatedTestClassCount now defaults to the same value as maxParallelForks. Therefore, if you already use maxParallelForks during testing, the behavior may change if your tests are non-deterministic—for example, if they depend on the order in which other tests run. Last but not least, thanks to [@&#8203;sergio-sastre](https://redirect.github.com/sergio-sastre) for suggesting this feature, reviewing the code, and confirming the approach works! ##### Fix configuration-time resolution when using BOM to Compose Preview support Fixed an error where the version verification logic triggered configuration-time resolution errors when using BOM (Bill of Materials) for dependency management. The fix simplifies the `verifyComposablePreviewScannerVersion` method by removing the complex fallback logic that attempted to infer versions from test configurations. Instead, the plugin now only checks explicitly declared versions—when no version is specified (indicating BOM management), verification is skipped. Thanks to [@&#8203;igokoro](https://redirect.github.com/igokoro) for reporting this issue! ##### Fix iOS snapshot not creating parent directories before writing files Fixed a critical bug where iOS snapshot tests weren't being recorded on the first run. The root cause was that `NSData.writeToFile` silently fails when parent directories don't exist. The fix ensures parent directories are automatically created before writing files using `NSFileManager.defaultManager.createDirectoryAtPath` with `withIntermediateDirectories = true`. Additionally, error logging was added to report both successful and failed file operations, preventing silent failures. Thanks to [@&#8203;jl-jonas](https://redirect.github.com/jl-jonas) for reporting this issue! ##### What's Changed - Fix configuration-time resolution when using BOM by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;762](https://redirect.github.com/takahirom/roborazzi/pull/762) - \[Not library dependency update] Update dependency org.robolectric:android-all to v15-robolectric-13954326 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;760](https://redirect.github.com/takahirom/roborazzi/pull/760) - \[CI] Update actions/checkout digest to [`34e1148`](https://redirect.github.com/takahirom/roborazzi/commit/34e1148) by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;764](https://redirect.github.com/takahirom/roborazzi/pull/764) - Fix iOS snapshot not creating parent directories before writing files by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;766](https://redirect.github.com/takahirom/roborazzi/pull/766) - Add test sharding support for preview tests by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;761](https://redirect.github.com/takahirom/roborazzi/pull/761) **Full Changelog**: <takahirom/roborazzi@1.52.0...1.53.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:eyJjcmVhdGVkSW5WZXIiOiI0Mi42Ni4xNCIsInVwZGF0ZWRJblZlciI6IjQyLjY2LjE0IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 1cc38a7 commit ba581e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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.52.0"
9+
roborazzi = "1.53.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)