Commit 8bae954
authored
fix(deps): update roborazzi to v1.50.0 (#537)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[io.github.takahirom.roborazzi](https://redirect.github.com/takahirom/roborazzi)
| `1.46.1` -> `1.50.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi-junit-rule](https://redirect.github.com/takahirom/roborazzi)
| `1.46.1` -> `1.50.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi-compose](https://redirect.github.com/takahirom/roborazzi)
| `1.46.1` -> `1.50.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi](https://redirect.github.com/takahirom/roborazzi)
| `1.46.1` -> `1.50.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>takahirom/roborazzi (io.github.takahirom.roborazzi)</summary>
###
[`v1.50.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.50.0)
[Compare
Source](https://redirect.github.com/takahirom/roborazzi/compare/1.49.0...1.50.0)
**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](https://redirect.github.com/papo2608) for reporting
this issue.
##### What's Changed
- Add CONTRIBUTING.md by
[@​takahirom](https://redirect.github.com/takahirom) in
[https://github.com/takahirom/roborazzi/pull/730](https://redirect.github.com/takahirom/roborazzi/pull/730)
- Fix cross-variant KSP task dependency issue with AGP 8.12+ by
[@​takahirom](https://redirect.github.com/takahirom) in
[https://github.com/takahirom/roborazzi/pull/735](https://redirect.github.com/takahirom/roborazzi/pull/735)
- Add integration test to reproduce GitHub Issue
[#​732](https://redirect.github.com/takahirom/roborazzi/issues/732)
by [@​takahirom](https://redirect.github.com/takahirom) in
[https://github.com/takahirom/roborazzi/pull/734](https://redirect.github.com/takahirom/roborazzi/pull/734)
**Full Changelog**:
takahirom/roborazzi@1.49.0...1.50.0
###
[`v1.49.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.49.0)
[Compare
Source](https://redirect.github.com/takahirom/roborazzi/compare/1.48.0...1.49.0)
##### 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](https://takahirom.github.io/roborazzi/preview-support.html).
##### The Problem
When using ComposablePreviewScanner 0.7.0 with previous versions of
Roborazzi, you'll encounter `NoSuchMethodError` at runtime. This happens
because:
- **Method relocation**: ComposablePreviewScanner 0.7.0 moved methods
from `AndroidPreviewScreenshotIdBuilder` to provide common
`PreviewScreenshotIdBuilder` methods for Glance and Compose
Multiplatform
- **Import mismatch**: Previous Roborazzi versions contain generated
code with outdated import statements
- **Runtime failure**: Auto-generated Roborazzi tests from Previews
crash when trying to execute methods at their old locations
##### The 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.
##### 1 parent 28711b5 commit 8bae954
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments