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

chore(deps): bump app.cash.paparazzi from 1.3.1 to 1.3.2 #895

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 15, 2024

Bumps app.cash.paparazzi from 1.3.1 to 1.3.2.

Release notes

Sourced from app.cash.paparazzi's releases.

1.3.2

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!

Changelog

Sourced from app.cash.paparazzi's changelog.

[1.3.2] - 2024-01-13

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!

Commits
  • 2d586c4 Prepare version 1.3.2
  • 16ff25a Update delta images to support showing diff when width and height differ (#1122)
  • 23f0dcd Update task inputs for resources and assets to account for file renames and m...
  • 8c17639 Update dependency com.github.gmazzo.buildconfig:plugin to v5.3.5 (#1224)
  • 749d09f Always cleanup artifacts for repeatable tests (#1218)
  • a8d5842 Skip synthetic fields in R classes (#1223)
  • 1504387 Update dependency Jinja2 to v3.1.3 (#1222)
  • eb4ed15 Fix test packages (#1219)
  • aeb7593 Update dependency androidx.lifecycle:lifecycle-common to v2.7.0 (#1217)
  • 10e2443 Minor fixes to formatting to prepare for KtLint 1.0
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@kazaky
Copy link
Contributor

kazaky commented Jan 15, 2024

@spark-ui-bot Paparazzi golden images

@dependabot dependabot bot force-pushed the dependabot/gradle/app.cash.paparazzi-1.3.2 branch 3 times, most recently from c7c86a1 to c82023e Compare January 24, 2024 09:03
@dependabot dependabot bot force-pushed the dependabot/gradle/app.cash.paparazzi-1.3.2 branch 2 times, most recently from 0e1f5fc to 139f38b Compare January 26, 2024 11:27
@soulcramer
Copy link
Contributor

@spark-ui-bot dependencyGuardBaseline

@SimonMarquis
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/gradle/app.cash.paparazzi-1.3.2 branch from 78a649d to 4e9facf Compare February 10, 2024 08:34
@soulcramer
Copy link
Contributor

@dependabot rebase

Bumps [app.cash.paparazzi](https://github.com/cashapp/paparazzi) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/cashapp/paparazzi/releases)
- [Changelog](https://github.com/cashapp/paparazzi/blob/master/CHANGELOG.md)
- [Commits](cashapp/paparazzi@1.3.1...1.3.2)

---
updated-dependencies:
- dependency-name: app.cash.paparazzi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/app.cash.paparazzi-1.3.2 branch from 4e9facf to 145cf3b Compare February 20, 2024 09:51
@SimonMarquis
Copy link
Member

@soulcramer beware of this issue https://github.com/cashapp/paparazzi/releases/tag/1.3.2:

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 (Groovy-based, Kotlin impls will vary slightly):

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.](https://github.com/cashapp/paparazzi/issues/906.?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)")
        }
      }
    }
  }
}

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 1, 2024

Superseded by #1010.

@dependabot dependabot bot closed this Mar 1, 2024
@dependabot dependabot bot deleted the dependabot/gradle/app.cash.paparazzi-1.3.2 branch March 1, 2024 14:36
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.

None yet

3 participants