Skip to content

1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Aug 17:28
· 222 commits to trunk since this release

New:

  • Support for specifying custom Compose compiler versions. This will allow you to use the latest
    version of Molecule with newer versions of Kotlin than it explicitly supports.

    See the README for more information.

Fixed:

  • Ensure frame times sent by RecompositionMode.Immediate always increase. Previously,
    when targeting JS, the same frame time could be seen since the clock only has millisecond
    precision. Since the frame time is in nanoseconds, synthetic nanosecond offsets will be added to
    ensure each timestamp is strictly greater than the last.
  • Perform teardown of the composition on cancellation within an existing coroutine rather than in
    a job completion listener. This ensures it executes on the same dispatcher as the rest of the
    system, rather than on the canceling caller's thread.