Skip to content

Releases: mahozad/androidx-release-notes

2024-10-30@07PM

31 Oct 13:00

Choose a tag to compare

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 LocalActivity composition local that provides the Activity for the current scope, removing the need for developers to get an Activity from the LocalContext. It also comes with a new lint rule that checks when the LocalContext is incorrectly being cast to an Activity. (I7746a, b/283009666)

Bug Fixes

  • From Activity 1.9.3: PredictiveBackHandler will no longer fire it's callback after the handler has been disabled. This will fix an issue where the NavHost from Navigation Compose would throw an IndexOutOfBoundsException. (I3f75e, b/365027664, b/340202286)

Dependency Update

Annotation: v1.9.1

October 30, 2024

androidx.annotation:annotation-*:1.9.1 is released. Version 1.9.1 contains these commits.

Bug Fixes

  • Added JS target platform. (I2310b)
  • Kotlin version update to 1.9 (I1a14c)

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

  • isProfileable is now always overridden in benchmark builds, and isDebuggable is also now always overridden in both benchmark and nonMinified (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 of androidx.benchmark.requireAot=true (which no longer incorrectly throws) (Ic3e08, b/374362482)
  • In CpuEventCounter metrics, 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 UltraHDR images and HDR video on a growing range of devices.

Other Cool Features:

  • Kotlin Extensions: Added takePicture and awaitInstance suspend 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 VideoCapture and new ImageCapture features.
  • 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 in ImageCaptureCapabilities#getSupportedOutputFormats. The OUTPUT_FORMAT_RAW is to capture RAW image, which is Adobe DNG format and OUTPUT_FORMAT_RAW_JPEG is to simultaneously capture RAW and JPEG images. The new ImageCapture#takePicture API is used for simultaneous image capture, it needs to provide two OutputFileOptions, 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 VideoCapture is enabled. (Id7a64)
  • Fixed the issue where invoking startFocusMetering with PreviewView.getMeteringPointFactory doesn'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_STORAGE event 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

Read more

2024-10-30

30 Oct 18:45

Choose a tag to compare

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 LocalActivity composition local that provides the Activity for the current scope, removing the need for developers to get an Activity from the LocalContext. It also comes with a new lint rule that checks when the LocalContext is incorrectly being cast to an Activity. (I7746a, b/283009666)

Bug Fixes

  • From Activity 1.9.3: PredictiveBackHandler will no longer fire it's callback after the handler has been disabled. This will fix an issue where the NavHost from Navigation Compose would throw an IndexOutOfBoundsException. (I3f75e, b/365027664, b/340202286)

Dependency Update

Annotation: v1.9.1

October 30, 2024

androidx.annotation:annotation-*:1.9.1 is released. Version 1.9.1 contains these commits.

Bug Fixes

  • Added JS target platform. (I2310b)
  • Kotlin version update to 1.9 (I1a14c)

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

  • isProfileable is now always overridden in benchmark builds, and isDebuggable is also now always overridden in both benchmark and nonMinified (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 of androidx.benchmark.requireAot=true (which no longer incorrectly throws) (Ic3e08, b/374362482)
  • In CpuEventCounter metrics, 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 UltraHDR images and HDR video on a growing range of devices.

Other Cool Features:

  • Kotlin Extensions: Added takePicture and awaitInstance suspend 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 VideoCapture and new ImageCapture features.
  • 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 in ImageCaptureCapabilities#getSupportedOutputFormats. The OUTPUT_FORMAT_RAW is to capture RAW image, which is Adobe DNG format and OUTPUT_FORMAT_RAW_JPEG is to simultaneously capture RAW and JPEG images. The new ImageCapture#takePicture API is used for simultaneous image capture, it needs to provide two OutputFileOptions, 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 VideoCapture is enabled. (Id7a64)
  • Fixed the issue where invoking startFocusMetering with PreviewView.getMeteringPointFactory doesn'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_STORAGE event 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

Read more

2024-10-23

24 Oct 18:44

Choose a tag to compare

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

17 Oct 02:02

Choose a tag to compare

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

  • PredictiveBackHandler will no longer fire it's callback after the handler has been disabled. This will fix an issue where the NavHost from Navigation Compose would throw an IndexOutOfBoundsException. (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 PropertyDefined query function. (I1aeaf)
  • Add nodes to represent numeric search and property restrict. (I963a9)
  • Add node representing GetSearchStringParameter query function. (I4f99b)
  • Add node representing the HasProperty query function. (I9c1c5)
  • Added interface for implementing functions in AST. (I9d42e)
  • Add AND and OR operators. (Iaa442)
  • Add NegationNode for representing logical negation of queries in AST. (Ia855a)
  • Add Node interface to AppSearch for defining nodes. (If42fb)
  • Adds an Experimental API annotation for AppSearch. (I3e57c)

Bug Fixes

  • Add TextNodes for 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-protobuf to 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 CollectBaselineProfileTask when 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, changes CaptureInfo to include optional ART mainline version with default. (I930f7)
  • Add coefficientOfVariation to Benchmark JSON output to show stability within a given benchmark run. (Ib14ea)

Bug Fixes

  • Fixed CollectBaselineProfileTask when AVD device has spaces in it. (Ia0225, b/371642809)
  • Speculative fix for errors from StartupMode.COLD exceptions: Package <packagename> must not be running prior to cold start!. Now, MacrobenchmarkScope.killProcess() (including the one run before each iteration, used to implement StartupMode.COLD behavior) 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 startFocusMetering with PreviewView.getMeteringPointFactory doesn'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

Read more

2024-10-02

02 Oct 18:46

Choose a tag to compare

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 lockClocks and unlockClocks to 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

  • BaselineProfileRule now 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 with CameraEffect should now have the same pre-capture and post-capture processings (e.g. flash trigger, 3A convergence etc. when applicable) as image capture without any CameraEffect. (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#isSessionConfigurationSupported API with additional data provided by Google Play Service.

Bug Fixes

  • Fixed Preview/VideoCapture target frame rate issue on LEGACY level devices. The target frame rate set via the setTargetFrameRate or Camera2Interop API was always overwritten to the value provided by the AeFpsRangeLegacyQuirk. With this fix, CameraX library will respect the value set via the setTargetFrameRate or Camera2Interop API. (Ie2d32)
  • Added flash/torch/3A functionalities for image captures with CameraEffect. The image captures with CameraEffect should now have the same pre-capture and post-capture processings (e.g. flash trigger, 3A convergence etc. when applicable) as image capture without any CameraEffect. (I5ff30)
  • Excluded problematic output sizes for ImageAnalysis on Samsung SM-A057G device. When ImageAnalysis uses a resolution larger or equal to 1920x1440, it will cause black preview issue. Applied ExcludedSupportedSizesQuirk to the SM-A057G device to avoid the issue. (I63dfe,
Read more

2024-09-18

18 Sep 21:37

Choose a tag to compare

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

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.suppressWarnings to suppress all baseline profile warnings (I7c36e, b/349646646)
  • Fixed Baseline Profile Gradle Plugin to use pre-existing nonMinified… and benchmark… if created by the app instead of creating wrappers. (Ia8934, b/361370179)
  • Fixed java.lang.AssertionError: ERRORS (not suppressed): EMULATOR when automaticGenerationDuringBuild is enabled on emulators. New argument is used to instead skip the test. (If3f51, b/355515798)
  • Microbenchmark minification - keep subclasses of org.junit.runner.notification.RunListener in benchmark library proguard (Ic8ed5, b/354264743)
  • Fix TraceSectionMetric to 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 FrameTimingGfxInfoMetric where 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.suppressWarnings to 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 automaticGenerationDuring build is enabled, benchmarks will also trigger baseline profile generation. This will fail, if emulators are used. With the new argument skipBenchmarksOnEmulator we can instead skip the test. (0c2ddcd)
  • Change perf event enable logic to run on API 23+ (2550048)

API Changes

  • Existing experimental PerfettoConfig argument to MacrobenchmarkRule.measureRepeated() moved to the new ExperimentalConfig object.

Bug Fixes

  • Increase lockClocks.sh retry count (99e9dac)
  • Don't create nonMinified and benchmark build types if existing. Due to a bug, even if nonMinified and benchmark build types existed, they were going to be recreated. (e75f0a5)
  • Ignore non-terminating slices from TraceSectionMetric results. (a927d20)
  • Improved emulator check to consider sdk_ prefix. (1587de8)
  • Treat non-running packages as cleared in FrameTimingGfxInfoMetric. (35cc79c)
  • Fix androidx.benchmark.cpuEventCounter producing corrupt values for non-Instruction events. (06edd59)
  • Fix resumeTiming/runWithTimingDisabled to 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 via cpuEventCounter.enable instrumentation argument, timeNs is no longer significantly reduced when pause/resume occur. (
Read more

2024-09-10

10 Sep 21:36

Choose a tag to compare

Compose Animation: v1.7.1

September 10, 2024

  • No changes to Android artifacts. -desktop artifacts were removed and -jvmStubs and -linuxx64Stubs artifacts 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. -desktop artifacts were removed and -jvmStubs and -linuxx64Stubs artifacts 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. -desktop artifacts were removed and -jvmStubs and -linuxx64Stubs artifacts 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. -desktop artifacts were removed and -jvmStubs and -linuxx64Stubs artifacts 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. -desktop artifacts were removed and -jvmStubs and -linuxx64Stubs artifacts were added. None of these targets are meant to be used, they are placeholders to help Jetbrains Compose efforts.

2024-09-09

10 Sep 15:37

Choose a tag to compare

Media3:

2024-09-05

06 Sep 01:53

Choose a tag to compare

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 PredictiveBackHandler API 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 an IndexOutOfBoundsException. (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 PickVisualMedia and PickMultipleVisualMedia Activity 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 public ACTION_SYSTEM_FALLBACK_PICK_IMAGES action 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 Compose PredictiveBackHandler API 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 an IndexOutOfBoundsException. (Ie3301, b/340202286)
  • From Activity 1.9.1: Fixed an issue with PredictiveBackHandler where after doing system back, attempting to do onBackPressed from the OnBackPressedDispatcher would 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 setEmbeddingSearchEnabled and getEmbeddingSearchEnabled. Deletes setListFilterTokenizeFunctionEnabled and getListFilterTokenizeFunctionEnabled. Deleted the 'tokenize' query function. Replaced with getSearchStringParameter query function and addSearchStringParameter function. (I09f5a)
  • Rename Alarm#getComputingDevice to getOriginatingDevice. (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.getCameraInfo to 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 bindToLifecycle is invoked with a destroyed LifecycleOwner. (I6e6d8)
  • Fixed Preview is black screen in front camera while binding with VideoCapture on Motorola Edge 20 Fusion. (I1fe88)
  • Optimized the configuration for detecting zoom gestures in PreviewView to 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

  • OrderedScatterSet is a new ordered, allocation-free collection (Ic4178)
  • SieveCache is a new allocation-free replacement for LruCache that offers better hit ratio characteristics. (I50a17)
  • Exposed the packedValue internal representation for IntIntPair and FloatFloatPair. (Ifeb75, b/331853566)
  • Adding access to the content array in list collections. (I899d5, b/333903173)
  • Add DoubleList, a ...
Read more

2024-09-04

04 Sep 21:37

Choose a tag to compare

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 PredictiveBackHandler API 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 an IndexOutOfBoundsException. (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 PickVisualMedia and PickMultipleVisualMedia Activity 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 public ACTION_SYSTEM_FALLBACK_PICK_IMAGES action 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 Compose PredictiveBackHandler API 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 an IndexOutOfBoundsException. (Ie3301, b/340202286)
  • From Activity 1.9.1: Fixed an issue with PredictiveBackHandler where after doing system back, attempting to do onBackPressed from the OnBackPressedDispatcher would 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 setEmbeddingSearchEnabled and getEmbeddingSearchEnabled. Deletes setListFilterTokenizeFunctionEnabled and getListFilterTokenizeFunctionEnabled. Deleted the 'tokenize' query function. Replaced with getSearchStringParameter query function and addSearchStringParameter function. (I09f5a)
  • Rename Alarm#getComputingDevice to getOriginatingDevice. (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.getCameraInfo to 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 bindToLifecycle is invoked with a destroyed LifecycleOwner. (I6e6d8)
  • Fixed Preview is black screen in front camera while binding with VideoCapture on Motorola Edge 20 Fusion. (I1fe88)
  • Optimized the configuration for detecting zoom gestures in PreviewView to 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

  • OrderedScatterSet is a new ordered, allocation-free collection (Ic4178)
  • SieveCache is a new allocation-free replacement for LruCache that offers better hit ratio characteristics. (I50a17)
  • Exposed the packedValue internal representation for IntIntPair and FloatFloatPair. (Ifeb75, b/331853566)
  • Adding access to the content array in list collections. (I899d5, b/333903173)
  • Add DoubleList, a List-like data structure optimi...
Read more