Skip to content

2024-05-29

Choose a tag to compare

@github-actions github-actions released this 29 May 18:38
· 85 commits to main since this release

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

  • AppCompatDialog now correctly sets the LifecycleOwner, SavedStateRegistryOwner, and OnBackPressedDispatcherOwner on the dialog's decor view via the ViewTree APIs, fixing issues when hosting a ComposeView within an AppCompatDialog.
  • AppCompatActivity now sets the ViewTreeOnBackPressedDispatcherOwner so 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.
  • LinearLayoutCompat now preserves margin layout params.

Dependency Updates

  • AppCompat now depends on Activity 1.7.0.
  • AppCompat now 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 LazyGrids similar to the existing experimental API for LazyLists. This includes support for prefetching items in nested LazyGrids. Similiar to LazyListPrefetchStrategy, the implementation default is to prefetch the first 2 nested items of each grid, but this can be configured by the new LazyGridPrefetchStrategy(nestedPrefetchItemCount) and LazyListPrefetchStrategy#onNestedPrefetch APIs. (I591c4)
  • Renamed SemanticsProperties.Editable to IsEditable and changes SemanticsPropertyReceiver.editable to a val isEditable. The property is now a boolean and always specified by text fields. (I8acd8)
  • Moved basicMarquee default values into MarqueeDefaults object. (I12ff6)
  • Renamed basicMarquee delayMillis parameter to repeatDelayMillis. (I12ff6)
  • Update API for styling the links: moved the TextLinkStyles to the TextStyle and removed the TextDefaults from material (I5477b)

Bug Fixes

  • Renamed LayoutCoordinates.introducesFrameOfReference to LayoutCoordinates.introducesMotionFrameOfReference to better reflect its purpose. Renamed related function to calculate coordinates based on that flag. (I3a330)
  • Removed 'Default' from the MarqueeDefaults properties. (I1d8a0)
  • Removed 'Marquee' from MarqueeDefaults properties. (Iad4f4)
  • Removed TextLinkStyles from the TextStyle class. Instead, TextLinkStyles is part of the LinkAnntation constructor and the AnnotatedString.fromHtml method (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 WindowInsetsPadding modifiers 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 TextLinkStyles to the TextStyle and removed the TextDefaults from 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.pullToRefreshIndicator supports elevation, update Pull To Refresh APIs to have enabled be a boolean, instead of a lambda. Support content alignment in PullToRefreshBox (I75679)
  • Making TooltipScope a sealed interface and creating an internal implementation to use in TooltipBox and Label. (I3833e)
  • Added two new modifiers to CarouselItemScope - maskClip and maskBorder - to easily add a shape and border to any carousel item (Id67a1)
  • TimePickerState is now an interface and allows for setting the time (I88546)
  • Updated API for styling the links: moved the TextLinkStyles to the TextStyle and removed the TextDefaults from material. (I5477b)

Bug Fixes

  • ModalBottomSheet status and nav bar icons now respond to dark theme status. (Ie1fe7, b/338342149)
  • Added close sheet semantics to ModalBottomSheet scrim. (0e61cb,b/328801864)

External Contribution

  • Make androidx.compose.material3.AlertDialog available from common source set (Ia33f5)
  • Make ModalBottomSheet available 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.Editable to IsEditable and changes SemanticsPropertyReceiver.editable to a val isEditable. The property is now a boolean and always specified by text fields. (I8acd8)
  • Rename accessibility benchmark parameter. (I3d440)
  • Updated API for styling the links: TextLinkStyles is now part of the LinkAnnotation constructor and the AnnotatedString.fromHtml method (I90b2b). Also removed the TextDefaults from material (I5477b)

Bug Fixes

  • Renamed LayoutCoordinates.introducesFrameOfReference to LayoutCoordinates.introducesMotionFrameOfReference to 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 PendingGetCredentialRequest class 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 reateCredentialRequest Bundle 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 onBackStackChangeCancelled callback on the FragmentManagers OnBackStackChangedListener interface now fires as part of executing operations in FragmentManager, moving it closer in line with the timing of the onBackStackChangeCommitted callback. (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-compose now only has a common dependency on compose-runtime, removing its common dependency on compose-ui. The Android artifact retains its compose-ui for compatibility. (aosp/3079334, b/339562627)
  • ViewModel’s saveable integration using property delegates now uses the class name as part of the auto-generated key, avoiding conflicts if multiple classes use the same SavedStateHandle. (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 ClassCastException crash when using NavBackStackEntry.toRoute with a nullable custom NavType. (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 BundledSQLiteDriver where 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 WearApiVersionhelper to 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 HorizontalPageIndicator that 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 FontSetting API to include:
    • font feature setting such as setting the font to be tabular. (If12b7)
    • font variation setting such as setting custom width for variable fonts. (I2b36d)
  • Added font family API to FontStyle to 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 LayoutDefaults that were initially prefixed with “Edge content” to be more generic as they can be applied to both PrimaryLayout and EdgeContentLayout. (I4dc32)

Bug Fixes

  • Renamed naming for variable font axes from axisName to axisTag. (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.