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 dependency app.cash.paparazzi:paparazzi-gradle-plugin to v1.3.4 (v1) #741

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.paparazzi:paparazzi-gradle-plugin 1.3.1 -> 1.3.4 age adoption passing confidence

Release Notes

cashapp/paparazzi (app.cash.paparazzi:paparazzi-gradle-plugin)

v1.3.4

Compare Source

New
  • Support for animated-PNG-based snapshots using Paparazzi#gif
  • New tasks! deletePaparazziSnapshots and cleanRecordPaparazzi${VARIANT} clear orphaned snapshots
  • Add boolean flag to decide if image should be scaled or full-sized
  • Migrate Paparazzi to layoutlib Iguana 2023.2.1
  • Compose 1.5.14
  • Kotlin 1.9.24
  • [Gradle Plugin] Gradle 8.7
  • [Gradle Plugin] Android Gradle Plugin 8.3.2
Fixed
  • Fix long content description being cut off in accessibility snapshots
  • Include resource references from generated resource folders
  • Fix gradle caching for resources coming from aar dependencies
  • Support SHRINK render mode when using unsafeUpdateConfig
  • Fix issue where multiple snapshots fail when using render extensions
  • Remove guava workaround from [1.3.2] now that Collector APIs are in guava-android

Kudos to @​geoff-powell, @​gamepro65, @​kevinzheng-ap, @​nak5ive, @​TWiStErRob, @​emuguy1 and others for contributions this release!

v1.3.3

Compare Source

New
  • Migrate Paparazzi to layoutlib Hedgehog 2023.1.1
  • Compose 1.5.8
  • Kotlin 1.9.22
  • [Gradle Plugin] Gradle 8.6
  • [Gradle Plugin] Android Gradle Plugin 8.2.1
Fixed
  • Update the DeviceConfig screenWidth internally for accessibility tests
  • Fix variant caching issues in new resource/asset loading mechanisms
  • Remove legacy resources/assets loading mechanism
  • Set HardwareConfig width and height based on orientation
  • Apply round screen qualifier to device config
  • Restrict Paparazzi's public API
  • Remove obsolete NEXUS_5_LAND DeviceConfig
  • Fix formatting so that all digits show upon failure
  • Stop resolving dependencies at configuration time
  • Use our own internal HandlerDispatcher for Compose Ui tests
  • Include generated string resources
  • Reset logger to prevent swallowing exceptions

Kudos to @​gamepro65, @​kevinzheng-ap, @​BrianGardnerAtl, @​adamalyyan, and others for contributions this release!

v1.3.2

Compare Source

NOTE: Due to a known issue with how Guava now publishes its artifact, you will need to apply the following snippet workaround to your root build.gradle:
subprojects {
  plugins.withId("app.cash.paparazzi") {
    // Defer until afterEvaluate so that testImplementation is created by Android plugin.
    afterEvaluate {
      dependencies.constraints {
        add("testImplementation", "com.google.guava:guava") {
          attributes {
            attribute(
              TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE,
              objects.named(TargetJvmEnvironment, TargetJvmEnvironment.STANDARD_JVM)
            )
          }
          because("LayoutLib and sdk-common depend on Guava's -jre published variant." +
            "See https://github.com/cashapp/paparazzi/issues/906.")
        }
      }
    }
  }
}

See also: https://github.com/google/guava/issues/6801.

New
  • Support for pseudolocalization tests! To get started:
@​RunWith(TestParameterInjector::class)
class PseudolocalizationTest(
  @​TestParameter locale: Locale
) {
  @​get:Rule val paparazzi = Paparazzi(
    deviceConfig = DeviceConfig.PIXEL_5.copy(locale = locale.tag)
  )

  @​Test fun test() {
    paparazzi.snapshot { SomeComposable() }
  }

  enum class Locale(val tag: String?) {
    Default(null),
    Accent("en-rXA"),
    Bidi("ar-rXB")
  }
}
  • Migrate Paparazzi to layoutlib Giraffe 2022.3.1
  • Compose 1.5.0
  • Kotlin 1.9.0
  • [Gradle Plugin] Gradle 8.5
  • [Gradle Plugin] Android Gradle Plugin 8.1.1
Fixed
  • Fix relativePath bug in port of ResourceFile
  • Resolve report dir from ReportingExtension instead of hardcoding
  • Make report folder variant-aware
  • Remove reliance on kotlinx.coroutines.main.delay
  • Use a class file locator that queries the system class loader
  • Filter out unrecognized java-symbol tag warning
  • Skip synthetic fields in R classes
  • Update task inputs for resources and assets to account for file renames and moves
  • Update delta images to support showing diff when width and height differ

Kudos to @​kevinzheng-ap, @​TWiStErRob, @​gamepro65, @​adamalyyan, @​larryng, and others for contributions this release!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update 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.

@renovate renovate bot force-pushed the renovate/v1-paparazzigradleplugin branch 16 times, most recently from 3bd3f20 to b278bec Compare June 1, 2024 17:21
@renovate renovate bot force-pushed the renovate/v1-paparazzigradleplugin branch from b278bec to ed347e6 Compare June 5, 2024 08:57
@patrickmichalik patrickmichalik merged commit dc5352e into v1 Jun 5, 2024
6 checks passed
@patrickmichalik patrickmichalik deleted the renovate/v1-paparazzigradleplugin branch June 5, 2024 14:09
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