|
| 1 | +# 1.8.2 (June 2025) |
| 2 | + |
| 3 | +_Changes since 1.8.1_ |
| 4 | + |
| 5 | +## Fixes |
| 6 | + |
| 7 | +### Multiple Platforms |
| 8 | + |
| 9 | +- Fixed `TextField(TextFieldValue)` when used with a visual transformation with a non-identity offset mapping (potentially even crashing) [#2130](https://github.com/JetBrains/compose-multiplatform-core/pull/2130) |
| 10 | +- Fixed a memory leak and performance degradation when `ComposeUiFlags.isRectTrackingEnabled` set to `true` (by default) [#2123](https://github.com/JetBrains/compose-multiplatform-core/pull/2123) |
| 11 | +- Fixed caret placement near glyphs if glyphs are compound symbols and part of them are non-spacing marks [#2155](https://github.com/JetBrains/compose-multiplatform-core/pull/2155) |
| 12 | +- Support Preview parameters for Previews in common source sets in IJ and AS. Note: IDEs also need to implement support on their end. Please check the respective IDE release notes to confirm this is supported [#5323](https://github.com/JetBrains/compose-multiplatform/pull/5323) |
| 13 | + |
| 14 | + Example usage: |
| 15 | + |
| 16 | + ``` |
| 17 | + import androidx.compose.runtime.Composable |
| 18 | + import org.jetbrains.compose.ui.tooling.preview.Preview |
| 19 | + import org.jetbrains.compose.ui.tooling.preview.PreviewParameter |
| 20 | + import org.jetbrains.compose.ui.tooling.preview.PreviewParameterProvider |
| 21 | + |
| 22 | + class MyPreviewParameterProvider : PreviewParameterProvider<String> { |
| 23 | + override val values = sequenceOf("Hello, Compose!", "Hello, World!") |
| 24 | + } |
| 25 | + |
| 26 | + /** |
| 27 | + * This function will generate two preview images with different texts. |
| 28 | + */ |
| 29 | + @Preview |
| 30 | + @Composable |
| 31 | + fun MyPreview(@PreviewParameter(MyPreviewParameterProvider::class) text: String) { |
| 32 | + Text(text) |
| 33 | + } |
| 34 | + ``` |
| 35 | + |
| 36 | + |
| 37 | +### Desktop |
| 38 | + |
| 39 | +- Fix the positioning of the IME popup being too far away from the text, on screens with density greater than `1.0` [#2158](https://github.com/JetBrains/compose-multiplatform-core/pull/2158) |
| 40 | + |
| 41 | +### Navigation |
| 42 | + |
| 43 | +- Fix the browser navigation integration problem due encoded routes [#2143](https://github.com/JetBrains/compose-multiplatform-core/pull/2143) |
| 44 | +- Fix a crash on iOS when a `NavHost` is located in a scrollable container [#2146](https://github.com/JetBrains/compose-multiplatform-core/pull/2146) |
| 45 | + |
| 46 | +## Dependencies |
| 47 | + |
| 48 | +- Gradle Plugin `org.jetbrains.compose`, version `1.8.2`. Based on Jetpack Compose libraries: |
| 49 | + - [Runtime 1.8.2](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.8.2) |
| 50 | + - [UI 1.8.2](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.2) |
| 51 | + - [Foundation 1.8.2](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.8.2) |
| 52 | + - [Material 1.8.2](https://developer.android.com/jetpack/androidx/releases/compose-material#1.8.2) |
| 53 | + - [Material3 1.3.2](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.3.2) |
| 54 | + |
| 55 | +- Lifecycle libraries `org.jetbrains.androidx.lifecycle:lifecycle-*:2.9.1`. Based on [Jetpack Lifecycle 2.9.1](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.9.1) |
| 56 | +- Material3 Adaptive libraries `org.jetbrains.compose.material3.adaptive:adaptive*:1.1.2`. Based on [Jetpack Material3 Adaptive 1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0) |
| 57 | +- Navigation libraries `org.jetbrains.androidx.navigation:navigation-*:2.9.0-beta03`. Based on [Jetpack Navigation 2.9.0](https://developer.android.com/jetpack/androidx/releases/navigation#2.9.0) |
| 58 | +- Savedstate library `org.jetbrains.androidx.savedstate:savedstate:1.3.1`. Based on [Jetpack Savedstate 1.3.0](https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0) |
| 59 | +- WindowManager Core library `org.jetbrains.androidx.window:window-core:1.4.0-alpha07`. Based on [Jetpack WindowManager 1.4.0-alpha04](https://developer.android.com/jetpack/androidx/releases/window#1.4.0-alpha04) |
| 60 | + |
| 61 | +--- |
| 62 | + |
1 | 63 | # 1.9.0-alpha02 (June 2025)
|
2 | 64 |
|
3 | 65 | _Changes since 1.8.1_
|
|
0 commit comments