1.12.0-beta01
Pre-release
Pre-release
Changes since 1.12.0-alpha02
Migration Notes
Multiple Platforms
- Deprecation level of
NativeCanvas,NativePainttypealiases and related methods has been changed toERROR#3127
Features
Multiple Platforms
- Support
LayerOutsetstoGraphicsLayer&Modifier.graphicsLayerwhich can be used to increase the visual bounds of the layer beyond its measured size. This can be used to avoid the implicitclipToBoundsbehavior when the layer is promoted to an offscreen buffer #3144 - Support
MeshGradientPainterinModifier.paint#3143
iOS
- Support
VerbatimTtsAnnotationandLocaleListattributes in accessibility VoiceOver #3145
Desktop
- (prerelease fix) Bump Compose Hot Reload to 1.2.0-alpha02 #5620
Fixes
Multiple Platforms
ComposeUiTestidle handling (waitForIdle/awaitIdle/runOnIdle) now matches Android: idleness is reached once composition, measure, and layout have settled (a pending draw is still flushed before returning). As a result,hasPendingWork()reflects composition/measure/layout state, and withmainClock.autoAdvance = falsewaiting now settles pending measure/layout #3108- Fix crash in method setComposingRegion when calling it with inverted or invalid region #3112
iOS
ViewModelnow receivesonClearedcall when Compose Container is deallocated #3118- Fix incorrect frames order during high load rendering #3122
- Fix swipe-back gesture conflict with horizontally scrollable components like
HorizontalPager#3116
Desktop
- (prerelease fix) Fixed
getMinimumSizeandgetMaximumSizeinComposePanelto not assumeUnspecifiedDimensionby default #3114 - Fixed the native keyCode for
Key.NumPadDotto the correctKeyEvent.VK_DECIMAL#3142 - Fixed
LayoutCoordinatesconversion to window/screen space in popups/dialogs withcompose.layers.type=WINDOW#3154
Web
- Added precise trackpad gesture detection in Chrome via heuristic methods #3123
- Deliver both scroll axes in wheel events (fix diagonal scroll) #3147
- Web: retry loading fallback fonts in case of network errors #3152
Resources
- Support BCP 47 script (
values-b+sr+Latn,values-b+zh+Hans) and numeric region (values-b+es+419) qualifiers, including multi-segment locales and trailing theme/density qualifiers, incommonMainresource folders #5582 - Web: fixed a app crash when a resource fetch is failed #5627
Gradle Plugin
- Add clear error message if JS browser tests configuration for Compose UI is invalid (doesn't have declared an executable binary) #5628
Components
Gradle plugin
org.jetbrains.compose version 1.12.0-beta01
Libraries
| Library group | Coordinates | Based on Jetpack |
|---|---|---|
| Runtime | org.jetbrains.compose.runtime:runtime*:1.12.0-beta01 |
Runtime 1.12.0-beta01 |
| UI | org.jetbrains.compose.ui:ui*:1.12.0-beta01 |
UI 1.12.0-beta01 |
| Foundation | org.jetbrains.compose.foundation:foundation*:1.12.0-beta01 |
Foundation 1.12.0-beta01 |
| Material | org.jetbrains.compose.material:material*:1.12.0-beta01 |
Material 1.12.0-beta01 |
| Material3 | org.jetbrains.compose.material3:material3*:1.12.0-alpha03 |
Material3 1.5.0-alpha22 |
| Material3 Adaptive | org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-beta02 |
Material3 Adaptive 1.3.0-beta02 |
| Lifecycle | org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0-rc01 |
Lifecycle 2.11.0 |
| Navigation | org.jetbrains.androidx.navigation:navigation-*:2.10.0-alpha02 |
Navigation 2.10.0-alpha05 |
| Navigation3 | org.jetbrains.androidx.navigation3:navigation3-*:1.2.0-alpha02 |
Navigation3 1.2.0-alpha04 |
| Navigation Event | org.jetbrains.androidx.navigationevent:navigationevent-compose:1.1.0 |
Navigation Event 1.1.1 |
| Savedstate | org.jetbrains.androidx.savedstate:savedstate*:1.4.0 |
Savedstate 1.4.0 |
| WindowManager Core | org.jetbrains.androidx.window:window-core:1.5.1 |
WindowManager 1.5.1 |