Releases: mahozad/androidx-release-notes
2022-10-26
Activity: v1.6.1
October 24, 2022
androidx.activity:activity:1.6.1, androidx.activity:activity-compose:1.6.1, and androidx.activity:activity-ktx:1.6.1 are released. Version 1.6.1 contains these commits.
Bug Fixes
- Fixed an issue with the
PickMultipleVisualMediaActivity Result contract not launching on Android R devices when using the default value formaxItems. (Ie2776, b/249182130)
Activity: v1.7.0-alpha02
October 24, 2022
androidx.activity:activity:1.7.0-alpha02, androidx.activity:activity-compose:1.7.0-alpha02, and androidx.activity:activity-ktx:1.7.0-alpha02 are released. Version 1.7.0-alpha02 contains these commits.
Bug Fixes
- From Activity
1.6.1: Fixed an issue with thePickMultipleVisualMediaActivity Result contract not launching on Android R devices when using the default value formaxItems. (Ie2776, b/249182130)
Benchmark: v1.2.0-alpha06
October 24, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
API Changes
BaselineProfileRuleno longer requires root on Android 13 (API 33), and is no longer experimental. (Ie0a7d, b/250083467, b/253094958)- This change also fixes how profiles from an app are flushed to disk on unrooted devices, but requires updating the target app's profileinstaller dependency.
- To use
BaselineProfileRuleorCompilationMode.Partial(warmupIterations)on an unrooted device, you must also update your target app to useandroidx.profileinstaller.profileinstaller:1.3.0-alpha01. This enables flushing the profile to disk correctly, so that it can be compiled/extracted.
Bug Fixes
- Fixes
SampledProfilingcrash on API 33+. (I40743, b/236109374)
Browser: v1.5.0-alpha01
October 24, 2022
androidx.browser:browser:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
New Features
- Added
CustomTabsIntent.Builder#setInitialActivityHeightPx, which allows developers to specify the initial launch height of a Custom Tab, and optionally the resize behavior (fixed or resizable). (I48bd3) - Added
CustomTabsIntent.Builder#setToolbarCornerRadiusDpwhich allows developers to specify the toolbar's top corner radius. (I48bd3) - Added
CustomTabsIntent.Builder#setCloseButtonPositionwhich allows developers to set the position of the close button on the toolbar. (I48bd3) - Added an
onActivityResizedcallback method to interface CustomTabsCallback to let developers know when a Custom Tab is resized (expanded to full height or minimized back down to initial launch height). (Id99ce) - Populates the current app's language in Accept-Language by default to align to Android’s per-app language experience. (I3d1d7)
API Changes
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. This was developed in an internal branch. b/238790278 for reference.
CameraX: v1.2.0-rc01
October 24, 2022
androidx.camera:camera-*:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.
API Changes
- Add
setStreamUseCaseAPI forOutputConfiguration. User can specify the Stream Use Case for the stream session, overrding CameraX's internal logics to choose Stream Use Case in order to optimize according to their need. (Ib1a95)
Bug Fixes
- Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN)
Preview/VideoCapturestretched issue on API level 27 devices. Resolution 1920x1080 causes thePreview/VideoCaptureimages to be stretched. Added workaround to not select the 1920x1080 resolution for Preview orVideoCaptureto avoid the image stretched problem. (I0e04e) - Fixed low framerate when using
VideoCaptureand Preview use cases with 16:9 aspect ratio on some Huawei devices. (If8c88, b/223643510) - Fixed camera open failure when Preview's
SurfaceProvideris not set. As part of the fix, Preview with noSurfaceProviderset will now not be configured into the camera capture session. (I99681)
Compose Animation: v1.3.0
October 24, 2022
androidx.compose.animation:animation:1.3.0, androidx.compose.animation:animation-core:1.3.0, and androidx.compose.animation:animation-graphics:1.3.0 are released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- New set of easing functions are made stable
Compose Foundation: v1.3.0
October 24, 2022
androidx.compose.foundation:foundation:1.3.0 and androidx.compose.foundation:foundation-layout:1.3.0 are released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- Experimental versions of
LazyVerticalStaggeredGridandLazyHorizontalStaggeredGridwere introduced. SnapFlingBehavior,rememberSnapFlingBehaviorand other corresponding APIs were added as experimental.Modifier.clickab...
2022-10-20
Activity: v1.6.1
October 24, 2022
androidx.activity:activity:1.6.1, androidx.activity:activity-compose:1.6.1, and androidx.activity:activity-ktx:1.6.1 are released. Version 1.6.1 contains these commits.
Bug Fixes
- Fixed an issue with the
PickMultipleVisualMediaActivity Result contract not launching on Android R devices when using the default value formaxItems. (Ie2776, b/249182130)
Activity: v1.7.0-alpha02
October 24, 2022
androidx.activity:activity:1.7.0-alpha02, androidx.activity:activity-compose:1.7.0-alpha02, and androidx.activity:activity-ktx:1.7.0-alpha02 are released. Version 1.7.0-alpha02 contains these commits.
Bug Fixes
- From Activity
1.6.1: Fixed an issue with thePickMultipleVisualMediaActivity Result contract not launching on Android R devices when using the default value formaxItems. (Ie2776, b/249182130)
Benchmark: v1.2.0-alpha06
October 24, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha06 is released. Version 1.2.0-alpha06 contains these commits.
API Changes
BaselineProfileRuleno longer requires root on Android 13 (API 33), and is no longer experimental. (Ie0a7d, b/250083467, b/253094958)- This change also fixes how profiles from an app are flushed to disk on unrooted devices, but requires updating the target app's profileinstaller dependency.
- To use
BaselineProfileRuleorCompilationMode.Partial(warmupIterations)on an unrooted device, you must also update your target app to useandroidx.profileinstaller.profileinstaller:1.3.0-alpha01. This enables flushing the profile to disk correctly, so that it can be compiled/extracted.
Bug Fixes
- Fixes
SampledProfilingcrash on API 33+. (I40743, b/236109374)
Browser: v1.5.0-alpha01
October 24, 2022
androidx.browser:browser:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
New Features
- Added
CustomTabsIntent.Builder#setInitialActivityHeightPx, which allows developers to specify the initial launch height of a Custom Tab, and optionally the resize behavior (fixed or resizable). (I48bd3) - Added
CustomTabsIntent.Builder#setToolbarCornerRadiusDpwhich allows developers to specify the toolbar's top corner radius. (I48bd3) - Added
CustomTabsIntent.Builder#setCloseButtonPositionwhich allows developers to set the position of the close button on the toolbar. (I48bd3) - Added an
onActivityResizedcallback method to interface CustomTabsCallback to let developers know when a Custom Tab is resized (expanded to full height or minimized back down to initial launch height). (Id99ce) - Populates the current app's language in Accept-Language by default to align to Android’s per-app language experience. (I3d1d7)
API Changes
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. This was developed in an internal branch. b/238790278 for reference.
CameraX: v1.2.0-rc01
October 24, 2022
androidx.camera:camera-*:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.
API Changes
- Add
setStreamUseCaseAPI forOutputConfiguration. User can specify the Stream Use Case for the stream session, overrding CameraX's internal logics to choose Stream Use Case in order to optimize according to their need. (Ib1a95)
Bug Fixes
- Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN)
Preview/VideoCapturestretched issue on API level 27 devices. Resolution 1920x1080 causes thePreview/VideoCaptureimages to be stretched. Added workaround to not select the 1920x1080 resolution for Preview orVideoCaptureto avoid the image stretched problem. (I0e04e) - Fixed low framerate when using
VideoCaptureand Preview use cases with 16:9 aspect ratio on some Huawei devices. (If8c88, b/223643510) - Fixed camera open failure when Preview's
SurfaceProvideris not set. As part of the fix, Preview with noSurfaceProviderset will now not be configured into the camera capture session. (I99681)
Compose Animation: v1.3.0
October 24, 2022
androidx.compose.animation:animation:1.3.0, androidx.compose.animation:animation-core:1.3.0, and androidx.compose.animation:animation-graphics:1.3.0 are released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- New set of easing functions are made stable
Compose Foundation: v1.3.0
October 24, 2022
androidx.compose.foundation:foundation:1.3.0 and androidx.compose.foundation:foundation-layout:1.3.0 are released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- Experimental versions of
LazyVerticalStaggeredGridandLazyHorizontalStaggeredGridwere introduced. SnapFlingBehavior,rememberSnapFlingBehaviorand other corresponding APIs were added as experimental.Modifier.clickable,Modifier.toggleable
2022-10-07
Annotation 1.0.1: Annotation 1.0.1-beta01
October 6, 2022
androidx.test:annotation:1.0.1-beta01 is released.
Dependency changes
- Update to kotlin stdlib 1.7.10
Runner 1.5.0: runner 1.5.0-beta01
October 6, 2022
androidx.test:runner:1.5.0-beta01 is released.
API changes
- Deprecate the '-e timeout' runtime parameter in favor of JUnit's Timeout rule.
- Add an AbstractFilter class.
Bug fixes
- Fix trace errors for long test names
- Handle case where app crashes before instrumentationResultPrinter is set.
Rules 1.4.1: rules 1.4.1-beta01
October 6, 2022
androidx.test:rules:1.4.1-beta01 is released.
Monitor aka Platform 1.6.0: monitor 1.6.0-beta01
October 6, 2022
androidx.test:monitor:1.6.0-beta01 is released.
Espresso 3.5.0: Espresso 3.5.0-beta01
October 6, 2022
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.5.0-beta01androidx.test.espresso:espresso-core:3.5.0-beta01androidx.test.espresso:espresso-contrib:3.5.0-beta01androidx.test.espresso:espresso-idling-resource:3.5.0-beta01androidx.test.espresso:espresso-intents:3.5.0-beta01androidx.test.espresso:espresso-remote:3.5.0-beta01androidx.test.espresso:espresso-web:3.5.0-beta01androidx.test.espresso.idling:idling-concurrent:3.5.0-beta01androidx.test.espresso.idling:idling-net:3.5.0-beta01
API changes
- Annotate new APIs introduced since 3.4.0 with NonNull/Nullable
- Add IntentsRule API
Bug fixes
- Make IdlingRegistry more thread-safe.
- Support other views for scrollTo()
Dependency changes
- Update to kotlin stdlib 1.7.10
- Update to jsr305:2.0.2
- Update to tagsoup:1.2.1
Core 1.5.0: Core Core-ktx 1.5.0-beta01
October 6. 2022
androidx.test:core:1.5.0-beta01 and androidx.test:core-ktx:1.5.0-beta01 are released.
API changes
- Annotate new APIs with NonNull/Nullable
JUnit Extensions 1.1.4: ext.junit 1.1.4-beta01
October 6, 2022
androidx.test.ext:junit:1.1.4-beta01 and androidx.test.ext:junit-ktx:1.1.4-beta01 are released.
Dependency changes
- Update to kotlin stdlib 1.7.10
Truth Extensions 1.5.0: ext.truth 1.5.0-beta01
October 6, 2022
androidx.test.ext:truth:1.5.0-beta01 is released.
API changes
- Annotate new APIs introduced since 1.4.0 with NonNull/Nullable
- Add BundleSubject#stringArray
Services 1.4.2: services 1.4.2-beta01
October 6, 2022
androidx.test.services:test-services:1.4.2-beta01 androidx.test.services:storage:1.4.2-beta01 are released.
Orchestrator 1.4.2: orchestrator 1.4.2-beta01
October 6, 2022
androidx.test:orchestrator:1.4.2-beta01 is released.
2022-10-05@06PM
Activity: v1.7.0-alpha01
October 5, 2022
androidx.activity:activity:1.7.0-alpha01, androidx.activity:activity-compose:1.7.0-alpha01, and androidx.activity:activity-ktx:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.
FullyDrawnReporter APIs
ComponentActivity now provides a FullyDrawnReporter instance that allows multiple components to report when they are ready for interaction. ComponentActivity will wait for all components to complete before calling reportFullyDrawn() on your behalf. These APIs take care of the timing requirements for you and do not need to be called as part of an onDraw call.
These APIs are encouraged to enable:
- Signaling the Android Runtime when startup completes, to ensure all of the code run during a multi-frame startup sequence is included and prioritized for background compilation.
- Signaling Macrobenchmark and Play Vitals when your application should be considered fully drawn for startup metrics, so you can track performance.
Two Activity Compose APIs have been added to make it more convenient to use the FullyDrawnReporter from individual composables:
ReportDrawnWhentakes a predicate (i.e.,list.count > 0) to indicate when your composable is ready for interaction.ReportDrawnAftertakes a suspending method that, when it completes, indicates that you are ready for interaction.
Appcompat: v1.7.0-alpha01
October 5, 2022
androidx.appcompat:appcompat:1.7.0-alpha01 and androidx.appcompat:appcompat-resources:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.
Bug Fixes
AppCompatActivitynow sets theViewTreeOnBackPressedDispatcherOwnerso that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)Locale.getDefault()now returns the system locale after a cold start (I6a94b)LinearLayoutCompatnow preserves margin layout params (Id2af4)
Asynclayoutinflater: v1.1.0-alpha01
October 5, 2022
androidx.asynclayoutinflater:asynclayoutinflater:1.1.0-alpha01 and androidx.asynclayoutinflater:asynclayoutinflater-appcompat:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
New Features
- Allows configuring a
AsyncLayoutFactorywhen initialzingAsyncLayoutInflater. For AppCompat context, this can be provided throughAsyncAppCompatFactorywhich initializes AppCompat views correctly. - The inflate API accepts an executor on which
OnInflateFinishedListenercallback can be triggered.
Benchmark: v1.2.0-alpha05
October 5, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
Bug Fixes
- Fix frame breakdown in Studio system trace viewer for benchmark captured traces (I3f3ae, b/239677443)
- Correct
FrameTimingMetricto listFrameOverrunas requiring API 31 instead of 29 (I716dd, b/220702554) - Set iteration in
BaselineProfileRule, and throw clearly if target package not installed (was already done for MacrobenchmarkRule). (Ic09a3, b/227991471)
Compose Animation: v1.3.0-rc01
October 5, 2022
androidx.compose.animation:animation:1.3.0-rc01, androidx.compose.animation:animation-core:1.3.0-rc01, and androidx.compose.animation:animation-graphics:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
Compose Foundation: v1.3.0-rc01
October 5, 2022
androidx.compose.foundation:foundation:1.3.0-rc01 and androidx.compose.foundation:foundation-layout:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
API Changes
- Introduced
lowVelocityAnimationSpecused by the approach step when there's not enough fling velocity to decay. (Iaeb27) - Added new experimental API Hyphens to support automatic hyphenation in Text (Iaa869)
Compose Material: v1.3.0-rc01
October 5, 2022
androidx.compose.material:material-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
Compose Material 3: v1.0.0-rc01
October 5, 2022
androidx.compose.material3:material3:1.0.0-rc01 and androidx.compose.material3:material3-window-size-class:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
API Changes
- Added slot param for supporting text to text field API (Iaac0d, b/227146125)
Compose Runtime: v1.3.0-rc01
October 5, 2022
androidx.compose.runtime:runtime-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
Bug Fixes
- Fixed
ArrayIndexOutOfBoundsExceptioncoming from the slot table (b/249076084)
Compose UI: v1.3.0-rc01
October 5, 2022
androidx.compose.ui:ui-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
API Changes
- Added new experimental API Hyphens to support automatic hyphenation in Text (
2022-10-05
Activity: v1.7.0-alpha01
October 5, 2022
androidx.activity:activity:1.7.0-alpha01, androidx.activity:activity-compose:1.7.0-alpha01, and androidx.activity:activity-ktx:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.
FullyDrawnReporter APIs
ComponentActivity now provides a FullyDrawnReporter instance that allows multiple components to report when they are ready for interaction. ComponentActivity will wait for all components to complete before calling reportFullyDrawn() on your behalf. These APIs take care of the timing requirements for you and do not need to be called as part of an onDraw call.
These APIs are encouraged to enable:
- Signaling the Android Runtime when startup completes, to ensure all of the code run during a multi-frame startup sequence is included and prioritized for background compilation.
- Signaling Macrobenchmark and Play Vitals when your application should be considered fully drawn for startup metrics, so you can track performance.
Two Activity Compose APIs have been added to make it more convenient to use the FullyDrawnReporter from individual composables:
ReportDrawnWhentakes a predicate (i.e.,list.count > 0) to indicate when your composable is ready for interaction.ReportDrawnAftertakes a suspending method that, when it completes, indicates that you are ready for interaction.
Appcompat: v1.7.0-alpha01
October 5, 2022
androidx.appcompat:appcompat:1.7.0-alpha01 and androidx.appcompat:appcompat-resources:1.7.0-alpha01 are released. Version 1.7.0-alpha01 contains these commits.
Bug Fixes
AppCompatActivitynow sets theViewTreeOnBackPressedDispatcherOwnerso that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)Locale.getDefault()now returns the system locale after a cold start (I6a94b)LinearLayoutCompatnow preserves margin layout params (Id2af4)
Asynclayoutinflater: v1.1.0-alpha01
October 5, 2022
androidx.asynclayoutinflater:asynclayoutinflater:1.1.0-alpha01 and androidx.asynclayoutinflater:asynclayoutinflater-appcompat:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
New Features
- Allows configuring a
AsyncLayoutFactorywhen initialzingAsyncLayoutInflater. For AppCompat context, this can be provided throughAsyncAppCompatFactorywhich initializes AppCompat views correctly. - The inflate API accepts an executor on which
OnInflateFinishedListenercallback can be triggered.
Benchmark: v1.2.0-alpha05
October 5, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
Bug Fixes
- Fix frame breakdown in Studio system trace viewer for benchmark captured traces (I3f3ae, b/239677443)
- Correct
FrameTimingMetricto listFrameOverrunas requiring API 31 instead of 29 (I716dd, b/220702554) - Set iteration in
BaselineProfileRule, and throw clearly if target package not installed (was already done for MacrobenchmarkRule). (Ic09a3, b/227991471)
Compose Animation: v1.3.0-rc01
October 5, 2022
androidx.compose.animation:animation:1.3.0-rc01, androidx.compose.animation:animation-core:1.3.0-rc01, and androidx.compose.animation:animation-graphics:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
Compose Foundation: v1.3.0-rc01
October 5, 2022
androidx.compose.foundation:foundation:1.3.0-rc01 and androidx.compose.foundation:foundation-layout:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
API Changes
- Introduced
lowVelocityAnimationSpecused by the approach step when there's not enough fling velocity to decay. (Iaeb27) - Added new experimental API Hyphens to support automatic hyphenation in Text (Iaa869)
Compose Material: v1.3.0-rc01
October 5, 2022
androidx.compose.material:material-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
Compose Material 3: v1.0.0-rc01
October 5, 2022
androidx.compose.material3:material3:1.0.0-rc01 and androidx.compose.material3:material3-window-size-class:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
API Changes
- Added slot param for supporting text to text field API (Iaac0d, b/227146125)
Compose Runtime: v1.3.0-rc01
October 5, 2022
androidx.compose.runtime:runtime-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
Bug Fixes
- Fixed
ArrayIndexOutOfBoundsExceptioncoming from the slot table (b/249076084)
Compose UI: v1.3.0-rc01
October 5, 2022
androidx.compose.ui:ui-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
API Changes
- Added new experimental API Hyphens to support automatic hyphenation in Text (
2022-10-04
Compose Compiler: v1.3.2
October 4, 2022
androidx.compose.compiler:compiler:1.3.2 is released. Version 1.3.2 contains these commits.
New Feature
- This version includes an update to Kotlin 1.7.20
2022-09-21
Activity: v1.6.0
September 21, 2022
androidx.activity:activity:1.6.0, androidx.activity:activity-compose:1.6.0, and androidx.activity:activity-ktx:1.6.0 are released. Version 1.6.0 contains these commits.
Important changes since 1.5.0
- Added
ActivityResultContracts.PickVisualMediaandActivityResultContracts.PickMultipleVisualMediafor providing a backward compatible contract that usesMediaStore.ACTION_PICK_IMAGESwhen the Photo Picker is available andIntent.ACTION_OPEN_DOCUMENTwhen it is not available. - Integrated the
OnBackInvokedCallbackin Android 13 into theOnBackPressedDispatchersprovided byComponentActivityandComponentDialog. This ensures that all APIs built onOnBackPressedDispatcherwork when enabling a predictive back gesture.
Annotation: v1.5.0
September 21, 2022
androidx.annotation:annotation:1.5.0 is released. Version 1.5.0 contains these commits.
Important changes since 1.4.0
- Annotation library has been fully migrated to Kotlin sources, resulting in support for Kotlin-specific target use sites and other Kotlin-compatible annotation features.
Benchmark: v1.2.0-alpha04
September 21, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
New Features
Add support for
dryRunMode.enableinstrumentation argument to macrobenchmark (already available in micro) for faster local development, and validating app automation (e.g. in presubmit). This overrides iterations to 1, skips compilation, suppresses all configuration errors, and disables measurement .json file output. (Ib51b4, b/175149857)On Gradle command line:
./gradlew macrobenchmark:cC -P android.testInstrumentationRunnerArguments.androidx.benchmark.dryRunMode.enable=trueIn build.gradle:
android { defaultConfig { testInstrumentationRunnerArgument 'androidx.benchmark.dryRunMode.enable', 'true' } }
Bug Fixes
- Fixed
StartupTimingMetricto no longer require measured Activities to be launched throughMacrobenchmarkScope.startActivityAndWait(). This means the metric can pick up launches from e.g. notifications,Context.startActivity(), in-app Activity based navigation, or shell commands. (Ia2de6, b/245414235) - Fix bug where
startActivityAndWaitwould timeout trying to wait for launch completion on emulators by reducing strictness of frame detection. (Ibe2c6, b/244594339, b/228946895)
Biometric: v1.2.0-alpha05
September 21, 2022
androidx.biometric:biometric:1.2.0-alpha05 and androidx.biometric:biometric-ktx:1.2.0-alpha05 are released. Version 1.2.0-alpha05 contains these commits.
API Changes
- Added
CryptoObjectsupport forandroid.security.identity.PresentationSessionin Android 13. (Ife54b, b/197965513)
Bug Fixes
- Removed unnecessary resource variants to reduce library size. (I3601e, b/220178553)
- Fixed issue for
BiometricPrompthosted in non-activity contexts. (Ife255)
CameraX: v1.2.0-beta02
September 21, 2022
androidx.camera:camera-*:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits.
API Changes
- Add API level requirement for
setOutputImageRotationEnabled(I26e3e, b/240993561)
Bug Fixes
- Disabled the workaround to flip the AF region horizontally of front cameras on Samsung Android T since the issue was fixed. (I05f69)
- Fixed the black preview issue that happens when
BOKEHextension is enabled on some Samsung devices and user switches the cameras. (If6168)
Compose Animation: v1.3.0-beta03
September 21, 2022
androidx.compose.animation:animation:1.3.0-beta03, androidx.compose.animation:animation-core:1.3.0-beta03, and androidx.compose.animation:animation-graphics:1.3.0-beta03 are released. Version 1.3.0-beta03 contains these commits.
- No changes since 1.3.0-beta02.
Compose Foundation: v1.3.0-beta03
September 21, 2022
androidx.compose.foundation:foundation:1.3.0-beta03 and androidx.compose.foundation:foundation-layout:1.3.0-beta03 are released. Version 1.3.0-beta03 contains these commits.
API Changes
- Add options to customize line breaking in Text. (I86907)
BringIntoViewResponders are now able to get the most up-to-date bounds of a request while processing it. (If86a5, b/241591211)- Introduce support for spacings between items to experimental
Staggered Grid(I10b82) - Introduce content padding to experimental
Staggered Grid(I342ea) - Changed
size:IntSizeargument withconstraints: ConstraintsinTextMeasurer.measuremethod to support minimum width constraints. (
2022-09-07
Activity: v1.6.0-rc02
September 7, 2022
androidx.activity:activity:1.6.0-rc02, androidx.activity:activity-compose:1.6.0-rc02, and androidx.activity:activity-ktx:1.6.0-rc02 are released. Version 1.6.0-rc02 contains these commits.
Bug Fixes
OnBackPressedDispatchernow registers theOnBackInvokedCallbackwith thePRIORITY_DEFAULTinstead ofPRIORITY_OVERLAY. (I3901f)- Classes that extend
ComponentActivitywill now always have both of theironMultiWindowModeChanged()callbacks dispatched. (Ic4d85) - The
ActivityResultRegistrywill no longer return a result to theActivityResultCallbackwhen thelaunchcall throws anyExceptionand the callback was registered without aLifecycleOwner. (Ia7ff7, b/238350794) ComponentActivitywill now properly dispatch menu calls without the need to call the super function in your activity. (Ie33c5, b/238057118)
Dependency Update
- The
Activitylibrary now depends on Lifecycle2.5.1. (If6697)
Annotation-Experimental: v1.3.0
September 7, 2022
androidx.annotation:annotation-experimental:1.3.0 is released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- Add support for package-level use of
@androidx.annotation.OptIn(I24d58) - Moved Kotlin stdlib dependency to API-type, rather than compile-only. This means all clients of the Annotation-Experimental library will include the Kotlin standard library in their transitive dependencies.
Annotation: v1.5.0-rc01
September 7, 2022
androidx.annotation:annotation:1.5.0-rc01 is released. Version 1.5.0-rc01 contains these commits.
- No changes from previous 1.5.0 beta release.
Appcompat: v1.5.1
September 7, 2022
androidx.appcompat:appcompat:1.5.1 and androidx.appcompat:appcompat-resources:1.5.1 are released. Version 1.5.1 contains these commits.
Dependency Updates
AppCompatnow explicitly depends on Lifecycle2.5.1and SavedState1.2.0. (I7e3e2)
Appcompat: v1.6.0-rc01
September 7, 2022
androidx.appcompat:appcompat:1.6.0-rc01 and androidx.appcompat:appcompat-resources:1.6.0-rc01 are released. Version 1.6.0-rc01 contains these commits.
Bug Fixes
AppCompatActivitynow sets theViewTreeOnBackPressedDispatcherOwnerso that it is possible to retrieve the dispatcher from the view. (I1a115, b/235416503)- Reverted a bug fix that overwrote the configuration passed to
onConfigurationChanged, which had caused issues for tests that injected their own custom configurations throughonConfigurationChanged.
Benchmark: v1.2.0-alpha03
September 7, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha03 is released. Version 1.2.0-alpha03 contains these commits.
New Features
- Added experimental APIs for using
BenchmarkStateindependently, separate fromBenchmarkRule/JUnit4. (Id478f, b/228489614)
Bug Fixes
- Added Leanback fallback for
startActivityAndWait. (01ed77, b/242899915)
Car App: v1.3.0-beta01
September 7, 2022
androidx.car.app:app:1.3.0-beta01, androidx.car.app:app-projected:1.3.0-beta01, androidx.car.app:app-automotive:1.3.0-beta01, and androidx.car.app:app-testing:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
- Car apps built using this library can now go to the Play Store using API Level 5 (see our development guide). Features annotated with API level 5 and under are compatible with both Android Auto 8.1+ and the Google Automotive App Host 1.4+.
New Features
In addition to capabilities added in Car App Library 1.3.0-alpha01, the following features have been added as part of beta01 (All features here only involve with host side changes without any API changes):
- The floating navigation bar will continue to show even when a user is in a map-based selection screen in
PlaceListNavigationTemplate,RoutePreviewNavigationTemplate, andMapTemplate. This can be done by updating navigation info throughNavigationManager.updateTrip(). - Enable the action button with
FLAG_DEFAULTto have a timeout animation. This button will be clicked by default after the timeout. ([API 5 - All Templates]) - A
Rows subtext is not truncated when the car is parked, but truncated to 2 lines while driving. ([API 5 - All Templates]) - Support disabled state for
Action,Toggle,Row([API 5 - All Templates])
API Changes
- Relax constraints in
MapTemplatelist to support selectable lists...
2022-08-24
Activity: v1.6.0-rc01
August 24, 2022
androidx.activity:activity:1.6.0-rc01, androidx.activity:activity-compose:1.6.0-rc01, and androidx.activity:activity-ktx:1.6.0-rc01 are released. Version 1.6.0-rc01 contains these commits.
Bug Fixes
- Initializing an
OnBackPressedDispatcherwill no longer causeClassVerificationErrors when using SDK versions prior to 33. (Ic32e1) - Classes that override
ComponentActivity’sonPictureInPictureModeChanged()callback will now always have their callbacks dispatched. (Ib7fdb)
Annotation-Experimental: v1.3.0-rc01
August 24, 2022
androidx.annotation:annotation-experimental:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
- No changes from the previous release. Implementation has been frozen for RC.
Annotation: v1.5.0-beta01
August 24, 2022
androidx.annotation:annotation:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits.
- No changes from previous release. API surface has been frozen for beta.
AppSearch: v1.1.0-alpha02
August 24, 2022
androidx.appsearch:appsearch-*:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.
New Features
- Sped up Optimize process using index compaction rather than rebuilding index from scratch
- Changed native logging tag from "icing" to "AppSearchIcing", log INFO messages by default
API Changes
- Adds new
PropertyPathobject for working with paths, and newaddProjectionmethods to acceptPropertyPath. (I45588) - Added
builtin:ThingtoAppSearchbuiltin types (I55427) - Prevent empty property names in
GenericDocumentsooner – previously they were prevented at indexing time, now they are prevented atGenericDocument.Builder.build()time (I9e780)
Bug Fixes
- Removed unnecessary string formatting to improve RELEVANCE scoring performance
- More efficient pagination when encountering unreadable or deleted documents
- Implemented garbage collection for abandoned queries
- Fix nested indexing support for Documents. Previously indexNestedProperties was ignored. (Iae9a6)
External Contribution
- Shea Smith: Fix nested indexing support for Documents. (Iae9a6)
Benchmark: v1.2.0-alpha02
August 24, 2022
androidx.benchmark:benchmark-*:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.
API Changes
- Default to
am force stopforMacrobenchmarkScope.killProcess(), even when rooted, except during Baseline Profile generation. This can be overridden with an optional boolean argument. (02cce9, b/241214097)
Bug Fixes
- Support baseline profile generation for System apps. (I900b8, b/241214097)
- Support checking for ODPM power metrics on unrooted devices. (a38c78, b/229623230)
CameraX: v1.2.0-beta01
August 24, 2022
androidx.camera:camera-*:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits.
New Features
- New library
camera-mlkit-vision. Easily integrate CameraX with many MLKit features, including barcode scanning, face detection, text detection, etc. Please find the sample code here. - New experimental Zero-Shutter Lag API. Optimizes capture pipeline to have better latency while keeping good image quality. When the capture mode is set to CAPTURE_MODE_ZERO_SHUTTER_LAG, the latency between the shutter button is clicked and the picture is taken is expected to be minimized, compared with other capture modes. On devices that don’t support ZERO_SHUTTER_LAG, it’ll fallback to CAPTURE_MODE_MINIMIZE_LATENCY.
- Made
ImageAnalysis.AnalyzerandMLKitAnalyzeras official APIs. - Exposed API for setting location metadata to the saved video.
- Rename
ImageAnalysis.Analyzer#getTargetResolutionOverride()toImageAnalysis.Analyzer#getDefaultTargetResolution().
Bug Fixes
- Fixed Alps k61v1_basic_ref image capture issue. The captured JPEG images from HAL have incorrect Exif metadata. The Exif metadata doesn't have the 0xffd9 or 0xffda tag to make
ExifInterfacecorrectly parse the attributes. Capturing the images in YUV format and then compressing them to JPEG output images to workaround this issue. (I45abb)
Compose Animation: v1.3.0-beta01
August 24, 2022
androidx.compose.animation:animation:1.3.0-beta01, androidx.compose.animation:animation-core:1.3.0-beta01, and androidx.compose.animation:animation-graphics:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
Compose Foundation: v1.3.0-beta01
August 24, 2022
androidx.compose.foundation:foundation:1.3.0-beta01 and androidx.compose.foundation:foundation-layout:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
API Changes
- Removed
pointerPositionfromOverscrollEffect- effects that care about pointer position can useModifier.pointerInput { }in theeffectModifierto get the current pointer position instead. (I9f606, b/24123930...
2022-08-22
Core 1.5.0: Core Core-ktx 1.5.0-alpha02
August 22, 2022
androidx.test:core:1.5.0-alpha02 and androidx.test:core-ktx:1.5.0-alpha02 are released.
API changes
- Modify ActivityScenario#launch to remove use of Bootstrap Activity API. This change should improve performance and stability of ActivityScenario#launch. ActivityScenario#getResult will now enforce that it can only be used with ActivityScenario#launchActivityForResult
Bug fixes
- Fix ActivityScenario#launch when targeting and running on Android T
- Use elapsedRealtime instead of currentTimeMillis to track ActivityScenario timeouts.
Dependency changes
- Update to kotlin stdlib 1.7.10
Monitor aka Platform 1.6.0: monitor 1.6.0-alpha05
August 22, 2022
androidx.test:monitor:1.6.0-alpha05 is released.
API changes
- Internal API changes to support ActivityScenario#launchActivityForResult