Releases: JetBrains/compose-multiplatform
1.6.10-dev1632
Update kotlin version compatibility documentation link (#4804) update kotlin version compatibility documentation link to the new page (https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html)
1.6.10-rc01
Changes since 1.6.10-beta03
Known issues
- A project with Android flavors cannot be imported into any IDE if it has Compose Multiplatform resources 1.6.10 + Kotlin 2.0.0
- If you experience the
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: ...
error after switching your Kotlin version from 1.9 to 2.0 (or the other way around), this might be resolved by manually cleaning thebuild
directories in your project - this includes thebuild
folders located in the root and module folders of your project.
Fixes
Desktop
- (prerelease fix) Fix inconsistency in closing
Dialog
by mouse clicking on scrim that was introduced by1.6.10-beta02
Web
- Fix browser clipboard events handling on Windows
- Rename
viewportContainer
toviewportContainerId
parameter inComposeViewport
Dependencies
-
Gradle Plugin
org.jetbrains.compose
, version1.6.10-rc01
. Based on Jetpack Compose libraries: -
Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0-rc01
. Based on Jetpack Lifecycle 2.8.0-rc01 -
Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.7.0-alpha04
. Based on Jetpack Navigation 2.7.7
1.6.10-dev1613
v1.6.10-dev1613 Fix the link to the Compiler guide (#4730)
1.6.10-beta03
Changes since 1.6.10-beta02
Highlights
Breaking changes
- Since Kotlin
2.0-RC2
, the additionalorg.jetbrains.kotlin.plugin.compose
Gradle plugin is required. See the migration guide org.jetbrains.androidx.navigation
is downgraded to2.7
from2.8
. Some API can no longer be available
Known issues
lifecycle-runtime
breaks Compose UI compatibility with Java 11 on desktop, it requires Java 17 or above now. Expected to be fixed in1.6.10-rc01
- A project with Android flavors cannot be imported into any IDE if it has Compose Multiplatform resources 1.6.10 + Kotlin 2.0.0
Features
Multiple Platforms
- (prerelease fix) Publish additional targets for
lifecycle-runtime-compose
Lifecycle
- (prerelease fix) Update Lifecycle handling on iOS based on feedback
Web
Fixes
Multiple Platforms
- (prerelease fix) Fix frozen composition with pager and text field
Desktop
- Fix crash when creating SwingRedrawer on DirectX
- Option to not throw
RenderException
when use OpenGL on macOS
Resources
Gradle plugin
Dependencies
-
Gradle Plugin
org.jetbrains.compose
, version1.6.10-beta03
. Based on Jetpack Compose libraries: -
Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0-beta02
. Based on Jetpack Lifecycle 2.8.0-beta01 -
Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.7.0-alpha03
. Based on Jetpack Navigation 2.7.7
1.6.10-dev1608
[gradle] Don't create Kotlin binary's linkTask eagerly (#4707) It's better for the build performance, and it avoids uncovering the hidden CocoaPods plugin bug ([KT-67666](https://youtrack.jetbrains.com/issue/KT-67666)) Fixes https://github.com/JetBrains/compose-multiplatform/issues/4632
1.6.10-beta02
Changes since 1.6.10-beta01
Known issues
lifecycle-runtime
breaks Compose UI compatibility with Java 11 on desktop, it requires Java 17 or above now. Expected to be fixed in1.6.10-rc01
navigation-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
ViewModelStoreOwner
by 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::class
in 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
UITextLoupeSession
on 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
/Dialog
by clicking any mouse button outside - (prerelease fix) Fix
KeyEvent
binary compatibility
Web
- Fix
MouseEvent
toPointerButton
mapping - Correct virtual keyboard mode resolution
- (prerelease fix) Correct
Key.isTypedEvent
behavior
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
1.6.10-dev1599
v1.6.10-dev1599 [resources] Add functions to retrieve bytes from drawable or font res…
1.6.10-dev1596
Update compose compiler version to 1.5.10.2 (#4652) version bump & test added for reified generic in composable functions Fixes #3147
1.6.10-dev1593
Update compose compiler version to 1.5.10.2 (#4652) version bump & test added for reified generic in composable functions Fixes #3147
1.6.10-dev1590
v1.6.10-dev1590 Delete the experimental mark from the stable resources library API (#…