2024-06-12
Benchmark: v1.3.0-beta01
June 12, 2024
androidx.benchmark:benchmark-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.
API Changes
- Renamed
MethodTracing.affectsMeasurementOnThisDevicetoAFFECTS_MEASUREMENT_ON_THIS_DEVICEfor consistency. (I1bdfa) - Added experimental
BlackHole.consume()api to prevent dead code elimination in microbenchmarks. (If6812, b/286091643) - Microbenchmark will now correctly throw to prevent method tracing from interfering with measurements. This occurs on certain devices when method tracing is forced on (via instrumentation args or
MicrobenchmarkConfig), and if a measurement is attempted after a method trace. Affected devices are running API 26-30 or certain ART mainline module versions affected by this interference, and can be detected at runtime viaProfilerConfig.MethodTracing.affectsMeasurementOnThisDevice. (Iafb92, b/303660864)
Bug Fixes
- Bumped max agp version recommended to 9.0.0-alpha01. (I5bbb0)
- Added compilation mode to benchmark context (If5612, b/325512900)
- Enable AIDL tracing by default (requires API 28) (Ia0af2, b/341852305)
- Added additional information in benchmark context in JSON output:
context.artMainlineVersion- integer version of Art mainline module (if present on device, -1 otherwise)context.build.id- Equalsandroid.os.Build.IDcontext.build.version.codename- Equalsandroid.os.Build.VERSION.CODENAMEcontext.build.version.abbreviatedCodename- corresponds to first letter of pre-release codename (even on release builds) (Ie5020)
- Fixes
StackSamplingto respectandroidx.benchmark.profiling.sampleDurationSeconds(Ib1d53) - Change macro->common dependency to be
api(), so it's easier to use e.g.PerfettoTraceandPerfettoConfig. (Icdae3, b/341851833) - Ensure
mergeArtProfileandmergeStartupProfiletasks always wait for baseline profile generation. (I623d6, b/343086054) - Consider variant enable state when deciding whether variant should be enabled. (I5d19e, b/343249144)
- Increased default start timeout for perfetto trace processor. (I87e8c, b/329145808)
CameraX: v1.3.4
June 12, 2024
androidx.camera:camera-*:1.3.4 is released. Version 1.3.4 contains these commits.
Bug Fixes
- Fixed the issue where
getZoomRatioincorrectly returned a decreased value when applying an increasing zoom ratio. (I4aa0d, b/317543616) - Fixed still capture/tap-to-focus not using the repeating request FPS/stabilization mode values which may re-create capture session and cause latency issues or Preview freeze in some devices. (I7dc0b)
- Fixed the issue that the frame rate is set to a lower value when calling
setTargetFrameRatewithFRAME_RATE_RANGE_UNSPECIFIED. (I78c61)
Camera: v1.4.0-beta02
June 12, 2024
androidx.camera:camera-*:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.
API Changes
- Similar to
VideoCapture, addsetMirrorModefor Preview use case. It will support mirror mode ON and OFF for Preview stream viaOutputConfiguration.setMirrorModefrom API 33 and above, for older APIs, it will be no-op. (I821f4)
Bug Fixes
- Fixed the issue that apps can't take pictures successfully on Samsung Tab A8 when
ImageCaptureselects 1920x1080 underPreview+VideoCapture+ImageCaptureUseCasecombination. (I5a463, b/336925549) - Fixed persistent recording may fail to continue recording after switching camera. (Icb0a1)
Camera Viewfinder: v1.4.0-alpha07
June 12, 2024
androidx.camera:camera-viewfinder:1.4.0-alpha07 and androidx.camera:camera-viewfinder-core:1.4.0-alpha07 are released. Version 1.4.0-alpha07 contains these commits.
Camera Viewfinder Compose: v1.0.0-alpha02
June 12, 2024
androidx.camera:camera-viewfinder-compose:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Compose Animation: v1.7.0-beta03
June 12, 2024
androidx.compose.animation:animation-*:1.7.0-beta03 is released. Version 1.7.0-beta03 contains these commits.
Compose Animation: v1.6.8
June 12, 2024
androidx.compose.animation:animation-*:1.6.8 is released. Version 1.6.8 contains these commits.
Compose Foundation: v1.7.0-beta03
June 12, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta03 is released. Version 1.7.0-beta03 contains these commits.
Compose Foundation: v1.6.8
June 12, 2024
androidx.compose.foundation:foundation-*:1.6.8 is released. Version 1.6.8 contains these commits.
Compose Material: v1.7.0-beta03
June 12, 2024
androidx.compose.material:material-*:1.7.0-beta03 is released. Version 1.7.0-beta03 contains these commits.
Compose Material: v1.6.8
June 12, 2024
androidx.compose.material:material-*:1.6.8 is released. Version 1.6.8 contains these commits.
Compose Material3: v1.3.0-beta03
June 12, 2024
androidx.compose.material3:material3-*:1.3.0-beta03 is released. Version 1.3.0-beta03 contains these commits.
External Contribution
- Make
androidx.compose.material3.DropdownMenuavailable from common source set. (If62c0)
Compose Material3 Adaptive: v1.0.0-beta03
June 12, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta03 is released. Version 1.0.0-beta03 contains these commits.
Bug Fixes
- Fixes crashes caused by incorrect dependency resolution in beta02.
Compose Runtime: v1.7.0-beta03
June 12, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta03 is released. Version 1.7.0-beta03 contains these commits.
Compose Runtime: v1.6.8
June 12, 2024
androidx.compose.runtime:runtime-*:1.6.8 is released. Version 1.6.8 contains these commits.
Compose UI: v1.7.0-beta03
June 12, 2024
androidx.compose.ui:ui-*:1.7.0-beta03 is released. Version 1.7.0-beta03 contains these commits.
Compose UI: v1.6.8
June 12, 2024
androidx.compose.ui:ui-*:1.6.8 is released. Version 1.6.8 contains these commits.
Bug Fixes
- Fixed inconsistencies in font scaling when the font scale is less than the lowest defined table. In this case, we now interpolate between the linear 1x scale and the lowest defined table, so that the font size is monotonically increasing as scales increase. (Icbae3)
Concurrent: v1.2.0
June 12, 2024
androidx.concurrent:concurrent-futures:1.2.0 and androidx.concurrent:concurrent-futures-ktx:1.2.0 are released. Version 1.2.0 contains these commits.
Important changes since 1.1.0
- Added
SuspendToFutureAdapterfor translating a call to a suspending API into aListenableFuture.
Core and Core-ktx: v1.15.0-alpha01
June 12, 2024
androidx.core:core:1.15.0-alpha01, androidx.core:core-ktx:1.15.0-alpha01, and androidx.core:core-testing:1.15.0-alpha01 are released. This version is developed in an internal branch and is compatible with Android 15 Beta 3 (android-35).
API Changes
- Various updates to compatibility classes for parity with Android 15 SDK.
Core Remote Views: v1.1.0
June 12, 2024
androidx.core:core-remoteviews:1.1.0 is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Core
RemoteViewsmoves to 1.1.0 stable.
Core-i18n Core-location-altitude: v1.0.0-alpha02
June 12, 2024
androidx.core:core-location-altitude:1.0.0-alpha02, androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02, and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
Bug Fixes
- Fixes proguard failure caused by the repackaging of proto libraries.
External Contribution
- Bug fix above provided by [email protected]
credentials: v1.5.0-alpha02
June 12, 2024
androidx.credentials:credentials:1.5.0-alpha02 and androidx.credentials:credentials-play-services-auth:1.5.0-alpha02 are released. This version is developed in an internal branch.
New Features
- The ability for
CredentialManagerto directly imbue aBiometricPromptwithin the credential creation and retrieval flows is now available for use through Jetpack for providers.
API Changes
- Added the
BiometricPromptDatato the API surface to allow utilizing the new imbuedBiometricPromptflow throughCredentialManager(I3b159) - Modified all entry classes and subclasses across
CreateEntryandCredentialEntryto gain the utility of theBiometricPromptDatafor Providers. (I16936, I8e5bc) - Added the types needed to encode the error and results from the imbued
BiometricPromptflows withCredentialManager. (I8e5bc)
credentials: v1.3.0-beta02
June 12, 2024
androidx.credentials:credentials:1.3.0-beta02 and androidx.credentials:credentials-play-services-auth:1.3.0-beta02 are released. Version 1.3.0-beta02 contains these commits.
Bug Fixes
- Fixed logic to correctly check for
NOT_ALLOWED_ERRinstead ofCONSTRAINT_ERRin public key credential flows that contain an error on pre-U devices (I31b37)
Fragment: v1.8.0
June 12, 2024
androidx.fragment:fragment-*:1.8.0 is released. Version 1.8.0 contains these commits.
Important changes since 1.7.0
- The
fragment-composeartifact now contains anAndroidFragmentComposablethat allows adding fragments into the Compose hierarchy via the fragment class name. It automatically handles the saving and restoring of the Fragment’s state. This should be used as a direct replacement for the previously recommended approach of usingAndroidViewBindingto inflate a Fragment. - The
onBackStackChangeCancelledcallback on theFragmentManager’sOnBackStackChangedListenerinterface now fires as part of executing operations inFragmentManager, moving it closer in line with the timing of theonBackStackChangeCommittedcallback.
Games-Controller: v2.0.2
June 12, 2024
androidx.games:games-controller:2.0.2 is released. Version 2.0.2 contains these commits.
Bug Fixes
- Fixed issue where controller connected callbacks were not firing for controllers already connected before
Paddleboat_init. - Fixed issue where game controller touchpads were not registering touchpad presses in
Paddleboat_processGameActivityMotionInputEventwithout manually enabling the pressure axis. - Fixed issue where game controller touchpad events were not being marked as consumed by
Paddleboat_processGameActivityMotionInputEvent.
Glance: v1.1.0
June 12, 2024
androidx.glance:glance-*:1.1.0 is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Moves Glance to 1.1.0 stable.
Lifecycle: v2.8.2
June 12, 2024
androidx.lifecycle:lifecycle-*:2.8.2 is released. Version 2.8.2 contains these commits.
Bug Fixes
- Fixed
CompositionLocal LocalLifecycleOwner not presenterrors when using Lifecycle 2.8.X with Compose 1.6.X or earlier - you can now use Lifecycle 2.8.2 with any version of Compose without any workarounds required. (aosp/3105647, b/336842920) ViewModelProviderwill no longer crash when mixing previous versions ofcompileOnlyLifecycle dependencies with versions 2.8+, fixing issues with libraries such as LeakCanary. (I80383, b/341792251)
Navigation: v2.8.0-beta03
June 12, 2024
androidx.navigation:navigation-*:2.8.0-beta03 is released. Version 2.8.0-beta03 contains these commits.
API Changes
CollectionNavTypehas a new abstractemptyCollection()method. Override this to handle an empty collection passed in as an argument. (Ie4d84, b/341723133)
Bug Fixes
- Added documentation on
NavType.serializeAsValueandserializeAsValuesto highlight that the final outputs should be Uri encoded. (Ida6bd, b/344943214) - Fixed crash when calling
toRoute<T>with a nullCollectionNavTypeargument. When navigating with a nullCollectionNavType, the output argument will be the default value declared on your Serializable class, or the return value ofemptyCollection()if there is no default value. (I84158, Id630f, b/342672856)
Room: v2.7.0-alpha04
June 12, 2024
androidx.room:room-*:2.7.0-alpha04 is released. Version 2.7.0-alpha04 contains these commits.
Bug Fixes
- Fixed an issue in Room’s annotation processor would generate incompatible KMP code when a multi-map return type was defined in a DAO. (b/340983093)
- Fixed an issue where Room would fail to find the generated database implementation if the
@Databaseannotated class had no package. (b/342097292) - Fixed an issue where enabling auto-close and multi-instance invalidation would sometimes cause a
ConcurrentModificationExceptionwhen the database was auto-closed due to being idle.
Security-State: v1.0.0-alpha01
June 12, 2024
androidx.security:security-state:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
- Security State is a new library developers can use to get actionable data about versions of updateable system components, security updates and applied fixes.
Sqlite: v2.5.0-alpha04
June 12, 2024
androidx.sqlite:sqlite-*:2.5.0-alpha04 is released. Version 2.5.0-alpha04 contains these commits.
API Changes
- Added an
open()overload API toBundledSQLiteDriverto pass open flags when opening a database connection. Useful for opening a database in read-only mode or using the serialized thread safe mode instead of the multi-thread mode bundled SQLite is compiled with (b/340949940).
Bug Fixes
- Fixed a linking issue in the Bundled SQLite Driver that would cause
UnsatisfiedLinkErrorto be thrown due to missing atomic symbols in Android devices with an ARM32. (b/341639198) - Fixed an issue in the drivers where binding a zero-length byte array into a column would lead to a null value when reading from it.
Wear Compose: v1.4.0-beta03
June 12, 2024
androidx.wear.compose:compose-*:1.4.0-beta03 is released. Version 1.4.0-beta03 contains these commits.
Bug Fixes
- We have updated
Modifier.rotaryScrollableto replace use of ‘focusable’ with ‘focusTarget’ which improves performance. (Id294b) - We have fixed an issue where the
ProgressIndicatorrepeated its announcement underTalkBack. (I94563) - We have updated the Wear Compose library baseline profiles. (I3cbc3)
Webkit: v1.12.0-alpha02
June 12, 2024
androidx.webkit:webkit:1.12.0-alpha02 is released. Version 1.12.0-alpha02 contains these commits.
New Features
- Add a new API to
WebSettingsCompatto enabled/disableBackForwardCache. This API is experimental and can be changed in the future. (I64a38) - Add a new API to
WebSettingsCompatto control the Speculative Loading behavior for this WebSettings. Only Prerender is available for now. This API is experimental and can be changed in the future. (I13962)
API Changes