Skip to content

Commit 937a116

Browse files
fix(deps): update roborazzi to v1.51.0 (#639)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [io.github.takahirom.roborazzi](https://redirect.github.com/takahirom/roborazzi) | `1.50.0` -> `1.51.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:io.github.takahirom.roborazzi.gradle.plugin/1.50.0/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.github.takahirom.roborazzi:roborazzi-junit-rule](https://redirect.github.com/takahirom/roborazzi) | `1.50.0` -> `1.51.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-junit-rule/1.50.0/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.github.takahirom.roborazzi:roborazzi-compose](https://redirect.github.com/takahirom/roborazzi) | `1.50.0` -> `1.51.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi-compose/1.50.0/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.github.takahirom.roborazzi:roborazzi](https://redirect.github.com/takahirom/roborazzi) | `1.50.0` -> `1.51.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.takahirom.roborazzi:roborazzi/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.takahirom.roborazzi:roborazzi/1.50.0/1.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>takahirom/roborazzi (io.github.takahirom.roborazzi)</summary> ### [`v1.51.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.51.0) [Compare Source](https://redirect.github.com/takahirom/roborazzi/compare/1.50.0...1.51.0) ##### Add validation for Compose Preview Support users includePrivatePreviews is an option we can set in Gradle DSL. However, there is a scenario where we cannot use it, and it appears to be a flaw. The reason why includePrivatePreviews is not utilized is that users can specify a custom tester in their code, and Roborazzi's default tester applies the option using parameters from the Gradle DSL. You can see the error message if you do not set options properly, as shown below. You can simply review and follow what the error message indicates. Thank you, [@&#8203;egorikftp](https://redirect.github.com/egorikftp), for reporting this issue! Thank you, [@&#8203;sergio-sastre](https://redirect.github.com/sergio-sastre), for your input on this issue! ``` You have two options: 1. Remove 'includePrivatePreviews = true' from generateComposePreviewRobolectricTests configuration and call '.includePrivatePreviews()' directly in your custom tester's testParameters() method. 2. Set 'useScanOptionParametersInTester = true' in generateComposePreviewRobolectricTests configuration and check 'options.scanOptions.includePrivatePreviews' in your testParameters() implementation. Example for option 1: ``` <https://redirect.github.com/takahirom/roborazzi/pull/740/files#diff-0ed97664cea9b889781317183ecffc5ab489f71f3c1ee34484ea1eeb392dd3a5R121-R167> ##### What's Changed - \[CI] Fix potential env var injection by removing newlines from PR\_NUMBER by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;736](https://redirect.github.com/takahirom/roborazzi/pull/736) - \[CI] Add explicit permissions to GitHub Actions workflows by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;738](https://redirect.github.com/takahirom/roborazzi/pull/738) - \[CI] Sanitize PR number handling in GitHub Actions by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;737](https://redirect.github.com/takahirom/roborazzi/pull/737) - \[CI] Add workflow\_dispatch for store screenshot by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;741](https://redirect.github.com/takahirom/roborazzi/pull/741) - \[CI] Pin dependencies by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;742](https://redirect.github.com/takahirom/roborazzi/pull/742) - \[CI] Update actions/checkout digest to [`08eba0b`](https://redirect.github.com/takahirom/roborazzi/commit/08eba0b) by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;743](https://redirect.github.com/takahirom/roborazzi/pull/743) - \[CI] Update actions/download-artifact digest to [`d3f86a1`](https://redirect.github.com/takahirom/roborazzi/commit/d3f86a1) by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;744](https://redirect.github.com/takahirom/roborazzi/pull/744) - \[CI] Update JetBrains/writerside-github-action digest to [`73f8f37`](https://redirect.github.com/takahirom/roborazzi/commit/73f8f37) by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;745](https://redirect.github.com/takahirom/roborazzi/pull/745) - \[not library dependencies] Update composable.preview\.scanner to v0.7.1 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;746](https://redirect.github.com/takahirom/roborazzi/pull/746) - \[not library dependencies] Update dependency androidx.appcompat:appcompat to v1.7.1 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;747](https://redirect.github.com/takahirom/roborazzi/pull/747) - Add validation for includePrivatePreviews with custom tester by [@&#8203;takahirom](https://redirect.github.com/takahirom) in [#&#8203;740](https://redirect.github.com/takahirom/roborazzi/pull/740) **Full Changelog**: <takahirom/roborazzi@1.50.0...1.51.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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 1c19232 commit 937a116

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.50.0"
9+
roborazzi = "1.51.0"
1010
espressoCore = "3.5.0" # This is to match Compose's version
1111
lifecycleRuntimeKtx = "2.9.4"
1212
activityCompose = "1.11.0"

0 commit comments

Comments
 (0)