Changes since release/1.7.0-alpha03
Breaking changes
iOS
UIKitViewandUIKitViewControllerinpackage androidx.compose.ui.interopare deprecated. New API are mentioned in deprecation message. Deprecated invocations should work fine unless customonResizeis used, it is disallowed now and will print a warning.- Actual of expected
InteropViewon iOS isUIRespondernow instead ofUIView. It's the first common ancestor forUIViewControllerandUIView, both of which can be integrated using iOS interop APIs - The app will crash by default, if
CADisableMinimumFrameDurationOnPhoneis not set to true inInfo.plist. Use newly addedComposeUIViewControllerConfiguration.enforceStrictPlistSanityCheckto opt-out of this behavior
Features
Multiple Platforms
iOS
- New
UIKitViewandUIKitViewControllerAPI inpackage androidx.compose.ui.viewinterop. Support ofonResetto reuse the interop composable emitted node and avoid excessive native views reallocations, fine-grain touches strategy control (cooperative with explicit time delay, non-cooperative where no touches are received by Compose, ignoring touches)
Desktop
- Added support for input methods (languages such as Chinese, Korean, Arabic) to BasicTextField(TextFieldState, ...)
- Add dynamic Drag&Drop target indication (🚫 icon under cursor if currently there is no valid drop target under it)
Resources
- Added support of test resources in Compose Multiplatform projects
- Added support of multi-module resources in JVM-only projects
Fixes
Multiple Platforms
- (prerelease fix) Fix redirect on android artifacts for "window-core" module
iOS
Desktop
Resources
- (prerelease fix) Fix a resource reading on iOS 12
- (prerelease fix) Fix resource reading on Java 11
Gradle Plugin
Dependencies
-
Gradle Plugin
org.jetbrains.compose, version1.7.0-beta01. Based on Jetpack Compose libraries: -
Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.1. Based on Jetpack Lifecycle 2.8.4 -
Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha09. Based on Jetpack Navigation 2.8.0-beta05 -
Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0-alpha02. Based on Jetpack Material3 Adaptive 1.0.0-rc01