Skip to content

0.9.0-beta04

Pre-release
Pre-release
Compare
Choose a tag to compare
@chrisbanes chrisbanes released this 16 Oct 07:20
· 40 commits to main since this release

What's changed

Compose Multiplatform 1.7.0

CMP 1.7.0 has gone stable. Go and upgrade.

Progressive blurs (aka gradient blurs)

We now have access to progressive blurring.

progressive.mp4

The API is very similar to the Brush gradient APIs, so it should feel very familiar.

Modifier.hazeChild(...) {
   progressive = HazeProgressive.verticalGradient(startIntensity = 1f, endIntensity = 0f)
}

Caution

The performance of progressive blurring is untested as yet, but for sure it's going to be slower than without. I also haven't put any performance work into this as yet. That will come for the next release (hopefully rc01).

Tweaked styling APIs (again)

The styling APIs have changed again (sorry about that), but I'm feeling much better about the new API. We now have a the LocalHazeStyle composition local (for global styling), style parameter on hazeChild for node-specific, and then the individual properties on hazeChild block. See #360 for more information.

New samples

Full changelog

Full Changelog: 0.9.0-beta03...0.9.0-beta04