Update compose.multiplatform to v1.7.0-rc01 #332
Merged
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.7.0-dev1852
->1.7.0-rc01
1.7.0-dev1852
->1.7.0-rc01
Release Notes
JetBrains/compose-jb (org.jetbrains.compose)
v1.7.0-rc01
Changes since 1.7.0-beta02
Highlights
Web
skiko.js
is redundant in case of K/Wasm Compose Multiplatform for web applications and it can be removed from index.html files to not load redundant files.skiko.js
will be removed from the k/wasm distribution in the future releases.skiko.js
is still needed in case of K/JS Compose Multiplatform for web appsFeatures
Multiple Platforms
Desktop
decoration
parameter added toWindow
andDialogWindow
and the APIs related to it are now marked as experimentalGradle Plugin
compose.material3AdaptiveNavigationSuite
shortcut in the gradle pluginFixes
Multiple Platforms
GraphicsLayer.record
FontRenderingSettings
is not reflected until composition restartsiOS
ListDetailPaneScaffold
from material3-adaptive throws ArrayIndexOutOfBoundsException"TextField
imePadding
and high cpu usage when repeatedly opening and closingKeyboard
on iOS"onReset
argument and placing inside more complex reusable layout insideLazy*
listsBasicTextField
on iOSSymbol not found: _objc_release_x8
crash on iOS 15 simulators, skia has been re-built with downgraded Xcode (13.1)Desktop
ComposePanel
in IntelliJ on macOsWindowState
Web
SelectionContainer
Android
Navigation
IllegalArgumentException
on putting lists intosavedStateHandle
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-rc01
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.2
. Based on Jetpack Lifecycle 2.8.4Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha10
. Based on Jetpack Navigation 2.8.0-rc01Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0-rc01
. Based on Jetpack Material3 Adaptive 1.0.0v1.7.0-beta02
Changes since 1.7.0-beta01
Breaking changes
Desktop
Modifier.onExternalDrag
has been deprecated in favor of the newModifier.dragAndDropTarget
Resources
compose.ui
in favour of the new resource libraryFeatures
Multiple Platforms
material3-adaptive-navigation-suite
is multiplatform nowiOS
Desktop
decoration
argumentFixes
Multiple Platforms
GraphicsLayer
perspective matrix calculation and missing invalidationsiOS
platformLayers
. Now extra layers (such as Dialogs and Popups) drawing is merged into a single screen size canvas. No jittering and crashes should happen with those anymore.Dialog
s andPopup
s now have their insets calculated correctly even when the frame ofComposeUIViewController
spawning them doesn't intersect any safe areasDesktop
Resources
Gradle Plugin
Lifecycle
Navigation
NavHostController
SavedStateHandle.toRoute
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-beta02
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.2
. Based on Jetpack Lifecycle 2.8.4Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha10
. Based on Jetpack Navigation 2.8.0-rc01Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0-alpha03
. Based on Jetpack Material3 Adaptive 1.0.0-rc01v1.7.0-beta01
Changes since 1.7.0-alpha03
Breaking changes
iOS
UIKitView
andUIKitViewController
inpackage androidx.compose.ui.interop
are deprecated. New API are mentioned in deprecation message. Deprecated invocations should work fine unless customonResize
is used, it is disallowed now and will print a warning.InteropView
on iOS isUIResponder
now instead ofUIView
. It's the first common ancestor forUIViewController
andUIView
, both of which can be integrated using iOS interop APIsCADisableMinimumFrameDurationOnPhone
is not set to true inInfo.plist
. Use newly addedComposeUIViewControllerConfiguration.enforceStrictPlistSanityCheck
to opt-out of this behaviorFeatures
Multiple Platforms
iOS
UIKitView
andUIKitViewController
API inpackage androidx.compose.ui.viewinterop
. Support ofonReset
to reuse the interop composable emitted node and avoid excessive native views reallocations, fine-grain touches strategy control (cooperative with explicit time delay, non-cooperative where no touches are received by Compose, ignoring touches)Desktop
Resources
Fixes
Multiple Platforms
iOS
Desktop
Resources
Gradle Plugin
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-beta01
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.1
. Based on Jetpack Lifecycle 2.8.4Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha09
. Based on Jetpack Navigation 2.8.0-beta05Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0-alpha02
. Based on Jetpack Material3 Adaptive 1.0.0-rc01v1.7.0-alpha03
Changes since 1.7.0-alpha02
Features
Multiple Platforms
org.jetbrains.compose.material3:material3-window-size-class
moduleorg.jetbrains.compose.material3.adaptive:adaptive*
modulesResources
Bitmap ByteArray as ImageVector
andXML ByteArray as ImageVector
in the common code andSVG ByteArray as Painter
in the non-android codeFixes
Desktop
SelectionContainer
or on the padding of aText
inside aSelectionContainer
NullPointerException: Cannot read field
iOS
Gradle Plugin
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-alpha03
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0
. Based on Jetpack Lifecycle 2.8.0Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha09
. Based on Jetpack Navigation 2.8.0-beta05Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0-alpha01
. Based on Jetpack Material3 Adaptive 1.0.0-beta04To use Material3 Adaptive add the dependencies for the artifacts you need in the
build.gradle
file for your app or module:v1.7.0-alpha02
Changes since 1.7.0-alpha01
Features
Multiple Platforms
clickable
modifier now responds to NumPadEnter and Spacebar, too, in addition to EnterLocalLifecycleOwner
moved from Compose UI tolifecycle-runtime-compose
so that its Compose-based helper APIs can be used outside of Compose UIiOS
Desktop
Modifier.dragAndDropSource
andModifier.dragAndDropTarget
Resources
Fixes
Multiple Platforms
SearchBar
changes frommaterial3
1.3iOS
material3.ModalBottomSheet
safe area usageDesktop
Resources
Gradle plugin
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-alpha02
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0
. Based on Jetpack Lifecycle 2.8.0Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha08
. Based on Jetpack Navigation 2.8.0-beta03v1.7.0-alpha01
Changes since 1.6.11
Highlights
Breaking changes
Android
Features
iOS
accessibilityEnabled: Boolean = true
argument toUIKitView
andUIKitViewController
preferredStatusBarStyle
,preferredStatysBarAnimation
andprefersStatusBarHidden
are added toComposeUIViewControllerDelegate
to allow status bar appearance modificationDesktop
RenderSettings
toComposePanel
. Added a classRenderSettings
withval isVsyncEnabled: Boolean?
. When set totrue
gives a hint to renderer implementation of the particularComposePanel
to reduce the latency between the input and visual changes in exchange for possible screen tearingmoveEnabled
andpositionPercentage
setters inSplitPaneState
Resources
Fixes
Multiple Platforms
commonMain
that fails on Android withNoSuchMethodException
Popup
jerking during ripple effect animationShaderBrush
to part ofAnnotatedString
brush
animation and optimized updating some visual text properties (applying time is reduced up to 40%)TextField
with explicitly setTextAlignment
TextField
insideExposedDropdownMenuBox
iOS
ComposeUIViewController
(such as when used in modal sheet presentation context with different detents)Desktop
UninitializedPropertyAccessException
indesktopTest
ComposePanel.requestFocus()
, making it correctly assign focus to the first focusable childComposePanel
inside a Swing application on macOS, VoiceOver will now correctly go into theComposePanel
when traversing accessible elementsComposePanel
inside a Swing application on Windows with NVDA turned on, focus will now correctly go into theComposePanel
when traversing with (ctrl)-shift-tabWindowState
with unspecifiedsize
instead of crashingIndexOutOfBoundsException
crash on Windows when traversing a11y elementsWeb
keydown
andkeyup
keys for identified keys from virtual keyboardskiko.wasm
Resources
contextClassLoader
usage on JVM targetsGradle Plugin
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0-alpha01
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0
. Based on Jetpack Lifecycle 2.8.0Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha08
. Based on Jetpack Navigation 2.8.0-beta03Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.