Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update roborazzi to v1.9.0 #108

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Update roborazzi to v1.9.0 #108

merged 1 commit into from
Jan 27, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.takahirom.roborazzi 1.9.0-alpha-4 -> 1.9.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-junit-rule 1.9.0-alpha-4 -> 1.9.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose-desktop 1.9.0-alpha-4 -> 1.9.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose 1.9.0-alpha-4 -> 1.9.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi 1.9.0-alpha-4 -> 1.9.0 age adoption passing confidence

Release Notes

takahirom/roborazzi (io.github.takahirom.roborazzi)

v1.9.0

Compare Source

Announcement: Simplified Release Strategy for Roborazzi

We're making some changes to our release strategy to enhance your experience. Moving forward, we will be streamlining our versioning system. Instead of maintaining separate alpha/rc/stable versions, we will integrate experimental features directly into stable releases, marked with clear experimental annotations. This approach aims to simplify updates and improve clarity while ensuring you still have access to the latest features and improvements.

We value your input and experience. If you have any thoughts or feedback on this change, please feel free to share them with us on GitHub Issue #​243.

New Experimental Features

  • Introduction of captureScreenRoboImage() Function:
    This function executes screenshot tests that include dialogs on the screen, offering an alternative to the conventional use of Espresso's ViewInteraction or Compose Test's SemanticsNodeInteraction captureRoboImage(). Thank you, @​nelletto, for bringing this issue with dialog screenshots to our attention.

    Before:

    onRoot().captureRoboImage()
    onView(isRoot()).captureRoboImage()

    After:

    captureScreenRoboImage()
image
  • RoborazziTaskType Property:
    I developed Roborazzi to facilitate layout viewing during UI tests, addressing the limitations in Robolectric's layout visibility. Initially, Roborazzi couldn't support just viewing layouts during the verification task (roborazziVerifyDebug). Hence, I've introduced a feature allowing task type alteration during test executions.

    onView(ViewMatchers.isRoot())
      .captureRoboImage(
        roborazziOptions = RoborazziOptions(
          taskType = roborazziSystemPropertyTaskType().convertVerifyingToComparing()
        )
      )

Behavior Changes

  • Adjustments for Upcoming Robolectric Shadow Rendering Support:
    While Robolectric is in the process of introducing technical support for shadow rendering, Roborazzi is adapting its screenshot capture method accordingly. We're shifting towards using the PixelCopy class more extensively instead of relying solely on the View draw method. If you notice any issues with this change, please report them to us. Thank you, @​sergio-sastre, for highlighting the advantages of using PixelCopy.

Bug Fixes

  • Fixed Potential Memory Leak:
    Addressed a memory leak issue occurring when using compose captureRoboImage{} multiple times within a single test. (Thanks for reporting this @​vetoketju )
  • Resolved File Path Duplication:
    Corrected an issue where not specifying a file path with relativePathFromRoborazziContextOutputDirectory resulted in duplicated file paths, like build/output/roborazzi/build/output/roborazzi/xxxx.png.
  • Fixed a bug in window ordering for screenshots: Windows are now accurately layered by type for more reliable and consistent screenshot results.
  • Fixed the issue where captureScreenRoboImage() failed to capture Material3 Compose dialogs and bottom sheets.
    @​marianeum Thank you for reporting this issue!
  • Resolved the issue causing comparison images to enlarge when using the scale option.

Others

What's Changed

New Contributors

Full Changelog: takahirom/roborazzi@1.8.0...1.9.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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@chrisbanes chrisbanes merged commit 0916060 into main Jan 27, 2024
2 checks passed
@chrisbanes chrisbanes deleted the renovate/roborazzi branch January 27, 2024 06:42
ZacSweers referenced this pull request in ZacSweers/CatchUp Feb 5, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dev.chrisbanes.haze:haze](https://togithub.com/chrisbanes/haze) |
`0.4.5` -> `0.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/dev.chrisbanes.haze:haze/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.chrisbanes.haze:haze/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.chrisbanes.haze:haze/0.4.5/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.chrisbanes.haze:haze/0.4.5/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>chrisbanes/haze (dev.chrisbanes.haze:haze)</summary>

### [`v0.5.0`](https://togithub.com/chrisbanes/haze/releases/tag/0.5.0)

[Compare
Source](https://togithub.com/chrisbanes/haze/compare/0.4.5...0.5.0)

#### Highlights

🏃 Optimizations and performance increases (see
[here](https://chrisbanes.github.io/haze/performance/))
🌫️ New Materials library (see
[here](https://chrisbanes.github.io/haze/materials/))
🆕 Tidied up styling API
✨ Updated to Compose Multiplatform 1.6.0-beta01 (and Jetpack Compose
1.6.0)
🔁 Merged haze and haze-jetpack-compose
📜 (Android) New baseline profiles bundled in library. Thanks to
[@&#8203;simonlebras](https://togithub.com/simonlebras) for this.

#### What's Changed

- Baseline profile by
[@&#8203;simonlebras](https://togithub.com/simonlebras) in
[https://github.com/chrisbanes/haze/pull/93](https://togithub.com/chrisbanes/haze/pull/93)
- Baseline Profile tweaks by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/95](https://togithub.com/chrisbanes/haze/pull/95)
- Fix Small Typo in Docs by
[@&#8203;jorgedotcom](https://togithub.com/jorgedotcom) in
[https://github.com/chrisbanes/haze/pull/100](https://togithub.com/chrisbanes/haze/pull/100)
- Update dependency androidx.compose.ui:ui-test-manifest to v1.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/105](https://togithub.com/chrisbanes/haze/pull/105)
- Update androidx.benchmark to v1.2.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/103](https://togithub.com/chrisbanes/haze/pull/103)
- Update agp to v8.2.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/102](https://togithub.com/chrisbanes/haze/pull/102)
- Update dependency androidx.compose.ui:ui to v1.6.0 - autoclosed by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/104](https://togithub.com/chrisbanes/haze/pull/104)
- Update spotless to v6.25.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/96](https://togithub.com/chrisbanes/haze/pull/96)
- Merge :haze and :haze-jetpack-compose by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/106](https://togithub.com/chrisbanes/haze/pull/106)
- Update plugin com.gradle.enterprise to v3.16.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/107](https://togithub.com/chrisbanes/haze/pull/107)
- Update roborazzi to v1.9.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/108](https://togithub.com/chrisbanes/haze/pull/108)
- Add HazeStyle class by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/110](https://togithub.com/chrisbanes/haze/pull/110)
- Add Haze Materials by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/111](https://togithub.com/chrisbanes/haze/pull/111)
- Lots of small fixes by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/113](https://togithub.com/chrisbanes/haze/pull/113)
- Optimize Android implementations by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/115](https://togithub.com/chrisbanes/haze/pull/115)
- Add macrobenchmark tests by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/116](https://togithub.com/chrisbanes/haze/pull/116)

#### New Contributors

- [@&#8203;simonlebras](https://togithub.com/simonlebras) made their
first contribution in
[https://github.com/chrisbanes/haze/pull/93](https://togithub.com/chrisbanes/haze/pull/93)
- [@&#8203;jorgedotcom](https://togithub.com/jorgedotcom) made their
first contribution in
[https://github.com/chrisbanes/haze/pull/100](https://togithub.com/chrisbanes/haze/pull/100)

**Full Changelog**:
chrisbanes/haze@0.4.5...0.5.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 this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ZacSweers/CatchUp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant