Changes since 1.11.0
Migration Notes
Desktop
- The
backgroundparameter ofSwingPanelhas been deprecated. Instead set the background manually in thefactorymethod. There's a new (experimental)Color.toAwtColor()function to convert Compose color objects to AWT ones #3024
Features
Multiple Platforms
- Update Skia to m148 #3028
- Add
blockPointerInputOutsideflag toPopupPropertiesto support not-blocking pointer inputs outside of focusablePopups #2992
iOS
- Support
LiveRegionsemantics in Accessibility #2944 - The selection handles now match the style of iOS #2991
Desktop
- The parent AWT window of a composition is now available via
LocalAwtWindow.current#3007 - Implemented a new, experimental,
WindowStateAPI #2938
Web
- Support for Modifier.keepScreenOn for web using Screen Wake Lock API #2784
- Support haptic feedback on web targets #3045
Navigation
- Improved iOS specific default navigation transactions in Nav2 #3023
- Web and Desktop default navigation transactions are set to
Nonein Nav2 #3023
Fixes
iOS
- Fix a conflict with external bundled Skia libraries #3008
- Fix incorrect scaling and positioning of interop
UIKitView/UIKitViewControllerelement whenLocalDensityis modified. This change does not affect scaling offactorycontent:UIView/UIViewController#3037 - Fix issue where
BasicTextFieldreported inconsistent changes between Android and iOS #2990 - Fix issue where a
BasicTextFieldwithInputTransformationmay use the incorrect internal text state #2990 - Fix elements selection with Full Keyboard Access #3038
Desktop
- [
ComposePanelin Swing rendering mode] Fix Metal offscreen rendering crash when drawing to a Software renderer #3008 - Fix
SwingPanelsize not scaling according toLocalDensity. Note that this doesn't scale the Swing content of theSwingPanel#3033
Components
Gradle plugin
org.jetbrains.compose version 1.12.0-alpha01
Libraries
| Library group | Coordinates | Based on Jetpack |
|---|---|---|
| Runtime | org.jetbrains.compose.runtime:runtime*:1.12.0-alpha01
| Runtime 1.12.0-alpha02 |
| UI | org.jetbrains.compose.ui:ui*:1.12.0-alpha01
| UI 1.12.0-alpha02 |
| Foundation | org.jetbrains.compose.foundation:foundation*:1.12.0-alpha01
| Foundation 1.12.0-alpha02 |
| Material | org.jetbrains.compose.material:material*:1.12.0-alpha01
| Material 1.12.0-alpha02 |
| Material3 | org.jetbrains.compose.material3:material3*:1.12.0-alpha01
| Material3 1.5.0-alpha19 |
| Material3 Adaptive | org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-beta01
| Material3 Adaptive 1.3.0-beta01 |
| Lifecycle | org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0-beta01
| Lifecycle 2.11.0-beta01 |
| Navigation | org.jetbrains.androidx.navigation:navigation-*:2.10.0-alpha01
| Navigation 2.10.0-alpha03 |
| Navigation3 | org.jetbrains.androidx.navigation3:navigation3-*:1.1.1
| Navigation3 1.1.1 |
| 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 |