Colton Idle
10/22/2023, 6:48 PMKeyframesSpecConfig#with
in favor KeyframesSpecConfig#using
which preserves the builder pattern.
• Modifier.draggable2D
is the new modifier that allows for easy 2d dragging support. See Sample (Id95f5, b/214412658)
• Modifier.dragAndDrawSource
has had the onDrawDragShadow
lambda renamed to drawDragDecoration
and DragAndDropInfo
has had the size parameter renamed to dragDecorationSize
. (Id0e30, b/303904810)
• `BasicTextField2`'s decorationBox
parameter is renamed to decorator
. Its type is also changed to an equivalent fun interface TextFieldDecorator
. (I23c1c)
• Improved documentation on BasicTextField
regarding onValueChange
requirements. (I90fc9, b/160257648)
• Deprecate a materialIcon
function in favor of its overload that takes an autoMirror
parameter. (Ia338d)
• Auto-increase height of nav item for large content. (0c4ecc, b/272336962) (FINALLY!)
• Only trigger RememberObserver
lifecycles when it is stored in remember calculation. (f6b4dc)
• Improve allocations in invalidations list sorting. (954d63)
• Use new non-allocating maps in SnapshotStateObserver
. (4303ce)
• Clear invalidations when composition is deactivated. (e001be)
• Modifier.dragAndDrawSource
has had the onDrawDragShadow
lambda renamed to drawDragDecoration
and DragAndDropInfo
has had the size parameter renamed to dragDecorationSize
. (Id0e30, b/303904810)
• Introduce SemanticsNodeInteraction.isDisplayed()
and SemanticsNodeInteraction.isNotDisplayed()
to check if a matched node is visible or not without also asserting on it. (I2c196, b/302100809)
• Introduced a special Unspecified
value for TextAlign
, TextDirection
, Hyphens
and LineBreak
fields of the ParagraphTextStyle
to replace null
. Because these classes are inline classes, by replacing nullable with the Unspecified, we avoid primitive type boxing. Constructors, getters and other methods in TextStyle
and Paragraph style were updated to accept the mentioned parameters as non-null types. (I4197e, b/299490814)
• Add GoogleFont
overload for reading a GoogleFont
from XML. (If8f59)
• Made LoremIpsum
PreviewParameterProvider
an open class. (I41bf5, b/266918816, b/300116360)
• Bug Fixes
• FontFamilyResolver
now uses Dispatchers.Main
for cache management coroutines. (Ie8dd9)
• AndroidViewBinding
now synchronously removes Fragment
instances inflated by including a FragmentContainerView
in your layout as part of its onRelease
by using commitNow
(instead of the commit
it was using previously), thus fixing issues with Live Edit's method with replacing the composition upon changes. (I58fbf)
Version 1.2.0-alpha10 of material3
• Promoting Badge
and BadgedBox
to stable. (I67f16, b/261565132)
• Adding securePolicy
as a parameter to ModalBottomSheet
, so users can define the behavior for WindowManager.LayoutParams.FLAG_SECURE
. (Icdac8, b/296250262)
• Added new overloads of LinearProgressIndicator
and CircularProgressIndicator
that take progress
as a lambda. These should be more performant than the previous versions. (I824e6, b/295616656)
• Renames StandardSizeClasses
to AllSizeClasses
. (I8cb07)
• Combine calculation functions of window size classes. (Iad935)
• Fix a DatePicker
crash when quickly clicking the navigation arrow buttons when the displayed month is at the edge of the allowed range of years. (I46f36, b/290954897, b/297002119)
• [Nav rail/bar] Support transparent color for indicator. (Ie0a9b, b/267289987)Adam Brown
10/22/2023, 11:50 PM