Skip to content

build(deps): bump haze from 2.0.0-alpha03 to 2.0.0-alpha04 - #1234

Closed
dependabot[bot] wants to merge 1 commit into
code/cashfrom
dependabot/gradle/code/cash/haze-2.0.0-alpha04
Closed

build(deps): bump haze from 2.0.0-alpha03 to 2.0.0-alpha04#1234
dependabot[bot] wants to merge 1 commit into
code/cashfrom
dependabot/gradle/code/cash/haze-2.0.0-alpha04

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor

Bumps haze from 2.0.0-alpha03 to 2.0.0-alpha04.
Updates dev.chrisbanes.haze:haze from 2.0.0-alpha03 to 2.0.0-alpha04

Release notes

Sourced from dev.chrisbanes.haze:haze's releases.

2.0.0-alpha04

See CHANGELOG.md for details.

Changelog

Sourced from dev.chrisbanes.haze:haze's changelog.

2.0.0-alpha04 2026-08-08 { id="2.0.0-alpha04" }

Highlights

Revamped Effect APIs

Alpha04 replaces the mutable, nested effect DSL with typed modifiers and explicit rendering policies. Blur now uses Modifier.hazeBlur, while Glass uses Modifier.hazeGlass. Each modifier declares its input (HazeInput.Sources or HazeInput.Content), Style, sampling policy, and layer behavior directly:

Modifier.hazeBlur(
    input = HazeInput.Sources(hazeState),
    style = HazeBlurStyle {
        blurRadius(20.dp)
    },
    sampling = HazeSampling.Adaptive,
)

HazeBlurStyle and GlassStyle are now immutable, replayable configurations that can be shared between modifiers and extended with then. Custom effects use a typed HazeEffectFactory with a renderer owned by each modifier node, keeping mutable rendering resources out of shareable Style objects. See the Haze 2.0 migration guide for before-and-after examples.

New haze-glass Library (Experimental)

This release introduces haze-glass, a new multiplatform library for building refraction-driven Glass effects with Haze. It combines refraction, depth blur, tint, Fresnel and ambient lighting, specular highlights, dispersion, progressive blur, and interactive hover, focus, and press responses behind one portable API.

2.0.0-alpha04 is the library's first public release on Maven Central. Add the core Haze library and haze-glass with the same version:

dependencies {
    implementation("dev.chrisbanes.haze:haze:2.0.0-alpha04")
    implementation("dev.chrisbanes.haze:haze-glass:2.0.0-alpha04")
}

Start with Modifier.hazeGlass and GlassStyle. The library uses the same API across supported platforms and gracefully falls back when a platform cannot provide a requested optical effect. haze-glass is experimental, is gated by @ExperimentalHazeApi, and may change before Haze 2.0 is stable.

Breaking Changes

... (truncated)

Commits
  • 45477c0 Prepare for release 2.0.0-alpha04
  • f5b3ba5 Document revamped alpha04 APIs
  • e94a4be Update roborazzi to v1.71.0
  • 9518ccb Prepare alpha04 release documentation
  • 1ae2667 Document Glass performance reference measurements
  • 334557d Refresh guidance for recent Haze 2 changes (#1196)
  • 9d72a6e Reject invalid Glass configuration at construction (#1195)
  • 4ffcb23 Document portable Glass fallback behavior (#1194)
  • b503d7d Resolve Glass light position from Alignment (#1193)
  • 2c95760 Rename fixed Glass optics and add direct DSL (#1192)
  • Additional commits viewable in compare view

Updates dev.chrisbanes.haze:haze-blur from 2.0.0-alpha03 to 2.0.0-alpha04

Release notes

Sourced from dev.chrisbanes.haze:haze-blur's releases.

2.0.0-alpha04

See CHANGELOG.md for details.

Changelog

Sourced from dev.chrisbanes.haze:haze-blur's changelog.

2.0.0-alpha04 2026-08-08 { id="2.0.0-alpha04" }

Highlights

Revamped Effect APIs

Alpha04 replaces the mutable, nested effect DSL with typed modifiers and explicit rendering policies. Blur now uses Modifier.hazeBlur, while Glass uses Modifier.hazeGlass. Each modifier declares its input (HazeInput.Sources or HazeInput.Content), Style, sampling policy, and layer behavior directly:

Modifier.hazeBlur(
    input = HazeInput.Sources(hazeState),
    style = HazeBlurStyle {
        blurRadius(20.dp)
    },
    sampling = HazeSampling.Adaptive,
)

HazeBlurStyle and GlassStyle are now immutable, replayable configurations that can be shared between modifiers and extended with then. Custom effects use a typed HazeEffectFactory with a renderer owned by each modifier node, keeping mutable rendering resources out of shareable Style objects. See the Haze 2.0 migration guide for before-and-after examples.

New haze-glass Library (Experimental)

This release introduces haze-glass, a new multiplatform library for building refraction-driven Glass effects with Haze. It combines refraction, depth blur, tint, Fresnel and ambient lighting, specular highlights, dispersion, progressive blur, and interactive hover, focus, and press responses behind one portable API.

2.0.0-alpha04 is the library's first public release on Maven Central. Add the core Haze library and haze-glass with the same version:

dependencies {
    implementation("dev.chrisbanes.haze:haze:2.0.0-alpha04")
    implementation("dev.chrisbanes.haze:haze-glass:2.0.0-alpha04")
}

Start with Modifier.hazeGlass and GlassStyle. The library uses the same API across supported platforms and gracefully falls back when a platform cannot provide a requested optical effect. haze-glass is experimental, is gated by @ExperimentalHazeApi, and may change before Haze 2.0 is stable.

Breaking Changes

... (truncated)

Commits
  • 45477c0 Prepare for release 2.0.0-alpha04
  • f5b3ba5 Document revamped alpha04 APIs
  • e94a4be Update roborazzi to v1.71.0
  • 9518ccb Prepare alpha04 release documentation
  • 1ae2667 Document Glass performance reference measurements
  • 334557d Refresh guidance for recent Haze 2 changes (#1196)
  • 9d72a6e Reject invalid Glass configuration at construction (#1195)
  • 4ffcb23 Document portable Glass fallback behavior (#1194)
  • b503d7d Resolve Glass light position from Alignment (#1193)
  • 2c95760 Rename fixed Glass optics and add direct DSL (#1192)
  • Additional commits viewable in compare view

Updates dev.chrisbanes.haze:haze-blur-materials from 2.0.0-alpha03 to 2.0.0-alpha04

Release notes

Sourced from dev.chrisbanes.haze:haze-blur-materials's releases.

2.0.0-alpha04

See CHANGELOG.md for details.

Changelog

Sourced from dev.chrisbanes.haze:haze-blur-materials's changelog.

2.0.0-alpha04 2026-08-08 { id="2.0.0-alpha04" }

Highlights

Revamped Effect APIs

Alpha04 replaces the mutable, nested effect DSL with typed modifiers and explicit rendering policies. Blur now uses Modifier.hazeBlur, while Glass uses Modifier.hazeGlass. Each modifier declares its input (HazeInput.Sources or HazeInput.Content), Style, sampling policy, and layer behavior directly:

Modifier.hazeBlur(
    input = HazeInput.Sources(hazeState),
    style = HazeBlurStyle {
        blurRadius(20.dp)
    },
    sampling = HazeSampling.Adaptive,
)

HazeBlurStyle and GlassStyle are now immutable, replayable configurations that can be shared between modifiers and extended with then. Custom effects use a typed HazeEffectFactory with a renderer owned by each modifier node, keeping mutable rendering resources out of shareable Style objects. See the Haze 2.0 migration guide for before-and-after examples.

New haze-glass Library (Experimental)

This release introduces haze-glass, a new multiplatform library for building refraction-driven Glass effects with Haze. It combines refraction, depth blur, tint, Fresnel and ambient lighting, specular highlights, dispersion, progressive blur, and interactive hover, focus, and press responses behind one portable API.

2.0.0-alpha04 is the library's first public release on Maven Central. Add the core Haze library and haze-glass with the same version:

dependencies {
    implementation("dev.chrisbanes.haze:haze:2.0.0-alpha04")
    implementation("dev.chrisbanes.haze:haze-glass:2.0.0-alpha04")
}

Start with Modifier.hazeGlass and GlassStyle. The library uses the same API across supported platforms and gracefully falls back when a platform cannot provide a requested optical effect. haze-glass is experimental, is gated by @ExperimentalHazeApi, and may change before Haze 2.0 is stable.

Breaking Changes

... (truncated)

Commits
  • 45477c0 Prepare for release 2.0.0-alpha04
  • f5b3ba5 Document revamped alpha04 APIs
  • e94a4be Update roborazzi to v1.71.0
  • 9518ccb Prepare alpha04 release documentation
  • 1ae2667 Document Glass performance reference measurements
  • 334557d Refresh guidance for recent Haze 2 changes (#1196)
  • 9d72a6e Reject invalid Glass configuration at construction (#1195)
  • 4ffcb23 Document portable Glass fallback behavior (#1194)
  • b503d7d Resolve Glass light position from Alignment (#1193)
  • 2c95760 Rename fixed Glass optics and add direct DSL (#1192)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `haze` from 2.0.0-alpha03 to 2.0.0-alpha04.

Updates `dev.chrisbanes.haze:haze` from 2.0.0-alpha03 to 2.0.0-alpha04
- [Release notes](https://github.com/chrisbanes/haze/releases)
- [Changelog](https://github.com/chrisbanes/haze/blob/main/CHANGELOG.md)
- [Commits](chrisbanes/haze@2.0.0-alpha03...2.0.0-alpha04)

Updates `dev.chrisbanes.haze:haze-blur` from 2.0.0-alpha03 to 2.0.0-alpha04
- [Release notes](https://github.com/chrisbanes/haze/releases)
- [Changelog](https://github.com/chrisbanes/haze/blob/main/CHANGELOG.md)
- [Commits](chrisbanes/haze@2.0.0-alpha03...2.0.0-alpha04)

Updates `dev.chrisbanes.haze:haze-blur-materials` from 2.0.0-alpha03 to 2.0.0-alpha04
- [Release notes](https://github.com/chrisbanes/haze/releases)
- [Changelog](https://github.com/chrisbanes/haze/blob/main/CHANGELOG.md)
- [Commits](chrisbanes/haze@2.0.0-alpha03...2.0.0-alpha04)

---
updated-dependencies:
- dependency-name: dev.chrisbanes.haze:haze
  dependency-version: 2.0.0-alpha04
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: dev.chrisbanes.haze:haze-blur
  dependency-version: 2.0.0-alpha04
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: dev.chrisbanes.haze:haze-blur-materials
  dependency-version: 2.0.0-alpha04
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies labels Aug 14, 2026
@github-actions github-actions Bot added the area: build-system Gradle, convention plugins, build-logic label Aug 14, 2026
@bmc08gt

bmc08gt commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Closing in favor of #1257, which goes straight to 2.0.0-beta01.

alpha04 is a hard break for every Haze call site in this repo — checking this branch out and compiling produced 17 errors in :ui:components alone (Unresolved reference 'blurEffect', No value passed for parameter 'input', HazeState no longer accepted where an effect factory is expected), so this isn't mergeable as-is regardless.

Since a migration is required either way, beta01 is the better target: it removes the alpha-era HazeBlurStyle(...) constructor shims and makes HazeColorEffect factory-only, so landing alpha04 first would mean absorbing the churn twice. beta01 also fixes a cross-window recomposition livelock affecting a HazeState shared between a host composable and a Dialog, which this app does.

@bmc08gt bmc08gt closed this Aug 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@bmc08gt
bmc08gt deleted the dependabot/gradle/code/cash/haze-2.0.0-alpha04 branch August 20, 2026 12:39
bmc08gt added a commit that referenced this pull request Aug 20, 2026
Supersedes Dependabot's 2.0.0-alpha03 -> 2.0.0-alpha04 bump (#1234). alpha04
is a hard break for every call site here, and beta01 breaks them again by
removing the alpha-era source shims, so migrating straight to beta01 absorbs
the churn once instead of twice. beta01 also fixes a cross-window recomposition
livelock that affects a HazeState shared between a host composable and a Dialog.

API changes applied:
- Modifier.hazeEffect { blurEffect { style = ... } } -> Modifier.hazeBlur(
  HazeInput.Sources(state), style)
- HazeBlurStyle(...) constructor -> HazeBlurStyle { } builder; colorEffect
  becomes colorEffects(List<HazeColorEffect>)
- BlurredContent's per-call blur radius override now composes onto the
  material via HazeBlurStyle.then { blurRadius(...) }

The HazeBlurStyle builder is not a @composable scope, so CodeTheme reads are
hoisted above it at each call site.

HazeState, rememberHazeState, hazeSource and HazeMaterials are unchanged.

Verified with :apps:flipcash:app:assembleDebug. The glass surfaces (v2 nav
pill, currency title pill, creator upsell card, chat input/send bar, app-bar
icon buttons) still need a visual pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant