:rocket: Doodle 0.12.0 is out! Doodle is a pure K...
# feed
n
🚀 Doodle 0.12.0 is out! Doodle is a pure Kotlin UI framework for the Web and Desktop, and 0.12.0 is now available. Highlights Constraint layout, leveled up. Constraints are more expressive and more reliable. You can now suggest values without enforcing them using
prefers
, interpolate between expressions with
lerp
, work with ideal sizes, and tune how strongly parents hold their size with
parentWidthPreservation
/
parentHeightPreservation
. Underneath, the Solver got many accuracy fixes, and
min
/
max
need fewer constraints than before. Richer text with AnnotatedString.
StyledText
is now
AnnotatedString
and supports URL links, selectable segments for automatic text selection on supported platforms, and
TextDecoration.Line
directly in the DSL. Faster. Layout and render paths have been trimmed across the framework, including less reflection and object creation. On Browser, text measurement, DOM operations, fills, and paths are all lighter. Plus dozens of layout, rendering, Browser, and Desktop fixes, and a move to Kotlin 2.4.21. Upgrading A few APIs were renamed or reshaped (
StyledText
→
AnnotatedString
, slider ticks → marks,
hint
→
prefers
, among others). The full list is in the release notes. Links • Release notes: https://github.com/nacular/doodle/releases/tag/v0.12.0 • Docs: https://nacular.github.io/doodle/docs/introduction Questions, bug reports, and ideas are welcome. Thanks to everyone who has tried Doodle and sent feedback! 🙌
👍 2