Skip to content

Update dependency dev.chrisbanes.haze:haze to v2 - #1466

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-haze
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-haze

Conversation

@renovate

@renovate renovate Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dev.chrisbanes.haze:haze 1.7.3 → 2.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

chrisbanes/haze (dev.chrisbanes.haze:haze)

v2.0.0

Compare Source

Haze 2.0 rebuilds the library around typed, modular visual effects. Blur moves into its own
artifact, Glass joins as an experimental multiplatform effect, and each modifier now declares its
input, shareable Style, performance policy, and rendering behavior explicitly.

Added
  • Added the haze-blur artifact and typed Modifier.hazeBlur API, with replayable
    HazeBlurStyle programs that can be shared and extended with then.
  • Added the experimental haze-glass artifact, including Regular and Clear built-in styles,
    refraction, depth blur, tint, lighting, accessibility settings, progressive effects, and
    hover, focus, and press responses.
  • Added HazeInput.Content, HazeInput.Sources, and HazeInput.Backdrop so effects can explicitly
    select their input. Backdrop includes a portable captured-source fallback and an experimental,
    opt-in native backend on supported Android versions.
  • Added HazeEffectFactory and HazeEffectRenderer for custom typed effects, plus optional
    haze-blur-material3 and haze-glass-material3 integrations.
  • Added shared HazePerformanceMode controls for built-in Blur and Glass, including adaptive,
    quality, balanced, performance, and fixed-quality profiles.
Changed
  • Replaced the mutable Modifier.hazeEffect Blur DSL with typed Modifier.hazeBlur and
    Modifier.hazeGlass APIs. Styles are immutable, replayable configurations; rendering resources
    are owned by their modifier nodes.
  • Moved Blur APIs to dev.chrisbanes.haze.blur and moved HazeProgressive to the core
    dev.chrisbanes.haze package. Blur applications now depend on both haze and haze-blur.
  • Reworked source selection, retained-output policy, cross-window positioning, and default
    workload-aware sampling around explicit input and performance contracts.
  • Updated Kotlin to 2.4.20, Compose Multiplatform to 1.12.0, and Jetpack Compose to 1.12.1.
    macosArm64 remains supported; the upstream-removed iosX64 and macosX64 targets are no
    longer published.
Fixed
  • Corrected source sampling through scaled and rotated graphics layers, nested Haze states,
    sticky headers, and multiple Compose roots or windows.
  • Improved retained-layer lifecycle, invalidation, caching, and teardown behavior across Android,
    Desktop, iOS, and Web, including RenderScript crash and resource-leak fixes.
  • Fixed progressive Blur coverage and tint behavior on Android 12 and 12L, and refined Glass
    rendering, colour handling, rounded edges, fallback behavior, and animation performance.
Removed
  • Removed the Haze 1 Blur surface and the temporary Haze 2 prerelease adapters, including
    Modifier.hazeEffect Blur overloads, legacy HazeStyle/HazeTint aliases, mutable effect
    scopes, and public renderer internals.
  • Removed readable/copyable Blur and Glass Style internals. Build styles with their factory DSLs,
    create colour effects through HazeColorEffect.tint or colorFilter, and use then for
    variations.

See the Haze 2.0 migration guide for dependency,
import, API, input-policy, and performance-mode changes.

Full Changelog: chrisbanes/haze@1.7.2...2.0.0

Prerelease history

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@prof18

prof18 commented Sep 23, 2026

Copy link
Copy Markdown
Owner

@renovate rebase

@renovate
renovate Bot force-pushed the renovate/major-haze branch from d3a4585 to 2111110 Compare September 23, 2026 08:09
@prof18

prof18 commented Sep 24, 2026

Copy link
Copy Markdown
Owner

@renovate rebase

@renovate
renovate Bot force-pushed the renovate/major-haze branch from 2111110 to b377101 Compare September 26, 2026 19:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant