Skip to content

2022-05-18

Choose a tag to compare

@github-actions github-actions released this 18 May 18:48
· 212 commits to main since this release
6c5a062

Activity: v1.6.0-alpha04

May 18, 2022

androidx.activity:activity:1.6.0-alpha04 and androidx.activity:activity-ktx:1.6.0-alpha04 are released.

Bug Fixes

  • Fixed an error in PickVisualMediaRequest where attempting to create a request, either via the Builder or the top level Kotlin function, would result in a stack overflow.
  • Integrated changes in Android 13 Dev Beta 2 into ComponentDialog.

Annotation: v1.4.0-beta01

May 18, 2022

androidx.annotation:annotation:1.4.0-beta01 is released. Version 1.4.0-beta01 contains these commits.

  • No changes since the last alpha. API surface has been locked down for Beta release.

Appcompat: v1.6.0-alpha04

May 18, 2022

androidx.appcompat:appcompat:1.6.0-alpha04 and androidx.appcompat:appcompat-resources:1.6.0-alpha04 are released. This library was developed against a private pre-release branch, so no commit log is available.

API Changes

  • Add an API to override SwitchCompat width restriction for use by MDC-Android

Bug Fixes

  • Avoid managed configuration when config changes outside of attachBaseConfig

CameraX: v1.2.0-alpha01

May 18, 2022

androidx.camera:camera-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

New Features

  • New library camera-mlkit-vision is launched

Bug Fixes

  • Fixed QualitySelector fails to record a UHD video when a fallback strategy is enabled. The issue happens when VideoCapture is bound with ImageCapture and Preview on a FULL or higher hardware level camera device. A fallback strategy of QualitySelector causes VideoCapture incorrectly to get a FHD resolution. UHD resolution is actually supported for this use case combination and should be adopted. (I0e788, b/230651237)
  • Fixed NullPointerException on ImageCapture.takePicture(). (I92366, b/230454568, b/229766155)
  • Fix async pause behavior of androidx.camera.video.Recorder (Ia8ce8)

Compose Animation: v1.2.0-beta02

May 18, 2022

androidx.compose.animation:animation:1.2.0-beta02, androidx.compose.animation:animation-core:1.2.0-beta02, and androidx.compose.animation:animation-graphics:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits.

Compose Compiler: v1.2.0-beta02

May 18, 2022

androidx.compose.compiler:compiler:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.

Compose Foundation: v1.2.0-beta02

May 18, 2022

androidx.compose.foundation:foundation:1.2.0-beta02 and androidx.compose.foundation:foundation-layout:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits.

  • Downloadable font resolution that does not change the layout size of Text or TextField previously would not redraw, leading to stale font display. This bugfix ensures that text layout always triggers redraw (b/229727404). (I1d49e, b/229727404)

Compose Material: v1.2.0-beta02

May 18, 2022

androidx.compose.material:material-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.

Compose Material 3: v1.0.0-alpha12

May 18, 2022

androidx.compose.material3:material3:1.0.0-alpha12 and androidx.compose.material3:material3-window-size-class:1.0.0-alpha12 are released. Version 1.0.0-alpha12 contains these commits.

Bug Fixes

Compose Runtime: v1.2.0-beta02

May 18, 2022

androidx.compose.runtime:runtime-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.

Compose UI: v1.2.0-beta02

May 18, 2022

androidx.compose.ui:ui-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.

API Changes

  • Reusing functionality in other preview types (I19f39)

Bug Fixes

  • ViewCompositionStrategy.DisposeOnDetachedFromWindowIfNotInPoolingContainer has been renamed to DisposeOnDetachedFromWindowOrReleasedFromPool to better reflect that when disposals do occur, rather than simply when they do not occur. (If15ca)

Core and Core-ktx: v1.9.0-alpha04

May 18, 2022

androidx.core:core:1.9.0-alpha04 and androidx.core:core-ktx:1.9.0-alpha04 are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.

Bug Fixes

  • Revert deprecation of BuildCompat.isAtLeastT() and accompanying SDK_INT checks

Core Google Shortcuts: v1.0.1

May 18, 2022

androidx.core:core-google-shortcuts:1.0.1 is released. Version 1.0.1 contains these commits.

Bug Fixes

  • Fix proguard rule to prevent a method from being unintentionally removed

Core Splashscreen: v1.0.0-rc01

May 18, 2022

androidx.core:core-splashscreen:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.

  • No changes since the last beta release.

Core and Core-ktx: v1.8.0-rc02

May 18, 2022

androidx.core:core:1.8.0-rc02 and androidx.core:core-ktx:1.8.0-rc02 are released. Version 1.8.0-rc02 contains these commits.

Bug Fixes

  • Cast OnSharedElementsReadyListener to fully-qualified platform class to prevent ClassCastException (0029fed)

Customview Poolingcontainer: v1.0.0-beta02

May 18, 2022

androidx.customview:customview-poolingcontainer:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.

  • No changes, needed to support Compose 1.2.0-beta02 versions.

ProfileInstaller: v1.2.0-beta02

May 18, 2022

androidx.profileinstaller:profileinstaller:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.

  • No changes, needed to support Compose 1.2.0-beta02 versions.

Wear Compose: v1.0.0-beta02

May 18, 2022

androidx.wear.compose:compose-foundation:1.0.0-beta02, androidx.wear.compose:compose-material:1.0.0-beta02, and androidx.wear.compose:compose-navigation:1.0.0-beta02 are released. Version 1.0.0-beta02 contains these commits.

New Features

  • Picker now always responds to scroll events even when in read-only mode. This avoids the need for users to first select a Picker by tapping, before they can scroll. In read-only mode, options other than that currently selected are obscured by a shim in gradientColor. (I72925)
  • We have changed the UX behavior of Chip/ToggleChip/CompactChip/SplitToggleChip to stop them from doing fillMaxWidth by default. Instead they will grow to fit their contents. To keep the previous behavior simply add modifier = Modifier.fillMaxWidth()(I60a2c, b/232206371)

Bug Fixes

  • CurvedTextStyle constructor taking a TextStyle now also respects the fontWeight(This may be added to the constructor and copy methods in future revisions of the API) (Ieebb9)
  • Edge swiping improvements. When Modifier.edgeSwipeToDismiss is used and a swipe to the left is triggered from the edge area, it no longer triggers swipe-to-dismiss when swipe direction changes to the right. Previously, it was possible to trigger swipe-to-dismiss by swiping to the left and then swiping to the right.(I916ea)
  • HorizontalPageIndicator now shows up to 6 pages on the screen. If there are more than 6 pages in total, it shows a half-size indicator on the left or right, with a smooth transition between pages.(I2ac29)
  • Improved default snap behavior on ScalingLazyColumn and Picker (I49539)
  • Edge swiping improvements. When Modifier.edgeSwipeToDismiss is used, swipe-to-dismiss only triggers when first touch lands on the edge and swiped to the right, Previously it was possible to trigger swipe-to-dismiss by swiping from any part of the screen if a scroll reaches the start.(I8ca2a)

Wear Tiles: v1.1.0-alpha07

May 18, 2022

androidx.wear.tiles:tiles-*:1.1.0-alpha07 is released. Version 1.1.0-alpha07 contains these commits.

API Changes

  • Getters related to different setters for content have now been added to the ProgressIndicatorLayout and PrimaryLayout. Now all setters in these classes have matching getters.(Iddbe5) (Iabe4e)
  • Getter for content description in Material Components can return null since its setter is not mandatory.
  • Attempting to create a Button with no content passed in will result in IllegalArgumentException. (I7fc0c)
  • Icon color related fields in ChipColors have been renamed from iconTintColor to iconColor. (Ic053b)

Bug Fixes

  • Added androidTests for Layouts in Tiles Material. (I96404)

Wear Watchface: v1.1.0-rc01

May 18, 2022

androidx.wear.watchface:watchface-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.

New Features

  • We’ve made some usability tweaks to watchface XML support, making it easier to specify ComplicationSlotBounds and supporting references. Experimentation with edge complication BoundingArc continues, plumbing it through to drawHighlight although it’s not recommended for use at that time.

API Changes

  • We've added an experimental overload of drawHighlight which accepts a BoundingArc parameter. (I705f8)
  • Watch face XML now supports resource references. It lets you use the same constants both in XML and your code. (I3ef61)
  • We've added the ability to define ComplicationSlotBounds in center_x, center_y, size_x, size_y form. Now it is also possible to use different units (i.e. dp) using resource references. (Iace98)

Bug Fixes

  • Fix runBlockingWithTracing which was running tasks on the wrong context.(4f595fe)
  • Make BaseEditorSession.close synchronous. The problem with BaseEditorSession.close being asynchronous is that we release the ComplicationDataSourceInfoRetriever too late leading to warning spam in logcat. This was probably harmless but logcat spam is distracting and should be avoided.(35a5308)

Webkit: v1.5.0-alpha01

May 18, 2022

androidx.webkit:webkit:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.

New Features

  • Add a new getVariationsHeader() method on WebViewCompat to get the X-Client-Data header value sent by the WebView. The returned value will be a base64 encoded ClientVariations protobuf.
  • Add APIs on WebSettingsCompat to allow/disallow algorithmic darkening for app with targetSdk >= 33. (I29597)

API Changes

  • Add a new method in ProxyCofig.Builder to set reverse bypass. Setting reverse bypass to true means only URLs in the bypass list will use the proxy settings. (I9eaa2, b/168728599)

Bug Fixes

  • Fixed a typo in dark theme documentation. (I36ebf, b/194343633)
  • Fixed a bug where WebViewAssetLoader.Builder methods were unintentionally order-dependent. (If420d, b/182196765)