Skip to content

1.0.0-beta15

Compare
Choose a tag to compare
@vinaygaba vinaygaba released this 16 Dec 15:19
· 34 commits to master since this release
  • Ensure that Multi Preview annotations don't throw a compile time error (#255)
  • Fixed indentation error in generated code (#258)
  • Support stacking of @Preview & @ShowakseComposable annotations. This generates the additional previews even in the ShowkaseBrowser, just like you'd expect. One thing to note is that this only works for ksp. More info about the kapt issue here. (#259)
  • Added the ability to skip previews functions that are private. You can use annotations options and pass the skipPrivatePreviews flag to enable this. Here's how you'd configure it in your build.gradle
// If you are using ksp
ksp {
    arg("skipPrivatePreviews", "true")
}

// If you are using kapt
kapt {
    arguments {
        arg("skipPrivatePreviews", "true")
    }
}
  • If you are using the auto generated screenshot tests from the showkase-screenshot-testing artifact, you would've noticed that there was really limited information available when the test fails. We now share more information so that it's easier to debug the failing test (#276)
  • Added a sample to demonstrate how you can automate screenshot testing of all the previews in your codebase using Showkase + Paparazzi. Using this setup is a strong recommendation (as opposed to even the showkase-screenshot-testing articact and I'm working on a doc that dives deeper on this topic (#252)
  • Fixed issue where having a BackHandler in a preview would break navigation in the ShowkaseBrowser (#267)
  • Miscellaneous documentations related fixes

Want to once again give a huge shout out to all the contributors. I'm very grateful for all the help and appreciate everything you do to improve this library 馃檹