2.0.0
New:
- Support for Kotlin 2.0.0!
Changed:
- Remove our Gradle plugin in favor of JetBrains' (see below for more).
Fixed:
- Mac OS
DisplayLinkClockwas updated to correctly use a "static" function for pointer-passing toCVDisplayLink, as newly-enforced by Kotlin 2.0. This should not cause a behavior change.
Note: This release is otherwise binary-compatible with the 1.x versions. The major version bump is due to the build change only.
Gradle plugin removed
This version of Molecule removes the custom Gradle plugin in favor of the official JetBrains Compose compiler plugin which ships as part of Kotlin itself.
Each module in which you had previously applied the app.cash.molecule plugin should be changed to apply instead.
The Molecule runtime will no longer be added as a result of the plugin change, and so any module which references Molecule APIs like should apply the dependency.