Compose releases yesterday Version 1.4.2 Stable -...
# compose
c
Compose releases yesterday Version 1.4.2 Stable • Potential deadlock fix • Fixed an issue where
AndroidView
would not reuse its modifiers correctly, potentially resulting in unexpected behavior and crashes. (Ib67ee, b/275919849) • Fixed regression where keyboard wasn't showing for text fields inside dialogs not created by the
Dialog
composable (I82551, b/262140644) Compiler 1.4.6 stable • Compose Compiler now depends on Java11 (instead of Java17 required by Compose Compiler version 1.4.5) to better support users who are still using older versions of Java. M3 Version 1.1.0-rc01 •
TimePicker
removed from stable API, further changes are expected in the state API (I3f39a) •
ModalBottomSheet
moved to android only.
ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. (Ib3778) Version 1.5.0-alpha03 • New default behavior for
SubcomposeLayout
in
LookaheadScope
. It allows
SubcomposeLayouts
that don’t have conditional slots (e.g.
TabRow
,
Scaffold
,
BoxWithConstraints
, etc) to work nicely with lookahead animations. • enables the new text rendering stack for Compose. The new stack is performance optimized, and you should see no visible changes. If you do see changes in rendered text, you can debug by setting
NewTextRendering1_5 = false
to confirm the behavior difference. Setting this will force recomposition. Please file any behavior differences as bugs. • Update
BottomDrawer
internals to use the new
SwipeableV2
APIs • Updated internals of the Switch component. The switch will now preview the closest (target state) when dragging. (Id90d4) • Animated sheet content (e.g.
Modifier.animateContentSize
on sheet content) in
BottomSheetScaffold
has been optimized and now works smoothly. (Ia913c, b/270518202, b/254446195) •
BottomSheetScaffold
will not participate in nested scroll anymore when
gesturesEnabled
is set to
false
. (I634f3, b/215403277) •
PlatformTextStyle.includeFontPadding
is no longer deprecated to encourage developers to use this compatibility API to switch and test setting
includeFontPadding
false. (I98e96, b/277703184) AWESOME
🎉 5
thank you color 2
k
Is there a new BOM version?
e
there is a new BOM 2023.04.01, as you can see at https://developer.android.com/jetpack/compose/bom/bom-mapping
k
Ah. Had to scroll
l
You mentioned ModalBottomSheet being android only, since it isn't recommended for desktop. It seems like it would make sense for iOS, however. Will there be any focus towards iOS support for it?
e
yeah the layout of that page doesn't seem like it'll scale that well. maybe it should work more like https://firebase.google.com/support/release-notes/android where you can diff two BOM versions
p
Where can I read more about SwipeableV2 api?
j
@PHondogo What would you like to know? It is an internal API for the time being:)
p
Thought it bacame public. Then waiting. Thanks!