Releases: airbnb/Showkase
1.0.0-beta10
Fix duplicate class issue with generated metadata file (#201)
1.0.0-beta09
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
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
- 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
Preliminary work for screenshot testing. Nothing should change for the end user of this library.
1.0.0-beta05
Upgraded Showkase to support Kotlin 1.5.30
1.0.0-beta04
1.0.0-beta03
1.0.0-beta02
- 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
Adds support for 1.0.0-rc02