You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source-based schema parser is now the default. The useFir Gradle property has been removed.
TreehouseAppFactory accepts a LeakDetector which can be used to notify you of reference leaks for native UI nodes, Zipline instances, Redwood's own internal wrappers, and more.
Introduce a LoadingStrategy interface to manage LazyList preloading.
Optimize encoding modifiers in Kotlin/JS.
Changed:
In Treehouse, events from the UI are now serialized on a background thread. This means that there is both a delay and a thread change between when a UI binding sends an event and when that object is converted to JSON. All arguments to events must not be mutable and support property reads on any thread. Best practice is for all event arguments to be completely immutable.
ProtocolFactory interface is now sealed as arbitrary subtypes were never supported. Only schema-generated subtypes should be used.
UIViewLazyList doesn't crash with a NullPointerException if cells are added, removed, and re-added without being reused.
Change UiConfiguration.viewportSize to be nullable. A null viewportSize indicates the viewport's size has not been resolved yet.
Fixed:
Breaking content: UIView retain cycle in UIViewLazyList's LazyListContainerCell.
Update ProtocolNode widget IDs when recycling widgets. This was causing pooled nodes to be leaked.
Breaking:
The TreehouseApp.spec property is removed. Most callers should be able to use TreehouseApp.name instead. This is necessary to avoid a retain cycle.
Upgraded:
Kotlin 2.0.20
Zipline 1.17.0
This discussion was created from the release 0.14.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
New:
useFirGradle property has been removed.TreehouseAppFactoryaccepts aLeakDetectorwhich can be used to notify you of reference leaks for native UI nodes, Zipline instances, Redwood's own internal wrappers, and more.LoadingStrategyinterface to manageLazyListpreloading.Changed:
ProtocolFactoryinterface is now sealed as arbitrary subtypes were never supported. Only schema-generated subtypes should be used.UIViewLazyListdoesn't crash with aNullPointerExceptionif cells are added, removed, and re-added without being reused.UiConfiguration.viewportSizeto be nullable. A nullviewportSizeindicates the viewport's size has not been resolved yet.Fixed:
content: UIViewretain cycle inUIViewLazyList'sLazyListContainerCell.ProtocolNodewidget IDs when recycling widgets. This was causing pooled nodes to be leaked.Breaking:
TreehouseApp.specproperty is removed. Most callers should be able to useTreehouseApp.nameinstead. This is necessary to avoid a retain cycle.Upgraded:
This discussion was created from the release 0.14.0.
Beta Was this translation helpful? Give feedback.
All reactions