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 all dependencies #1205

Merged
merged 8 commits into from
Nov 12, 2024
Merged

Update all dependencies #1205

merged 8 commits into from
Nov 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 4, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
gradle (source) minor 8.10.2 -> 8.11 age adoption passing confidence
com.android.tools:desugar_jdk_libs dependencies patch 2.1.2 -> 2.1.3 age adoption passing confidence
io.github.takahirom.roborazzi plugin minor 1.31.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-junit-rule dependencies minor 1.31.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose dependencies minor 1.31.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi dependencies minor 1.31.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi plugin minor 1.29.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-junit-rule dependencies minor 1.29.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose dependencies minor 1.29.0 -> 1.32.2 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi dependencies minor 1.29.0 -> 1.32.2 age adoption passing confidence

Release Notes

gradle/gradle (gradle)

v8.11

Compare Source

google/desugar_jdk_libs (com.android.tools:desugar_jdk_libs)

v2.1.3

  • Fix Narrow Standalone Week Names on some locales. SIMPLIFIED_CHINESE and
    TRADITIONAL_CHINESE is on the last code point convention for narrow format.
    See issue 300128109
takahirom/roborazzi (io.github.takahirom.roborazzi)

v1.32.2

Compare Source

WebP Image Comparison Improvements

Improved handling for transparent pixels in WebP image comparisons. Previously, transparent pixels in WebP images were sometimes returned with unexpected color values (e.g., r = 1, g = 0, b = 0, a = 0), which caused inconsistencies in image comparisons. The comparison logic now correctly handles transparent pixels by interpreting them as fully transparent black (r = 0, g = 0, b = 0, a = 0) to ensure consistent results across comparisons.

Special thanks to @​ArcaNO93 for identifying and reporting this issue!

What's Changed

Full Changelog: takahirom/roborazzi@1.32.1...1.32.2

v1.32.1

Compare Source

Experimental WebP support and other image formats

Now, you can set roborazzi.record.image.extension to webp in your gradle.properties file to generate WebP images.

roborazzi.record.image.extension=webp

To enable WebP support, add testImplementation("io.github.darkxanter:webp-imageio:0.3.3") to your build.gradle.kts file.
WebP is a lossy image format by default, which can make managing image differences challenging. To address this, we provide a lossless WebP image feature.
WebP lossless images are reported to be 26% smaller in size compared to PNGs.

onView(ViewMatchers.withId(R.id.textview_first))
  .captureRoboImage(
    roborazziOptions = RoborazziOptions(
      recordOptions = RoborazziOptions.RecordOptions(
        imageIoFormat = LosslessWebPImageIoFormat(),
      ),
    )
  )

You can also use other image formats by implementing your own AwtImageWriter and AwtImageLoader.

data class JvmImageIoFormat(
  val awtImageWriter: AwtImageWriter,
  val awtImageLoader: AwtImageLoader
) : ImageIoFormat

Thank you, @​ArcaNO93, for providing this suggestion and the code review!

Adjustments to AI-Powered Image Assertion

In version 1.30.0, we introduced Roborazzi AI-Powered Image Assertion.
We made some adjustments to the AI-Powered Image Assertion

  • The OpenAiAiAssertionModel, which utilizes OpenAI APIs, previously lacked a timeout specification, leading to frequent timeout issues. We have now implemented a customizable timeout setting.
  • The provideRoborazziContext().option was marked as InternalRoborazziApi despite being documented in the README. We have now changed it to ExperimentalRoborazzi API.
Changes from 1.32.0

API Key Masking in Logs for OpenAiAiAssertionModel
For users enabling logging through OpenAiAiAssertionModel.loggingEnabled, API keys in log outputs are now masked to improve security. Previously, API keys could appear in logs, which could unintentionally expose them, especially in test reports. With this update, sensitive data is automatically masked, helping users avoid accidental exposure.

What's Changed

Full Changelog: takahirom/roborazzi@1.31.0...1.32.1

v1.32.0

Compare Source

Please refer to the 1.32.1 release at https://github.com/takahirom/roborazzi/releases/tag/1.32.1


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update all dependencies 1.29.0 to v1.30.1 Update all dependencies 1.29.0 to v1.31.0 Nov 5, 2024
@renovate renovate bot changed the title Update all dependencies 1.29.0 to v1.31.0 Update all dependencies 1.29.0 to v1.32.0 Nov 7, 2024
@renovate renovate bot changed the title Update all dependencies 1.29.0 to v1.32.0 Update all dependencies Nov 7, 2024
@yschimke
Copy link
Contributor

yschimke commented Nov 7, 2024

Screenshot tests presumably need to be updated

GreetingScreenTest > greetingScreenTest[0] FAILED
    java.lang.NoSuchMethodError at GreetingScreenTest.kt:33

@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 6be33a2 to 9322d8e Compare November 11, 2024 19:41
@yschimke
Copy link
Contributor

I'll need to fix Horologist in 1 or two ways

  1. Allow overriding the roborazzi config, so we can avoid this incompatibility in future for an experimental API
  2. bump to latest version and release.
SampleDialogTest > greetingScreenTest[1] FAILED
    java.lang.NoSuchMethodError at SampleDialogTest.kt:30

Copy link
Contributor Author

renovate bot commented Nov 12, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kul3r4
Copy link
Contributor

kul3r4 commented Nov 12, 2024

@yschimke I will take a look at the WeaOAuth failure (needs to update to 35) before we merge this PR

@kul3r4
Copy link
Contributor

kul3r4 commented Nov 12, 2024

@yschimke I will take a look at the WeaOAuth failure (needs to update to 35) before we merge this PR

@yschimke Look like you already fixed that, thank you!

@kul3r4 kul3r4 merged commit 0724e40 into main Nov 12, 2024
9 checks passed
@renovate renovate bot deleted the renovate/all branch November 12, 2024 16:30
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.

2 participants