2024-05-29
Appcompat: v1.7.0
May 29, 2024
androidx.appcompat:appcompat:1.7.0 and androidx.appcompat:appcompat-resources:1.7.0 are released. Version 1.7.0 contains these commits.
Important changes since 1.6.0
AppCompatDialognow correctly sets theLifecycleOwner,SavedStateRegistryOwner, andOnBackPressedDispatcherOwneron the dialog's decor view via theViewTreeAPIs, fixing issues when hosting aComposeViewwithin anAppCompatDialog.AppCompatActivitynow sets theViewTreeOnBackPressedDispatcherOwnerso that it is possible to retrieve the dispatcher from the view.- Significantly improved the performance of
SupportMenuInflater. Locale.getDefault()now returns the system locale after a cold start.LinearLayoutCompatnow preserves margin layout params.
Dependency Updates
AppCompatnow depends on Activity 1.7.0.AppCompatnow depends on Fragment version 1.5.4.
Biometric: v1.4.0-alpha01
May 29, 2024
androidx.biometric:biometric:1.4.0-alpha01 and androidx.biometric:biometric-ktx:1.4.0-alpha01 are released. This version is developed in an internal branch and targets Android 15 Beta 2.
Bug Fixes
- Update UI to be consistent with platform changes in Android 15
Car App: v1.4.0
May 29, 2024
androidx.car.app:app-*:1.4.0 is released. Version 1.4.0 is a promotion of 1.4.0-rc02.
Important changes since 1.3.0
- Instrument Cluster map rendering for Navigation apps
- New Tab Template for improved app layout / usability
- Support for Adaptive task limits
- Secondary actions on list elements
Compose Animation: v1.7.0-beta02
May 29, 2024
androidx.compose.animation:animation-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
Compose Foundation: v1.7.0-beta02
May 29, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
API Changes
- Adds an experimental API for configuring prefetch behavior of
LazyGridssimilar to the existing experimental API forLazyLists. This includes support for prefetching items in nestedLazyGrids. Similiar toLazyListPrefetchStrategy, the implementation default is to prefetch the first 2 nested items of each grid, but this can be configured by the newLazyGridPrefetchStrategy(nestedPrefetchItemCount)andLazyListPrefetchStrategy#onNestedPrefetchAPIs. (I591c4) - Renamed
SemanticsProperties.EditabletoIsEditableand changesSemanticsPropertyReceiver.editableto a valisEditable. The property is now a boolean and always specified by text fields. (I8acd8) - Moved
basicMarqueedefault values intoMarqueeDefaultsobject. (I12ff6) - Renamed
basicMarqueedelayMillisparameter torepeatDelayMillis. (I12ff6) - Update API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material (I5477b)
Bug Fixes
- Renamed
LayoutCoordinates.introducesFrameOfReferencetoLayoutCoordinates.introducesMotionFrameOfReferenceto better reflect its purpose. Renamed related function to calculate coordinates based on that flag. (I3a330) - Removed 'Default' from the
MarqueeDefaultsproperties. (I1d8a0) - Removed 'Marquee' from
MarqueeDefaultsproperties. (Iad4f4) - Removed
TextLinkStylesfrom theTextStyleclass. Instead,TextLinkStylesis part of theLinkAnntationconstructor and theAnnotatedString.fromHtmlmethod (I90b2b) - Fixed a bug where Pager would snap when flinging towards a bound while already settled at the bound. (I9f373, b/339171222)
- BTF2 now has correct mouse selection gestures. (Ibe8c6)
External Contribution
- Resubmit 'Make compose/measure time calculation content-type based in prefetch to improve accuracy' (Iea622)
- Make compose/measure time calculation content-type based in prefetch to improve accuracy (Ibccb1)
- Make
WindowInsetsPaddingmodifiers available from common source set (I070b2)
Compose Material: v1.7.0-beta02
May 29, 2024
androidx.compose.material:material-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
API Changes
- Update API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material (I5477b)
Compose Material3: v1.3.0-beta02
May 29, 2024
androidx.compose.material3:material3-*:1.3.0-beta02 is released. Version 1.3.0-beta02 contains these commits.
API Changes
Modifier.pullToRefreshIndicatorsupports elevation, update Pull To Refresh APIs to have enabled be a boolean, instead of a lambda. Support content alignment inPullToRefreshBox(I75679)- Making
TooltipScopea sealed interface and creating an internal implementation to use inTooltipBoxand Label. (I3833e) - Added two new modifiers to
CarouselItemScope-maskClipandmaskBorder- to easily add a shape and border to any carousel item (Id67a1) TimePickerStateis now an interface and allows for setting the time (I88546)- Updated API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material. (I5477b)
Bug Fixes
ModalBottomSheetstatus and nav bar icons now respond to dark theme status. (Ie1fe7, b/338342149)- Added close sheet semantics to
ModalBottomSheetscrim. (0e61cb,b/328801864)
External Contribution
- Make
androidx.compose.material3.AlertDialogavailable from common source set (Ia33f5) - Make
ModalBottomSheetavailable from common source set (Id7cc7)
Compose Material3 Adaptive: v1.0.0-beta02
May 29, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Compose Runtime: v1.7.0-beta02
May 29, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
Compose UI: v1.7.0-beta02
May 29, 2024
androidx.compose.ui:ui-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
API Changes
- Renamed
SemanticsProperties.EditabletoIsEditableand changesSemanticsPropertyReceiver.editableto a valisEditable. The property is now a boolean and always specified by text fields. (I8acd8) - Rename accessibility benchmark parameter. (I3d440)
- Updated API for styling the links:
TextLinkStylesis now part of theLinkAnnotationconstructor and theAnnotatedString.fromHtmlmethod (I90b2b). Also removed theTextDefaultsfrom material (I5477b)
Bug Fixes
- Renamed
LayoutCoordinates.introducesFrameOfReferencetoLayoutCoordinates.introducesMotionFrameOfReferenceto better reflect its purpose. Renamed related function to calculate coordinates based on that flag. (I3a330)
Concurrent: v1.2.0-rc01
May 29, 2024
androidx.concurrent:concurrent-futures:1.2.0-rc01 and androidx.concurrent:concurrent-futures-ktx:1.2.0-rc01 are released. Version 1.2.0-rc01 contains these commits.
credentials: v1.5.0-alpha01
May 29, 2024
androidx.credentials:credentials:1.5.0-alpha01 and androidx.credentials:credentials-play-services-auth:1.5.0-alpha01 are released. This version is developed in an internal branch.
New Features
Secondary UI experience for credential selection: App developers that call Credential Manager APIs at sign-in moments to present the user with a selector, are now able to use new APIs to associate the same GetCredentialRequest with a given view, such as a username or a password field.
Subsequently, when the user focuses on one of these views, the corresponding request will be sent to Credential Manager. The resulting credentials are aggregated across providers and displayed in autofill like secondary UIs, such as keyboard or dropdown suggestions. As such when all APIs are used together, the user is first presented with a selector, and if dismissed and taps on one of the fields mentioned above, is then presented with keyboard/dropdown suggestions.
API Changes
- A
PendingGetCredentialRequestclass that takes in a (pre-existing)GetCredentialRequest, and a callback to be invoked with a (pre-existing)GetCredentialResponse, when available asynchronously. - New extension setter API for the android View class, that allows setting an instance of
PendingGetCredentialRequest. Usage of this API will prepare the given view, such that when the user taps on it, credential suggestions will show up on secondary UI experiences like keyboard/dropdown suggestions.
credentials: v1.3.0-beta01
May 29, 2024
androidx.credentials:credentials:1.3.0-beta01 and androidx.credentials:credentials-play-services-auth:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
API Changes
- Rename the
reateCredentialRequestBundle conversion API. (I46b95) - Update the priorityhints API (Ida554)
Fragment: v1.8.0-rc01
May 29, 2024
androidx.fragment:fragment-*:1.8.0-rc01 is released. Version 1.8.0-rc01 contains these commits.
Bug Fixes
- The
onBackStackChangeCancelledcallback on theFragmentManagers OnBackStackChangedListenerinterface now fires as part of executing operations inFragmentManager, moving it closer in line with the timing of theonBackStackChangeCommittedcallback. (I5ebfb, b/332916112)
Graphics Core: v1.0.0
May 29, 2024
androidx.graphics:graphics-core:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Official stable release of the graphics-core library. Includes minor bug fixes and performance improvements from 1.0.0-rc01
Lifecycle: v2.8.1
May 29, 2024
androidx.lifecycle:lifecycle-*:2.8.1 is released. Version 2.8.1 contains these commits.
Bug Fixes
lifecycle-viewmodel-composenow only has a common dependency oncompose-runtime, removing its common dependency oncompose-ui. The Android artifact retains itscompose-uifor compatibility. (aosp/3079334, b/339562627)ViewModel’ssaveableintegration using property delegates now uses the class name as part of the auto-generated key, avoiding conflicts if multiple classes use the sameSavedStateHandle. (aosp/3063463)
Navigation: v2.8.0-beta02
May 29, 2024
androidx.navigation:navigation-*:2.8.0-beta02 is released. Version 2.8.0-beta02 contains these commits.
Bug Fixes
- Fixed
ClassCastExceptioncrash when usingNavBackStackEntry.toRoutewith a nullable customNavType. (I1c29b, b/342239473) - Fixed Navigation back stack state restoration issues caused when attempting to restore a back stack entry that is not reachable via id from the current destination. Since routes are backed by ids, destinations built with routes were also affected. This also fixes a crash caused by calling
clearBackStack()that had the same underlying issue. (I423c3, b/339908057)
Room: v2.7.0-alpha03
May 29, 2024
androidx.room:room-*:2.7.0-alpha03 is released. Version 2.7.0-alpha03 contains these commits.
Bug Fixes
- Fix various issues regarding Kotlin 2.0 and KSP 2.0. Note that Kotlin 2.0 with KSP 2 support is not complete and the team is working on the various APIs and behavior changes in the new compiler. (b/314151707)
Sqlite: v2.5.0-alpha03
May 29, 2024
androidx.sqlite:sqlite-*:2.5.0-alpha03 is released. Version 2.5.0-alpha03 contains these commits.
Bug Fixes
- Fix an issue with the
BundledSQLiteDriverwhere databases created with it would contain the C null terminator character. (b/340822359)
Wear Core: v1.0.0-alpha01
May 29, 2024
androidx.wear:wear-core:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
API Changes
- Added a new class
WearApiVersionhelperto assist with runtime API compatibility checking on Wear. Clients can use this static helper class and the provided method (#isApiVersionAtLeast(VERSION)) to check compatibility.
Wear Compose: v1.4.0-beta02
May 29, 2024
androidx.wear.compose:compose-*:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.
Bug Fixes
- We have increased the boundary width passed to screen readers from curved text in order to address issues with truncation (Id865f).
- We have constrained the boundary of the
HorizontalPageIndicatorthat was passed to screen readers - previously the indicator occupied the full screen (Id8d7a).
wear protolayout: v1.2.0-alpha04
May 29, 2024
androidx.wear.protolayout:protolayout-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
API Changes
- Added asymmetrical corners API to be able to specify separately each corner’s radius with 2 values. (Icbd69)
- Extended the
FontSettingAPI to include: - Added font family API to
FontStyleto allow specifying an order list of which font families should be used. (Iba9f5) - Renamed constants for space height between content and secondary label in Material’s
LayoutDefaultsthat were initially prefixed with “Edge content” to be more generic as they can be applied to bothPrimaryLayoutandEdgeContentLayout. (I4dc32)
Bug Fixes
- Renamed naming for variable font axes from
axisNametoaxisTag. (I02ba3)
Wear Tiles: v1.4.0-alpha04
May 29, 2024
androidx.wear.tiles:tiles-*:1.4.0-alpha04 is released. Version 1.4.0-alpha04 contains these commits.
WindowManager: v1.3.0
May 29, 2024
androidx.window:window-*:1.3.0 is released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- Kotlin Multiplatform support for Window Size Classes.