Skip to content

Releases: chrisbanes/haze

0.5.2

14 Feb 21:31
Compare
Choose a tag to compare

What's Changed

  • Update compose.multiplatform to v1.6.0-rc01 by @renovate in #128
  • Update plugin cacheFixPlugin to v3.0.1 - autoclosed by @renovate in #127

Full Changelog: 0.5.1...0.5.2

0.5.1

07 Feb 22:09
Compare
Choose a tag to compare

What's Changed

  • Update dependency gradle to v8.6 by @renovate in #121
  • Update dependency androidx.compose.ui:ui-test-manifest to v1.6.1 by @renovate in #125
  • Update compose.multiplatform to v1.6.0-beta02 by @renovate in #124
  • Fix Android noise texture changing luminance by @chrisbanes in #126

Full Changelog: 0.5.0...0.5.1

0.5.0

31 Jan 16:20
Compare
Choose a tag to compare

Highlights

🏃 Optimizations and performance increases (see here)
🌫️ New Materials library (see here)
🆕 Tidied up styling API
✨ Updated to Compose Multiplatform 1.6.0-beta01 (and Jetpack Compose 1.6.0)
🔁 Merged haze and haze-jetpack-compose
📜 (Android) New baseline profiles bundled in library. Thanks to @simonlebras for this.

What's Changed

New Contributors

Full Changelog: 0.4.5...0.5.0

0.4.5

12 Jan 11:09
Compare
Choose a tag to compare

Changes

  • Android Previews (and screenshot tests) now display a scrim, rather than nothing.
  • Haze children from different Android windows (i.e. Dialogs) now work

What's Changed

Full Changelog: 0.4.4...0.4.5

0.4.4

08 Jan 18:54
Compare
Choose a tag to compare

What's Changed

  • Fix hazeChild tint not updating on Android base by @chrisbanes in #83
  • Update plugin mavenpublish to v0.27.0 by @renovate in #84
  • Add screenshot tests to verify hazeChild tint changes by @chrisbanes in #85

Full Changelog: 0.4.3...0.4.4

0.4.3

05 Jan 12:01
Compare
Choose a tag to compare

Fix: Avoid using RenderNode blur implementation on API 31 for now. See #77
Fix: Transparent tints now work everywhere.
Feature: Allow setting a tint on each hazeChild

What's Changed

Full Changelog: 0.4.2...0.4.3

0.4.2

03 Jan 19:09
Compare
Choose a tag to compare
  • Fix Android minimum SDK is now 21 to match Compose.
  • Fix haze and hazeChild causing previews to crash.

What's Changed

  • Drop Android minimum sdk version to 21 by @chrisbanes in #61
  • Update plugin com.gradle.enterprise to v3.16.1 by @renovate in #59
  • Update plugin mavenpublish to v0.26.0 by @renovate in #62
  • Update dependency androidx.compose.ui:ui to v1.6.0-beta03 by @renovate in #58
  • Update dependency androidx.activity:activity-compose to v1.8.2 by @renovate in #57
  • Update actions/deploy-pages action to v4 by @renovate in #63
  • Update actions/upload-pages-artifact action to v3 by @renovate in #64
  • Update kotlin monorepo to v1.9.21 by @renovate in #37
  • No-op on Android impl when LocalInspectionMode is true by @chrisbanes in #72
  • Add screenshot testing with Roborazzi by @chrisbanes in #70

Full Changelog: 0.4.1...0.4.2

0.4.1

12 Dec 16:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.0...0.4.1

0.4.0

11 Dec 15:56
Compare
Choose a tag to compare

New API!

I have broken the existing API, but hopefully you can see why. You no longer need to manually calculate bounds. HazeState + Modifier.haze() + Modifier.hazeChild() is all you need.

val hazeState = remember { HazeState() } 

Box {
  LazyColumn(
    modifier = Modifier
      .fillMaxSize()
      .haze(
        // Pass it the HazeState we stored above
        state = hazeState,
        // Need to provide background color of the content
        backgroundColor = MaterialTheme.colorScheme.surface,
      ),
  ) {
    // todo
  }

  Text(
    text = "Content will be blurred behind this",
    modifier = Modifier
      // We use hazeChild on anything where we want the background
      // blurred. We can even provide a shape.
      .hazeChild(
        state = hazeState,
        shape = RoundedCornerShape(16.dp),
      ),
  )
}

What's Changed

Full Changelog: 0.3.1...0.4.0

0.3.1

10 Nov 12:56
Compare
Choose a tag to compare

Small hotfix. We now build Android and JVM targets outputting Java 11 bytecode.

What's Changed

Full Changelog: 0.3.0...0.3.1