Changes since 1.10.0-alpha03
Highlights
Desktop
- Compose Hot Reload Gradle plugin is bundled with Compose Gradle plugin (no need to configure it separately) #5444
Known Issues
Multiple Platforms
- Due to the bundled Hot Reload Gradle plugin, Compose Multiplatform requires Kotlin version 2.1.20 or higher #5444
Migration Notes
Multiple Platforms
- Remove experimental annotation from
usePlatformInsets,useSoftwareKeyboardInsetandscrimColorinDialogProperties#2495 - Remove experimental annotation from
usePlatformDefaultWidth,usePlatformInsetsinPopupProperties#2495 - Deprecation level of
Popupoverloads withoutPopupPropertiesparameter changed fromWARNINGtoERROR#2495 - Dependency aliases in Gradle plugin (e.g.
compose.ui) are now deprecated. Use provided direct artifact coordinates and add them to the version catalog #5462
Features
iOS
- Add support for self-sizing of UIKit interop views in Compose #2485
- Add experimental
UIKitInteropProperties.placedAsOverlayflag, which allows to place interop views above the Compose canvas. This allows interop views with a transparent background or shader effect to be used #2501
Web
- Esc button calls back navigation event on the web now #2499
- Add support of
importantkeyword for CSS properties #5439
Navigation
- Published
org.jetbrains.compose.material3.adaptive:adaptive-navigation3library #2516 - Add a new configuration option in
ComposeUIViewControllerto set end-edge gestures behavior #2519
Fixes
Multiple Platforms
- Align
roundToPx()behavior between platforms:NaNvalue produces0instead ofIllegalArgumentExceptionon non-JVM platforms now #2526 - Added previously missing
ExperimentalComposeUiApiannotation to platform-specificDragAndDropTransferData,DragAndDropEventandClipEntryconstructors on Desktop and Web. Working with these APIs already requires this annotation due to types of parameters, so it wasn't supposed to be marked as "stable" yet. You can follow CMP-7624 to track the updates about finalizing the shape of these APIs #2538
iOS
- Fix
onKeyEventhandling whenFull Keyboard Accessis enabled #2494 - Fix incorrect tap responses in
DialogwhenLocalDensityis modified #2527 - (prerelease fix) Fix crash when interacting with scrollables with overscroll #2532
Desktop
- Fix
SwingPanelblocking mouse wheel scroll events from going to its parent #2486
Web
- Correct drag-and-drop behaviour on mobile devices #2510
- Fix incorrect interpretation of
ontouchendevents #2490 - Unblock autocomplete and the other keyboard features on mobile iOS #2529
- Correct behaviour when a virtual keyboard suggestion was accepted while the cursor was in the middle of the word #2530
Resources
- Use Web Cache API for all resources to avoid repeated and redundant HTTP requests #5379
Dependencies
-
Gradle Plugin
org.jetbrains.compose, version1.10.0-beta01. Based on Jetpack Compose libraries: -
Compose Material3 libraries
org.jetbrains.compose.material3:material3*:1.10.0-alpha04. Based on Jetpack Compose Material3 1.5.0-alpha07 -
Compose Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha01. Based on Jetpack Compose Material3 Adaptive 1.3.0-alpha02 -
Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.10.0-alpha04. Based on Jetpack Lifecycle 2.10.0-beta01 -
Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.9.1. Based on Jetpack Navigation 2.9.4 -
Navigation 3 libraries
org.jetbrains.androidx.navigation:navigation3-*:1.0.0-alpha04. Based on Jetpack Navigation 3 -
Navigation Event library
org.jetbrains.androidx.navigationevent:navigationevent-compose:1.0.0-beta01. Based on Jetpack Navigation Event 1.0.0-beta01 -
Savedstate library
org.jetbrains.androidx.savedstate:savedstate*:1.4.0-beta01. Based on Jetpack Savedstate 1.4.0-rc01 -
WindowManager Core library
org.jetbrains.androidx.window:window-core:1.5.0-rc01. Based on Jetpack WindowManager 1.5.0