The biggest feature to be excited about in this release is probably the new Silk Switch widget. (Thanks @stevdza-san for his contribution!! 🎉 )
However, this release also contains a fair number of miscellaneous fixes (and docs cleanup) as well.
Frontend
- Various fixes to the
backgroundmodifier- Blend mode support.
- Support for separate horizontal and vertical repeat modes.
- Fixed a poorly designed "extent" parameter in radial gradients.
extentshould have been part of the gradient's size instead of a separate parameter.// Before: radialGradient(Ellipse, extent = ClosestSide) // After: radialGradient(Ellipse(ClosestSide))
- New
isolationModifier- Can occasionally be useful if you are having issues with how browsers blend transparent layers into each other.
- Added
weightmodifiers for rows and columns- e.g.
Row { Box(Modifier.weight(1)); Box(Modifier.weight(0.5)); Box(Modifier.weight(1)) } - This is essentially a convenience modifier provided for Android devs who might be familiar with it. It delegates to
flexGrowbehind the scenes.
- e.g.
Silk
- New switch widget, supporting multiple sizes and (not shown here) color schemes
- Improved tooltip / popover behavior when the element it is attached to moves
Gradle
- Allow users to specify a custom location for the favicon path
kobweb { app { index { faviconPath("/logo.png") } } }
Markdown
- Fixed a compile error you'd get when using void tags (e.g.
<br>,<hr>, which don't need closing tags and never have a body) - Fixed a compile error you'd get when using escaped quotes in the frontmatter block
- For example, this used to cause problems:
title: "Deploying to the Cloud using \"Render\" Web Services"
- For example, this used to cause problems: