Releases: chrisbanes/haze
0.9.0-rc03
Very much hoping that this is the last release candidate. 🤞
What's Changed
- Update agp to v8.7.2 by @renovate in #380
- Update jetpack.compose to v1.7.5 - autoclosed by @renovate in #377
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.5 by @renovate in #376
- Update dependency androidx.collection:collection to v1.4.5 by @renovate in #375
- Fix crashes caused by blurRadius of 0px by @chrisbanes in #382
- Update coil to v3.0.0-rc02 by @renovate in #373
- Update dependency gradle to v8.10.2 by @renovate in #329
- Remove LayoutAwareModifierNode and onPlaced again by @chrisbanes in #383
Full Changelog: 0.9.0-rc02...0.9.0-rc03
0.9.0-rc02
What's Changed
- Doc updates for Haze v0.9 by @chrisbanes in #369
- Upgrade to Robolectric 4.14-beta-1 by @chrisbanes in #370
- Start using LayoutAwareModifierNode and onPlaced again by @chrisbanes in #372
Full Changelog: 0.9.0-rc01...0.9.0-rc02
0.9.0-rc01
Performance improvements for progressive blur
On platforms which support runtime shaders (everything other than Android SDK < 33), progressive is ~1.9x faster than before, through the usage of a new (custom) runtime shader. See #368 for more information.
What's Changed
- Update dependency androidx.activity:activity-compose to v1.9.3 by @renovate in #363
- Update androidx.benchmark to v1.3.3 by @renovate in #362
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.4 by @renovate in #365
- Update jetpack.compose to v1.7.4 by @renovate in #366
- Small micro optimizations by @chrisbanes in #364
- Add runtime shader for progressive blur by @chrisbanes in #368
Full Changelog: 0.9.0-beta04.1...0.9.0-rc01
0.9.0-beta04.1
What's Changed
- Fix defaults for blurRadius and noiseFactor by @chrisbanes in #361
Full Changelog: 0.9.0-beta04...0.9.0-beta04.1
0.9.0-beta04
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
- 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
0.9.0-beta03
What's Changed
- Update roborazzi to v1.27.0 by @renovate in #334
- Update jetpack.compose to v1.7.3 by @renovate in #338
- Update ktor monorepo to v3.0.0-rc-2 by @renovate in #339
- Update dependency androidx.profileinstaller:profileinstaller to v1.4.1 by @renovate in #337
- Update androidx.benchmark to v1.3.2 by @renovate in #335
- Only use a GraphicsLayer on Android on hw-accel canvases by @chrisbanes in #341
- Remove the unused defaultStyle vars by @chrisbanes in #342
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.3 by @renovate in #336
Full Changelog: 0.9.0-beta02...0.9.0-beta03
0.9.0-beta02
Highlights
- We now depend on Compose Multiplatform 1.7.0-rc01
- Lots of API tweaks!
What's Changed
- Add alpha param to hazeChild by @chrisbanes in #313
- Update ktor monorepo to v3.0.0-rc-1 by @renovate in #315
- Update dependency gradle to v8.10.1 - autoclosed by @renovate in #314
- Update plugin com.gradle.develocity to v3.18.1 by @renovate in #317
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.1 by @renovate in #319
- Update jetpack.compose to v1.7.1 by @renovate in #320
- Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-swing to v1.9.0 by @renovate in #322
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.2 by @renovate in #326
- Update agp to v8.6.1 - autoclosed by @renovate in #323
- Update jetpack.compose to v1.7.2 by @renovate in #327
- Update dependency androidx.profileinstaller:profileinstaller to v1.4.0 by @renovate in #328
- Update dependency androidx.collection:collection to v1.4.4 by @renovate in #325
- Update androidx.benchmark to v1.3.1 by @renovate in #324
- Tidy up API for v0.9.0 by @chrisbanes in #330
- Disable invalidation tick by @chrisbanes in #331
- Update compose.multiplatform to v1.7.0-rc01 by @renovate in #332
- Update agp to v8.7.0 by @renovate in #333
Full Changelog: 0.9.0-beta01...0.9.0-beta02
0.9.0-beta01
Highlights
- New version of
hazeChild
which takes lambda parameters. Should be a lot more efficient if you need to animate properties. - Using Jetpack Compose 1.7.0 (GA)
- Using Compose Multiplatform 1.7.0-beta01
- (New) FluentMaterials class, which mimics Windows blurring styles. Thanks @Sanlorng!
What's Changed
- Add FluentMaterials by @Sanlorng in #306
- Update agp to v8.6.0 by @renovate in #305
- Update jetpack.compose to v1.7.0-rc01 by @renovate in #303
- Update compose.multiplatform to v1.7.0-beta01 by @renovate in #308
- Add lambda version of HazeChild by @chrisbanes in #309
- Update dependency androidx.activity:activity-compose to v1.9.2 by @renovate in #310
- Update jetpack.compose to v1.7.0 by @renovate in #311
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.0 by @renovate in #312
New Contributors
Full Changelog: 0.9.0-alpha08...0.9.0-beta01
0.9.0-alpha08
What's Changed
- Update plugin com.gradle.develocity to v3.18 by @renovate in #300
- Update compose.multiplatform to v1.7.0-alpha03 by @renovate in #301
- Add Brush suppport for tints by @chrisbanes in #298
Full Changelog: 0.9.0-alpha07...0.9.0-alpha08
0.9.0-alpha07
What's Changed
- Update dependency androidx.collection:collection to v1.4.3 by @renovate in #291
- Update coil to v3.0.0-alpha10 by @renovate in #294
- Update agp to v8.5.2 by @renovate in #295
- Update dependency gradle to v8.10 by @renovate in #297
- Add workaround for invalidations not happening on Skia backed platforms by @chrisbanes in #296
Full Changelog: 0.9.0-alpha06...0.9.0-alpha07