Releases: mahozad/androidx-release-notes
2024-01-10
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_EXPECTEDerror 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
- Fix documentation typo. (aosp/288106)
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 usingobject: 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
TooltipAPIs. (Ibf767) SwipeToDismissState,rememberSwipeToDismissandSwipeToDismissValueare all renamed to have_SwipeToDismissBox_. (I68d6d)
Bug Fixes
- Fixed
ListItemend 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
ModalBottomSheetback handling on Android T/13+ whenandroid: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
AnimatedPaneis 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...
2023-12-18
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
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_IMAGESto correctly pass it theEXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAXkey, 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
compilescope 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.mustPlayShutterSoundto provide the information of whether a shutter sound must be played in accordance to regional restrictions. (Ifda84) - Added
OnImageCapturedCallback.onCaptureStartedandOnImageSavedCallback.onCaptureStartedfor 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
ScreenFlashUiControlinterface provided to CameraX. (I8ae84) - Added Screen Flash feature UI-side implementation support in CameraX. Apps will be able to get a basic
ImageCapture.ScreenFlashUiControlimplementation fromPreviewViewor the newly addedScreenFlashViewwhich 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 theImageCapture.Builder#setPostviewEnabled(). The postview size can be selected usingImageCapture.Builder#setPostviewResolutionSelector(). When invokingtakePicture(),onPostviewBitmapAvailableandonCaptureProcessProgressedcan be implemented inOnImageSavedCallbackorOnImageCapturedCallbackto 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
PreviewCapabitlityin PreviewUseCase. (Ie5b6c) - Added APIs to support more qualities for
VideoCapture.Recorder.Builder#setVideoCapabilitiesSource(int)can be used withVIDEO_CAPABILITIES_SOURCE_CODEC_CAPABILITIESto create aRecorderinstance which supports more qualities thanVIDEO_CAPABILITIES_SOURCE_CAMCORDER_PROFILE. A common use case is when the application strives to record UHD video whenever feasible, but the device'sCamcorderProfiledoes not include a UHD settings, even though the codec is capable of recording UHD video. (Iedbe2, b/263961771) - Add
ImageAnalysisoutput format getter/setter toCameraController. (I9a96c, b/308240643)
Bug Fixes
- From Camera
1.3.1: Improved theProcessCameraProvider#bindToLifecycle()performance. The major change is to optimize the process of identifying the most suitable size combinations forUseCases. The optimal results vary based on the specificUseCasecombinations and the number of supported output sizes for the...
2023-12-05
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
.equalscomparisons 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: -Pplugin: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
Benchmark: v1.2.2
December 1, 2023
androidx.benchmark:benchmark-*:1.2.2 is released. Version 1.2.2 contains these commits.
Baseline Profiles
- Execution logs will show the baseline profile output file path as a local file URI (aosp/2843918, aosp/2853665, b/313976958)
2023-11-29@10PM
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
ComponentActivitynow implementsOnUserLeaveHintProviderto allow components to callbacks foronUserLeaveHintevents. (I54892)
API Changes
ComponentActivityhas been rewritten in Kotlin. (I14f31)ActivityResultCallerhas been rewritten in Kotlin. (Ib02e4)ActivityResultLauncherhas been rewritten in Kotlin. As part of that conversion, thegetContractmethod is now an abstract Kotlin property. This is a binary compatible change, but source breaking if your implementation ofActivityResultLauncheris written in Kotlin. (Id4615)PickVisualMediaRequestnow has the same minimum API level of 19 as thePickVisualMediaActivity Result contract. (Id6e21)
Dependency Update
- Activity now depends on Core
1.13.0-alpha01. (I14f31)
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
minSdkVersionto 21
API Changes
GattServerConnectFlow#updateServicesbecomes a suspend function (I0237d)- Change
AdvertiseParams.durationMillisto Long (If6771) - Convert
openGattServerto Flow (Icef54) - Throw
ScanExceptionon scan fail and set scanner tosetLegacy(false)by default (Ib337c) - Throw
AdvertiseExceptionon advertise fail (I0e691) - Add general bluetooth exception to catch (I0130d)
- Convert advertise to Flow and change maximum duration (I32fd8)
- Add
serviceDataandserviceSolicitationUuidstoScanResult(I6d7f0) - Change
durationMillisfrom Long to Duration (I89d49) - Add rssi, and
periodicAdvertisingIntervaltoScanResult(I60b51) - Add
serviceSolicitationUuidandsolicitationUuidMasktoScanFilter(Ic2206) - Added
GattServerSessionScope#subscribedCharacteristics(I0edab) - Add
serviceSolicitationUuidstoAdvertiseParams(Ic9aa7) - Change
AdvertiseParams.durationMillisfrom Int to Long (I6873f) GattServerSessionScope#notifydoes 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
ScatterMap.asMap()iterator now return new instances (I28932, b/310365754)
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
2023-11-29
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
ComponentActivitynow implementsOnUserLeaveHintProviderto allow components to callbacks foronUserLeaveHintevents. (I54892)
API Changes
ComponentActivityhas been rewritten in Kotlin. (I14f31)ActivityResultCallerhas been rewritten in Kotlin. (Ib02e4)ActivityResultLauncherhas been rewritten in Kotlin. As part of that conversion, thegetContractmethod is now an abstract Kotlin property. This is a binary compatible change, but source breaking if your implementation ofActivityResultLauncheris written in Kotlin. (Id4615)PickVisualMediaRequestnow has the same minimum API level of 19 as thePickVisualMediaActivity Result contract. (Id6e21)
Dependency Update
- Activity now depends on Core
1.13.0-alpha01. (I14f31)
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
minSdkVersionto 21
API Changes
GattServerConnectFlow#updateServicesbecomes a suspend function (I0237d)- Change
AdvertiseParams.durationMillisto Long (If6771) - Convert
openGattServerto Flow (Icef54) - Throw
ScanExceptionon scan fail and set scanner tosetLegacy(false)by default (Ib337c) - Throw
AdvertiseExceptionon advertise fail (I0e691) - Add general bluetooth exception to catch (I0130d)
- Convert advertise to Flow and change maximum duration (I32fd8)
- Add
serviceDataandserviceSolicitationUuidstoScanResult(I6d7f0) - Change
durationMillisfrom Long to Duration (I89d49) - Add rssi, and
periodicAdvertisingIntervaltoScanResult(I60b51) - Add
serviceSolicitationUuidandsolicitationUuidMasktoScanFilter(Ic2206) - Added
GattServerSessionScope#subscribedCharacteristics(I0edab) - Add
serviceSolicitationUuidstoAdvertiseParams(Ic9aa7) - Change
AdvertiseParams.durationMillisfrom Int to Long (I6873f) GattServerSessionScope#notifydoes 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
ScatterMap.asMap()iterator now return new instances (I28932, b/310365754)
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
2023-11-16
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
OnBackPressedDispatchernow continues to dispatch to the correctOnBackPressedCallbackeven after a newOnBackPressedCallbackis 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
- Improved error message when user disables test variants (b/307478189)
- Added properties to support AS test run integration (b/309805233), (b/309116324)
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#setBookmarksButtonEnabledthat enables the bookmarks button in the overflow menu. (Ia792e) - Added
CustomTabsIntent.Builder#setDownloadButtonEnabledthat enables the download button in the overflow menu. (Ia792e) - Added
CustomTabsIntent.Builder#setSendToExtraDefaultHandlerEnabledthat enables sending initial urls to external handler apps. (Ia792e) - Added
CustomTabsIntent.Builder#setTranslateLanguagethat specifies the target language that the Translate UI should be triggered with. (Ia792e) - Added
CustomTabsIntent.Builder#setBackgroundInteractionEnabledthat enables interactions with the background app when a partial Custom Tab is launched. (Ia792e) - Added
CustomTabsIntent.Builder#setShareIdentityEnabledthat allows Custom Tabs to obtain the caller's identity. (I7bf2b) - Added
CustomTabsIntent.Builder#setSecondaryToolbarSwipeUpGesturethat sets aPendingIntentto 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#setInitialActivityWidthPxwhich allows developers to specify the initial launch width of a Custom Tab. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetBreakpointDpwhich allows developers to specify the minimum Custom Tabs window width in order for it to act as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetPositionwhich allows developers to specify the Custom Tab’s position when acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetEnableMaximizationwhich allows developers to enable or disable the maximization button when the Custom Tab is acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetDecorationTypewhich allows developers to specify the Custom Tab’s decoration type when it is acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetRoundedCornersPositionwhich allows developers to specify the position of the rounded corners when the Custom Tab is acting as a side sheet. (I443f6) - Added
onActivityLayoutcallback method to interfaceCustomTabsCallbackto 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
onWarmupCompletedcallback method to interfaceCustomTabsCallbackto let developers know whenCustomTabsClient#warmupfinishes warming up the browser process. (I107cf)
Bug Fixes
- Added the session id to extras in
CustomTabsSession#setEngagementSignalsCallbackandCustomTabsSession#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
ListIteratorincorrectly setting values inObjectListthat could result in a crash due toIndexOutOfBoundsException. (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.Holdhas been renamed toExitTransition.KeepUntilTransitionsFinishedto be more explicit. (I1c490)- You may now use
keyframesWithSplineto interpolate any N-dimensional value using monotonic splines. It's particularly useful to interpolate positional values such asOffset,IntOffset,DpOffset. Added as Experimental API.
Bug Fixes
- Add renderer support for Sweep Gradient in
ArcLine....
2023-11-15
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
OnBackPressedDispatchernow continues to dispatch to the correctOnBackPressedCallbackeven after a newOnBackPressedCallbackis 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
- Improved error message when user disables test variants (b/307478189)
- Added properties to support AS test run integration (b/309805233), (b/309116324)
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#setBookmarksButtonEnabledthat enables the bookmarks button in the overflow menu. (Ia792e) - Added
CustomTabsIntent.Builder#setDownloadButtonEnabledthat enables the download button in the overflow menu. (Ia792e) - Added
CustomTabsIntent.Builder#setSendToExtraDefaultHandlerEnabledthat enables sending initial urls to external handler apps. (Ia792e) - Added
CustomTabsIntent.Builder#setTranslateLanguagethat specifies the target language that the Translate UI should be triggered with. (Ia792e) - Added
CustomTabsIntent.Builder#setBackgroundInteractionEnabledthat enables interactions with the background app when a partial Custom Tab is launched. (Ia792e) - Added
CustomTabsIntent.Builder#setShareIdentityEnabledthat allows Custom Tabs to obtain the caller's identity. (I7bf2b) - Added
CustomTabsIntent.Builder#setSecondaryToolbarSwipeUpGesturethat sets aPendingIntentto 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#setInitialActivityWidthPxwhich allows developers to specify the initial launch width of a Custom Tab. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetBreakpointDpwhich allows developers to specify the minimum Custom Tabs window width in order for it to act as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetPositionwhich allows developers to specify the Custom Tab’s position when acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetEnableMaximizationwhich allows developers to enable or disable the maximization button when the Custom Tab is acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetDecorationTypewhich allows developers to specify the Custom Tab’s decoration type when it is acting as a side sheet. (I443f6) - Added
CustomTabsIntent.Builder#setActivitySideSheetRoundedCornersPositionwhich allows developers to specify the position of the rounded corners when the Custom Tab is acting as a side sheet. (I443f6) - Added
onActivityLayoutcallback method to interfaceCustomTabsCallbackto 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
onWarmupCompletedcallback method to interfaceCustomTabsCallbackto let developers know whenCustomTabsClient#warmupfinishes warming up the browser process. (I107cf)
Bug Fixes
- Added the session id to extras in
CustomTabsSession#setEngagementSignalsCallbackandCustomTabsSession#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
ListIteratorincorrectly setting values inObjectListthat could result in a crash due toIndexOutOfBoundsException. (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.Holdhas been renamed toExitTransition.KeepUntilTransitionsFinishedto be more explicit. (I1c490)- You may now use
keyframesWithSplineto interpolate any N-dimensional value using monotonic splines. It's particularly useful to interpolate positional values such asOffset,IntOffset,DpOffset. Added as Experimental API.
Bug Fixes
- Add renderer support for Sweep Gradient in
ArcLine....
2023-11-06
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
@DontMemoizeto 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)