Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
New Features
- App Theming: Added
CarAppThemeSourceto allow apps to opt into brand theming and hosts to query preferred theme configurations. - Search Header: Added
SearchHeaderforSectionedItemTemplateas a search header replacement in API 9. - Component Styling: Added styling support for tabs (
TabStyle), banners (BannerStyle), and media controls/progress indicators (MediaPlaybackStyle,StrokeCap).
API Changes
- Media & Progress Bar Styling: Added
MediaPlaybackStyle,setMediaAccentColor, and standaloneStrokeCapto customize playback controls and progress indicators. UpdatedCarProgressBarStyleto support nullable colors and removed deprecated color methods fromCarProgressBar. Ib45c6 I17141 I270a4 I10fe4 I80a17 - App Theming: Introduced
CarAppThemeSourcefor public app theme opt-in and addedonGetAppThemetoCarAppService(with corresponding IPC) allowing hosts to query preferred theme configurations. I108f8 Ifbd41 I97c7e - Tabs Styling: Added support for custom background colors, content/text colors, and custom corner radii via
TabStyle. I07330 Id09f6 - Icons & Image Sizing: Deprecated
IMAGE_TYPE_ICONacrossRow,GridItem,Banner, andCondensedItemin favor ofIMAGE_TYPE_SMALLandIMAGE_TYPE_MEDIUMsize constants where icons render untinted by default. ReworkedCarIconStyleand added custom shape support toCarIcon. Ie57fa I5cc2d Ic9584 Iaef57 - Banners: Added
BannerStylefor custom shapes and corner radii, added image variant options (IMAGE_TYPE_SMALL,IMAGE_TYPE_LARGE), and removed deprecated icon and background APIs in favor ofsetLeadingImageandaddTrailingImage. I265bb I7d28a I23f62 I2917e I95b1c - Headers & Layout: Introduced
SearchHeaderforSectionedItemTemplatein API 9, addedstartHeaderImagetoHeaderfor custom start icons, and addedincompleteLastRowStrategyto control handling of partial rows/columns in grid, condensed, and spotlight sections. I86632 I24937 If64be
Bug Fixes
- Clarified that
Action.TYPE_MEDIA_PLAYBACKis ignored as a template FAB on Car API 9+ hosts. Ie8fd4
API Changes
- Added
sortWith,sortBy, andsortByDescendingfunctions toMutableObjectList, alongsidebinarySearchalgorithms onObjectListand primitive list classes (FloatList,IntList,LongList,DoubleList). AddedbinarySearchoverloads using exact component types forFloatList,LongList, andDoubleListalongside existingIntmethods. Ied6f7 androidx.benchmarknow has aminSdkof 24. Ic2a85- Optimize
ScatterMap.getOrPut()performance I6e46b - Added
@JvmOverloadsto trim functions of List classes I24410 b/481371562 - Added
.toOrderedScatterSet()extension. This provides a read-only alternative to the mutable conversion function and returns an allocation-free singleton when the source collection is empty. I1b767
Bug Fixes
- Improved hashing in
ScatterMapand primitive collections to reduce collisions forFloatkeys. I7d2ac b/528428583 - Implement
toString()forScatterMap.asMapkey, value, and entry views. This provides better debug visibility for developers using theasMap()wrapper. I64791
API Changes
- Adds support to specify the style of individual parts of a compound composable (such as
TextFieldorDatePicker) directly in the style parameter of the composable. This enables, for example, creating aTextField-like composable that allows customizing each of the decorator boxes using a style, enabling them to be overridden at a theme level or at the call site. I43c0f - Material 2 text field overloads that accept
value, onValueChangeparameters are deprecated. Please migrate to the overload that usesTextFieldStateto hoist its state. I6b841 b/556234973 - Removed
@ExperimentalFoundationApiannotation fromundoStateinTextFieldState. I93a44 - Add default configuration objects for each lazy layout containing the default values used in the corresponding
@Composeablefunctions. Currently only contains the default cache window for each layout. I58633 - Flag
isUsingDynamicDefaultCacheWindowIn[List|Grid|StaggeredGrid]swhen enabled will cause lazy layouts to use a cache window that uses the average size of visible items to prefetch ahead of the viewport with a minimum ahead window of 10% of the viewport and a maximum ahead window of 50% of the viewport. I59212 - Deprecated
LazyListPrefetchStrategy,LazyListPrefetchScope, andLazyListPrefetchResultScope. Prefetching behavior should be configured usingLazyLayoutCacheWindowonLazyColumnorLazyRow.LazyLayoutCacheWindowprovides a declarative, viewport-based caching mechanism that automatically prepares items ahead of and keeps items behind the visible window without requiring complex imperative scheduling callbacks. The new API is simpler and requires less configuration steps thanLazyListPrefetchStrategy. I1fa2d - Adds
PolygonShape.transformedandPolygonShape.scaledToFitextension functions in Compose Foundation for transforming and fitting polygon shapes. I3f327 - This change refactors the Styles API into two independent pieces: the Styles DSL and the modifiers that are configured by the DSL. The previous
Style-based implementation is still present but will be deprecated and removed. Any uses of it should be replaced with the newCommonStylebased API. - Key components introduced:
CustomStyle&CommonStyle: Base interfaces and merging helpers for declaring composable styles.StyleResolver: Resolves style properties in composition and binds to layout nodes viaModifier.styleResolver.Modifier scopes:Modifier.appearance,Modifier.placement, and dynamic callback-basedModifier.paddingandModifier.graphicsLayer.- Property primitives:
stylePropertyOf,styleLocalOf. - Types useful for style properties:
Breadth,Fill, andShadows.
- The new modifiers are useful for implementing a design system using the Styles API but are not required. A design system may use these modifiers or provide its own. Ieb8cc b/549921960
- Removed
ExperimentalFoundationApiannotation fromTextFieldBufferAPIs that track the changes I546a7 - Introduces
MorphPolygonShapein Compose Foundation for morphing animations between polygon shapes, along withtoPolygonShape()converters forRoundedCornerShapeandCutCornerShape. Ic5a89 - Introduces
PolygonShapein Compose Foundation for rendering regular, star, and custom rounded polygons with corner smoothing. I0b99d BasicTextFieldoverloads that acceptvalue, onValueChangeparameters are deprecated. Please migrate to theBasicTextFieldoverload that usesTextFieldStateto hoist its state. I636bf b/552879150- Inline with
BasicTextField(value, onValueChange),VisualTransformationis also deprecated since it is only exposed through thisTextFieldflavor. Existing transformations should migrate toOutputTransformation. I636bf b/552879150 - Providing
LazyLayoutCacheWindowandLazyListPrefetchStrategyviaLazyListStatehas been deprecated in favour of providing aLazyLayoutCacheWindowto the composable function. I71f19 - Removed temporary feature flag
ComposeFoundationFlags.isPausableCompositionInPrefetchEnabled. Ifff7f - Added
InputTransformation.maxLengthTrimto limit text length by truncating excess input characters, addedInputTransformation.maxLengthRejectto reject input that exceedsmaxLength, and deprecatedInputTransformation.maxLengthin favor ofmaxLengthTrimandmaxLengthReject. I8d4cd
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f- Fixed an issue where
WindowInsetsRulersIME insets were not marked as animating during predictive back, and fixedimePaddingnot updating when switching focus between text fields. Id4562 b/537386261 b/539686000 - Updated
SecureTextFieldandOutlinedSecureTextFieldcomponents (as well as deprecatedBasicSecureTextFieldoverloads) to useTextObfuscationMode.Systemas the default obfuscation mode instead ofTextObfuscationMode.RevealLastTyped. I76c7e
API Changes
- Material 2 text field overloads that accept
value, onValueChangeparameters are deprecated. Please migrate to the overload that usesTextFieldStateto hoist its state. I6b841 b/556234973
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f- Updated
SecureTextFieldandOutlinedSecureTextFieldcomponents (as well as deprecatedBasicSecureTextFieldoverloads) to useTextObfuscationMode.Systemas the default obfuscation mode instead ofTextObfuscationMode.RevealLastTyped. I76c7e
API Changes
- Renamed and simplified the multi-aspect carousel API to a global
carouselParallaxScrollEffectmodifier I46b17 - Removed deprecated
ToggleButtonoverloads. Added utility functions (contentPaddingFor,shapesFor) and default constants (includingsize) toToggleButtonDefaults,ElevatedToggleButtonDefaults,FilledTonalToggleButtonDefaults, andOutlinedToggleButtonDefaults. I998cf Deprecated stateless
SliderandRangeSlideroverloads in favor of their stateful versions. RenamedactiveRangeStartandactiveRangeEndinRangeSliderStatetostartValueandendValue, deprecating older unpromoted and experimental Slider APIs withDeprecationLevel.HIDDEN. If8995To migrate
Slider, from:kotlin var value by remember { mutableFloatStateOf(0.5f) } Slider(value = value, onValueChange = { value = it })To:kotlin val state = remember { SliderState(value = 0.5f) } Slider(state = state)To migrate
RangeSlider, from:kotlin var range by remember { mutableStateOf(0.2f..0.8f) } RangeSlider(value = range, onValueChange = { range = it })To:kotlin val state = remember { RangeSliderState(startValue = 0.2f, endValue = 0.8f) } RangeSlider(state = state)Add enabled boolean and disabled color params to
ScrollFieldIab612
Bug Fixes
- Add focus ring support for
ScrollField. If21d6 - Make design feedback adjustments for expressive
TimePickerin dial mode. I8795e - Make padding adjustments for expressive
TimePickerin scroll and input mode. Iddb33 - Updates toggle height/layout calculation based on item count for expressive
TimePicker.ktin uncontained mode. I30700 - Fixed an issue where AM/PM controls were truncated in
TimePickerwhen large text or font scaling was enabled. Iaca60 - Updated
SecureTextFieldandOutlinedSecureTextFieldcomponents (as well as deprecatedBasicSecureTextFieldoverloads) to useTextObfuscationMode.Systemas the default obfuscation mode instead ofTextObfuscationMode.RevealLastTyped. I76c7e
Performance
- Inline
SlotWriter.forAllDataInRememberOrderto eliminate allocations Ie39f6
API Changes
- Material 2 text field overloads that accept
value, onValueChangeparameters are deprecated. Please migrate to the overload that usesTextFieldStateto hoist its state. I6b841 b/556234973 - Add a common API to disable
WindowInsetsRulersglobally before the first Compose root is created. Deprecate Android onlyComposeView.disableWindowInsetsRulers()in favor of the commonWindowInsetsRulers.disable()Iadc8f - Adds
PolygonShape.transformedandPolygonShape.scaledToFitextension functions in Compose Foundation for transforming and fitting polygon shapes. I3f327 - Modifier renamed
LineHeight.Trim.isTrimLastLineBottom()function toLineHeight.Trim.trimsLastLineBottomandLineHeight.Trim.isTrimFirstLineToptoLineHeight.Trim.trimsFirstLineTopI02211 - Added
boundsAssertionTolerancetoPlatformTestConfigunderComposeUiTestConfig.platformallowing tests to configure default bounds assertion tolerance at the environment/rule level. I7819d b/545673912 BasicTextFieldoverloads that acceptvalue, onValueChangeparameters are deprecated. Please migrate to theBasicTextFieldoverload that usesTextFieldStateto hoist its state. I636bf b/552879150- Inline with
BasicTextField(value, onValueChange),VisualTransformationis also deprecated since it is only exposed through thisTextFieldflavor. Existing transformations should migrate toOutputTransformation. I636bf b/552879150 - Added
LineHeightStyle.Mode.PerLineto calculate line height independently for each line, supporting varying font sizes in the same paragraph without overlap. I41738 - Providing
LazyLayoutCacheWindowandLazyListPrefetchStrategyviaLazyListStatehas been deprecated in favour of providing aLazyLayoutCacheWindowto the composable function. I71f19 - Added
Modifier.blur { ... }API to support progressive blurs (e.g., gradients and custom shaders) Ie6595 b/481685669 - Added Modifier.
interactionBarrier() to block touch, focus, and accessibility interactions. I7c1b7 b/347038246 - Added
isCrossWindowBlurEnabledextension property onWindowInfoto allow developers to query and observe system-wide cross-window blur state on Android. If38e2 b/538405295 - Added
LocalWindow CompositionLocalto allow retrieving the currentandroid.view.Windowobject, making it easier to control window-level APIs from within Composables. I4d4ff b/221889664
Bug Fixes
- Enabled
isMinimalistLocalsEnabledby default. Ibb4eb b/523295932 - Enabld single line height optimisation by default. It may cause a few pixel difference in some text metrics like height or selection path I5575a
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f- Fixed an issue where
WindowInsetsRulersIME insets were not marked as animating during predictive back, and fixedimePaddingnot updating when switching focus between text fields. Id4562 b/537386261 b/539686000 - Fixed an issue where trackpad pinch gestures were ignored when
ComposeViewwas hosted inside a standard AndroidViewGroup. I80f79
External Contribution
- Fixed an Activity leak when a
ComposeViewwas detached and re-attached within a single frame, for example when reordered withremoveViewandaddView. Ib5129 b/547675867
API Changes
- Add support for odometry-based sensor fusion, which provides software angle-of-arrival estimation and adjusts range measurements for local device motion. I191a9
Bug Fixes
- Bump providerevents and providerevents-play-services to 1.0.0-beta01. I44ca0
Bug Fixes
- The underlying file path is not included in
CorruptionExceptionmessages thrown duringDataStorepreference parsing failures. Ia9e8f
This release focuses on performance improvements and is recommended for all users of emoji2.
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
API Changes
- Added
useSafeFallbackRendererVersionparameter toWearWidgetPreviewto allow previewing widgets with a safe fallback set of supported operations for older hosts. I9c324
Bug Fixes
Bug Fixes
- Color Aspects & HDR: Explicitly configured color range, standard, and transfer characteristics during encoding for 10-bit HDR and 8-bit SDR inputs.
- AVIF Encoding: Fixed
EncoderBaseto use the correct MIME type for AVIF image encoding, and added a fallback to frame decoding when AVIF image metadata is missing. - Buffer & EXIF Handling: Fixed buffer sizing, EXIF bounds validation, and 10-bit YUV copy logic.
- Compatibility & Tests: Resolved AV1 encoder configuration and 10-bit EGL test failures across supported devices.
API Changes
- Add rendering support for KMP iOS via
MetalRenderer, under the opt-in annotationExperimentalInkCrossPlatformRenderingApi, based on KMP common APIs for core functionality - Rename
Target.TEXTURE_ANIMATION_PROGRESS_OFFSETtoTarget.PAINT_ANIMATION_PROGRESS_OFFSET. I8809f - Add overloads
ImmutableAffineTransform.translate(float x, float, y)andMutableAffineTransform populateFromTranslation(float x, float y)I8809f - Rename
DampingNodeproperty fromdampingSourcetodampOverId3178 - Rename
DampingNodeproperty fromdampingGaptostrengthI69432 - Use
Vectype when definingEasingFunction.CubicBezierinstead ofFloats I69432 - Add
WorkerThreadannotation to mesh-editing eraser functionsStroke.subtractandStroke.splitI69432
Bug Fixes
- Make
Brushsamples KMP-compatible I77125
API Changes
- Change parameter name of
colortobaseColorfor bothSurfaceDefaults.colorandSurfaceDefaults.focusedColorId1a08 - Add
pageOffsetFractionparameter toanimateScrollToPageandscrollToPagefunctions inGlimmerPagerState. I5ed0d
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
API Changes
- Added
xr:scenecore:scenecore-openxrlibrary. Ic49f2 - Removed several deprecated APIs ahead of the 1.0.0 stable release.
Bug Fixes
- Resolved a memory leak bug where the Activity reference could be retained by the system when the Activity is destroyed. I6dcd7
Behavior Changes
- Removed logcat output from SceneCore. I10c3c
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
API Changes
- Update
MediaRouter#setDeviceSuggestionsto take inRouteInfoinstead ofSuggestedDeviceInfoId1d8c - Add API to determine the source of a route selection event. I6ce8d
- Introduce a new API
MediaRouter#isMediaTransferEnabledI92f6f - Add new
MediaRouteDescriptor#getRoutingControllerIdto expose the routing control id associated with selected routes fromMediaRouter2. Iadae8
Bug Fixes
- In cases where
NavHostskips animations, it will now also consider thesizeTransformas part of the skipped animation to prevent any unexpected clipping. I4f995 b/550924680
Bug Fixes
- Disallow duplicate placeholder names in deep link URI patterns. I8985c b/522343165
Bug Fixes
- Room suspending queries and invalidation tracker operations will now throw an
IllegalStateExceptionwhen called after the database has been closed. Ic0166 b/543076356
Bug Fixes
- Fix a regression that would cause Room to throw an
IllegalMonitorStateExceptionwhen using@Transactionwrapper DAO functions. I996d9 b/543285472 b/553140228 - Fixed an issue on web and suspending drivers where cancelling a coroutine during a transaction could cause the database and connection to get into a bad state, preventing further usages. If75c0 b/549860940
API Changes
- Added
setConnectionPoolTimeout(timeout: Duration)toRoomDatabase.Builderto allow configuring the connection pool timeout. I24d07 b/404380974 - The following Room annotations now have
AnnotationTarget.PROPERTY:@ColumnInfo,@PrimaryKey,@Relation,@Embedded,@Ignoreand@ColumnTypeConverters. This API changes make Room be 'property-centric' instead of the 'field-centric'. Meaning Room can now use properties without backing fields as representation of entity columns or query data class result columns. The properties must still have a usable getter and either a usable setter or be part of the primary constructor so that Room can use them for DAO functions. I72058 b/438041176 b/521861812
Bug Fixes
- Fixed an issue on web and suspending drivers where cancelling a coroutine during a transaction could cause the database and connection to get into a bad state, preventing further usages. If75c0 b/549860940
- Support Kotlin
objectimplementingAutoMigrationSpec. Id4077 b/215012591 - Fix a regression that would cause Room to throw an
IllegalMonitorStateExceptionwhen using@Transactionwrapper DAO functions. I996d9 b/543285472 b/553140228 - Added built-in column type converter support for
kotlin.uuid.UuidinRoom. Icca77 b/525093264 - Room's Kotlin code generator now suppresses
OPT_IN_USAGE_ERRORandOPT_IN_USAGEon generated_Implclasses, allowing DAOs and Entities to use@RequiresOptIn-annotated types (such askotlin.uuid.Uuid) without requiring-opt-ininfreeCompilerArgs. I013bf b/410607888 - Room suspending queries and invalidation tracker operations will now throw an
IllegalStateExceptionwhen called after the database has been closed. I5755a b/543076356 - Fix a deadlock that can occur on
@TransactionDAO wrapper suspend functions that would do a context switch and had theAndroidSQLiteDriverconfigured. 886ac5 b/543285472 - Fix an unnecessary
println()during processing. Thanks to Simon Marquis! b/532893031 - Fix an issue regarding other database usages within another database's transaction mixing in leading undefined behaviour. b/437068912
API Changes
- Allowed null initial state in
SavedStateRegistryconstructor. I76006
Major features of 1.1.0
- Unified Security State Querying (
SecurityPatchState): Provides a unified programmatic view of on-device security patch levels across the system, system modules (Mainline), and kernel. - Pending Update Discovery (
queryAllAvailableUpdates()&fetchAvailableSecurityPatchLevel()): Aggregates data from registered on-device update providers to discover pending security updates across system components. - Granular Vulnerability Verification (
areCvesPatched()): Checks whether specific CVEs have been resolved on the device, including evaluating vendor supplemental patch records. - Update Readiness Assessment (
isDeviceFullyUpdated()): Provides high-level checks to evaluate whether a device has installed all available security patches. - Vulnerability Reporting (
createVulnerabilityReportUrl()): Generates standardized URLs for security bulletins and CVE details. - Kotlin & Java Compatibility: Complete asynchronous support via Kotlin Coroutines / Flow and Java
ListenableFutureAPIs.
Major features of 1.0.0:
UpdateInfoServiceFramework: Base service enabling OEM OTA clients and update services to declare and broadcast available security update metadata.- Available Security Patch Level (ASPL): Standardizes reporting the newest available patch level across system and subsystem updates to on-device consumers.
- Kotlin & Java Compatibility: Provides
UpdateInfoServicefor Kotlin Coroutines (fetchUpdates()) andListenableFutureUpdateInfoServicefor Java clients using GuavaListenableFuture(fetchUpdatesAsync()). - Extensible Provider Configuration: Includes configurable caching, rate-limiting, and error-handling hooks.
Bug Fixes
- Fixed an issue on web and suspending drivers where cancelling a coroutine during a transaction could cause the database and connection to get into a bad state, preventing further usages. If75c0 b/549860940
Bug Fixes
- Fixed an issue on web and suspending drivers where cancelling a coroutine during a transaction could cause the database and connection to get into a bad state, preventing further usages. If75c0 b/549860940
- Cleans up API information Ia8066
- This release updates the Compose for Wear OS 1.7.0 version to a release candidate, but there are otherwise no significant changes from the 1.7.0-beta02 release.
API Changes
- Added
RemoteEdgeButtoncomponent towear:compose:remote:remote-material3. I017a6 - Made indeterminate
RemoteCircularProgressIndicatorandRemoteProgressIndicatorDefaults.IndeterminateStrokeWidthpublic APIs. I937fc - Made
RemoteTimeTextandRemoteTimeTextDefaultspublic APIs. I83809 - Added
RemoteLinearProgressIndicatorcomponent. I828f3 - Added
RemoteModifier.defaultMinSize. If86a5 - Added intro and outro animations to
RemoteCurvedProgressIndicator. I68012 - Updated
RemoteCircularProgressIndicatorto default toRemoteProgressIndicatorDefaults.DefaultStrokeWidth(12.rdp) and exposedlargeStrokeWidth(screenSize)andsmallStrokeWidth(screenSize). I1f16e
Bug Fixes
compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. I05b0f
New Features
- Added
Profile#setCrossOriginIsolatedAllowlistandProfile#getCrossOriginIsolatedAllowlistAPI to opt out of origin isolation security features, allowing the use ofSharedArrayBuffer. I889d3 b/545572447
API Changes
- Renames
PrefetchParameters#isJavaScriptEnabledtoincludeClientHints.isJavaScriptEnabledis marked as deprecated. I269d3 b/537260697 - Adds
WEBVIEW_NAVIGATE_DRAIN_PREFETCHtoWebViewFeature, which can be used to determine whether Navigation#navigate will drain the prefetch queue before navigating to the new URL. I6a7a9 - Renames
Profile#addQuicHintstopreferQuicFor. I9a663
API Changes
- Add SPATIAL_API_V4 to
SpatialApiVersionsI71e7a