Update composeMultiplatform to v1.12.0 - #212
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
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.11.1β1.12.01.11.1β1.12.01.11.1β1.12.01.11.1β1.12.0Release Notes
JetBrains/compose-multiplatform (org.jetbrains.compose.ui:ui)
v1.12.0Changes since 1.11.1
Highlights
Desktop
Migration Notes
Multiple Platforms
NativeCanvas,NativePainttypealiases and related methods has been changed toERROR#β3127Desktop
backgroundparameter ofSwingPanelhas been deprecated. Instead set the background manually in thefactorymethod. There's a new (experimental)Color.toAwtColor()function to convert Compose color objects to AWT ones #β3024ComposePanel,ComposeWindoworComposeDialogcontent can not be measured in infinite constraints (e.g.Modifier.verticalScroll) on a certain axis, you should provide a fixed size for that axis by callingComposePanel.setPreferredSizewith aDimensionthat has a fixed size (on that axis) #β3055Features
Multiple Platforms
blockPointerInputOutsideflag toPopupPropertiesto support not-blocking pointer inputs outside of focusablePopups #β2992LayerOutsetstoGraphicsLayer&Modifier.graphicsLayerwhich can be used to increase the visual bounds of the layer beyond its measured size. This can be used to avoid the implicitclipToBoundsbehavior when the layer is promoted to an offscreen buffer #β3144MeshGradientPainterinModifier.paint#β3143ComposeUiTest.runWithoutImplicitWait#β3170iOS
LiveRegionsemantics in Accessibility #β2944NSLocale.toComposeLocale()API to createLocalefrom platformNSLocale#β3103VerbatimTtsAnnotationandLocaleListattributes in accessibility VoiceOver #β3145Desktop
LocalAwtWindow.current#β3007WindowStateAPI #β2938ComposePanel,ComposeWindowandComposeDialogcompute their minimum (onlyComposePanel), preferred and maximum (onlyComposePanel) sizes, by setting the corresponding property to aDimensionwith a specialUNSPECIFIED_DIMENSION_VALUEon the axis that should be determined by the content #β3055Web
Navigation
Nonein Nav2 #β3023Fixes
Multiple Platforms
DatePickerDialog'sconfirmButtonanddismissButtondisplay order on iOS, Desktop, Kotlin/JS and Kotlin/Wasm not consistent with Material Design guidance #β3048ComposeUiTestidle handling (waitForIdle/awaitIdle/runOnIdle) now matches Android: idleness is reached once composition, measure, and layout have settled (a pending draw is still flushed before returning). As a result,hasPendingWork()reflects composition/measure/layout state, and withmainClock.autoAdvance = falsewaiting now settles pending measure/layout #β3108iOS
UIKitView/UIKitViewControllerelement whenLocalDensityis modified. This change does not affect scaling offactorycontent:UIView/UIViewController#β3037BasicTextFieldreported inconsistent changes between Android and iOS #β2990BasicTextFieldwithInputTransformationmay use the incorrect internal text state #β2990BasicTextFielddoes not show context menu after long press #β3080ViewModelnow receivesonClearedcall when Compose Container is deallocated #β3118HorizontalPager#β3116ComposeUIViewControllermight fail to load its content when placed inside a SwiftUI view #β3159usingNativeTextInputset totrue#β3201CAFrameRateRangeDefault, which is only available on iOS 15+ #β3219Desktop
ComposePanelin Swing rendering mode] Fix Metal offscreen rendering crash when drawing to a Software renderer #β3008SwingPanelsize not scaling according toLocalDensity. Note that this doesn't scale the Swing content of theSwingPanel#β3033Key.NumPadDotto the correctKeyEvent.VK_DECIMAL#β3142LayoutCoordinatesconversion to window/screen space in popups/dialogs withcompose.layers.type=WINDOW#β3154nullaccessible child in the Swing hierarchy while looking for a component to switch a11y focus to, after the currently focused a11y component has been removed #β3158compose.layers.type=WINDOW#β3153isSystemInDarkThemewill now return dynamic values as the OS theme changes, causing any callers to recompose. This is done by polling the system in the background once a second. This behavior can be controlled by settingComposeUiFlags.pollSystemTheme#β3063Web
pointercancel(system gestures, palm rejection, device disconnect, etc.) #β3036div#cmp_a11y_roothaving 0Γ0 dimensions on Compose for Web (Kotlin/WASM), which made Compose content invisible to hit-test-based accessibility tools such as Accessibility Inspector and Appium. The a11y container is now sized to match the canvas and stays in sync on resize #β3226Resources
values-b+sr+Latn,values-b+zh+Hans) and numeric region (values-b+es+419) qualifiers, including multi-segment locales and trailing theme/density qualifiers, incommonMainresource folders #β5582Gradle Plugin
Components
Gradle plugin
org.jetbrains.composeversion1.12.0Libraries
org.jetbrains.compose.runtime:runtime*:1.12.0org.jetbrains.compose.ui:ui*:1.12.0org.jetbrains.compose.foundation:foundation*:1.12.0org.jetbrains.compose.material:material*:1.12.0org.jetbrains.compose.material3:material3*:1.12.0-alpha03org.jetbrains.compose.material3.adaptive:adaptive*:1.3.0-beta02org.jetbrains.androidx.lifecycle:lifecycle-*:2.11.0org.jetbrains.androidx.navigation:navigation-*:2.10.0-alpha02org.jetbrains.androidx.navigation3:navigation3-*:1.2.0-alpha02org.jetbrains.androidx.navigationevent:navigationevent-compose:1.1.0org.jetbrains.androidx.savedstate:savedstate*:1.4.0org.jetbrains.androidx.window:window-core:1.5.1Configuration
π Schedule: (UTC)
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, 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.