-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: update dependency org.jetbrains.compose to v1.7.0 #333
Conversation
8dd952e
to
293c7b5
Compare
This is a bigger migration that requires to take the new drag & drop API into use (here is a good example), and to migrate to multi-platform resources. |
This gives some insights what to replace e.g. the |
293c7b5
to
0adb580
Compare
0adb580
to
b01a9e7
Compare
b01a9e7
to
64fb3d6
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
64fb3d6
to
b98e907
Compare
Signed-off-by: Sebastian Schuberth <[email protected]>
b98e907
to
40233ad
Compare
This PR contains the following updates:
1.6.11
->1.7.1+build1910-release-1.7.1
Release Notes
JetBrains/compose-jb (org.jetbrains.compose)
v1.7.0
Changes since 1.6.11
Highlights
Resources
Navigation
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 appsBreaking 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 behaviorDesktop
Modifier.onExternalDrag
has been deprecated in favor of the newModifier.dragAndDropTarget
Android
Resources
compose.ui
in favour of the new resource libraryFeatures
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 UIorg.jetbrains.compose.material3:material3-window-size-class
moduleorg.jetbrains.compose.material3.adaptive:adaptive*
modulesmaterial3-adaptive-navigation-suite
is multiplatform nowiOS
accessibilityEnabled: Boolean = true
argument toUIKitView
andUIKitViewController
preferredStatusBarStyle
,preferredStatysBarAnimation
andprefersStatusBarHidden
are added toComposeUIViewControllerDelegate
to allow status bar appearance modificationUIKitView
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)BasicTextField(TextFieldState, ...)
on iOSDesktop
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
Modifier.dragAndDropSource
andModifier.dragAndDropTarget
decoration
argumentResources
Bitmap ByteArray as ImageVector
andXML ByteArray as ImageVector
in the common code andSVG ByteArray as Painter
in the non-android codeGradle Plugin
compose.material3AdaptiveNavigationSuite
shortcut in the gradle pluginFixes
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
FontRenderingSettings
is not reflected until composition restartsiOS
ComposeUIViewController
(such as when used in modal sheet presentation context with different detents)material3.ModalBottomSheet
safe area usageplatformLayers
. 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 areasTextField
imePadding
and high cpu usage when repeatedly opening and closingKeyboard
on iOS"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 elementsSelectionContainer
or on the padding of aText
inside aSelectionContainer
ComposePanel
in IntelliJ on macOsWindowState
Web
keydown
andkeyup
keys for identified keys from virtual keyboardskiko.wasm
SelectionContainer
Resources
contextClassLoader
usage on JVM targetsGradle Plugin
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.7.0
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.3
. Based on Jetpack Lifecycle 2.8.5Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.8.0-alpha10
. Based on Jetpack Navigation 2.8.0Material3 Adaptive libraries
org.jetbrains.compose.material3.adaptive:adaptive*:1.0.0
. Based on Jetpack Material3 Adaptive 1.0.0Configuration
📅 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.