Update compose.multiplatform to v1.11.1#79
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
86543d7 to
cd3bc9f
Compare
cd3bc9f to
c0e1433
Compare
c0e1433 to
93d91cf
Compare
93d91cf to
8391703
Compare
8391703 to
f8e6418
Compare
f8e6418 to
af4b7ad
Compare
af4b7ad to
2f5db21
Compare
2f5db21 to
a91edcb
Compare
a91edcb to
d625e5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.2→1.11.11.8.2→1.11.1Release Notes
JetBrains/compose-multiplatform (org.jetbrains.compose:compose-gradle-plugin)
v1.11.1Changes since 1.11.0
Fixes
iOS
Web
Node $id not found#3065Components
Gradle plugin
org.jetbrains.composeversion1.11.1Libraries
org.jetbrains.compose.runtime:runtime*:1.11.1org.jetbrains.compose.ui:ui*:1.11.1org.jetbrains.compose.foundation:foundation*:1.11.1org.jetbrains.compose.material:material*:1.11.1org.jetbrains.compose.material3:material3*:1.11.0-alpha07org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha07org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0-beta01org.jetbrains.androidx.navigation:navigation-*:2.9.2org.jetbrains.androidx.navigation3:navigation3-*:1.1.2org.jetbrains.androidx.navigationevent:navigationevent-compose:1.1.1org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1v1.11.0Changes since 1.10.3
Breaking Changes
Multiple Platforms
Shaderis now a dedicated Compose wrapper type. Since it's not an ABI-compatible change, you might need to update some libraries that use this API to newer, compatible versions. Migration: #2810SkShader.asComposeShader().Shader.skiaShaderextension.iOS
DialogandPopupcontainer views are now located on a system transition view above the root view controller, but below modally presented view controllers. This may affect presentation of interop view controllers #2833Migration Notes
Multiple Platforms
2.2. The projects depending on Compose Multiplatform need to use the same version or newer #2614navigation-runtime,navigation-commonno longer provideandroidx.collectionas anapitransitive dependency. If your project doesn't compile with unresolvedandroidx.collection...classes addimplementation("androidx.collection:collection:1.5.0"). This change is required to avoid differences with the original Jetpack libraries and allow reusing the same code without additional changes needed #2749Key.Homehas been deprecated, as it has been incorrectly mapped to the keyboard "Home" key. UseKey.MoveHomeinstead #2801androidx.compose.ui.graphics.NativePaintandandroidx.compose.ui.graphics.NativeCanvastypealiases are deprecated, use direct references to native types instead #2802Paint.asFrameworkPaint()was replaced withPaint.skiaPaintextension to avoid exposing a platform type intocommonMainsourceset viatypealias#2802RenderEffect.asSkiaImageFilter()was replaced withRenderEffect.skiaImageFilterextension to avoid exposing a platform type intocommonMaintypes #2809Canvas.nativeCanvasextension in favor ofCanvas.skiaCanvasto avoid ambiguity #2809runComposeUiTest,runSkikoComposeUiTest,runDesktopComposeUiTestare deprecated in favor v2 versions #2919iOS
parallelRenderingflag now enabled by default #2732Web
WebElementViewtoHtmlElementViewto better reflect its HTML-specific purpose #2636WebElementViewhas been deprecated in favor ofHtmlElementView#2641Navigation
suspend fun Window.bindToNavigationmethod has been removed #2675Features
Multiple Platforms
isClearFocusOnMouseDownEnabled = falseinComposePanel,ComposeWindoworComposeDialog#2533composedAPI toInsetsPaddingModifierNode#2572Dialog. It can be disabled viaDialogProperties.animateTransitionor via global feature flagComposeUiFlags.isDialogAnimationEnabled#2596StandardTestDispatcherby default instead ofUnconfinedTestDispatcher#2919effectContextin Compose UI tests #2919SelectionContainer. When the mouse pointer is dragged outside the element while selecting text, the text element will be scrolled accordingly. Note that this requires wrapping the content in a scrolling container/modifier, e.g.Modifier.verticalScroll#2979iOS
ComposeUIViewAPI enabling Compose embedding in view hierarchy #2589isClearFocusOnMouseDownEnabledin theconfigurelambda when creating Compose components #2644BasicTextField(bothTextFieldValueandTextFieldState) enabled viaPlatformImeOptions.usingNativeTextInput(enabled)in iOS source set #2602true,BasicTextFielduses native UIKit editing and interaction, including: #2602isNewContextMenu = true) configurations.rememberUIKitInteropRemeasureRequester()+Modifier.remeasureRequester(...)withUIKitInteropRemeasureRequester.requestRemeasure()for propagating UIKit-side size changes to Compose #2797Desktop
AccessibleRoledirectly viaSemanticsPropertyReceiver.awtRole#2577SelectionContainercan now be disabled #2617~/.skiko(this folder is used if the application is launched via./gradlew run). Useskiko.data.cleanup.daysto configure the retention period in days #2645ComposePanelviaComposePanel.redispatchUnconsumedMouseWheelEventsflag #2659WindowDraggableAreaon Linux with JetBrains Runtime #2674singleWindowApplicationcontent's receiver now subclassesApplicationScopetoo, allowing to programmatically exit the app #2703Web
isClearFocusOnMouseDownEnabledinComposeViewportConfigurationto configure the focus behaviour on mouse press #2781Gradle Plugin
Navigation
unveilInandveilOutanimations to default iOS transition specs in Navigation3 #2655Fixes
Multiple Platforms
BulletswithEmunits #2667Ctrl+Home/Ctrl+EndorCmd+Home/Cmd+Endshortcuts should now work correctly in text fields #2931iOS
ModalBottomSheet#2572parallelRenderingis enabled #2623Formview #2589UIKeyboardWillHideNotificationwithoutuserInfo#2713scrollsToTopfor nativeUIScrollViews #2705MetalRedrawerthat occurs whenPopuporDialogbox opens and closes quickly #2756parallelRenderingis enabled #2732LayoutRegionAPI #2555PopupandDialogmay not close when clicked outside of their bounds #2815Cmd + C(copy) event handling for the selected text wrapped inSelectionContainerwhen using a hardware keyboard #2872UIWindowSceneGeometryon iOS 15 #2924ModalBottomSheetDialogcontent inset calculation #2849Desktop
TextFieldin headless mode #2612SelectionContainer, the "Copy" menu item will be disabled #2617WindowInsetsRulersimplementation usingRulerScope.coordinates.size#2628org.jetbrains.compose.ui:ui-testno longer depends oncom.google.truth:truth#2648ComposePaneldrawing the background that was set on it #2670JPopupContextMenuRepresentationto correctly recreate the menu when thecreateMenuargument changes #2702(Basic)TextField(TextFieldValue)#2722TextFieldaccessibility issue wherecontentDescriptionwas ignored by screen readers (VoiceOver).TextFieldnow properly usescontentDescriptionas the accessible name/label, making forms usable with assistive technologies #2680launchApplicationandawaitApplicationis now correctly used in windows and dialogs of the application #2742BasicTextField(TextFieldState)when the temporary (composed) english text was not removed when the composition is committed #2763NumPadPageUp,NumPadPageDown,NumPadHomeandNumPadEndkeys in text fields #2800TooltipAreaon a pointer-exit event while the pointer is still inside the area #2798Alt-backspacenow correctly performs undo action #2870compose.layers.typesetting #2864ComposePanelincompose.swing.render.on.graphicsmode] Fix Metal offscreen rendering crash when drawing to a Software renderer #3009Web
HtmlElementViewis now available inwebMainsource set #2614CanvasBasedWindowhas been deleted #2614Shift+Insert#2871Resources
getSystemEnvironmenton headless desktop #5471Gradle Plugin
CFBundleVersion. The major version may now be 0 #5504Components
Gradle plugin
org.jetbrains.composeversion1.11.0Libraries
org.jetbrains.compose.runtime:runtime*:1.11.0org.jetbrains.compose.ui:ui*:1.11.0org.jetbrains.compose.foundation:foundation*:1.11.0org.jetbrains.compose.material:material*:1.11.0org.jetbrains.compose.material3:material3*:1.11.0-alpha07org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha07org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0-beta01org.jetbrains.androidx.navigation:navigation-*:2.9.2org.jetbrains.androidx.navigation3:navigation3-*:1.1.1org.jetbrains.androidx.navigationevent:navigationevent-compose:1.1.0org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1v1.10.3Changes since 1.10.2
Fixes
Multiple Platforms
Matrixconversions due to incorrect detection of regular rotation. Now the behaviour is aligned with Android #2860Components
Gradle plugin
org.jetbrains.composeversion1.10.3Libraries
org.jetbrains.compose.runtime:runtime*:1.10.3org.jetbrains.compose.ui:ui*:1.10.3org.jetbrains.compose.foundation:foundation*:1.10.3org.jetbrains.compose.material:material*:1.10.3org.jetbrains.compose.material3:material3*:1.10.0-alpha05org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha02org.jetbrains.androidx.lifecycle:lifecycle-*:2.10.0org.jetbrains.androidx.navigation:navigation-*:2.9.2org.jetbrains.androidx.navigation3:navigation3-*:1.0.0-alpha06org.jetbrains.androidx.navigationevent:navigationevent-compose:1.0.1org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1v1.10.2Changes since 1.10.1
No Compose Multiplatform specific changes
Components
Gradle plugin
org.jetbrains.composeversion1.10.2Libraries
org.jetbrains.compose.runtime:runtime*:1.10.2org.jetbrains.compose.ui:ui*:1.10.2org.jetbrains.compose.foundation:foundation*:1.10.2org.jetbrains.compose.material:material*:1.10.2org.jetbrains.compose.material3:material3*:1.10.0-alpha05org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha02org.jetbrains.androidx.lifecycle:lifecycle-*:2.10.0-beta01org.jetbrains.androidx.navigation:navigation-*:2.9.2org.jetbrains.androidx.navigation3:navigation3-*:1.0.0-alpha06org.jetbrains.androidx.navigationevent:navigationevent-compose:1.0.1org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1v1.10.1Changes since 1.10.0
Fixes
Multiple Platforms
compose.materialIconsExtendedto explain that the artifact is pinned to version1.7.3and suggest migration to Material Symbols #5521iOS
Web
Ctrl/Cmd + C(copy) event handling for the selected text wrapped inSelectionContainer#2701Resources
Components
Gradle plugin
org.jetbrains.composeversion1.10.1Libraries
org.jetbrains.compose.runtime:runtime*:1.10.1org.jetbrains.compose.ui:ui*:1.10.1org.jetbrains.compose.foundation:foundation*:1.10.1org.jetbrains.compose.material:material*:1.10.1org.jetbrains.compose.material3:material3*:1.10.0-alpha05org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-alpha02org.jetbrains.androidx.lifecycle:lifecycle-*:2.10.0-alpha06org.jetbrains.androidx.navigation:navigation-*:2.9.2org.jetbrains.androidx.navigation3:navigation3-*:1.0.0-alpha06org.jetbrains.androidx.navigationevent:navigationevent-compose:1.0.1org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1v1.10.0Changes since 1.9.3
See also What's new.
Highlights
Multiple Platforms
androidx.compose.ui.tooling.preview.Previewannotation is now available fromcommonMainsource set #2424Desktop
Navigation
NavigationEventDispatcherOwnerfor a correct Navigation3 support #2382Breaking Changes
iOS
@Composableattribute inWindowInsets.Companion.captionBarto other platforms #2258Migration Notes
Multiple Platforms
PopupProperties/DialogPropertiesconstructors (annotatedDeprecated(HIDDEN)since 1.7) has been removed. This change may formally affect binary compatibility. Although we are not aware of concrete cases, if your project depends on third‑party libraries that reference this constructor, please update those dependencies to versions compatible with this release #2303usePlatformInsets,useSoftwareKeyboardInsetandscrimColorinDialogProperties#2495usePlatformDefaultWidth,usePlatformInsetsinPopupProperties#2495Popupoverloads withoutPopupPropertiesparameter changed fromWARNINGtoERROR#2495widgets-gallerysample has been removed in favor of the interactive API reference #5365org.jetbrains.compose.ui.tooling.preview.Previewannotation in favor ofandroidx.compose.ui.tooling.preview.Previewto reduce variety of Preview annotations #5453compose.ui) are now deprecated. Use provided direct artifact coordinates and add them to the version catalog #5462iOS
LocalUIView#2478defaultUIKitMain(). Please follow up-to-date guidelines to create an iOS application #2578Desktop
androidx.compose.desktop.ui.tooling.preview.Previewannotation in favor ofandroidx.compose.ui.tooling.preview.Previewto reduce variety of Preview annotations #2474Features
Multiple Platforms
LocalLifecycleOwnerinsiderunComposeUiTestby default #2400iOS
WindowInsetsRulers#2258UIResponder.inputViewwithPlatformImeOptions#2350UIResponder.inputAccessoryViewwithPlatformImeOptions#2350UITextInputTraits.writingToolsBehaviorwithPlatformImeOptions#2435UIKitInteropProperties.placedAsOverlayflag, which allows to place interop views above the Compose canvas. This allows interop views with a transparent background or shader effect to be used #2501Desktop
modalityTypeparameter toDialogWindow()#2300ComposeWindow,ComposePanelandImageComposeScene) now exposeval semanticsOwners: Collection<SemanticsOwner>#2358-Dskiko.gpu.resourceCacheLimitVM property is introduced to limit GPU resource cache used for one window (default is 256M) #2422Web
Resources
setResourceReaderAndroidContextto configure Android context in cases when a provider initialization is not available #5434Lifecycle
lifecycle-viewmodel-navigation3library #2476Navigation
org.jetbrains.compose.material3.adaptive:adaptive-navigation3library #2516ComposeUIViewControllerto set end-edge gestures behavior #2519HTML
importantkeyword for CSS properties #5439Fixes
Multiple Platforms
baselineShiftparameter in text layout #2304lineHeightto0in text layout #2304roundToPx()behavior between platforms:NaNvalue produces0instead ofIllegalArgumentExceptionon non-JVM platforms now #2526ExperimentalComposeUiApiannotation to platform-specificDragAndDropTransferData,DragAndDropEventandClipEntryconstructors on Desktop and Web. Working with these APIs already requires this annotation due to types of parameters, so it wasn't supposed to be marked as "stable" yet. You can follow CMP-7624 to track the updates about finalizing the shape of these APIs #2538LocalInputModeManager.current.inputModenot being reset between tests #2548iOS
WindowInsets.displayCutoutin different interface orientations #2301WindowInsets.displayCutouton iPad #2301Popups andDialogs #2270Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.