Releases: mahozad/androidx-release-notes
2024-10-30@07PM
Activity: v1.10.0-alpha03
October 30, 2024
androidx.activity:activity:1.10.0-alpha03, androidx.activity:activity-compose:1.10.0-alpha03, and androidx.activity:activity-ktx:1.10.0-alpha03 are released. Version 1.10.0-alpha03 contains these commits.
API Changes
- Added a new
LocalActivitycomposition local that provides theActivityfor the current scope, removing the need for developers to get anActivityfrom theLocalContext. It also comes with a new lint rule that checks when theLocalContextis incorrectly being cast to anActivity. (I7746a, b/283009666)
Bug Fixes
- From Activity
1.9.3:PredictiveBackHandlerwill no longer fire it's callback after the handler has been disabled. This will fix an issue where theNavHostfrom Navigation Compose would throw anIndexOutOfBoundsException. (I3f75e, b/365027664, b/340202286)
Dependency Update
- Activity Compose now depends on Compose Runtime 1.7.0 (I7746a, b/283009666)
Annotation: v1.9.1
October 30, 2024
androidx.annotation:annotation-*:1.9.1 is released. Version 1.9.1 contains these commits.
Bug Fixes
Benchmark: v1.4.0-alpha04
October 30, 2024
androidx.benchmark:benchmark-*:1.4.0-alpha04 is released. Version 1.4.0-alpha04 contains these commits.
New Features
- (Experimental) Enable Baseline Profile generation, and benchmarking on apps installed to a secondary user, for example any app on headless Android Auto devices. This support has been tested in some scenarios, but let us know with a bug if it doesn't work for you. (I9fcbe, b/356684617, b/373641155)
Bug Fixes
isProfileableis now always overridden in benchmark builds, andisDebuggableis also now always overridden in both benchmark andnonMinified(baseline profile capture) builds. (I487fa, b/369213505)- Fixes compilation detection on some physical devices prior to API 28 - affects json
context.compilationMode, as well as behavior ofandroidx.benchmark.requireAot=true(which no longer incorrectly throws) (Ic3e08, b/374362482) - In
CpuEventCountermetrics, throw if invalid measurements are observed (e.g. instructions/cpucycles==0) (I8c503)
Camera: v1.4.0
October 30, 2024
androidx.camera:camera-*:1.4.0 is released. Version 1.4.0 contains these commits.
Important changes since 1.3.0
CameraX 1.4.0 is packed with exciting updates! Here's a summary:
Headline Feature: 10-bit HDR:
- Capture stunning HDR photos and videos with ease.
- Supports HLG and 10-bit HEVC encoding.
- Enjoy 10-bit HDR preview and query device capabilities.
- Works with
UltraHDRimages and HDR video on a growing range of devices.
Other Cool Features:
- Kotlin Extensions: Added
takePictureandawaitInstancesuspend functions. - Real-time Effects: Apply effects like watermarks and object highlighting.
- CameraController API: New controls for video capture configuration.
- Preview Stabilization: Query device capability and enable stabilization.
- VideoCapture Enhancements: Finer control over quality and access to higher resolutions.
- CameraX Extensions Integration: Seamless integration with
VideoCaptureand newImageCapturefeatures. - Shutter Sound API: Easily check regional shutter sound requirements.
- Screen Flash: Improved low-light photos for front-facing cameras.
- Camera Extensions Metadata APIs: Supporting APIs for adjusting extensions strength and get notification of current Extensions mode in
ExtensionMode#AUTO. You can find more bug fixes in our Beta and RC announcements.
Camera: v1.5.0-alpha03
October 30, 2024
androidx.camera:camera-*:1.5.0-alpha03 is released. Version 1.5.0-alpha03 contains these commits.
API Changes
- Add output format APIs for RAW and RAW + JPEG
ImageCapture, the device capability check is exposed inImageCaptureCapabilities#getSupportedOutputFormats. TheOUTPUT_FORMAT_RAWis to capture RAW image, which is Adobe DNG format andOUTPUT_FORMAT_RAW_JPEGis to simultaneously capture RAW and JPEG images. The newImageCapture#takePictureAPI is used for simultaneous image capture, it needs to provide twoOutputFileOptions, the first one is for RAW image and the second one is for JPEG image. (Ib0f3d)
Bug Fixes
- Fixed preview and video under-exposure issue on TCL devices when
VideoCaptureis enabled. (Id7a64) - Fixed the issue where invoking
startFocusMeteringwithPreviewView.getMeteringPointFactorydoesn't get the correct sensor coordinates when an effect is enabled or when 4 use cases are bound (stream-sharing). (I916c5, b/345993685) - Fixed the
VideoRecordEvent.Finalize.ERROR_INSUFFICIENT_STORAGEevent is not triggered when recording a video and there is insufficient storage space available. (I35779, b/356399842)
camera viewfinder: v1.4.0-alpha10
October 30, 2024
2024-10-30
Activity: v1.10.0-alpha03
October 30, 2024
androidx.activity:activity:1.10.0-alpha03, androidx.activity:activity-compose:1.10.0-alpha03, and androidx.activity:activity-ktx:1.10.0-alpha03 are released. Version 1.10.0-alpha03 contains these commits.
API Changes
- Added a new
LocalActivitycomposition local that provides theActivityfor the current scope, removing the need for developers to get anActivityfrom theLocalContext. It also comes with a new lint rule that checks when theLocalContextis incorrectly being cast to anActivity. (I7746a, b/283009666)
Bug Fixes
- From Activity
1.9.3:PredictiveBackHandlerwill no longer fire it's callback after the handler has been disabled. This will fix an issue where theNavHostfrom Navigation Compose would throw anIndexOutOfBoundsException. (I3f75e, b/365027664, b/340202286)
Dependency Update
- Activity Compose now depends on Compose Runtime 1.7.0 (I7746a, b/283009666)
Annotation: v1.9.1
October 30, 2024
androidx.annotation:annotation-*:1.9.1 is released. Version 1.9.1 contains these commits.
Bug Fixes
Benchmark: v1.4.0-alpha04
October 30, 2024
androidx.benchmark:benchmark-*:1.4.0-alpha04 is released. Version 1.4.0-alpha04 contains these commits.
New Features
- (Experimental) Enable Baseline Profile generation, and benchmarking on apps installed to a secondary user, for example any app on headless Android Auto devices. This support has been tested in some scenarios, but let us know with a bug if it doesn't work for you. (I9fcbe, b/356684617, b/373641155)
Bug Fixes
isProfileableis now always overridden in benchmark builds, andisDebuggableis also now always overridden in both benchmark andnonMinified(baseline profile capture) builds. (I487fa, b/369213505)- Fixes compilation detection on some physical devices prior to API 28 - affects json
context.compilationMode, as well as behavior ofandroidx.benchmark.requireAot=true(which no longer incorrectly throws) (Ic3e08, b/374362482) - In
CpuEventCountermetrics, throw if invalid measurements are observed (e.g. instructions/cpucycles==0) (I8c503)
Camera: v1.4.0
October 30, 2024
androidx.camera:camera-*:1.4.0 is released. Version 1.4.0 contains these commits.
Important changes since 1.3.0
CameraX 1.4.0 is packed with exciting updates! Here's a summary:
Headline Feature: 10-bit HDR:
- Capture stunning HDR photos and videos with ease.
- Supports HLG and 10-bit HEVC encoding.
- Enjoy 10-bit HDR preview and query device capabilities.
- Works with
UltraHDRimages and HDR video on a growing range of devices.
Other Cool Features:
- Kotlin Extensions: Added
takePictureandawaitInstancesuspend functions. - Real-time Effects: Apply effects like watermarks and object highlighting.
- CameraController API: New controls for video capture configuration.
- Preview Stabilization: Query device capability and enable stabilization.
- VideoCapture Enhancements: Finer control over quality and access to higher resolutions.
- CameraX Extensions Integration: Seamless integration with
VideoCaptureand newImageCapturefeatures. - Shutter Sound API: Easily check regional shutter sound requirements.
- Screen Flash: Improved low-light photos for front-facing cameras.
- Camera Extensions Metadata APIs: Supporting APIs for adjusting extensions strength and get notification of current Extensions mode in
ExtensionMode#AUTO. You can find more bug fixes in our Beta and RC announcements.
Camera: v1.5.0-alpha03
October 30, 2024
androidx.camera:camera-*:1.5.0-alpha03 is released. Version 1.5.0-alpha03 contains these commits.
API Changes
- Add output format APIs for RAW and RAW + JPEG
ImageCapture, the device capability check is exposed inImageCaptureCapabilities#getSupportedOutputFormats. TheOUTPUT_FORMAT_RAWis to capture RAW image, which is Adobe DNG format andOUTPUT_FORMAT_RAW_JPEGis to simultaneously capture RAW and JPEG images. The newImageCapture#takePictureAPI is used for simultaneous image capture, it needs to provide twoOutputFileOptions, the first one is for RAW image and the second one is for JPEG image. (Ib0f3d)
Bug Fixes
- Fixed preview and video under-exposure issue on TCL devices when
VideoCaptureis enabled. (Id7a64) - Fixed the issue where invoking
startFocusMeteringwithPreviewView.getMeteringPointFactorydoesn't get the correct sensor coordinates when an effect is enabled or when 4 use cases are bound (stream-sharing). (I916c5, b/345993685) - Fixed the
VideoRecordEvent.Finalize.ERROR_INSUFFICIENT_STORAGEevent is not triggered when recording a video and there is insufficient storage space available. (I35779, b/356399842)
camera viewfinder: v1.4.0-alpha10
October 30, 2024
2024-10-23
WorkManager: v2.10.0-rc01
October 24, 2024
androidx.work:work-*:2.10.0-rc01 is released. Version 2.10.0-rc01 contains these commits.
2024-10-16
Activity: v1.9.3
October 16, 2024
androidx.activity:activity:1.9.3, androidx.activity:activity-compose:1.9.3, and androidx.activity:activity-ktx:1.9.3 are released. Version 1.9.3 contains these commits.
Bug Fixes
PredictiveBackHandlerwill no longer fire it's callback after the handler has been disabled. This will fix an issue where theNavHostfrom Navigation Compose would throw anIndexOutOfBoundsException. (I3f75e, b/340202286)
Annotation: v1.9.0
October 16, 2024
androidx.annotation:annotation-*:1.9.0 is released. Version 1.9.0 contains these commits.
Important changes since 1.8.0
- Added support for the following Kotlin Multiplatform targets:
watchosDeviceArm64,mingwX64,linuxArm64.
AppSearch: v1.1.0-alpha06
October 16, 2024
androidx.appsearch:appsearch-*:1.1.0-alpha06 is released. Version 1.1.0-alpha06 contains these commits.
API Changes
- Added node representing the
PropertyDefinedquery function. (I1aeaf) - Add nodes to represent numeric search and property restrict. (I963a9)
- Add node representing
GetSearchStringParameterquery function. (I4f99b) - Add node representing the
HasPropertyquery function. (I9c1c5) - Added interface for implementing functions in AST. (I9d42e)
- Add AND and OR operators. (Iaa442)
- Add
NegationNodefor representing logical negation of queries in AST. (Ia855a) - Add Node interface to
AppSearchfor defining nodes. (If42fb) - Adds an Experimental API annotation for
AppSearch. (I3e57c)
Bug Fixes
- Add
TextNodesfor holding terms. (Iefd02)
Security Fix
- As of this change, androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254. Upgrade your dependency on
androidx.appsearch:appsearch-external-protobufto the latest 1.1.0-alpha06 to address the vulnerability risk.
Benchmark: v1.3.3
October 16, 2024
androidx.benchmark:benchmark-*:1.3.3 is released. Version 1.3.3 contains these commits.
Bug Fixes
- Fixed
CollectBaselineProfileTaskwhen AVD device has spaces in it (Ia0225, b/371642809)
Benchmark: v1.4.0-alpha03
October 16, 2024
androidx.benchmark:benchmark-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.
API Changes
- Macrobenchmark: Adds
ArtMetric, which can be used to inspect profile coverage or general Android RunTime performance. Captures number and total duration of JIT, class init (where available), and class verification. Additionally, changesCaptureInfoto include optional ART mainline version with default. (I930f7) - Add
coefficientOfVariationto Benchmark JSON output to show stability within a given benchmark run. (Ib14ea)
Bug Fixes
- Fixed
CollectBaselineProfileTaskwhen AVD device has spaces in it. (Ia0225, b/371642809) - Speculative fix for errors from
StartupMode.COLDexceptions:Package <packagename> must not be running prior to cold start!. Now,MacrobenchmarkScope.killProcess()(including the one run before each iteration, used to implementStartupMode.COLDbehavior) will wait to verify that the app's processes have all stopped running. (I60aa6, b/351582215) - Fixed issue where UNLOCKED_ error would show up on some rooted emulators. (Ic5117)
- This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage:
-Xjspecify-annotations=strict,-Xtype-enhancement-improvements-strict-mode(I7104f, b/326456246)
Camera: v1.4.0-rc04
October 16, 2024
androidx.camera:camera-*:1.4.0-rc04 is released. Version 1.4.0-rc04 contains these commits.
Bug Fixes
- Fixed the issue where invoking
startFocusMeteringwithPreviewView.getMeteringPointFactorydoesn't get the correct sensor coordinates when an effect is enabled or when 4 use cases are bound (stream-sharing). (I916c5, b/345993685)
Collection: v1.5.0-alpha04
October 16, 2024
androidx.collection:collection-*:1.5.0-alpha04 is released. Version 1.5.0-alpha04 contains these commits.
Compose Animation: v1.7.4
October 16, 2024
androidx.compose.animation:animation-*:1.7.4 is released. Version 1.7.4 contains
2024-10-02
Annotation: v1.9.0-rc01
October 2, 2024
androidx.annotation:annotation-*:1.9.0-rc01 is released. Version 1.9.0-rc01 contains no changes since the previous beta.
Benchmark: v1.3.2
October 2, 2024
androidx.benchmark:benchmark-*:1.3.2 is released. Version 1.3.2 contains these commits.
Bug Fixes
- Fixed Firebase Test Lab (FTL) being unable to pull Baseline Profile or Macrobenchmark result files from the Baseline Profile Gradle Plugin. (I2f678, b/285187547)
To use FTL apply the plugin to the baseline profile module in the plugin block, with:
plugins {
...
id("com.google.firebase.testlab")
}
and then configure firebase test lab with:
firebaseTestLab {// Credentials for FTL service serviceAccountCredentials.set(file("credentials.json")) // Creates one or more managed devices to run the tests on. managedDevices { "ftlDeviceShiba34" { device = "shiba" apiLevel = 34 } } // Ensures the baseline profile is pulled from the device. // Note that this will be automated as well later with aosp/3272935. testOptions { results { directoriesToPull.addAll("/storage/emulated/0/Android/media/${android.namespace}") } }
}
Also the created FTL device needs to be added to the baseline profile extension:
baselineProfile {
managedDevices += "ftlDeviceShiba34"
useConnectedDevices = false
}
Benchmark: v1.4.0-alpha02
October 2, 2024
androidx.benchmark:benchmark-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
API Changes
- Moved Gradle tasks
lockClocksandunlockClocksto be on benchmark projects, instead of available at the top level. This change was necessary as there is unfortunately no way to register these as top level actions without breaking project isolation. (I02b8f, b/363325823)
Bug Fixes
BaselineProfileRulenow collects profiles for multi-process apps by signaling each running process at the end of the block to dump profiles. If a profile based compilation never successfully finds a process to broadcast to, the compilation will fail, as it's unexpected to have profile data within. Additionally, added an instrumentation argument to control dump wait duration:androidx.benchmark.saveProfileWaitMillis(I0f519, b/366231469)- From Benchmark
1.3.2: Fixed Firebase Test Lab (FTL) being unable to pull Baseline Profile or Macrobenchmark result files from the Baseline Profile Gradle Plugin. (I2f678, b/285187547)
To use FTL apply the plugin to the baseline profile module in the plugin block, with:
plugins {
...
id("com.google.firebase.testlab")
}
and then configure firebase test lab with:
firebaseTestLab {// Credentials for FTL service serviceAccountCredentials.set(file("credentials.json")) // Creates one or more managed devices to run the tests on. managedDevices { "ftlDeviceShiba34" { device = "shiba" apiLevel = 34 } } // Ensures the baseline profile is pulled from the device. // Note that this will be automated as well later with aosp/3272935. testOptions { results { directoriesToPull.addAll("/storage/emulated/0/Android/media/${android.namespace}") } }
}
Also the created FTL device needs to be added to the baseline profile extension:
baselineProfile {
managedDevices += "ftlDeviceShiba34"
useConnectedDevices = false
}
Camera: v1.4.0-rc03
October 2, 2024
androidx.camera:camera-*:1.4.0-rc03 is released. Version 1.4.0-rc03 contains these commits.
Bug Fixes
- Added flash/torch/3A functionalities for image captures with
CameraEffect. The image captures withCameraEffectshould now have the same pre-capture and post-capture processings (e.g. flash trigger, 3A convergence etc. when applicable) as image capture without anyCameraEffect. (I5ff30) - Optimized the pinch-to-zoom smoothness in
PreviewView(I04ffc) - Decouple Ultra HDR from 10-bit output capability, as Ultra HDR support no longer requires devices to have 10-bit output capability. (I96ff2, I0c3b3)
Camera: v1.5.0-alpha02
October 2, 2024
androidx.camera:camera-*:1.5.0-alpha02 is released. Version 1.5.0-alpha02 contains these commits.
New Features
- New APIs for querying camera features supported by the device. For example, checking if HDR and 60FPS can be enabled at the same time. It includes 2 artifacts: camera-feature-combination-query and camera-feature-combination-query-play-services. This is a compatible version of camera2's
CameraManager#getCameraDeviceSetup#isSessionConfigurationSupportedAPI with additional data provided by Google Play Service.
Bug Fixes
- Fixed
Preview/VideoCapturetarget frame rate issue on LEGACY level devices. The target frame rate set via thesetTargetFrameRateorCamera2InteropAPI was always overwritten to the value provided by theAeFpsRangeLegacyQuirk. With this fix, CameraX library will respect the value set via thesetTargetFrameRateorCamera2InteropAPI. (Ie2d32) - Added flash/torch/3A functionalities for image captures with
CameraEffect. The image captures withCameraEffectshould now have the same pre-capture and post-capture processings (e.g. flash trigger, 3A convergence etc. when applicable) as image capture without anyCameraEffect. (I5ff30) - Excluded problematic output sizes for
ImageAnalysison Samsung SM-A057G device. WhenImageAnalysisuses a resolution larger or equal to 1920x1440, it will cause black preview issue. AppliedExcludedSupportedSizesQuirkto the SM-A057G device to avoid the issue. (I63dfe,
2024-09-18
Annotation: v1.9.0-beta01
September 18, 2024
androidx.annotation:annotation-*:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.
API Changes
- Adds support for
watchosDeviceArm64platform target (I1cc04, b/364652024)
Autofill: v1.3.0-beta01
September 18, 2024
androidx.autofill:autofill:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.
Benchmark: v1.3.1
September 18, 2024
androidx.benchmark:benchmark-*:1.3.1 is released. Version 1.3.1 contains these commits.
Bug Fixes
- Added gradle property
androidx.baselineprofile.suppressWarningsto suppress all baseline profile warnings (I7c36e, b/349646646) - Fixed Baseline Profile Gradle Plugin to use pre-existing
nonMinified…andbenchmark…if created by the app instead of creating wrappers. (Ia8934, b/361370179) - Fixed
java.lang.AssertionError: ERRORS (not suppressed): EMULATORwhenautomaticGenerationDuringBuildis enabled on emulators. New argument is used to instead skip the test. (If3f51, b/355515798) - Microbenchmark minification - keep subclasses of
org.junit.runner.notification.RunListenerin benchmark library proguard (Ic8ed5, b/354264743) - Fix
TraceSectionMetricto Ignore non-terminating slices. Previously these were considered to have -1 duration, e.g. during summation or finding minimum duration. (If74b7) - Fixed an issue in
FrameTimingGfxInfoMetricwhere starting the metric would crash if the process wasn't already running. (I6e412)
Benchmark: v1.4.0-alpha01
September 18, 2024
androidx.benchmark:benchmark-*:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.
New Feature - App Startup Insights
- Initial version of app startup insights can be enabled in Macrobenchmark. (09fae38)
To enable in a startup benchmark:
@Test
fun startup {
macrobenchmarkRule.measureRepeated(
…
packageName = "com.example.my.application.id"
metrics = listOf(StartupTimingMetric()),
iterations = 5,
startupMode = StartupMode.COLD,
compilationMode = CompilationMode.None(),
ExperimentalConfig(StartupInsightsConfig(isEnabled = true))
) {
scope.startActivityAndWait(...)
}
}
Then running your startup benchmark will analyze the trace to look for common problems, and print them after metrics to Studio test output in the benchmark tab, e.g.:
StartupBenchmark_startup[startup=COLD,compilationMode=None]
├── Metrics
│ ├── timeToFullDisplayMs min 1,147.2, median 1,208.8, max 1,307.4
│ └── timeToInitialDisplayMs min 1,147.2, median 1,208.8, max 1,307.4
├── App Startup Insights
│ ├── App in debuggable mode (expected: false)
│ │ └── seen in iterations: 0(true) 1(true) 2(true) 3(true) 4(true) 5(true) 6(true) 7(true) 8(true) 9(true)
│ ├── Potential CPU contention with another process (expected: < 100000000ns)
│ │ └── seen in iterations: 4(105022546ns)
│ └── Main Thread - Binder transactions blocked (expected: false)
│ └── seen in iterations: 7(true)
└── Traces
└── Iteration 0 1 2 3 4 5 6 7 8 9
This feature is still a work-in-progress, with improvements to documentation and extensibility to follow, but feedback is welcome.
New Features
- Added gradle property
androidx.baselineprofile.suppressWarningsto suppress all baseline profile warnings. (314153a) - Microbench metrics are now displayed in Perfetto traces as counters. (3214854)
- Add experimental scripts for disabling jit (requires root / runtime restart), and resetting device perf/test state. These are not currently published as gradle tasks. (7c3732b)
- Added benchmark argument to skip tests when running on emulator. When
automaticGenerationDuringbuild is enabled, benchmarks will also trigger baseline profile generation. This will fail, if emulators are used. With the new argumentskipBenchmarksOnEmulatorwe can instead skip the test. (0c2ddcd) - Change perf event enable logic to run on API 23+ (2550048)
API Changes
- Existing experimental
PerfettoConfigargument toMacrobenchmarkRule.measureRepeated()moved to the newExperimentalConfigobject.
Bug Fixes
- Increase
lockClocks.shretry count (99e9dac) - Don't create
nonMinifiedand benchmark build types if existing. Due to a bug, even ifnonMinifiedand benchmark build types existed, they were going to be recreated. (e75f0a5) - Ignore non-terminating slices from
TraceSectionMetricresults. (a927d20) - Improved emulator check to consider
sdk_prefix. (1587de8) - Treat non-running packages as cleared in
FrameTimingGfxInfoMetric. (35cc79c) - Fix
androidx.benchmark.cpuEventCounterproducing corrupt values for non-Instruction events. (06edd59) - Fix
resumeTiming/runWithTimingDisabledto respect metric priority order, and significantly reduce impact of lower priority metric pause/resume on higher priority metric results. For example, if using cpu perf counters viacpuEventCounter.enableinstrumentation argument, timeNs is no longer significantly reduced when pause/resume occur. (
2024-09-10
Compose Animation: v1.7.1
September 10, 2024
- No changes to Android artifacts.
-desktopartifacts were removed and-jvmStubsand-linuxx64Stubsartifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.
Compose Foundation: v1.7.1
September 10, 2024
- No changes to Android artifacts.
-desktopartifacts were removed and-jvmStubsand-linuxx64Stubsartifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.
Compose Material: v1.7.1
September 10, 2024
- No changes to Android artifacts.
-desktopartifacts were removed and-jvmStubsand-linuxx64Stubsartifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.
Compose Runtime: v1.7.1
September 10, 2024
- No changes to Android artifacts.
-desktopartifacts were removed and-jvmStubsand-linuxx64Stubsartifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.
Compose UI: v1.7.1
September 10, 2024
- No changes to Android artifacts.
-desktopartifacts were removed and-jvmStubsand-linuxx64Stubsartifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.
2024-09-09
Media3:
2024-09-05
Activity: v1.9.2
September 4, 2024
androidx.activity:activity:1.9.2, androidx.activity:activity-compose:1.9.2, and androidx.activity:activity-ktx:1.9.2 are released. Version 1.9.2 contains these lthcocommits.
Bug Fixes
- Fixed an issue where the Activity Compose
PredictiveBackHandlerAPI would continue to handle the system back gesture on the frame it was disabled, which could result in libraries like Navigation Compose to handle back even with an empty back stack, resulting in it throwing anIndexOutOfBoundsException. (Ie3301, b/340202286)
Activity: v1.10.0-alpha02
September 4, 2024
androidx.activity:activity:1.10.0-alpha02, androidx.activity:activity-compose:1.10.0-alpha02, and androidx.activity:activity-ktx:1.10.0-alpha02 are released. Version 1.10.0-alpha02 contains these commits.
Behavior Changes
- The
PickVisualMediaandPickMultipleVisualMediaActivity Result contracts that trigger the Photo Picker no longer directly delegates to Google Play services if the system Photo picker is not available, but uses the publicACTION_SYSTEM_FALLBACK_PICK_IMAGESaction and related extras to provide a consistent Photo Picker experience to OEMs and system apps as a fallback. This should have no effect on the user experience for devices that have a recent version of Google Play services. (I3513d)
Bug Fixes
- Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (I9496c, b/345472586)
- From Activity
1.9.2: Fixed an issue where the Activity ComposePredictiveBackHandlerAPI would continue to handle the system back gesture on the frame it was disabled, which could result in libraries like Navigation Compose to handle back even with an empty back stack, resulting in it throwing anIndexOutOfBoundsException. (Ie3301, b/340202286) - From Activity
1.9.1: Fixed an issue withPredictiveBackHandlerwhere after doing system back, attempting to doonBackPressedfrom theOnBackPressedDispatcherwould fail. (I5f1f8)
Annotation: v1.9.0-alpha03
September 4, 2024
androidx.annotation:annotation-*:1.9.0-alpha03 is released. Version 1.9.0-alpha03 contains no changes since the previous alpha.
AppSearch: v1.1.0-alpha05
September 4, 2024
androidx.appsearch:appsearch-*:1.1.0-alpha05 is released. Version 1.1.0-alpha05 contains these commits.
API Changes
- Deprecates unnecessary
setEmbeddingSearchEnabledandgetEmbeddingSearchEnabled. DeletessetListFilterTokenizeFunctionEnabledandgetListFilterTokenizeFunctionEnabled. Deleted the 'tokenize' query function. Replaced withgetSearchStringParameterquery function andaddSearchStringParameterfunction. (I09f5a) - Rename
Alarm#getComputingDevicetogetOriginatingDevice. (I63121)
Camera: v1.5.0-alpha01
September 4, 2024
androidx.camera:camera-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
API Changes
- Provide API to set composition settings for dual concurrent camera video capture. The settings include alpha value for blending, offset in x, y coordinates, scale of the width and height of camera frame display window. The offset, width and height are specified in normalized device coordinates. (Ia2b8a)
- Exposed
CameraProvider.getCameraInfoto be a formal API. (I901cd) - Added API
PendingRecording.withAudioEnabled(boolean initialMuted)to control the initial mute state. (I635c3, b/354829267)
Bug Fixes
- Fixed the crash when
bindToLifecycleis invoked with a destroyedLifecycleOwner. (I6e6d8) - Fixed Preview is black screen in front camera while binding with
VideoCaptureon Motorola Edge 20 Fusion. (I1fe88) - Optimized the configuration for detecting zoom gestures in
PreviewViewto improve smoothness. (I04ffc)
AndroidX releases:
Collection: v1.5.0-alpha01
September 4, 2024
androidx.collection:collection-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
API Changes
OrderedScatterSetis a new ordered, allocation-free collection (Ic4178)SieveCacheis a new allocation-free replacement forLruCachethat offers better hit ratio characteristics. (I50a17)- Exposed the
packedValueinternal representation forIntIntPairandFloatFloatPair. (Ifeb75, b/331853566) - Adding access to the content array in list collections. (I899d5, b/333903173)
- Add
DoubleList, a ...
2024-09-04
Activity: v1.9.2
September 4, 2024
androidx.activity:activity:1.9.2, androidx.activity:activity-compose:1.9.2, and androidx.activity:activity-ktx:1.9.2 are released. Version 1.9.2 contains these lthcocommits.
Bug Fixes
- Fixed an issue where the Activity Compose
PredictiveBackHandlerAPI would continue to handle the system back gesture on the frame it was disabled, which could result in libraries like Navigation Compose to handle back even with an empty back stack, resulting in it throwing anIndexOutOfBoundsException. (Ie3301, b/340202286)
Activity: v1.10.0-alpha02
September 4, 2024
androidx.activity:activity:1.10.0-alpha02, androidx.activity:activity-compose:1.10.0-alpha02, and androidx.activity:activity-ktx:1.10.0-alpha02 are released. Version 1.10.0-alpha02 contains these commits.
Behavior Changes
- The
PickVisualMediaandPickMultipleVisualMediaActivity Result contracts that trigger the Photo Picker no longer directly delegates to Google Play services if the system Photo picker is not available, but uses the publicACTION_SYSTEM_FALLBACK_PICK_IMAGESaction and related extras to provide a consistent Photo Picker experience to OEMs and system apps as a fallback. This should have no effect on the user experience for devices that have a recent version of Google Play services. (I3513d)
Bug Fixes
- Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. (I9496c, b/345472586)
- From Activity
1.9.2: Fixed an issue where the Activity ComposePredictiveBackHandlerAPI would continue to handle the system back gesture on the frame it was disabled, which could result in libraries like Navigation Compose to handle back even with an empty back stack, resulting in it throwing anIndexOutOfBoundsException. (Ie3301, b/340202286) - From Activity
1.9.1: Fixed an issue withPredictiveBackHandlerwhere after doing system back, attempting to doonBackPressedfrom theOnBackPressedDispatcherwould fail. (I5f1f8)
Annotation: v1.9.0-alpha03
September 4, 2024
androidx.annotation:annotation-*:1.9.0-alpha03 is released. Version 1.9.0-alpha03 contains no changes since the previous alpha.
AppSearch: v1.1.0-alpha05
September 4, 2024
androidx.appsearch:appsearch-*:1.1.0-alpha05 is released. Version 1.1.0-alpha05 contains these commits.
API Changes
- Deprecates unnecessary
setEmbeddingSearchEnabledandgetEmbeddingSearchEnabled. DeletessetListFilterTokenizeFunctionEnabledandgetListFilterTokenizeFunctionEnabled. Deleted the 'tokenize' query function. Replaced withgetSearchStringParameterquery function andaddSearchStringParameterfunction. (I09f5a) - Rename
Alarm#getComputingDevicetogetOriginatingDevice. (I63121)
Camera: v1.5.0-alpha01
September 4, 2024
androidx.camera:camera-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
API Changes
- Provide API to set composition settings for dual concurrent camera video capture. The settings include alpha value for blending, offset in x, y coordinates, scale of the width and height of camera frame display window. The offset, width and height are specified in normalized device coordinates. (Ia2b8a)
- Exposed
CameraProvider.getCameraInfoto be a formal API. (I901cd) - Added API
PendingRecording.withAudioEnabled(boolean initialMuted)to control the initial mute state. (I635c3, b/354829267)
Bug Fixes
- Fixed the crash when
bindToLifecycleis invoked with a destroyedLifecycleOwner. (I6e6d8) - Fixed Preview is black screen in front camera while binding with
VideoCaptureon Motorola Edge 20 Fusion. (I1fe88) - Optimized the configuration for detecting zoom gestures in
PreviewViewto improve smoothness. (I04ffc)
Collection: v1.5.0-alpha01
September 4, 2024
androidx.collection:collection-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
API Changes
OrderedScatterSetis a new ordered, allocation-free collection (Ic4178)SieveCacheis a new allocation-free replacement forLruCachethat offers better hit ratio characteristics. (I50a17)- Exposed the
packedValueinternal representation forIntIntPairandFloatFloatPair. (Ifeb75, b/331853566) - Adding access to the content array in list collections. (I899d5, b/333903173)
- Add
DoubleList, a List-like data structure optimi...