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 - autoclosed #2486

Closed
wants to merge 1 commit into from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Dec 17, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
gradle (source) minor 8.11.1 -> 8.12 age adoption passing confidence
com.airbnb.android:lottie-compose dependencies patch 6.6.1 -> 6.6.2 age adoption passing confidence
io.github.takahirom.roborazzi plugin minor 1.36.0 -> 1.39.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-accessibility-check dependencies minor 1.36.0 -> 1.39.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-junit-rule dependencies minor 1.36.0 -> 1.39.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-painter dependencies minor 1.36.0 -> 1.39.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose dependencies minor 1.36.0 -> 1.39.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi dependencies minor 1.36.0 -> 1.39.0 age adoption passing confidence
com.google.protobuf:protoc (source) dependencies patch 4.29.1 -> 4.29.2 age adoption passing confidence
com.google.protobuf:protobuf-kotlin-lite (source) dependencies patch 4.29.1 -> 4.29.2 age adoption passing confidence
com.google.dagger:hilt-android-testing dependencies minor 2.53.1 -> 2.54 age adoption passing confidence
com.google.dagger:hilt-android-gradle-plugin dependencies minor 2.53.1 -> 2.54 age adoption passing confidence
com.google.dagger:hilt-android-compiler dependencies minor 2.53.1 -> 2.54 age adoption passing confidence
com.google.dagger:hilt-android dependencies minor 2.53.1 -> 2.54 age adoption passing confidence
org.jetbrains.dokka plugin major 1.9.20 -> 2.0.0 age adoption passing confidence
org.jetbrains.dokka:dokka-gradle-plugin dependencies major 1.9.20 -> 2.0.0 age adoption passing confidence
com.autonomousapps.dependency-analysis plugin patch 2.6.0 -> 2.6.1 age adoption passing confidence
androidx.media3:media3-ui dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-test-utils-robolectric dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-test-utils dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-session dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-exoplayer-workmanager dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-exoplayer-rtsp dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-exoplayer-hls dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-exoplayer-dash dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-exoplayer dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-datasource-okhttp dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence
androidx.media3:media3-common dependencies patch 1.5.0 -> 1.5.1 age adoption passing confidence

Release Notes

gradle/gradle (gradle)

v8.12

Compare Source

airbnb/lottie-android (com.airbnb.android:lottie-compose)

v6.6.2

Bugs Fixed
  • Allow width/height to be doubles (#​2596)
  • Re-measure line width when using dynamic text (#​2597)
  • Only apply parent alpha to mattes (#​2598)
  • Fix binary compatibility with 6.5 (#​2591)
  • Better handle clip specs with minProgress == maxProgress (#​2600)
takahirom/roborazzi (io.github.takahirom.roborazzi)

v1.39.0

Compare Source

Bug Fixes
Diff screenshots are now as large as the largest of the two compared screenshots

Previously, when the size of a screenshot changed (e.g., became smaller), the image diff would not appear because it was based on the minimum size of each screenshot. This has been fixed so that the diff is now based on the largest of the two compared screenshots. Thank you for reporting this issue, @​outadoc!

Report HTML's image order is now deterministic

The image order in the HTML report used to be random. Thanks to @​mannodermaus, it is now sorted by name.

OpenAiAiAssertionModel is now Gemini compatible

Gemini has a compatibility mode with the OpenAI API (https://ai.google.dev/gemini-api/docs/openai). By using https://generativelanguage.googleapis.com/v1beta/openai/ as the base URL, we can essentially use Gemini. However, some properties are different, so we had to modify the OpenAiAiAssertionModel to be compatible with Gemini.

I'm currently developing another library called Arbigent, an AI agent testing framework. I'm planning to add an AI image assertion feature using Roborazzi's AI-Powered Image Assertion, and I needed this compatibility for that. This isn't directly related to this project, but if you're interested in testing, check it out: https://github.com/takahirom/arbigent

What's Changed

Full Changelog: takahirom/roborazzi@1.38.0...1.39.0

v1.38.0

Compare Source

Bugfix
Fix: Bug preventing the revival of deleted screenshot images

Thanks to @​pedromfmachado's contribution, we've addressed a bug where deleted screenshot test images would be erroneously revived. Previously, when screenshot tests were removed and their corresponding images deleted from the output directory, running the record task again would cause the Roborazzi Gradle task to recreate the removed images. While this could be temporarily resolved with roborazzi.cleanupOldScreenshots=true, that approach was undesirable as it would also remove images when test filters were used. This was a complex issue to solve, and we extend our gratitude to @​pedromfmachado for the fix.

Fix: Made screenshot dump deterministic

We have a dump feature that allows us to check the properties or hierarchy of views or composables in an image. We sorted the properties to ensure a deterministic output. Thanks to @​siarhei-luskanau for this contribution.

New Feature
Feature: Added RoborazziComposeActivityThemeOption

Previously, changing the theme of RoborazziTransparentActivity was not possible. We have now deprecated RoborazziTransparentActivity and renamed it to RoborazziActivity. Additionally, we added RoborazziComposeActivityThemeOption to enable changing the Activity's theme. Thank you again, @​pedromfmachado, for this feature.

You can now change the Activity theme like this:

 @​OptIn(ExperimentalRoborazziApi::class)
 @​Test
 fun whenNonTransparentThemeItShouldHaveNonTransparentBackground() {
   captureRoboImage(
     roborazziComposeOptions = RoborazziComposeOptions {
       activityTheme(android.R.style.Theme_Material_Light)
     }
   ) {
     Text("This composable function should NOT have transparent background!")
   }
 }
What's Changed
New Contributors

Full Changelog: takahirom/roborazzi@1.37.0...1.38.0

v1.37.0

Compare Source

Bug Fixes and Workarounds
Compose AlertDialog Support

Support for capturing Alert Dialogs has been fixed, ensuring correct screenshot display. captureScreenRoboImage(), which merges all windows, is now used only when multiple windows are present. Thanks to @​ashughes for reporting this and to @​mhidaka and @​hiroaki404 for bringing it to my attention at a Japan Android testing event.

image
Workaround for Overlap Handling for SDK 35 Compose Screenshots
Problem

When updating to SDK 35 and using the default theme, the ActionBar is included in screenshots, leading to overlap when using createComposeRule(). This occurs because createComposeRule() uses the default theme by default. Thank you for letting me know about this, @​keyboardsurfer!

I have filed an issue for this: https://issuetracker.google.com/issues/383368165

Why this happens

SDK 35 enforces edge-to-edge display, which means it does not provide automatic padding for the ActionBar.

How Roborazzi currently workarounds this

Roborazzi now automatically hides the ActionBar when taking screenshots on SDK 35 and higher. This functions similarly to view.getActivity()?.actionBar?.hide(). However, this workaround may cause performance issues and should not be relied upon. Roborazzi outputs warning logs with alternative suggestions. Thank you to @​sergio-sastre for advising on this workaround!

If you need to include the ActionBar in screenshots, Roborazzi provides a flag, roborazzi.compose.actionbar.overlap.fix=false, that can be added to your gradle.properties file.

What should we do?

A permanent solution will likely require changes from Google. In the meantime, adding <application android:theme="@&#8203;style/android:Theme.Material.Light.NoActionBar" /> to the module's src/test/AndroidManifest.xml file changes the Activity's default theme and resolves the issue. Thank you to @​mattinger for finding this!

https://github.com/takahirom/roborazzi/issues/598#issuecomment-2533372700

Stabilized Output for Dump Screenshots

Thanks to @​siarhei-luskanau for contributing an improvement that reduces unnecessary diffs for the Roborazzi dump feature.

New Features
Add inspectionMode() for Compose Previews

Thanks to @​YusukeMoriJapan's contribution, inspectionMode() is now available in RoborazziComposeOptions. This is particularly useful when working with libraries that have specific preview implementations. This mode is off by default to maintain high fidelity.

Here's how to enable it:

captureRoboImage(
    roborazziComposeOptions = RoborazziComposeOptions {
        inspectionMode(true)
    }
) {
    ...
}

What's Changed
New Contributors

Full Changelog: takahirom/roborazzi@1.36.0...1.37.0

Kotlin/dokka (org.jetbrains.dokka:dokka-gradle-plugin)

v2.0.0: 2.0.0

Dokka 2.0.0 focuses on simplifying configuration and preparing for support of future Kotlin language features. Key highlights include:

  • Dokka Gradle Plugin v2: revamped Gradle plugin based on Dokkatoo.
  • Experimental K2 Analysis: support for K2 compiler frontend.
  • HTML Improvements: better accessibility and easier customization.

More details about each of the changes below. See Dokka 2.0.0 milestone for the list of all changes.

Dokka's Gradle plugin v2 based on Dokkatoo

Please check the migration guide for the update procedure and give feedback!

Dokka 2.0.0 introduces significant improvements to Dokka Gradle plugin, aligning more closely with Gradle best practices:

  • Adopts Gradle types, which leads to better performance.
  • Uses an intuitive top-level DSL configuration instead of a low-level task-based setup, which simplifies the build scripts and their readability.
  • Takes a more declarative approach to documentation aggregation, which makes multi-project documentation easier to manage.
  • Uses a type-safe plugin configuration, which improves the reliability and maintainability of your build scripts.
  • Fully supports Gradle configuration cache and build cache, which improves performance and simplifies build work.
Changes from Dokka 2.0.0-Beta

Dokka's K2 analysis

Dokka 2.0.0 introduces K2 analysis, which is currently in an experimental stage. Dokka's K2 analysis leverages Kotlin's K2 compiler frontend for analysing code and uses the same shared Analysis API, which is used in IntelliJ IDEA’s K2 mode. The output with K2 analysis should mostly match that of K1 analysis, but there may be minor differences. We are actively working towards stabilizing K2 analysis and are planning to enable K2 analysis by default in future.

To opt in to Dokka's K2 analysis, add the following flag to your project's gradle.properties file:

org.jetbrains.dokka.experimental.tryK2=true
Known limitations:

We would greatly value your feedback if you encounter any of these limitations.

Potential differences between the outputs of K1 and K2:

While the output of K2 analysis aims to align with K1, there are some differences to be aware of:

  • Java synthetic properties: rendering may vary (details).
  • KDoc links: resolution and rendering differences (details).
  • Inconsistent documentable rendering order (#​3590).
  • Enum entries: anonymous and overridden methods are no longer rendered (#​3129).
  • Other differences may arise due to variations in type inference between K1 and K2.

HTML format

Dokka 2.0.0 introduces some changes to HTML output. We updated the structure of some elements and classes, particularly in the navigation and sidebar, to improve accessibility and simplify maintenance. These changes only affect you if you previously customized Dokka styles.

  • We removed redundant wrappers like navigation--inner and navigation-title.
  • We reworked blocks such as versions-dropdown to make them more accessible.
  • We renamed classes like navigation-controls--homepage to improve consistency. For example, it’s now called navigation-controls--btn_homepage.

For more information, see the pull request.

The easiest way to update your current templates is to adjust the new templates to your needs.

Bugfixes

Other changes

Feedback

We would appreciate your feedback!

Full Changelog: Kotlin/dokka@v1.9.20...v2.0.0

androidx/media (androidx.media3:media3-ui)

v1.5.1

Compare Source

This release includes the following changes since the
1.5.0 release:

  • ExoPlayer:
    • Disable use of asynchronous decryption in MediaCodec to avoid reported
      codec timeout issues with this platform API
      (#​1641).
  • Extractors:
    • MP3: Don't stop playback early when a VBRI frame's table of contents
      doesn't cover all the MP3 data in a file
      (#​1904).
  • Video:
    • Rollback of using MediaCodecAdapter supplied pixel aspect ratio values
      when provided while processing onOutputFormatChanged
      (#​1371).
  • Text:
    • Fix bug in ReplacingCuesResolver.discardCuesBeforeTimeUs where the cue
      active at timeUs (started before but not yet ended) was incorrectly
      discarded (#​1939).
  • Metadata:
    • Extract disc/track numbering and genre from Vorbis comments into
      MediaMetadata
      (#​1958).

Configuration

📅 Schedule: Branch creation - "* 0-3 * * *" (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-bot renovate-bot force-pushed the renovate/all branch 4 times, most recently from 2e1ebf5 to e3121ce Compare December 23, 2024 13:07
@renovate-bot renovate-bot changed the title Update all dependencies Update all dependencies - autoclosed Jan 6, 2025
@renovate-bot renovate-bot deleted the renovate/all branch January 6, 2025 13:38
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