0.10.0 #1941
0.10.0
#1941
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New:
Box
.Widget.Children
interface now exposeswidgets: List<Widget<W>>
property. Most subtypes were already exposing this individually.Changed:
onModifierChanged
callback inWidget.Children
now receives the index and theWidget
instance affected by the change.app.cash.redwood.protocol.host
. This should not affect end-users as its types are mostly for internal use.redwood-yoga
artifact's public API has been annotated with an opt-in annotation indicating that it's only for Redwood internal use and is not stable.Row
,Column
, orBox
in the iOSUIView
implementation. This matches the behavior of the Android View and Compose UI implementations.MySchemaWidgetFactories
) is now called a "widget system" (e.g.,MySchemaWidgetSystem
). Sometimes it was also referred to as a "provider" in parameter names. A@Deprecated typealias
is generated for now, but will be removed in the future.typealias
es are generated in the old locations for public types and functions, but those will be removed in the next release.your.package.testing
.your.package.protocol.guest
.your.package.protocol.host
.--compose-protocol
and--widget-protocol
to--protocol-guest
and--protocol-host
, respectively.RedwoodVersion
type, and will be automatically wired if using our Treehouse artifacts.Fixed:
CoroutineScope
is being cancelledView
implementation ofBox
to wrap its width and height by default. This matches the behavior of theUIView
implementation and all other layout widgets.UIView
implementation ofBox
not updating when some of its parameters are changed.Modifier.size
not being applied to children inside aBox
.Margin
not being applied to theUIView
implementation ofBox
.View
implementation ofBox
now applies start/end margins correctly in RTL, and does not crash if set before the native view was attached.UIViewLazyList
to be transparent. This matches the behavior of the otherLazyList
platform implementations.TreehouseUIView
to size itself according to the size of its subview.UIViewLazyList
, addingbeginUpdates
/endUpdates
calls toinsertRows
/deleteRows
, and wrapping changes inUIView.performWithoutAnimation
blocks.UIViewLazyList
, don't remove subviews from hierarchy duringprepareForReuse
callThis discussion was created from the release 0.10.0.
Beta Was this translation helpful? Give feedback.
All reactions