Skip to content

Releases: mahozad/androidx-release-notes

2024-01-10

10 Jan 18:37

Choose a tag to compare

Annotation-Experimental: v1.4.0-rc01

January 10, 2024

androidx.annotation:annotation-experimental:1.4.0-rc01 is released. Version 1.4.0-rc01 contains no changes since the previous release.

Collection: v1.4.0-rc01

January 10, 2024

androidx.collection:collection-*:1.4.0-rc01 is released with no changes. Version 1.4.0-rc01 contains these commits.

Compose Animation: v1.6.0-rc01

January 10, 2024

androidx.compose.animation:animation-*:1.6.0-rc01 is released. Version 1.6.0-rc01 contains these commits.

Compose Compiler: v1.5.8

January 10, 2024

androidx.compose.compiler:compiler:1.5.8 and androidx.compose.compiler:compiler-hosted:1.5.8 are released. Version 1.5.8 contains these commits.

New Features

  • Support for Kotlin 1.9.22

Bug Fixes

  • Fix bug where Compose Compiler build threw exceptions when built using Java21. Users who are using Compose Compiler from Google Maven (i.e., not building it themselves) were never impacted by this bug. (b/316644294)
  • Fix bug where COMPOSABLE_EXPECTED error was being reported for some callers of non-inlined lambdas. (b/309364913)
  • Add a compilation error for default parameters in open functions (previously only it was restricted only for abstract functions). Compose does not support substitution of default parameters from overridden functions at the moment, and overriding a composable function with default parameters was failing at runtime. Use @Suppress("ABSTRACT_COMPOSABLE_DEFAULT_PARAMETER_VALUE") to suppress, but note that overriding such function without providing a default value for parameter will result in a crash at runtime.(b/317490247)
  • Fixed bug in intrinsic remember which prevented values from propagating correctly. (b/316327367)

External Contribution

Compose Foundation: v1.6.0-rc01

January 10, 2024

androidx.compose.foundation:foundation-*:1.6.0-rc01 is released. Version 1.6.0-rc01 contains these commits.

API Changes

  • The DragAndDropTarget() extension constructor has been removed. Create a new instance using object: DragAndDropTarget {}. (I32318)

Compose Material: v1.6.0-rc01

January 10, 2024

androidx.compose.material:material-*:1.6.0-rc01 is released. Version 1.6.0-rc01 contains these commits.

Compose Material 3: v1.2.0-beta02

January 10, 2024

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

Known Bug - A bug in IconButtonColors will by default assign disabledContentColor to an alpha (0.38f) of LocalContentColor instead of the user specified contentColor. The workaround is to expliclty set the disabledContentColor. This will be fixed in the next release.

API Changes

  • Adding the capability to enable tooltip carets for Plain Tooltip APIs. (Ibf767)
  • SwipeToDismissState, rememberSwipeToDismiss and SwipeToDismissValue are all renamed to have _SwipeToDismissBox_. (I68d6d)

Bug Fixes

  • Fixed ListItem end padding value to align with spec. (Ibd68b, b/305342674)
  • Outline color for outlined card is now correctly mapped to OutlineVariant. (I75480, b/310979715)
  • Dynamic color now pulls from system defined color roles. This improves contrast for accessible content, and more closely aligns dynamic color to the Material spec. (I1de96)
  • Fixed ModalBottomSheet back handling on Android T/13+ when android:enableOnBackInvokedCallback="true". (I728dc, b/306196110)

Compose Material3 Adaptive: v1.0.0-alpha04

January 10, 2024

androidx.compose.material3:material3-adaptive:1.0.0-alpha04, androidx.compose.material3:material3-adaptive-android:1.0.0-alpha04, and androidx.compose.material3:material3-adaptive-desktop:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.

New Features

  • Added edge-to-edge support in pane scaffolds (I1b462)

API Changes

  • Moved hinge bounds properties in Posture to a list of hinge info (I24f90)

Bug Fixes

  • Fix AnimatedPane is not recomposed (c3f573d)

Compose Runtime: v1.6.0-rc01

January 10, 2024

androidx.compose.runtime:runtime-*:1.6.0-rc01 is released. Version 1.6.0-rc01 contains these commits.

Compose UI: v1.6.0-rc01

January 10, 2024

androidx.compose.ui:ui-*:1.6.0-rc01 is released. Version 1.6.0-rc01 contains these commits.

Bug Fixes

  • Optimized vector graphics implementation to improve performance by minimizing additional recompositions.

Core Performance: v1.0.0

January 10, 2024

androidx.core:core-performance:1.0.0, androidx.core:core-performance-play-services:1.0.0, and androidx.core:core-performance-testing:1.0.0 are released. Versi...

Read more

2023-12-18

19 Dec 18:36

Choose a tag to compare

Compose Compiler: v1.5.7

December 19, 2023

androidx.compose.compiler:compiler:1.5.7 and androidx.compose.compiler:compiler-hosted:1.5.7 are released. Version 1.5.7 contains these commits.

Bug Fixes

  • Fix compose runtime crash when remember() key parameter invokes a Composable function (b/315855015)
  • Fix Compose runtime crash when return@ is used. (b/315821171)
  • Avoid using absolute paths in memoization keys which allows better build cache utilization. (b/313937484)

2023-12-13

13 Dec 18:37

Choose a tag to compare

Activity: v1.8.2

December 13, 2023

androidx.activity:activity:1.8.2, androidx.activity:activity-compose:1.8.2, and androidx.activity:activity-ktx:1.8.2 are released. Version 1.8.2 contains these commits.

Bug Fixes

  • Fixed the extra passed to the Photo Picker Activity Contract's ACTION_SYSTEM_FALLBACK_PICK_IMAGES to correctly pass it the EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX key, rather than using the extra with the key "com.google.android.gms.provider.extra.PICK_IMAGES_MAX". It is strongly recommended if you are an OEM who implements a system fallback Photo Picker to support both extras to ensure the widest compatibility. (I96a00)

Annotation: v1.7.1

December 13, 2023

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

Bug Fixes

  • Use compile scope when inserting default platform dependency. (I4958f)

Annotation-Experimental: v1.4.0-beta01

December 13, 2023

androidx.annotation:annotation-experimental:1.4.0-beta01 is released. There are no changes since the previous release.

CameraX: v1.3.1

December 13, 2023

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

Bug Fixes

Improved the ProcessCameraProvider#bindToLifecycle() performance. The major change is to optimize the process of identifying the most suitable size combinations for UseCases. The optimal results vary based on the specific UseCase combinations and the number of supported output sizes for the target devices. (I454f2)

Here are some reference results for various scenarios:

  • Four UseCases: Preview + ImageCapture + ImageAnalysis + VideoCapture

    • Google Pixel 7: Approximately 430 ms to 60 ms
    • Samsung Galaxy S23 Ultra: Approximately 540 ms to 45 ms
    • Samsung A53 5G: Approximately 115 ms to 70 ms
  • Three UseCases: Preview + ImageCapture + ImageAnalysis

    • Google Pixel 7: Approximately 9 ms to 7 ms
    • Samsung Galaxy S23 Ultra: Approximately 6 ms to 5 ms
    • Samsung A53 5G: Approximately 32 ms to 12 ms
  • Added Snapdragon 480 to the CameraUseInconsistentTimebaseQuirk. This fixes an issue on Android 12 for devices using this chipset where the audio in recordings is offset by the amount of time the device is in a suspended state. (I58010)

CameraX: v1.4.0-alpha03

December 13, 2023

androidx.camera:camera-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.

New Features

  • Added CameraInfo.mustPlayShutterSound to provide the information of whether a shutter sound must be played in accordance to regional restrictions. (Ifda84)
  • Added OnImageCapturedCallback.onCaptureStarted and OnImageSavedCallback.onCaptureStarted for notifying when the camera has started exposing a frame. It's recommended to play the shutter sound or the shutter animation at this point. (Ic49b3)
  • Added Screen Flash feature support in CameraX for front camera image capture. CameraX will take care of the framework-side API handling and sync the timing with application's UI changes as required (e.g. AE precapture trigger after app screen color/brightness change). Apps will only need to add their UI side implementations in the ScreenFlashUiControl interface provided to CameraX. (I8ae84)
  • Added Screen Flash feature UI-side implementation support in CameraX. Apps will be able to get a basic ImageCapture.ScreenFlashUiControl implementation from PreviewView or the newly added ScreenFlashView which will add a mono-color overlay view and maximize screen brightness during screen flash photo capture. (I1810e)

API Changes

  • Supports new Extensions features(postview and capture process progress): Added ImageCapture#getImageCaptureCapabilities() APIs for apps to query the capabilities of the postview and capture process progress callback. Apps can enable the postview using the ImageCapture.Builder#setPostviewEnabled(). The postview size can be selected using ImageCapture.Builder#setPostviewResolutionSelector(). When invoking takePicture(), onPostviewBitmapAvailable and onCaptureProcessProgressed can be implemented in OnImageSavedCallback or OnImageCapturedCallback to get the postview and process progress notification if supported. (I5cd88)
  • APIs for calculate coordinates transformation from sensor to the current buffer, with a flag indicating whether the Surface contains the camera orientation info. (I59096)
  • Expose the API to query PreviewCapabitlity in Preview UseCase. (Ie5b6c)
  • Added APIs to support more qualities for VideoCapture. Recorder.Builder#setVideoCapabilitiesSource(int) can be used with VIDEO_CAPABILITIES_SOURCE_CODEC_CAPABILITIES to create a Recorder instance which supports more qualities than VIDEO_CAPABILITIES_SOURCE_CAMCORDER_PROFILE. A common use case is when the application strives to record UHD video whenever feasible, but the device's CamcorderProfile does not include a UHD settings, even though the codec is capable of recording UHD video. (Iedbe2, b/263961771)
  • Add ImageAnalysis output format getter/setter to CameraController. (I9a96c, b/308240643)

Bug Fixes

  • From Camera 1.3.1: Improved the ProcessCameraProvider#bindToLifecycle() performance. The major change is to optimize the process of identifying the most suitable size combinations for UseCases. The optimal results vary based on the specific UseCase combinations and the number of supported output sizes for the...
Read more

2023-12-05

06 Dec 18:37

Choose a tag to compare

Compose Compiler: v1.5.6

December 6, 2023

androidx.compose.compiler:compiler:1.5.6 and androidx.compose.compiler:compiler-hosted:1.5.6 are released. Version 1.5.6 contains these commits.

New Features

  • Support for Kotlin 1.9.21

Bug Fixes

  • Enable intrinsic remember - the compiler transform that inlines remember in Compose compiler plugin and replaces .equals comparisons with int comparisons of the parameter meta for stable params. This results in less slots being used and less comparisons being done at runtime. The option can be disabled by providing compiler plugin argument: -P plugin:androidx.compose.compiler.plugins.kotlin:intrinsicRemember=false. (If675f)
  • Fix memoization of adapted function references and inline arguments. (b/312738720)
  • Realize groups when exiting inline function call (b/312242547)

External Contribution

  • Fix k/native and k/wasm runtime crash due to missing return statement in Composable functions when it's the last statement and returns a null const (aosp/2835716)

2023-12-01

01 Dec 18:37

Choose a tag to compare

Benchmark: v1.2.2

December 1, 2023

androidx.benchmark:benchmark-*:1.2.2 is released. Version 1.2.2 contains these commits.

Baseline Profiles

2023-11-29@10PM

30 Nov 01:38

Choose a tag to compare

Activity: v1.9.0-alpha01

November 29, 2023

androidx.activity:activity:1.9.0-alpha01, androidx.activity:activity-compose:1.9.0-alpha01, and androidx.activity:activity-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 contains these commits.

New Features

  • ComponentActivity now implements OnUserLeaveHintProvider to allow components to callbacks for onUserLeaveHint events. (I54892)

API Changes

  • ComponentActivity has been rewritten in Kotlin. (I14f31)
  • ActivityResultCaller has been rewritten in Kotlin. (Ib02e4)
  • ActivityResultLauncher has been rewritten in Kotlin. As part of that conversion, the getContract method is now an abstract Kotlin property. This is a binary compatible change, but source breaking if your implementation of ActivityResultLauncher is written in Kotlin. (Id4615)
  • PickVisualMediaRequest now has the same minimum API level of 19 as the PickVisualMedia Activity Result contract. (Id6e21)

Dependency Update

Annotation-Experimental: v1.4.0-alpha01

November 29, 2023

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

Bug Fixes

  • Temporarily remove class-level autofix suggestions to work around b/301598518. (Id98b2)
  • Show warnings for Java usages of experimentally-annotated Kotlin properties (I8bd43)
  • Fix placement of autofix annotation on Kotlin methods (Id7a41)

bluetooth: v1.0.0-alpha02

November 29, 2023

androidx.bluetooth:bluetooth:1.0.0-alpha02 and androidx.bluetooth:bluetooth-testing:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

New Features

  • Lower minSdkVersion to 21

API Changes

  • GattServerConnectFlow#updateServices becomes a suspend function (I0237d)
  • Change AdvertiseParams.durationMillis to Long (If6771)
  • Convert openGattServer to Flow (Icef54)
  • Throw ScanException on scan fail and set scanner to setLegacy(false) by default (Ib337c)
  • Throw AdvertiseException on advertise fail (I0e691)
  • Add general bluetooth exception to catch (I0130d)
  • Convert advertise to Flow and change maximum duration (I32fd8)
  • Add serviceData and serviceSolicitationUuids to ScanResult (I6d7f0)
  • Change durationMillis from Long to Duration (I89d49)
  • Add rssi, and periodicAdvertisingInterval to ScanResult (I60b51)
  • Add serviceSolicitationUuid and solicitationUuidMask to ScanFilter (Ic2206)
  • Added GattServerSessionScope#subscribedCharacteristics (I0edab)
  • Add serviceSolicitationUuids to AdvertiseParams (Ic9aa7)
  • Change AdvertiseParams.durationMillis from Int to Long (I6873f)
  • GattServerSessionScope#notify does not return but throws an exception if it fails (Ifc26f)

Bug Fixes

  • Extract scan functionality (I4d43f)

Browser: v1.8.0-beta01

November 29, 2023

androidx.browser:browser:1.8.0-beta01 is released. Version 1.8.0-beta01 contains these commits.

New Features

  • Add experimental support for Minimized Custom Tabs APIs. (I67f2d)

Collection: v1.4.0-beta02

November 29, 2023

androidx.collection:collection-*:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.

New Features - Improved performance of FloatFloatPair. (If5537)

Bug Fixes

Compose Animation: v1.6.0-beta02

November 29, 2023

androidx.compose.animation:animation-*:1.6.0-beta02 is released. Version 1.6.0-beta02 contains these commits.

Compose Compiler: v1.5.5

November 29, 2023

androidx.compose.compiler:compiler:1.5.5 and

Read more

2023-11-29

29 Nov 21:36

Choose a tag to compare

Activity: v1.9.0-alpha01

November 29, 2023

androidx.activity:activity:1.9.0-alpha01, androidx.activity:activity-compose:1.9.0-alpha01, and androidx.activity:activity-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 contains these commits.

New Features

  • ComponentActivity now implements OnUserLeaveHintProvider to allow components to callbacks for onUserLeaveHint events. (I54892)

API Changes

  • ComponentActivity has been rewritten in Kotlin. (I14f31)
  • ActivityResultCaller has been rewritten in Kotlin. (Ib02e4)
  • ActivityResultLauncher has been rewritten in Kotlin. As part of that conversion, the getContract method is now an abstract Kotlin property. This is a binary compatible change, but source breaking if your implementation of ActivityResultLauncher is written in Kotlin. (Id4615)
  • PickVisualMediaRequest now has the same minimum API level of 19 as the PickVisualMedia Activity Result contract. (Id6e21)

Dependency Update

Annotation-Experimental: v1.4.0-alpha01

November 29, 2023

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

Bug Fixes

  • Temporarily remove class-level autofix suggestions to work around b/301598518. (Id98b2)
  • Show warnings for Java usages of experimentally-annotated Kotlin properties (I8bd43)
  • Fix placement of autofix annotation on Kotlin methods (Id7a41)

bluetooth: v1.0.0-alpha02

November 29, 2023

androidx.bluetooth:bluetooth:1.0.0-alpha02 and androidx.bluetooth:bluetooth-testing:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.

New Features

  • Lower minSdkVersion to 21

API Changes

  • GattServerConnectFlow#updateServices becomes a suspend function (I0237d)
  • Change AdvertiseParams.durationMillis to Long (If6771)
  • Convert openGattServer to Flow (Icef54)
  • Throw ScanException on scan fail and set scanner to setLegacy(false) by default (Ib337c)
  • Throw AdvertiseException on advertise fail (I0e691)
  • Add general bluetooth exception to catch (I0130d)
  • Convert advertise to Flow and change maximum duration (I32fd8)
  • Add serviceData and serviceSolicitationUuids to ScanResult (I6d7f0)
  • Change durationMillis from Long to Duration (I89d49)
  • Add rssi, and periodicAdvertisingInterval to ScanResult (I60b51)
  • Add serviceSolicitationUuid and solicitationUuidMask to ScanFilter (Ic2206)
  • Added GattServerSessionScope#subscribedCharacteristics (I0edab)
  • Add serviceSolicitationUuids to AdvertiseParams (Ic9aa7)
  • Change AdvertiseParams.durationMillis from Int to Long (I6873f)
  • GattServerSessionScope#notify does not return but throws an exception if it fails (Ifc26f)

Bug Fixes

  • Extract scan functionality (I4d43f)

Browser: v1.8.0-beta01

November 29, 2023

androidx.browser:browser:1.8.0-beta01 is released. Version 1.8.0-beta01 contains these commits.

New Features

  • Add experimental support for Minimized Custom Tabs APIs. (I67f2d)

Collection: v1.4.0-beta02

November 29, 2023

androidx.collection:collection-*:1.4.0-beta02 is released. Version 1.4.0-beta02 contains these commits.

New Features - Improved performance of FloatFloatPair. (If5537)

Bug Fixes

Compose Animation: v1.6.0-beta02

November 29, 2023

androidx.compose.animation:animation-*:1.6.0-beta02 is released. Version 1.6.0-beta02 contains these commits.

Compose Compiler: v1.5.5

November 29, 2023

androidx.compose.compiler:compiler:1.5.5 and

Read more

2023-11-16

16 Nov 18:38

Choose a tag to compare

Activity: v1.8.1

November 15, 2023

androidx.activity:activity:1.8.1, androidx.activity:activity-compose:1.8.1, and androidx.activity:activity-ktx:1.8.1 are released. Version 1.8.1 contains these commits.

Bug Fixes

  • OnBackPressedDispatcher now continues to dispatch to the correct OnBackPressedCallback even after a new OnBackPressedCallback is added while the back gesture is being handled. (Id0ff6)

Benchmark: v1.2.1

November 15, 2023

androidx.benchmark:benchmark-*:1.2.1 is released. Version 1.2.1 contains these commits.

New Features

Browser: v1.7.0

November 15, 2023

androidx.browser:browser:1.7.0 is released. Version 1.7.0 contains these commits.

Important changes since 1.6.0

  • Added CustomTabsIntent.Builder#setBookmarksButtonEnabled that enables the bookmarks button in the overflow menu. (Ia792e)
  • Added CustomTabsIntent.Builder#setDownloadButtonEnabled that enables the download button in the overflow menu. (Ia792e)
  • Added CustomTabsIntent.Builder#setSendToExtraDefaultHandlerEnabled that enables sending initial urls to external handler apps. (Ia792e)
  • Added CustomTabsIntent.Builder#setTranslateLanguage that specifies the target language that the Translate UI should be triggered with. (Ia792e)
  • Added CustomTabsIntent.Builder#setBackgroundInteractionEnabled that enables interactions with the background app when a partial Custom Tab is launched. (Ia792e)
  • Added CustomTabsIntent.Builder#setShareIdentityEnabled that allows Custom Tabs to obtain the caller's identity. (I7bf2b)
  • Added CustomTabsIntent.Builder#setSecondaryToolbarSwipeUpGesture that sets a PendingIntent to be sent when the user swipes up from the bottom toolbar. (Id42a2)

Browser: v1.8.0-alpha01

November 15, 2023

androidx.browser:browser:1.8.0-alpha01 is released. Version 1.8.0-alpha01 contains these commits.

New Features

  • Added CustomTabsIntent.Builder#setInitialActivityWidthPx which allows developers to specify the initial launch width of a Custom Tab. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetBreakpointDp which allows developers to specify the minimum Custom Tabs window width in order for it to act as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetPosition which allows developers to specify the Custom Tab’s position when acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetEnableMaximization which allows developers to enable or disable the maximization button when the Custom Tab is acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetDecorationType which allows developers to specify the Custom Tab’s decoration type when it is acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetRoundedCornersPosition which allows developers to specify the position of the rounded corners when the Custom Tab is acting as a side sheet. (I443f6)
  • Added onActivityLayout callback method to interface CustomTabsCallback to let developers know the coordinates of the area occupied by the Custom Tab and the state in which it is being displayed. This will be called when the Custom Tab is first displayed on the screen and each time the occupied area changes. (I443f6)
  • Added onWarmupCompleted callback method to interface CustomTabsCallback to let developers know when CustomTabsClient#warmupfinishes warming up the browser process. (I107cf)

Bug Fixes

  • ​​Added the session id to extras in CustomTabsSession#setEngagementSignalsCallback and CustomTabsSession#isEngagementSignalsApiAvailable. (Iba7f1)

Collection: v1.4.0-beta01

November 15, 2023

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

Bug Fixes

  • Fix for ListIterator incorrectly setting values in ObjectList that could result in a crash due to IndexOutOfBoundsException. (I3bd8a, b/307049391)

Compose Animation: v1.6.0-beta01

November 15, 2023

androidx.compose.animation:animation-*:1.6.0-beta01 is released. Version 1.6.0-beta01 contains these commits.

API Changes

  • ExitTransition.Hold has been renamed to ExitTransition.KeepUntilTransitionsFinished to be more explicit. (I1c490)
  • You may now use keyframesWithSpline to interpolate any N-dimensional value using monotonic splines. It's particularly useful to interpolate positional values such as Offset, IntOffset, DpOffset. Added as Experimental API.

Bug Fixes

  • Add renderer support for Sweep Gradient in ArcLine....
Read more

2023-11-15

15 Nov 18:37

Choose a tag to compare

Activity: v1.8.1

November 15, 2023

androidx.activity:activity:1.8.1, androidx.activity:activity-compose:1.8.1, and androidx.activity:activity-ktx:1.8.1 are released. Version 1.8.1 contains these commits.

Bug Fixes

  • OnBackPressedDispatcher now continues to dispatch to the correct OnBackPressedCallback even after a new OnBackPressedCallback is added while the back gesture is being handled. (Id0ff6)

Benchmark: v1.2.1

November 15, 2023

androidx.benchmark:benchmark-*:1.2.1 is released. Version 1.2.1 contains these commits.

New Features

Browser: v1.7.0

November 15, 2023

androidx.browser:browser:1.7.0 is released. Version 1.7.0 contains these commits.

Important changes since 1.6.0

  • Added CustomTabsIntent.Builder#setBookmarksButtonEnabled that enables the bookmarks button in the overflow menu. (Ia792e)
  • Added CustomTabsIntent.Builder#setDownloadButtonEnabled that enables the download button in the overflow menu. (Ia792e)
  • Added CustomTabsIntent.Builder#setSendToExtraDefaultHandlerEnabled that enables sending initial urls to external handler apps. (Ia792e)
  • Added CustomTabsIntent.Builder#setTranslateLanguage that specifies the target language that the Translate UI should be triggered with. (Ia792e)
  • Added CustomTabsIntent.Builder#setBackgroundInteractionEnabled that enables interactions with the background app when a partial Custom Tab is launched. (Ia792e)
  • Added CustomTabsIntent.Builder#setShareIdentityEnabled that allows Custom Tabs to obtain the caller's identity. (I7bf2b)
  • Added CustomTabsIntent.Builder#setSecondaryToolbarSwipeUpGesture that sets a PendingIntent to be sent when the user swipes up from the bottom toolbar. (Id42a2)

Browser: v1.8.0-alpha01

November 15, 2023

androidx.browser:browser:1.8.0-alpha01 is released. Version 1.8.0-alpha01 contains these commits.

New Features

  • Added CustomTabsIntent.Builder#setInitialActivityWidthPx which allows developers to specify the initial launch width of a Custom Tab. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetBreakpointDp which allows developers to specify the minimum Custom Tabs window width in order for it to act as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetPosition which allows developers to specify the Custom Tab’s position when acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetEnableMaximization which allows developers to enable or disable the maximization button when the Custom Tab is acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetDecorationType which allows developers to specify the Custom Tab’s decoration type when it is acting as a side sheet. (I443f6)
  • Added CustomTabsIntent.Builder#setActivitySideSheetRoundedCornersPosition which allows developers to specify the position of the rounded corners when the Custom Tab is acting as a side sheet. (I443f6)
  • Added onActivityLayout callback method to interface CustomTabsCallback to let developers know the coordinates of the area occupied by the Custom Tab and the state in which it is being displayed. This will be called when the Custom Tab is first displayed on the screen and each time the occupied area changes. (I443f6)
  • Added onWarmupCompleted callback method to interface CustomTabsCallback to let developers know when CustomTabsClient#warmupfinishes warming up the browser process. (I107cf)

Bug Fixes

  • ​​Added the session id to extras in CustomTabsSession#setEngagementSignalsCallback and CustomTabsSession#isEngagementSignalsApiAvailable. (Iba7f1)

Collection: v1.4.0-beta01

November 15, 2023

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

Bug Fixes

  • Fix for ListIterator incorrectly setting values in ObjectList that could result in a crash due to IndexOutOfBoundsException. (I3bd8a, b/307049391)

Compose Animation: v1.6.0-beta01

November 15, 2023

androidx.compose.animation:animation-*:1.6.0-beta01 is released. Version 1.6.0-beta01 contains these commits.

API Changes

  • ExitTransition.Hold has been renamed to ExitTransition.KeepUntilTransitionsFinished to be more explicit. (I1c490)
  • You may now use keyframesWithSpline to interpolate any N-dimensional value using monotonic splines. It's particularly useful to interpolate positional values such as Offset, IntOffset, DpOffset. Added as Experimental API.

Bug Fixes

  • Add renderer support for Sweep Gradient in ArcLine....
Read more

2023-11-06

07 Nov 18:37

Choose a tag to compare

Compose Compiler: v1.5.4

November 7, 2023

androidx.compose.compiler:compiler:1.5.4 and androidx.compose.compiler:compiler-hosted:1.5.4 are released. Version 1.5.4 contains these commits.

Dependency Updates

  • Compose Compiler is now compatible with Kotlin 1.9.20

New Features

  • Add experimental option to enable strong skipping mode. Enable for better performance, but you must ensure all your parameters to composable functions/lambdas are stable before using it. (22421e)
  • Add flag to enable/disable source/trace information. (4d45f09)

Bug Fixes

  • Allow configuring the stability of external classes via a configuration file. (If40eb)
  • Fix early exit from composable functions when source information is not collected. (fe6267)
  • Fix continue from composable functions. (948362)
  • Fix resolution when composable functions are invoked from within a function invocation that has multiple overloads that are dependent on expression return type. (2d36d0)
  • Fix memoization when function reference does not have dispatch receiver. (fc2326)
  • Fix dirty check which was preventing recomposition of lambdas in some situations. (db3699)
  • Fix stability when incrementally compiling across modules. (7d3e127)
  • Reduce scope of @DontMemoize to lambda expressions only. (7a7fa52)
  • Fix Variables not captured correctly when using a Composable fun interface as a lambda. (5ae3556)

External Contribution

  • Use structural equality symbol for numeric and null comparison (c612a0)