Skip to content

Releases: airbnb/Showkase

1.0.0-beta09

03 Jan 21:20
Compare
Choose a tag to compare

This release adds KSP support to Showkase. Thanks to @elihart for his fantastic contributions 馃憦

Based on some early analysis, we think that this will speed up the build times for Showkase by 70%!!! (#194)

In order to use Showkase with ksp, you will need to make the following changes to your Showkase setup in the build.gradle file

+   plugins {
+       "com.google.devtools.ksp" version "$KSP_VERSION"
+   }


-    kapt "com.airbnb.android:showkase-processor:1.0.0-beta09"
+    ksp "com.airbnb.android:showkase-processor:1.0.0-beta09"

In addition, you need to pass the following flag to the gradle command that you use to build/run - -PuseKsp=true. Here's an example of what this would look like

./gradlew sample:clean sample:build -i -PuseKsp=true

1.0.0-beta08

03 Jan 18:49
Compare
Choose a tag to compare

This release includes a simple change to add additional information for screenshot testing

  • Pass style information down for implementing screenshot test (#187)

1.0.0-beta07

27 Oct 19:44
Compare
Choose a tag to compare
  • Added the ability to specify if a Composable is a style of another Composable function. Created two new properties in the @ShowkaseComposable annotation - styleName & defaultStyle. Here's how you'd use it.
@ShowkaseComposable(group = "Chips", name = "BasicChip", defaultStyle = true)
@Composable
fun ChipPreview() {
    Chip(isError = false)
}

@ShowkaseComposable(group = "Chips", name = "BasicChip", styleName = "Error")
@Composable
fun ChipErrorPreview() {
    Chip(isError = true)
}
  • Improvements to screenshot testing code generation. This feature is still work in progress so I've intentionally not added documentation for this just yet but it should be coming soon!

1.0.0-beta06

14 Oct 00:17
Compare
Choose a tag to compare

Preliminary work for screenshot testing. Nothing should change for the end user of this library.

1.0.0-beta05

05 Oct 15:35
Compare
Choose a tag to compare

Upgraded Showkase to support Kotlin 1.5.30

1.0.0-beta04

09 Sep 03:49
Compare
Choose a tag to compare
  • Fixed bug where using a custom theme on the activity caused a crash with MDC adapter (#168)
  • Built against Compose 1.0.1 and Kotlin 1.5.21 (#166)

1.0.0-beta03

06 Aug 04:34
Compare
Choose a tag to compare
  • Make Showkase compatible with not including kapt on compile classpath (#162)
  • Added support for components with vertical scroll (#163)
  • Added functionality to allow skipping Previews (#164)

1.0.0-beta02

04 Aug 23:33
Compare
Choose a tag to compare
  • Adds support for the first stable Compose release - 1.0.0 馃コ
  • Get rid of some unnecessary dependencies
  • Bug fix for Showkase crashing for some usecases where kapt is not included on the compile classpath (#160)

1.0.0-beta01

16 Jul 07:06
Compare
Choose a tag to compare

Adds support for 1.0.0-rc02

1.0.0-alpha12

27 Jun 18:21
Compare
Choose a tag to compare

Adds support for Compose 1.0.0-beta09