Changes since 1.6.10-beta01
Known issues
lifecycle-runtimebreaks Compose UI compatibility with Java 11 on desktop, it requires Java 17 or above now. Expected to be fixed in1.6.10-rc01navigation-compose:2.8.0-*on Android brings Compose1.7.*dependency and might cause compatibility issues with1.6.*
Features
Lifecycle
- Publish additional targets for non-compose modules
- Commonize
inline fun <reified VM> viewModel(..) - Provide
ViewModelStoreOwnerby Compose view
Resources
- Delete the experimental mark from the stable resources library API
- Add functions to retrieve bytes from drawable or font resources
Navigation
Fixes
Multiple Platforms
- Fix Kotlin/Native can't use
T::classin inline function of@Composable - Fix missing recomposition after showing
Dialog - (prerelease fix) Fix shadow behind dialogs in platform-layer mode
iOS
- Fixed appearing of text editing menu (#1269, #1293)
- Fix content rect calculation in
SelectionManager - (prerelease fix) Fix crash on loading
UITextLoupeSessionon old iOS versions - (prerelease fix) Fix memory leaks (#1292, #1302)
Desktop
- Sync all AccessibilityControllers when an a11y query is received
- Fix crash when modifying Compose state from a non-UI thread
- Close
Popup/Dialogby clicking any mouse button outside - (prerelease fix) Fix
KeyEventbinary compatibility
Web
- Fix
MouseEventtoPointerButtonmapping - Correct virtual keyboard mode resolution
- (prerelease fix) Correct
Key.isTypedEventbehavior
Navigation
- (prerelease fix) Fix overriding dependency visibility
- (prerelease fix) Fix finding graph without route
Dependencies
-
Gradle Plugin
org.jetbrains.compose, version1.6.10-beta02. Based on Jetpack Compose libraries: -
Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0-beta01. Based on Jetpack Lifecycle 2.8.0-beta01 -
Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha02. Based on Jetpack Navigation 2.8.0-alpha05