0.13.0
New:
- Wasm JS added as a target for common Redwood modules. There is no Treehouse support today.
- Add
onScroll
property toRow
andColumn
. This property is invoked whenoverflow = Overflow.Scroll
and the container is scrolled. - Add
Px
class to represent a raw pixel value in the host's coordinate system. - New source-based schema parser can be enabled with
redwood { useFir = true }
in your schema module. Please report and failures to the issue tracker. This parser will become the default in 0.14.0.
Changed:
- The
TreehouseApp
type is now an abstract class. This should make it easier to write unit tests for code that integrates Treehouse. - The
TreehouseApp.Spec.bindServices()
function is now suspending. - The
TreehouseAppFactory
function now accepts a ZiplineLoaderEventListener
parameter.
Fixed:
- Using a
data object
for a widget of modifier no longer causes schema parsing to crash. - Ensuring
LazyList
'sitemsBefore
anditemsAfter
properties are always within[0, itemCount]
, to preventIndexOutOfBoundsException
crashes. - Don't crash in
LazyList
when a scroll and content change occur in the same update. - Updating a flex container's margin now works correctly for Yoga-based layouts.
Breaking:
- The
TreehouseApp.Factory.dispatchers
property is removed, and callers should migrate toTreehouseApp.dispatchers
. With this update eachTreehouseApp
has its own private thread so a shareddispatchers
property no longer fits our implementation.
-TreehouseApp.Spec.bindServices()
now accepts aTreehouseApp
parameter.
Upgraded:
- Zipline 1.16.0