Update dependency org.jetbrains.compose to v1.6.0 #331
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.5.12
->1.6.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
JetBrains/compose-jb (org.jetbrains.compose)
v1.6.0
Changes since 1.5.12
Highlights
An overview of highlights for this release is also available in the Compose Multiplatform documentation: What's new in 1.6.0.
Common
Res
classcomposeResources
dir withdrawable
,font
,files
,values/strings.xml
supportiOS, Desktop, Web
LineHeightStyle.Trim
iOS
Text
inSelectionContainer
by double and triple tapWeb
Desktop
SwingPanel
interop (under an experimental flag, see the link)Breaking changes
Common
compose.components.resources
) changes*Main\resources
should be moved to*Main\composeResources\drawable
,commonMain\composeResources\font
or*Main\composeResources\files
depending on the resource typepainterResource("resource.xml")
should be replaced bypainterResource(Res.drawable.resource)
google()
maven repository is now required. Add this tobuild.gradle.kts
:repositories {
...
google()
}
If the project doesn't have it, there will be an error
Could not find androidx.annotation:annotation:...
orCould not find org.jetbrains.compose.collection-internal:collection
.lineHeight
set is trimmed by defaultfontSize
set withoutlineHeight
insideMaterialTheme
has different line heightiOS/Desktop/Web
public ComposeScene
in favour of@InternalComposeUiApi MultiLayerComposeScene
Desktop
TooltipArea
andPointerEvent
Web (k/js)
plugin:androidx.compose.compiler.plugins.kotlin:generateDecoys=true
.Features
Common
runtime-saveable
iOS
@Composable fun UIKitViewController
Desktop
Web
HTML library
StyleSheet
sub
,sup
andblockquote
elementsGradle Plugin
ui-tooling-preview
aliascompose.uiTest
dependencycompose.components.uiUtil
dependencyFixes
iOS/Desktop/Web
painterResource(:DrawableResource)
outside desktop Window can produceUnsatisfiedLinkError
"TextLayoutResult#getLineForVerticalPosition
returns wrong value + slow performance"Font
constructor with lazy data loadingTextLayoutResult#getLineForOffset
LayoutCoordinates.localToWindow
coordinates conversion for non-full Compose componentsiOS
SystemFont
on iOSWindowInfo.containerSize
withoutplatformLayers
flagDesktop
MouseInfo.getPointerInfo()
returning null inWindowDraggableArea
SplitPane
makeGL
NumPadEnter
onDrag(matcher=
changesComposePanel
doesn't calculate its preferredSize correctly when it's called before doLayout"enabled
inscrollable
for mouse inputWeb
SystemThemeObserver
implementation for wasmJscomponents.uiToolingPreview
libraryImage.toBitmap
Gradle Plugin
org.jetbrains.compose
is applied from a script pluginDependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
See the announce of Jetpack Compose 1.6. Notes:
Changes to default font padding
affects only Android target.Added support for selection by mouse, including text.
concerns only Android. Other targets supported it before 1.6.Modifier.onExternalDrag
See the announce of Material 1.2.
Configuration
📅 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 has been generated by Renovate Bot.