8000 Release 2.1.0 · cashapp/molecule · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 01:45
· 34 commits to trunk since this release

New:

  • Add SnapshotNotifier enum to control whether Molecule automatically sends snapshot apply notifications.
    If you are using Molecule with another Compose-based library in a single application, you may want to disable our snapshot notification.
    See the enum for details on when that is appropriate.
    Additionally, the app.cash.molecule.snapshotNotifier system property can be set to one of the enum entry names to control the default process-wide.

Changed:

  • Any specified additional coroutine context elements will now be honored in the coroutine used internally with RecompositionMode.Immediate to send frames and cause recomposition to occur. This is observable, most notably, when a CoroutineDispatcher is included, as now recompositions which occur after the first, synchronous one will occur on that dispatcher.

Fixed:

  • Correct calculation of frame nano time for native Windows and native Linux targets.
0