Update plugin org.jetbrains.compose to v1.6.10 - autoclosed #306
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.0-dev1074
->1.6.10
Release Notes
JetBrains/compose-jb (org.jetbrains.compose)
v1.6.10
Changes since 1.6.10-rc02
Fixes
iOS
org.jetbrains.kotlin.backend.konan.llvm.NativeCodeGeneratorException: Exception during generating code for following declaration: private fun $init_global()
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.6.10-rc03
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0-rc03
. Based on Jetpack Lifecycle 2.8.0Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.7.0-alpha06
. Based on Jetpack Navigation 2.7.7v1.6.2
Changes since 1.6.1
Features
Common
2.0.0-RC1
Fixes
iOS, Desktop, Web
FocusOwnerImpl
takeFocus
andreleaseFocus
to prevent crash when a window is re-shownSelectionContainer
to start when drag starts below the bounds of the visible textiOS
TextField
when a last symbol is a carriage return symbolDependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.6.1
Changes since 1.6.10-rc01
Known issues
org.jetbrains.kotlin.backend.konan.llvm.NativeCodeGeneratorException: Exception during generating code for following declaration: private fun $init_global()
Features
Web
Fixes
iOS
UIKitView
orUIKitViewController
is inside a tree withSemanticsModifierNode
havingshouldMergeDescendantSemantics = true
and Accessibility sync is onResources
org.jetbrains.compose.resources.multimodule.disable=true
to the rootgradle.properties
Dependencies
Gradle Plugin
org.jetbrains.compose
, version1.6.10-rc01
. Based on Jetpack Compose libraries:Lifecycle libraries
org.jetbrains.androidx.lifecycle:lifecycle-*:2.8.0-rc02
. Based on Jetpack Lifecycle 2.8.0-rc01Navigation libraries
org.jetbrains.androidx.navigation:navigation-*:2.7.0-alpha05
. Based on Jetpack Navigation 2.7.7v1.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
Popup
s/Dialog
s can now be displayed outside aViewController
over native componentsText
inSelectionContainer
by double and triple tapWeb
Desktop
SwingPanel
interop (under an experimental flag, see the link)Popup
s/Dialog
s can now be displayed outside the main window or panel and over native components (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
iOS
Popup
s/Dialog
s that are enabled by default, unable to draw anything out of their own bounds (for example, a shadow of the topmost container). It will be fixed in a future version, but if you're relying on this behavior, you can switch back to the old behavior by setting theplatformLayers
parameter tofalse
: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.
v1.5.12
Common
Features
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.11
Common
Features
iOS
Fixes
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.10
Common
Features
ModalBottomSheet
SearchBar
andDockedSearchBar
ExposedDropDownMenu
ExposedDropDownMenu
in commonWindowInfo.containerSize
experimental apidefaultTimePickerLayoutType
based on screen orientationPopup
/Dialog
Modifier
's (additionally toWindowInsets.*
)Fixes
ExposedDropdownMenuBox.onExpandedChange
was not recomposedRootLayout
insets only in case ofusePlatformInsets
iOS
Breaking changes
kotlin.native.cacheKind = none
will result in a build error.Features
CADisableMinimumFrameDurationOnPhone
is not configured properlyUIViewController
lifetime hooksCAMetalDrawable
acquisitionTextField
sFixes
UIKitView
s within a screenCADisplayLink.targetTimestamp
value as the time for animation framesModalBottomSheet
: scrim doesn't occupy complete screenWindowInsets
insidePopup
/Dialog
OutlinedTextField
label is clippedUIKitView
after navigating away and navigating backTextField
Desktop
Features
Role.DropdownList
viaAccessibleRole.COMBO_BOX
Role.Tab
to correctly translate to Java'sAccessibleRole.PAGE_TAB
SemanticsProperties.ProgressBarRangeInfo
Fixes
LocalLayoutDirection
isn't propagated intoDialogWindow
LocalLayoutDirection
)TextField
placed inModalBottomSheet
ProgressBarRangeInfo
changes for accessibilityenabled
inscrollable
for mouse inputGradle Plugin
Features
Fixes
syncComposeResourcesForIos
HTML library
Features
Web
Features
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.3
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.2
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.1
Common
Features
Desktop
Fixes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.0
Common
Features
Dialog
API is available to use from common source setPopup
API is available to use from common source setWindowInsets
API is available to use from common source setcompose.kotlinCompilerPlugin
is set toandroidx.compose.compiler.compiler
androidx.compose.material.DropdownMenu
is available to use from common source setandroidx.compose.material3.DropdownMenu
is available to use from common source setandroidx.compose.material.AlertDialog
is available to use from common source setandroidx.compose.material3.AlertDialog
is available to use from common source setPopupProperties.clippingEnabled
settingDatePicker
,DatePickerDialog
andTimePicker
Fixes
Popup
. Fix overridingpressOwner
on multitouchCanvas
transformation functionsDialog
behaviourAPI Changes
AlertDialog
iOS
Features
TextField
keyboardOptions, capitalizationTextField
, keyboard behavior when have fullscreen size TextFieldTextField
, different behavior strategies on appearing the keyboardDensity.textSize
(Dynamic Type)LocalUIViewController
KeyboardAction
Fixes
TextField
context menuViewConfiguration.touchSlop
value is quite low on iOStopLeftOffset
calculation on iOS in Split ViewModifier.draggable
onDragStopped
not calledUIKitView
. Fix lifetime discrepancy within the compositionTreeSet
AnnotatedString.transform
WeakHashMap
typefacesCache
ExpireAfterAccessCache
NativeStringDelegate
ComposeUIViewController
kotlin.native.cacheKind=none
is no longer needed)Dialog
andPopup
size by safe area on iOSTextField
, Korean characters are not normally enteredColorMatrix
value range for 5th column was incorrect on Skiko backed platformsisSystemDarkTheme
now automatically react to the system theme changesAPI Changes
CADisableMinimumFrameDurationOnPhone
added to the template'sInfo.plist
to support 120HzComposeUIViewController
. Dispose composition onviewDidDisappear
Desktop
Features
ComposePanel
that can be disposed manuallyDialogWindow
,Popup
andDialog
Segoe UI
as sans serif font on WindowsFixes
LazyColumn
via mouse wheel stops workingSlider
can be moved using keyboard, but cannot be submittedVerticalScrollbar
doesn't work properly whenLazyColumn
existsStickyHeader
Popup
overloads call dismiss onEsc
key by defaultforEachGesture
inScrollbar.desktop.kt
SemanticsNodeInteraction.captureToImage()
DesktopTestOwner.getRoots()
ComposeScene.render
with the current test timeWindow
andDialogWindow
API Changes
Dialog
toDialogWindow
Web
Features
ComposeWindow
accept a custom canvas id (html canvas element id)Scrollbar
CanvasBasedWindow
apply default styles, set titleFixes
ComposeWindow
multiple event listeners on resizeModifier.pointerHoverIcon
for browser appsRoundedCornerShape
with zero cornersScrollConfig
in web targetPlatformFont
KeyMapping
andFontFamiliesMapping
PlatformLocale
andStringDelegate
for k/wasmgetAndIncrement
inAtomicLong
implementation for webHTML library
Features
TestUtils
wait functions cancellableGradle Plugin
Features
runtimeSaveable
to Dependencies in compose gradle pluginAPI Changes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.0-rc06
: 1.5.0-rc06v1.5.0-rc04
: 1.5.0-rc04v1.5.0-rc02
: 1.5.0-rc02v1.5.0-rc01
: 1.5.0-rc01v1.5.0-beta02
Common
Features
androidx.compose.material.DropdownMenu
is available to use from common source setandroidx.compose.material3.DropdownMenu
is available to use from common source setandroidx.compose.material.AlertDialog
is available to use from common source setandroidx.compose.material3.AlertDialog
is available to use from common source setPopupProperties.clippingEnabled
settingDatePicker
,DatePickerDialog
andTimePicker
API Changes
AlertDialog
iOS
Features
KeyboardAction
Fixes
ComposeUIViewController
kotlin.native.cacheKind=none
is no longer needed)Dialog
andPopup
size by safe area on iOSTextField
, Korean characters are not normally enteredColorMatrix
value range for 5th column was incorrect on Skiko backed platformsisSystemDarkTheme
now automatically react to the system theme changesAPI Changes
ComposeUIViewController
. Dispose composition onviewDidDisappear
Web
Features
CanvasBasedWindow
apply default styles, set titleGradle Plugin
Features
runtimeSaveable
to Dependencies in compose gradle pluginAPI Changes
Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
v1.5.0-beta01
Common
Features
Dialog
API is available to use from common source setPopup
API is available to use from common source setWindowInsets
API is available to use from common source setcompose.kotlinCompilerPlugin
is set toandroidx.compose.compiler.compiler
Fixes
Popup
. Fix overridingpressOwner
on multitouchCanvas
transformation functionsDialog
behaviouriOS
Features
TextField
keyboardOptions, capitalizationTextField
, keyboard behavior when have fullscreen size TextFieldTextField
, different behavior strategies on appearing the keyboardDensity.textSize
(Dynamic Type)LocalUIViewController
Fixes
TextField
context menuViewConfiguration.touchSlop
value is quite low on iOStopLeftOffset
calculation on iOS in Split ViewModifier.draggable
onDragStopped
not calledUIKitView
. Fix lifetime discrepancy within the compositionTreeSet
AnnotatedString.transform
WeakHashMap
typefacesCache
ExpireAfterAccessCache
NativeStringDelegate
API Changes
CADisableMinimumFrameDurationOnPhone
added to the template'sInfo.plist
to support 120HzDesktop
Features
ComposePanel
that can be disposed manuallyDialogWindow
,Popup
andDialog
Segoe UI
as sans serif font on WindowsConfiguration
📅 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 Mend Renovate. View repository job log here.