Skip to content

0.13.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jul 15:12
· 75 commits to trunk since this release

New:

  • Wasm JS added as a target for common Redwood modules. There is no Treehouse support today.
  • Add onScroll property to Row and Column. This property is invoked when overflow = 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 Zipline LoaderEventListener parameter.

Fixed:

  • Using a data object for a widget of modifier no longer causes schema parsing to crash.
  • Ensuring LazyList's itemsBefore and itemsAfter properties are always within [0, itemCount], to prevent IndexOutOfBoundsException 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 to TreehouseApp.dispatchers. With this update each TreehouseApp has its own private thread so a shared dispatchers property no longer fits our implementation.
    -TreehouseApp.Spec.bindServices() now accepts a TreehouseApp parameter.

Upgraded:

  • Zipline 1.16.0