Skip to content

0.17.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 16:32
· 2 commits to trunk since this release

Breaking:

  • Treehouse hosts running Redwood 0.11.0 or older are not longer actively supported. They will continue to work, but they will experience indefinite memory leaks of native widgets.
  • Old, deprecated overloads of ZiplineTreehouseUi.start have been removed. The new overloads have been available since Redwood 0.8.0 for over a year.

New:

  • UIConfiguration.viewInsets tracks the safe area of the specific RedwoodView being targeted. This is currently implemented for views on Android and UIViews on iOS.
  • ConsumeInsets {} composable consumes insets. Most applications should call this in their root composable function.
  • Add TestRedwoodComposition.setContentAndSnapshot function which is a fused version of setContent and awaitSnapshot, except that it guarantees the returned snapshot is the result of the initial composition of the content without any additional frames sent.

Fixed:

  • Fix inconsistency in margin application between ComposeUiBox and ViewBox.
  • Add support for the Height modifier in ComposeUiBox.
  • Add support for the Width modifier in ComposeUiBox.
  • Call DisposableEffect when a screen is unbound. We were only calling these when the effect was removed from the composition.
  • Support movableContentOf in Treehouse (and generally in the Redwood protocol). Note: this requires the host be running version 0.17.0 or newer.
  • Fix case where Column and Row would not update their intrinsic size on iOS if they are not a child of another Column or Row.