From 104003e82ebc03a3af932576839c396c7dfd9992 Mon Sep 17 00:00:00 2001 From: John Rodriguez Date: Tue, 18 Jul 2023 00:00:52 -0400 Subject: [PATCH] Prepare version 1.3.1 --- CHANGELOG.md | 31 ++++++++++++++++++++++++++++++- README.md | 6 +++--- gradle.properties | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbfbc1814a..744c4a1d3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ ## [Unreleased] +## [1.3.1] - 2023-07-18 + +### New +* Migrated to new resource and asset loading mechanisms. To explicitly opt-out and fall back to the +legacy mechanisms, add either/both of the following to your `gradle.properties`: +``` +app.cash.paparazzi.legacy.resource.loading=true +app.cash.paparazzi.legacy.asset.loading=true +``` + +* The Android system ui (status + navigation bar) is now hidden by default; to re-enable: +``` + @get:Rule + val paparazzi = Paparazzi( + showSystemUi = true + ) +``` + +* Relocate failure deltas from `PROJECT_ROOT/out/failures/` to `BUILD_DIR/paparazzi/failures/` +* Support for application and dynamic feature modules +* [Gradle Plugin] Gradle 8.2.1 + +### Fixed +* Fix accessibility labels when mergeDescendants is true +* Fixes compose alert dialogs not rendering when using RenderingMode.SHRINK + +Kudos to @kevinzheng-ap, @adamalyyan and others for contributions this release! + ## [1.3.0] - 2023-05-31 As of this release, consumers must build on Java 17+ environments. @@ -236,7 +264,8 @@ As of this release, consumers must build on Java 11 environments. -[Unreleased]: https://github.com/cashapp/paparazzi/compare/1.3.0...HEAD +[Unreleased]: https://github.com/cashapp/paparazzi/compare/1.3.1...HEAD +[1.3.1]: https://github.com/cashapp/paparazzi/releases/tag/1.3.1 [1.3.0]: https://github.com/cashapp/paparazzi/releases/tag/1.3.0 [1.2.0]: https://github.com/cashapp/paparazzi/releases/tag/1.2.0 [1.1.0]: https://github.com/cashapp/paparazzi/releases/tag/1.1.0 diff --git a/README.md b/README.md index 770daa02cf..7707897724 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ android.jetifier.ignorelist=android-base-common,common Lottie -------- -When taking screenshots of Lottie animations, you need to force Lottie to not run on a background thread, otherwise Paparazzi can throw exceptions [#494](https://github.com/cashapp/paparazzi/issues/494), [#630](https://github.com/cashapp/paparazzi/issues/630). +When taking screenshots of Lottie animations, you need to force Lottie to not run on a background thread, otherwise Paparazzi can throw exceptions [#494](https://github.com/cashapp/paparazzi/issues/494), [#630](https://github.com/cashapp/paparazzi/issues/630). ```kotlin @Before @@ -129,7 +129,7 @@ buildscript { google() } dependencies { - classpath 'app.cash.paparazzi:paparazzi-gradle-plugin:1.3.0' + classpath 'app.cash.paparazzi:paparazzi-gradle-plugin:1.3.1' } } @@ -139,7 +139,7 @@ apply plugin: 'app.cash.paparazzi' Using the plugins DSL: ```groovy plugins { - id 'app.cash.paparazzi' version '1.3.0' + id 'app.cash.paparazzi' version '1.3.1' } ``` diff --git a/gradle.properties b/gradle.properties index 1d1c5fcf1b..6e512e7172 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=app.cash.paparazzi -VERSION_NAME=1.3.1-SNAPSHOT +VERSION_NAME=1.3.1 POM_URL=https://github.com/cashapp/paparazzi/ POM_SCM_URL=https://github.com/cashapp/paparazzi/