Releases: chrisbanes/haze
1.2.0
What's new
API renames
I have renamed a number of the APIs in this release to better reflect what they actually do these days:
Modifier.haze
->Modifier.hazeSource
Modifier.hazeChild
->Modifier.hazeEffect
HazeChildScope
->HazeEffectScope
I've kept the old APIs around and deprecated them for easy migration.
Overlapping blurred areas
Haze now supports different hazeEffect
areas which overlap, like this:
See here for more information.
Versioned documentation
A small quality of life change, but the documentation website is now versioned: https://chrisbanes.github.io/haze/
Changelog
- Stop using synchronized lazy by @chrisbanes in #446
- Add support for multiple Haze nodes attached to a HazeState by @chrisbanes in #441
- Rename modifiers for clarity by @chrisbanes in #452
- [Sample] Hook up back button on Android by @chrisbanes in #459
- Remove expanded layer size by @chrisbanes in #461
- Small tidy ups ready for release by @chrisbanes in #463
Full Changelog: 1.1.1...1.2.0
1.1.1
What's Changed
- Update agp to v8.7.3 by @renovate in #429
- Use onPlaced for screenshot tests by @chrisbanes in #433
Full Changelog: 1.1.0...1.1.1
1.1.0
🆕 Input Scale
A new feature in this release is being able to set the input scale, allowing you to downscale content for potential performance gains.
What's Changed
- Update dependency gradle to v8.11.1 by @renovate in #412
- Update dependency org.robolectric:robolectric to v4.14.1 by @renovate in #414
- Update roborazzi to v1.33.0 by @renovate in #415
- Update roborazzi to v1.34.0 by @renovate in #417
- Reduce variance in benchmarks by @chrisbanes in #418
- Update compose.multiplatform to v1.7.1 by @renovate in #406
- Update plugin com.gradle.develocity to v3.18.2 - autoclosed by @renovate in #409
- Add inputScale by @chrisbanes in #416
- Update coil to v3.0.4 by @renovate in #392
- Improve HazeInputScale API by @chrisbanes in #423
- More benchmark consistency work by @chrisbanes in #424
- Add automatic HazeInputScale by @chrisbanes in #427
- Remove noise scaling on Android by @chrisbanes in #428
Full Changelog: 1.0.2...1.1.0
1.0.2
🆕 Ability to control where the blurring effect is used
You can now control where the blur effect is used. Specifically for Android, there's more information here.
What's Changed
- Update dependency gradle to v8.11 by @renovate in #404
- Update ktor monorepo to v3.0.1 by @renovate in #374
- Add blurEnabled on HazeChildScope property by @chrisbanes in #408
- Update dependency org.robolectric:robolectric to v4.14 by @renovate in #410
Full Changelog: 1.0.1...1.0.2
1.0.1
What's Changed
- Update roborazzi to v1.32.2 by @renovate in #393
- Implement fallback for HazeProgressive by @chrisbanes in #400
- Add
preferPerformance
flag on HazeProgressive by @chrisbanes in #401 - Cache RenderEffects by @chrisbanes in #402
Full Changelog: 1.0.0...1.0.1
1.0.0
What's Changed
- Update coil to v3.0.0-alpha08 by @renovate in #252
- Update dependency androidx.collection:collection to v1.4.1 by @renovate in #253
- Update dependency gradle to v8.9 by @renovate in #254
- Update agp to v8.5.1 by @renovate in #255
- [next] Initial upgrade to Compose Multiplatform 1.7.0-alpha by @chrisbanes in #250
- Update roborazzi to v1.22.1 by @renovate in #258
- Update roborazzi to v1.22.2 by @renovate in #260
- New rendering mode by @chrisbanes in #259
- Update plugin mavenpublish to v0.29.0 by @renovate in #240
- Add some docs for 0.9 by @chrisbanes in #261
- Fix NPE from missing content layer by @chrisbanes in #263
- Throw error when background color is not specified by @chrisbanes in #265
- Add ability to provide mask for blurred areas by @chrisbanes in #267
- Revert usage of Poko by @chrisbanes in #268
- Update roborazzi to v1.23.0 by @renovate in #269
- Turn off auto invalidation by @chrisbanes in #271
- Fix samples crashing by @chrisbanes in #270
- Fix content node being placed at incorrect position by @chrisbanes in #272
- Revert "Update plugin mavenpublish to v0.29.0" by @chrisbanes in #273
- Update plugin mavenpublish to v0.29.0 by @renovate in #274
- Implement better edges by @chrisbanes in #275
- Invalidate the render effect on size changes by @chrisbanes in #278
- Fix clipping for rectangles by @chrisbanes in #279
- Update plugin com.gradle.develocity to v3.17.6 by @renovate in #235
- Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha09 by @renovate in #280
- Update jetpack.compose to v1.7.0-beta06 by @renovate in #283
- Update dependency androidx.collection:collection to v1.4.2 by @renovate in #282
- Update dependency androidx.activity:activity-compose to v1.9.1 by @renovate in #281
- Update roborazzi to v1.25.0 by @renovate in #285
- Update compose.multiplatform to v1.7.0-alpha02 by @renovate in #284
- Remove shape clipping by @chrisbanes in #287
- Fix clipping size by @chrisbanes in #288
- Update roborazzi to v1.26.0 by @renovate in #289
- Update jetpack.compose to v1.7.0-beta07 by @renovate in #292
- 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
- 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
- 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
- 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
- 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
- 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
- Fix defaults for blurRadius and noiseFactor by @chrisbanes in #361
- 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
- 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 https://github.com/chrisbane...
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