Releases: JetBrains/compose-multiplatform
Releases · JetBrains/compose-multiplatform
1.6.0-dev1405
Improve handling of special characters in string resources (#4220) Introduced a function to process and replace certain escaped symbols like '\n', '\t', and '\uXXXX' in the strings extracted from compose string resources.
1.6.0-dev1397
Use "project.findProperty" instead of "providers.valueOrNull" to fix … …sub-module gradle properties for res class generation
1.5.12
Common
Features
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
1.6.0-dev1383
Mark all resources public API as experimental. (#4146) And all public but only for generated code API as @InternalResourceApi
1.6.0-dev1378
Mark all resources public API as experimental. (#4146) And all public but only for generated code API as @InternalResourceApi
1.6.0-beta01
Highlights
- Resource library improvements (demo project)
- Experimental support is available for tests in common code
- Compose for Web (Wasm) artifacts are available in Maven Central
- iOS. Native-like caret behaviour by long/single taps in textfields(1, 2)
- Support
LineHeightStyle.Trim - Desktop. Proper clipping of
SwingPanelinterop (under an experimental flag, see the link) - Popups/Dialogs can now be displayed outside the main window or panel over native components on iOS and desktop (under experimental flags, see the links)
- Add a way to use fonts installed on the system (desktop/web in this version, iOS in the next version, Android isn't supported)
Breaking changes
- Text with
lineHeightset is trimmed by default - Text with
fontSizeset withoutlineHeightinsideMaterialThemehas different line height - Resource library (
compose.components.resources) changes- resources from
*Main\resourcesshould be moved to*Main\composeResources\drawable,commonMain\composeResources\fontor*Main\composeResources\filesdepending on the resource type painterResource("resource.xml")should be replaced bypainterResource(Res.drawable.resource)
- resources from
Known issues
compose.components.resourceslibrary doesn't work yet if you applykotlin("jvm")Gradle plugin. For now, it only works withkotlin("multiplatform")
Common
Features
iOS/desktop/web
Features
Fixes
- Optimise
TextLayoutResult#getLineForOffset - Fix "SwingPanel/UIKitView doesn't apply Modifier.offset if it's after Modifier.size"
- DatePicker. Fix empty row
- DatePicker. Fix selection of the current day
- Fix
LayoutCoordinates.localToWindowcoordinates conversion for non-full Compose components
Breaking changes and deprecated API
- Deprecate
public ComposeScenein favour of@InternalComposeUiApi MultiLayerComposeScene - Hide deprecated DropdownMenu overloads
iOS
Features
Fixes
Desktop
Features
- Support select till the end of the file / till the start of the file keyboard actions on Windows
- Add LinuxArm64 target to Compose runtime
- Add dedicated feature flags class for desktop
Fixes
- Fix blurry app icon in the system application switcher
- Insert a new line on
NumPadEnter - Don't restart the drag gesture when the
onDrag(matcher=changes - Fix "BasicTextField NPE-crash on JBR 17.0.9 on Linux when clicked"
- Fix "Resizing window on desktop sometimes triggers onClick handlers of Composables"
- Fix "
ComposePaneldoesn't calculate its preferredSize correctly when it's called before doLayout" - Fix input methods on JBR, disable input methods when we lose focus
- Fix "BasicTextField could not input any Chinese character when using JBR"
- Take into account
enabledinscrollablefor mouse input - Fix NPE for getComponentAfter/Before in ComposePanel
- Transparency support for D3D (previously it supported via fallback on OpenGL)
Web
Features
Fixes
HTML library
Features
Gradle Plugin
Features
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
1.6.0-dev1369
v1.6.0-dev1369 Add `compose.uiTest` dependency name to ComposePlugin (#4100)
1.6.0-dev1362
v1.6.0-dev1362 Add `compose.uiTest` dependency name to ComposePlugin (#4100)
1.6.0-dev1357
Introduce a 'composeResources/files' directory for any files. (#4079) Introduce a 'composeResources/files' directory for any files.
1.6.0-dev1354
v1.6.0-dev1354 Add kotlin 1.9.22 support (#4075)