-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [@​simonlebras](https://togithub.com/simonlebras) for this. #### What's Changed - Baseline profile by [@​simonlebras](https://togithub.com/simonlebras) in [https://github.com/chrisbanes/haze/pull/93](https://togithub.com/chrisbanes/haze/pull/93) - Baseline Profile tweaks by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​renovate](https://togithub.com/renovate) in [https://github.com/chrisbanes/haze/pull/108](https://togithub.com/chrisbanes/haze/pull/108) - Add HazeStyle class by [@​chrisbanes](https://togithub.com/chrisbanes) in [https://github.com/chrisbanes/haze/pull/110](https://togithub.com/chrisbanes/haze/pull/110) - Add Haze Materials by [@​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 [@​chrisbanes](https://togithub.com/chrisbanes) in [https://github.com/chrisbanes/haze/pull/113](https://togithub.com/chrisbanes/haze/pull/113) - Optimize Android implementations by [@​chrisbanes](https://togithub.com/chrisbanes) in [https://github.com/chrisbanes/haze/pull/115](https://togithub.com/chrisbanes/haze/pull/115) - Add macrobenchmark tests by [@​chrisbanes](https://togithub.com/chrisbanes) in [https://github.com/chrisbanes/haze/pull/116](https://togithub.com/chrisbanes/haze/pull/116) #### New Contributors - [@​simonlebras](https://togithub.com/simonlebras) made their first contribution in [https://github.com/chrisbanes/haze/pull/93](https://togithub.com/chrisbanes/haze/pull/93) - [@​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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.9.0-alpha-4
->1.9.0
1.9.0-alpha-4
->1.9.0
1.9.0-alpha-4
->1.9.0
1.9.0-alpha-4
->1.9.0
1.9.0-alpha-4
->1.9.0
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:
After:
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.
Behavior Changes
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
Addressed a memory leak issue occurring when using
compose captureRoboImage{}
multiple times within a single test. (Thanks for reporting this @vetoketju )Corrected an issue where not specifying a file path with
relativePathFromRoborazziContextOutputDirectory
resulted in duplicated file paths, likebuild/output/roborazzi/build/output/roborazzi/xxxx.png
.@marianeum Thank you for reporting this issue!
Others
Documentation Enhancement:
Added comprehensive documentation using Writerside, a documentation tool from JetBrains.
Roborazzi Documentation
Thank you, @timothyfroehlich, @sergio-sastre, and @ZacSweers, for your suggestions regarding documentation tools.
Thanks to @itochan's contribution, Roborazzi has moved to a version catalog, reduced unwanted dependencies and organized
Enhanced performance.
Fix Bug Causing Comparison Image to Enlarge and Enhance Performance by Avoiding Creation of Unnecessary Canvases
Use ComposeTestRule interface instead of concrete AndroidComposeTestRule class by @GisoBartels in https://github.com/takahirom/roborazzi/pull/241
Pass the default output directory setting from Gradle
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.
This PR has been generated by Mend Renovate. View repository job log here.