Skip to content

1.0.0-beta17

Compare
Choose a tag to compare
@vinaygaba vinaygaba released this 17 Dec 17:22
· 27 commits to master since this release
  • Optimized the code generation to be more performant (#284)
    • We hit an issue with Jacoco that pointed out how our final generated aggregator class had a heavy init method that caused a Jacoco task to fail at scale (1000+ previews). In addition, the root module can become a build time bottleneck as the codebase scales. In this release, we optimized the code generation by moving some of the code generation to the respective modules that have the previews as opposed to generating everything in the root module. This also allows us to leverage incremental compilation better. One nice side effect of this refactor is that your preview functions are now allowed to be internal instead of forcing you to be public. Please file issues if you notice any weird behavior after this refactor.
  • Let the IDE recognize generated code when using KSP (#279 )
    • Some folks complained how the generated classes/methods weren't being detected by the IDE. This happens because the source generated by ksp specifically needs to be registered separately. The linked PR does it for the sample app and shows how you'd do that in your own codebase.
  • Fixed bug in getShowkaseMetadataFromPreview where the preview width was being set as the showkase metadata height (#280)

Note: We discovered a bug in the 1.0.0-beta16 release hence not going to publish the release notes for it. Please use the 1.0.0-beta17 release instead.