Skip to content

Commit 40d0ee3

Browse files
committed
[AND-1472] Bump Compose BOM and Paparazzi, drop the diff threshold, re-record goldens
- androidxComposeBom 2024.11.00 -> 2025.08.01 and paparazzi 1.3.4 -> 1.3.5, matching the chat SDK. - Remove MAX_PERCENT_DIFFERENCE: the 0.5 threshold only existed because Paparazzi 1.3.4 antialiased fonts differently between macOS (recording) and Linux (CI verification). Paparazzi now runs with its default threshold. - Re-record all 159 goldens. Paparazzi 1.3.5 names snapshot files with underscores instead of spaces, so every file is deleted and re-added. The new images are pixel-identical to the old ones; the BOM bump caused no visual change.
1 parent 4fe1b3e commit 40d0ee3

188 files changed

Lines changed: 3 additions & 61 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ androidxActivity = "1.9.2"
2828
androidxDataStore = "1.1.1"
2929
googleService = "4.4.2"
3030

31-
androidxComposeBom = "2024.11.00"
31+
androidxComposeBom = "2025.08.01"
3232
androidxComposeTracing = "1.0.0-beta01"
3333
androidxHiltNavigation = "1.2.0"
3434
androidxComposeNavigation = "2.8.4"
@@ -69,7 +69,7 @@ androidxUiAutomator = "2.4.0-alpha01"
6969
androidxContraintLayout = "2.1.4"
7070
androidxEspresso = "3.5.1"
7171
androidxMedia = "1.7.0"
72-
paparazzi = "1.3.4"
72+
paparazzi = "1.3.5"
7373
robolectric = "4.11.1"
7474
junit = "4.13.2"
7575
truth = "1.1.3"

stream-video-android-ui-compose/api/stream-video-android-ui-compose.api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ public final class io/getstream/video/android/compose/ui/components/call/diagnos
16191619
public final fun getLambda$-1813442361$stream_video_android_ui_compose_release ()Lkotlin/jvm/functions/Function3;
16201620
public final fun getLambda$-2145781751$stream_video_android_ui_compose_release ()Lkotlin/jvm/functions/Function3;
16211621
public final fun getLambda$-547082680$stream_video_android_ui_compose_release ()Lkotlin/jvm/functions/Function2;
1622-
public final fun getLambda$841979657$stream_video_android_ui_compose_release ()Lkotlin/jvm/functions/Function3;
1622+
public final fun getLambda$1939297546$stream_video_android_ui_compose_release ()Lkotlin/jvm/functions/Function3;
16231623
}
16241624

16251625
public final class io/getstream/video/android/compose/ui/components/call/lobby/CallLobbyKt {

stream-video-android-ui-compose/src/test/kotlin/io/getstream/video/android/compose/ui/PaparazziComposeTest.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@ import io.getstream.video.android.compose.ui.components.avatar.LocalAvatarPrevie
4343
import io.getstream.video.android.mock.StreamPreviewDataUtils
4444
import org.junit.Rule
4545

46-
/**
47-
* Goldens are recorded on developer machines (macOS) and verified on Linux CI. On the
48-
* Paparazzi version this repo can use with Kotlin 1.9 (1.3.4), font antialiasing differs
49-
* slightly between the two platforms: CI measured diffs of 0.10% to 0.30% on goldens that
50-
* are pixel-identical intent-wise, against a default threshold of 0.1%. Real visual changes
51-
* are far above 0.5%. Revisit after the Kotlin 2 / Paparazzi 1.3.5 upgrade (the chat repo
52-
* runs that stack with the default threshold).
53-
*/
54-
internal const val MAX_PERCENT_DIFFERENCE = 0.5
55-
5646
/**
5747
* [DeviceConfig.PIXEL_2] geometry (411x731dp) at hdpi. The dp layout is identical to the
5848
* Pixel 2, but rendering at 1.5x keeps the golden files small, which speeds up comparisons.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_CompoundComponentFactoryTest_compound component factory overrides a single component.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_CompoundComponentFactoryTest_compound_component_factory_overrides_a_single_component.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory call app bar with default title.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_call_app_bar_with_default_title.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory call lobby controls.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_call_lobby_controls.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory control actions with default handler.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_control_actions_with_default_handler.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory empty defaults.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_empty_defaults.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory incoming call content in dark mode.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_incoming_call_content.png

File renamed without changes.

stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory incoming call content.png renamed to stream-video-android-ui-compose/src/test/snapshots/images/io.getstream.video.android.compose.theme_VideoComponentFactoryTest_factory_incoming_call_content_in_dark_mode.png

File renamed without changes.

0 commit comments

Comments
 (0)