Changes since 1.11.0-beta01
Migration Notes
Multiple Platforms
runComposeUiTest,runSkikoComposeUiTest,runDesktopComposeUiTestare deprecated in favor v2 versions #2919
Web
- Kotlin 2.3.20 is required when using Compose Multiplatform with Kotlin/JS or Kotlin/Wasm #2918
Features
Multiple Platforms
- Support v2 Compose UI Tests APIs on non-android targets which uses
StandardTestDispatcherby default instead ofUnconfinedTestDispatcher#2919 - Support a customization of
effectContextin Compose UI tests #2919
Fixes
Multiple Platforms
- (prerelease fix) Fixed a path regression where
PathMeasure.getSegment(..., startWithMoveTo = true)could produce incorrect results when reusing destination paths #2902 Ctrl+Home/Ctrl+EndorCmd+Home/Cmd+Endshortcuts should now work correctly in text fields #2931
iOS
- Fix an issue with scrolling when scrollable content is displayed in modal view controller #2883
- (prerelease fix) Fix crash during triple tap on empty textfield with
usingNativeTextInputflag enabled #2910 - (prerelease fix) Fix crash after applying autocorrection change or keyboard suggestion in
TextFieldwhenusingNativeTextInputflag is enabled #2921 - Fix crash caused by the missing symbol
UIWindowSceneGeometryon iOS 15 #2924 - (prerelease fix) Fix regression with the outdated and wrongly inserted keyboard suggestions in
BasicTextField(TextFieldValue)andBasicTextField(TextFieldState)#2925 - (prerelease fix) Fix missing handles and caret in
TextFieldon new line at the end of the text whenusingNativeTextInputflag is enabled #2908 - The structure of accessibility elements is now better aligned with Android semantic nodes #2916
- Fix issues with accessibility elements not focusing at runtime #2916
- (prerelease fix) Fix incorrect appearance of
Autofillcontext menu item in theBasicTextField(TextFieldValue)andBasicTextField(TextFieldState)#2937 - Fix
ModalBottomSheetDialogcontent inset calculation #2849
Desktop
- Fix memory leak in dialogs with non-default
compose.layers.typesetting #2864 - [Accessibility] Improve performance of traversal groups with a large amount of children #2900
- Clear some scheduled tasks on scene closure #2888
- (prerelease fix) Bump Compose Hot Reload to 1.1.0-beta02 #5569
Web
- Fix identity hash code not being correctly cached #2913
- [iOS] Fix 'Fast delete' not working correctly for text containing emojis #2927
Components
Gradle plugin
org.jetbrains.compose version 1.11.0-beta02
Libraries
| Library group | Coordinates | Based on Jetpack |
|---|---|---|
| Runtime | org.jetbrains.compose.runtime:runtime*:1.11.0-beta02
| Runtime 1.11.0-beta02 |
| UI | org.jetbrains.compose.ui:ui*:1.11.0-beta02
| UI 1.11.0-beta02 |
| Foundation | org.jetbrains.compose.foundation:foundation*:1.11.0-beta02
| Foundation 1.11.0-beta02 |
| Material | org.jetbrains.compose.material:material*:1.11.0-beta02
| Material 1.11.0-beta02 |
| Material3 | org.jetbrains.compose.material3:material3*:1.11.0-alpha06
| Material3 1.5.0-alpha16 |
| Material3 Adaptive | org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha06
| Material3 Adaptive 1.3.0-alpha09 |
| Lifecycle | org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0-alpha03
| Lifecycle 2.11.0-alpha03 |
| Navigation | org.jetbrains.androidx.navigation:navigation-*:2.9.2
| Navigation 2.9.7 |
| Navigation3 | org.jetbrains.androidx.navigation3:navigation3-*:1.1.0-rc01
| Navigation3 1.1.0-rc01 |
| Navigation Event | org.jetbrains.androidx.navigationevent:navigationevent-compose:1.1.0-alpha01
| Navigation Event 1.1.0-alpha01 |
| 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 |