Skip to content

0.15.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jan 22:17
· 45 commits to trunk since this release

New:

  • Create mosaic-animation library, that provides various possibilities for animating Mosaic. An analog of androidx.compose.animation-core.
  • Add IntrinsicSize and related Modifier.width/height/requiredWidth/requiredHeight.
  • New mosaic-testing library for deterministically rendering Mosaic composables under test.
  • Add Mosaic.layoutId which allows identifying the element within its parent during layout.
  • Add Modifier.composed that allows creating custom reusable modifiers with access to Compose functionality inside.

Changed:

  • Rendering now occurs as fast as possible, although still only when necessary. Previously the maximum FPS was capped to 20, which could cause minor visual delays when processing events.

Fixed:

  • Fix the handling of custom Modifiers that have multiple parents from LayoutModifier, DrawModifier, KeyModifier, ParentDataModifier.