Skip to content

ribir-v0.4.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@M-Adoo M-Adoo released this 07 Aug 00:46
· 185 commits to master since this release

Features

  • core: Introduced IntoWidget and IntoChild. (@M-Adoo #612)

    The IntoWidget trait allows for the conversion of any widget to the type Widget.
    The IntoChild trait provides a way to convert a more general type into a child of ComposeChild.

Fixed

core: The generation of a pipe widget from another pipe widget may potentially result in a crash. (#612, @M-Adoo)

Changed

  • core: Lazy build the widget tree. (#612, @M-Adoo)

  • core: Simplify the implementation of parent composition with child widgets. (#612, @M-Adoo)

    Merge SingleWithChild, MultiWithChild, and ComposeWithChild into a single trait called WithChild.

Breaking

  • Removed ChildFrom and FromAnother traits (#612 @M-Adoo)
  • Removed SingleParent and MultiParent traits. (#612 @M-Adoo)
  • Removed PairChild and PairWithChild traits. User can use a generic type instead. (#612 @M-Adoo)
  • Allow only the child to be converted to a widget or a type that implements the Into trait. (#612 @M-Adoo)
  • Removed the all builder traits such as WidgetBuilder and ComposeBuilder and so on. (#612 @M-Adoo)
  • All implicit child conversions have been removed, except for conversions to Widget. (#612 @M-Adoo)