Skip to content

0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Feb 18:55
· 67 commits to trunk since this release

New:

  • Support Kotlin 1.9.22 via JetBrains Compose compiler 1.5.10.
  • Filler composable is like a Spacer but fills its area with a character instead of a space.
  • Box without content provides the ability to render using drawing modifiers without needing an empty chidlren lambda.
  • Modifier.aspectRatio attempts to constrain a composable to an aspect ratio in either the vertical or horizontal direction.
  • Modifier.offset offsets the composable in its parent by the given coordinates.
  • Modifier.fillMaxWidth, Modifier.fillMaxHeight, Modifier.fillMaxSize, Modifier.wrapContentWidth, Modifier.wrapContentHeight, Modifier.wrapContentSize, and Modifier.defaultMinSize help size composable measurement in relation to their parent.
  • Modifier.weight allows sizing a composable proportionally to others within the same parent.
  • Row and Column each feature an arrangement parameter which controls the placement of children on the main axis of the container.

Changed:

  • Modifier parameter is now universally called modifier in the API.
  • Disable decoy generation for JS target to make compatible with JetBrains Compose 1.6. This is an ABI-breaking change, so all Compose-based libraries targeting JS will also need to have been recompiled.

Fix:

  • Ensure ANSI control sequences are written properly to Windows terminals.
  • Robot sample now correctly moves on Windows.

This version works with Kotlin 1.9.22 by default.