-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore(deps): update test.roborazzi to v1.20.0 #829
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/test.roborazzi
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
2 times, most recently
from
August 17, 2023 19:45
71edbfc
to
37679f0
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
3 times, most recently
from
August 26, 2023 06:16
d69422f
to
767e6bc
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
6 times, most recently
from
September 6, 2023 22:35
91741b8
to
aea3340
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
4 times, most recently
from
September 14, 2023 18:12
47c80b8
to
6f0fb26
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
2 times, most recently
from
September 18, 2023 07:17
8ba7e81
to
7ae5a9c
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.4.0
chore(deps): update test.roborazzi to v1.5.0
Sep 18, 2023
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
3 times, most recently
from
September 25, 2023 12:14
1f0f766
to
ef8b1f5
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
3 times, most recently
from
October 6, 2023 18:24
69b04cb
to
04f0f71
Compare
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
October 8, 2023 06:51
04f0f71
to
e3a9d1d
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.9.0
chore(deps): update test.roborazzi to v1.10.0
Feb 18, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
February 18, 2024 10:09
b5a06ee
to
278c20b
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.10.0
chore(deps): update test.roborazzi to v1.10.1
Feb 18, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
March 18, 2024 04:32
278c20b
to
2108714
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.10.1
chore(deps): update test.roborazzi to v1.11.0
Mar 18, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
April 12, 2024 00:46
2108714
to
ad32264
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.11.0
chore(deps): update test.roborazzi to v1.12.0
Apr 12, 2024
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.12.0
chore(deps): update test.roborazzi
Apr 20, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
April 20, 2024 04:32
ad32264
to
e4b5d50
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi
chore(deps): update test.roborazzi to v1.13.0
Apr 20, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
2 times, most recently
from
May 4, 2024 08:19
4c7df78
to
ea11434
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.13.0
chore(deps): update test.roborazzi to v1.14.0
May 4, 2024
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.14.0
chore(deps): update test.roborazzi
May 7, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 7, 2024 03:41
ea11434
to
e889edf
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi
chore(deps): update test.roborazzi to v1.15.0
May 7, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 17, 2024 05:27
e889edf
to
124fa38
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.15.0
chore(deps): update test.roborazzi to v1.16.0
May 17, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 17, 2024 19:18
124fa38
to
1eaf995
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.16.0
chore(deps): update test.roborazzi to v1.16.1
May 17, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 24, 2024 03:32
1eaf995
to
9a4c4cb
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.16.1
chore(deps): update test.roborazzi to v1.17.0
May 24, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 25, 2024 06:50
9a4c4cb
to
a11ba92
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.17.0
chore(deps): update test.roborazzi to v1.18.0
May 25, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 27, 2024 13:20
a11ba92
to
d531a23
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.18.0
chore(deps): update test.roborazzi to v1.19.0
May 27, 2024
renovate
bot
changed the title
chore(deps): update test.roborazzi to v1.19.0
chore(deps): update test.roborazzi
May 29, 2024
renovate
bot
force-pushed
the
renovate/test.roborazzi
branch
from
May 29, 2024 04:36
d531a23
to
5f0938b
Compare
renovate
bot
changed the title
chore(deps): update test.roborazzi
chore(deps): update test.roborazzi to v1.20.0
May 29, 2024
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.3.0
->1.20.0
1.3.0
->1.20.0
1.3.0
->1.20.0
1.3.0
->1.20.0
Release Notes
takahirom/roborazzi (io.github.takahirom.roborazzi)
v1.20.0
Compare Source
Workflow Enhancement
We use images as inputs for tests, ensuring that the compare and verify tasks function correctly. However, while running record tasks, we do not need the input images. Despite this, these input images invalidate the record task and disable the cache. Therefore, we no longer use input images for record tasks. Thank you, @lukas-mercari, for informing us and proposing this improvement.
What's Changed
Full Changelog: takahirom/roborazzi@1.19.0...1.20.0
v1.19.0
Compare Source
Bug Fix
I was informed that if you have multiple test suites, the RoborazziPlugin sometimes fails due to concurrent processes. This happens because the cleanup process runs multiple times. Therefore, I made the cleanup process run only once. Thank you for reporting this, @lukas-mercari.
What's Changed
Full Changelog: takahirom/roborazzi@1.18.0...1.19.0
v1.18.0
Compare Source
Migrating from
java.io.File
tokotlinx-io
Note: We are not changing the API for users, so the captureRoboImage methods are still using the java.io.File class.
Roborazzi previously used
java.io.File
for saving and loading files. Although Roborazzi supports iOS, sharing much of the logic is challenging when usingjava.io.File
. Therefore, we have migrated tokotlinx-io
.We are attentive to the Kotlin versions our users employ. We upgraded from version 1.9.21 to 1.9.22 due to a dependency on kotlinx-io. Since Kotlin 1.9.22 was released last year, it should be compatible with most projects.
Thank you, @eyedol, for your outstanding contribution! Your efforts are greatly appreciated.
What's Changed
New Contributors
Full Changelog: takahirom/roborazzi@1.17.0...1.18.0
v1.17.0
Compare Source
Bug Fixes
What's Changed
use
block to prevent leaks by @takahirom in https://github.com/takahirom/roborazzi/pull/376io.github.takahirom.roborazzi
dependency from Renovate updates by @sanao1006 in https://github.com/takahirom/roborazzi/pull/372New Contributors
Full Changelog: takahirom/roborazzi@1.16.1...1.17.0
v1.16.1
Compare Source
Bugfix
We removed the setting for the test task's input directory in 1.16.0, but it caused incorrect results in the compare tests. Therefore, I reverted the changes to the test input directory. This bug is now covered by Roborazzi's integration tests.
What's Changed
Full Changelog: takahirom/roborazzi@1.16.0...1.16.1
v1.16.0
Compare Source
Improvements
What's Changed
Full Changelog: takahirom/roborazzi@1.15.0...1.16.0
v1.15.0
Compare Source
Improvements
We continue to refine our testing processes to prevent similar issues in future releases.
What's Changed
Full Changelog: takahirom/roborazzi@1.14.0...1.15.0
v1.14.0
Compare Source
Bug fixes
Cache-related Flakiness in Comparison Results: We've identified and resolved an intermittent issue where cached data could sometimes prevent users from seeing comparison results in Roborazzi.
https://github.com/takahirom/roborazzi/pull/323
What's Changed
5a6920d
by @renovate in https://github.com/takahirom/roborazzi/pull/3180ad4b8f
by @renovate in https://github.com/takahirom/roborazzi/pull/319New Contributors
Full Changelog: takahirom/roborazzi@1.13.0...1.14.0
v1.13.0
Compare Source
Add experimental, minimal support for iOS in Compose Multiplatform
Roborazzi has supported Compose Desktop, but we hadn't yet supported iOS, which could be a major use case for Compose Multiplatform. Therefore, I have added support for iOS.
Now, you can record, compare, and verify just as you would with Android support.
https://takahirom.github.io/roborazzi/compose-multiplatform.html#experimental-feature-ios-support
However, Roborazzi is fundamentally based on the JVM. Currently, we offer only minimal features. If you are interested in helping to improve these features, please take a look at these issues:
https://github.com/takahirom/roborazzi/issues/302 https://github.com/takahirom/roborazzi/issues/305
Changes Affecting Existing Support
To support iOS, we have made some dependency changes for Android and Compose Desktop. I believe these changes will not affect existing behavior. However, if you notice anything, please let me know.
All
Kotlin:
1.8.22 -> 1.9.21
dropbox/differ:
0.0.1 -> 0.0.2
Desktop Compose Version
Compose Multiplatform:
1.4.3 -> 1.6.1
What's Changed
Full Changelog: takahirom/roborazzi@1.12.0...1.13.0
v1.12.0
Compare Source
Bug Fixes
robolectric.screenshot.hwrdr.native
introduced in Robolectric 4.12, which caused unwanted shadows when using Compose'sroboCaptureImage{}
with this new option. This has now been corrected by @lukas-mercari. Thanks for your contribution!What's Changed
New Contributors
Full Changelog: takahirom/roborazzi@1.11.0...1.12.0
v1.11.0
Compare Source
New feature
In Roborazzi, if you specify outputDir in the Gradle settings, you can use the build cache. Now, Roborazzi passes the setting into the test.
build.gradle
gradle.propeties
Test
What's Changed
Full Changelog: takahirom/roborazzi@1.10.1...1.11.0
v1.10.1
Compare Source
Changes from 1.10.0
This release includes a bug fix for a Javascript error that prevented the HTML report from being displayed.
Changes from 1.9.0
New experimental feature
Custom context data for images and reports
Custom context data enables the addition of information to images and reports in Roborazzi's tests, which I believe is very important. For example, it can include the test class name of a screenshot or whether it is in dark mode.
You can now add custom context data using RoborazziOptions, and Roborazzi will add the test class name metadata if you use RoborazziRule. If you have any opinions about this feature, please let me know at https://github.com/takahirom/roborazzi/issues/257.
Furthermore, this opens up possibilities with AI. Given that AI now possesses multimodal capabilities, it has become feasible for AI to process images.
This feature was made possible thanks to @sanao1006 's contribution of migrating from org.json to gson.
Important bug fix
Gradle attempts to load the test cache whenever possible, but there was an issue where Roborazzi couldn't restore images from the cache. This release includes a fix for this problem. Thank you, @francescocervone, for reporting this issue.
What's Changed
org.json
Library toGson
by @sanao1006 in https://github.com/takahirom/roborazzi/pull/248New Contributors
Full Changelog: takahirom/roborazzi@1.9.0...1.10.0
v1.10.0
Compare Source
New experimental feature
Custom context data for images and reports
Custom context data enables the addition of information to images and reports in Roborazzi's tests, which I believe is very important. For example, it can include the test class name of a screenshot or whether it is in dark mode.
You can now add custom context data using RoborazziOptions, and Roborazzi will add the test class name metadata if you use RoborazziRule. If you have any opinions about this feature, please let me know at https://github.com/takahirom/roborazzi/issues/257.
Furthermore, this opens up possibilities with AI. Given that AI now possesses multimodal capabilities, it has become feasible for AI to process images.
This feature was made possible thanks to @sanao1006 's contribution of migrating from org.json to gson.
Important bug fix
Gradle attempts to load the test cache whenever possible, but there was an issue where Roborazzi couldn't restore images from the cache. This release includes a fix for this problem. Thank you, @francescocervone, for reporting this issue.
What's Changed
org.json
Library toGson
by @sanao1006 in https://github.com/takahirom/roborazzi/pull/248New Contributors
Full Changelog: takahirom/roborazzi@1.9.0...1.10.0
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
v1.8.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.
Fix from 1.8.0-rc-1
@GisoBartels, Thank you for your code contribution!
https://github.com/takahirom/roborazzi/pull/241/241
New Feature from 1.7
Introducing the experimental
roboOutputName()
functionStreamline the customization of Roborazzi image file names. This utility is especially effective in parameterized tests, allowing for dynamic file naming based on test parameters. For an example of its usage, see the snippet below, which demonstrates generating screenshots before and after UI interactions.
Tailor your file naming convention in
gradle.properties
for even more control, such as omitting the package name.Set
roborazzi.record.namingStrategy=testClassAndMethod
for a streamlined naming pattern.Learn more: Roborazzi Documentation
Enhanced Comparison with Grid and Labels 🚀
This update introduces a new grid and label feature, making visual comparisons more intuitive and effective. The grid layout provides a structured view, while labels offer clear identification, streamlining the testing process.
You can use the old style by setting ComparisonStyle to ComparisonStyle.Simple in RoborazziOptions
Make Roborazzi's ImageComparator customizable.
You can now modify the ImageComparator using CompareOptions.imageComparator.
Behavior changes 🔧
Set the default value of CompareOptions.changeThreshold to zero. This means it will detect even a single pixel change.
What's Changed
Full Changelog: takahirom/roborazzi@1.7.0...1.8.0
v1.7.0
Compare Source
New Features 🚀
You can now view the report, which includes images, when Roborazzi tasks are completed. The report is located at
build/reports/roborazzi/index.html
.roborazzi.record.filePathStrategy
option to customize image output location when usingcaptureRoboImage()
. The image will be saved relative toRoborazziRule
'soutputDirectoryPath
. For example:roborazzi.record.filePathStrategy=relativePathFromRoborazziContextOutputDirectory
Special thanks to @timothyfroehlich for raising issues and providing valuable code reviews that significantly contributed to this release.
Breaking Changes⚠️
compare
task, but it now covers all Roborazzi tasks. Therefore, we've updated the option names accordingly.Example: Change from
ReportOptions.compareOptions.roborazziCompareReporter
toRoborazziOptions.reportOptions.captureResultReporter
, and update the corresponding reporter classes.What's Changed
New Contributors
Full Changelog: takahirom/roborazzi@1.6.0...1.7.0-rc-1
v1.6.0
Compare Source
Experimental feature: Compose Desktop support
Roborazzi supports Compose Desktop. You can use Roborazzi with Compose Desktop as follows:
Gradle settings
Test target Composable function
Test with Roborazzi
Then, you can run the Gradle tasks for Desktop Support, just like you do for Android Support.
Configuration
📅 Schedule: Branch creation - "before 4am" in timezone Asia/Seoul, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.