Releases: chrisbanes/haze
0.4.3
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
- Fix transparent tints causing crash on Android by @chrisbanes in #74
- Update roborazzi to v1.9.0-alpha-4 by @renovate in #76
- Update agp to v8.2.1 by @renovate in #75
- Skip RenderNode impl on API 31 by @chrisbanes in #79
- Allow override tint on
hazeChild
by @chrisbanes in #81
Full Changelog: 0.4.2...0.4.3
0.4.2
- Fix Android minimum SDK is now 21 to match Compose.
- Fix
haze
andhazeChild
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
What's Changed
- Apply Jetpack Compose Shape to HazeChild.kt on init by @almozavr in #55
- Port #55 to :haze by @chrisbanes in #56
New Contributors
Full Changelog: 0.4.0...0.4.1
0.4.0
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
- Update dependency androidx.compose.ui:ui to v1.6.0-beta01 by @renovate in #34
- Update agp to v8.1.4 by @renovate in #35
- Update dependency androidx.compose.material3:material3 to v1.2.0-alpha11 by @renovate in #33
- Update dependency androidx.activity:activity-compose to v1.8.1 by @renovate in #32
- Update plugin metalava to v0.3.5 by @renovate in #29
- Update to Kotlin 1.9.20 by @chrisbanes in #27
- Update compose.multiplatform to v1.5.11 by @renovate in #38
- Update spotless to v6.23.0 by @renovate in #39
- Update actions/setup-java action to v4 by @renovate in #41
- Update dependency gradle to v8.5 by @renovate in #40
- Update dependency com.diffplug.spotless to v6.23.2 by @renovate in #44
- Update spotless to v6.23.3 by @renovate in #46
- Update agp to v8.2.0 by @renovate in #45
- Update dependency androidx.compose.material3:material3 to v1.2.0-alpha12 by @renovate in #42
- Update dependency androidx.compose.ui:ui to v1.6.0-beta02 by @renovate in #43
- Update actions/setup-python action to v5 by @renovate in #50
- Update plugin com.gradle.enterprise to v3.16 by @renovate in #49
- Update actions/deploy-pages action to v3 by @renovate in #48
- Update actions/configure-pages action to v4 by @renovate in #47
- API refactor by @chrisbanes in #36
- Fix position issue by @MohamedRejeb in #52
- Small API tidy-ups by @chrisbanes in #53
- More API tweaks by @chrisbanes in #54
Full Changelog: 0.3.1...0.4.0
0.3.1
Small hotfix. We now build Android and JVM targets outputting Java 11 bytecode.
What's Changed
- Fix JVM targets by @chrisbanes in #28
Full Changelog: 0.3.0...0.3.1
0.3.0
🆕 Round Rect support
We now have support for rounded rectangles, thanks to @MohamedRejeb.
What's Changed
- Add RoundRect support by @MohamedRejeb in #16
- Apply noise texture using HARD_LIGHT by @chrisbanes in #21
- Use Metalava to track public API by @chrisbanes in #23
- Provide more customization in the API by @chrisbanes in #22
- Update agp to v8.1.3 by @renovate in #26
New Contributors
- @MohamedRejeb made their first contribution in #16
Full Changelog: v0.2.0...0.3.0
v0.2.0
What's Changed
- Update Android sample to use haze-jetpack-compose by @chrisbanes in #9
- Use NodeElement instead of composed by @qdsfdhvh in #13
- Add noise to Android implementation by @chrisbanes in #12
- Migrate Android implementations to Modifier.Node by @chrisbanes in #15
- Fix Skiko backed Haze not displaying multiple Rects by @chrisbanes in #17
New Contributors
Full Changelog: v0.1.0...v0.2.0
v0.1.0
First release!
Full Changelog: https://github.com/chrisbanes/haze/commits/v0.1.0