0.9.0-beta04
Pre-releaseWhat'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
- ExoPlayer sample
- Scaffold sample has been updated to use progressive blur.
Full changelog
- Update roborazzi to v1.28.0 by @renovate in #343
- Update coil to v3.0.0-rc01 by @renovate in #345
- Update kotlin monorepo to v2.0.21 by @renovate in #348
- Progressive blur by @chrisbanes in #346
- Update roborazzi to v1.29.0 by @renovate in #354
- More benchmark tests (and perf improvements) by @chrisbanes in #349
- Add ExoPlayer sample by @chrisbanes in #356
- Update agp to v8.7.1 by @renovate in #358
- Update plugin mavenpublish to v0.30.0 - autoclosed by @renovate in #355
- Update ktor monorepo to v3.0.0 by @renovate in #347
- Throw error on descendant layouts by @chrisbanes in #357
- Style improvements for 0.9.x by @chrisbanes in #360
- Update compose.multiplatform to v1.7.0 by @renovate in #359
Full Changelog: 0.9.0-beta03...0.9.0-beta04