Releases: mahozad/androidx-release-notes
2024-06-27@05PM
Activity: v1.10.0-alpha01
June 26, 2024
androidx.activity:activity:1.10.0-alpha01, androidx.activity:activity-compose:1.10.0-alpha01, and androidx.activity:activity-ktx:1.10.0-alpha01 are released. This version is developed in an internal branch.
New Features
- Added support for new
PhotoPickerfeatures introduced in Android V including being able to pick images in order and choose which tab (either albums or images) should be initially visible.
Annotation: v1.9.0-alpha01
June 26, 2024
androidx.annotation:annotation-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.
External Contribution
- Adds support for
linuxArm64multiplatform target (thanks to Jake Wharton!)
Car App: v1.7.0-beta01
June 26, 2024
androidx.car.app:app-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits. Features are the same as published in alpha01, which are repeated below:
New Features
- Map with Content: New template a Map Canvas plus a content template, which for now can be List / Grid / Pane / Message.
RoutePreview,PlaceListNavigation,MapTemplateare now deprecated. Templates will continue to work as-is.- Sample apps have been updated to show
MapWithContentusage instead of deprecated templates
- Conversation Item: New APIs for displaying conversations (IM, SMS), and Assistant readout in the car.
- Vehicle Dimensions: New API to retrieve vehicle measures (data on AAOS at the moment).
API Changes
- Add
@ExperimentalCarApitag toMediaPlaybackTemplate.Builder. (Ic1957) - Adds a new
SectionedItemTemplatein experimental. (I5958a) - Introduce
CarAppApiLevel 8(I3fa22) - Adds
MediaPlaybackTemplatefor displaying content during media playback in Car App Library. (I3c10d) - Added new api for apps to detect whether the system supports background audio while driving (I0f868)
Bug Fixes
- Fixes certain instances of memory leaks and crashes in CAL client code and in CAL Navigation Sample App. (I55e04)
- Replace
requireNotNull instancesinBaseCarAppActivity'sonDestroymethod with if-null checks to avoid crashes. (Iec676)
Compose Animation: v1.7.0-beta04
June 26, 2024
androidx.compose.animation:animation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Foundation: v1.7.0-beta04
June 26, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Fixes measurement of very large text causing crash in the new
BasicTextField(6b7575) - Reverts a behavior change in Row/Column measurement that breaks Text usage in certain scenarios (69e8ba)
Compose Material: v1.7.0-beta04
June 26, 2024
androidx.compose.material:material-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Material3: v1.3.0-beta04
June 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04 is released. Version 1.3.0-beta04 contains these commits.
Compose Material3 Adaptive: v1.0.0-beta04
June 26, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.
Bug Fixes
- Fixes the issue that when hinge bounds get updated, the layout is not updated accordingly. (71e9cf1)
Compose Runtime: v1.7.0-beta04
June 26, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose UI: v1.7.0-beta04
June 26, 2024
androidx.compose.ui:ui-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Disable software rendering support for the
GraphicsLayerAPI. (35ddd8) - Fix for a crash in layer persistence logic. (70b13e)
- Reusing layer objects optimization was reverted, as it caused rendering issues. (70b13e)
Fragment: v1.8.1
June 26, 2024
androidx.fragment:fragment-*:1.8.1 is released. Version 1.8.1 contains these commits.
Bug Fixes
- Fixed an issue where fragments without a container were immediately
DESTROYEDwhen starting a predictive back gesture. Now they are held in theCREATEDstate until after the gesture is complete. (If6b83, b/345244539)
Media3: v1.4.0-beta01
June 26, 2024
androidx.media3:media3-*:1.4.0-beta01
2024-06-27
Activity: v1.10.0-alpha01
June 26, 2024
androidx.activity:activity:1.10.0-alpha01, androidx.activity:activity-compose:1.10.0-alpha01, and androidx.activity:activity-ktx:1.10.0-alpha01 are released. This version is developed in an internal branch.
New Features
- Added support for new
PhotoPickerfeatures introduced in Android V including being able to pick images in order and choose which tab (either albums or images) should be initially visible.
Annotation: v1.9.0-alpha01
June 26, 2024
androidx.annotation:annotation-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.
External Contribution
- Adds support for
linuxArm64multiplatform target (thanks to Jake Wharton!)
Car App: v1.7.0-beta01
June 26, 2024
androidx.car.app:app-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits. Features are the same as published in alpha01, which are repeated below:
New Features
- Map with Content: New template a Map Canvas plus a content template, which for now can be List / Grid / Pane / Message.
RoutePreview,PlaceListNavigation,MapTemplateare now deprecated. Templates will continue to work as-is.- Sample apps have been updated to show
MapWithContentusage instead of deprecated templates
- Conversation Item: New APIs for displaying conversations (IM, SMS), and Assistant readout in the car.
- Vehicle Dimensions: New API to retrieve vehicle measures (data on AAOS at the moment).
API Changes
- Add
@ExperimentalCarApitag toMediaPlaybackTemplate.Builder. (Ic1957) - Adds a new
SectionedItemTemplatein experimental. (I5958a) - Introduce
CarAppApiLevel 8(I3fa22) - Adds
MediaPlaybackTemplatefor displaying content during media playback in Car App Library. (I3c10d) - Added new api for apps to detect whether the system supports background audio while driving (I0f868)
Bug Fixes
- Fixes certain instances of memory leaks and crashes in CAL client code and in CAL Navigation Sample App. (I55e04)
- Replace
requireNotNull instancesinBaseCarAppActivity'sonDestroymethod with if-null checks to avoid crashes. (Iec676)
Compose Animation: v1.7.0-beta04
June 26, 2024
androidx.compose.animation:animation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Foundation: v1.7.0-beta04
June 26, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Fixes measurement of very large text causing crash in the new
BasicTextField(6b7575) - Reverts a behavior change in Row/Column measurement that breaks Text usage in certain scenarios (69e8ba)
Compose Material: v1.7.0-beta04
June 26, 2024
androidx.compose.material:material-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Material3: v1.3.0-beta04
June 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04 is released. Version 1.3.0-beta04 contains these commits.
Compose Material3 Adaptive: v1.0.0-beta04
June 26, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.
Bug Fixes
- Fixes the issue that when hinge bounds get updated, the layout is not updated accordingly. (71e9cf1)
Compose Runtime: v1.7.0-beta04
June 26, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose UI: v1.7.0-beta04
June 26, 2024
androidx.compose.ui:ui-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Disable software rendering support for the
GraphicsLayerAPI. (35ddd8) - Fix for a crash in layer persistence logic. (70b13e)
- Reusing layer objects optimization was reverted, as it caused rendering issues. (70b13e)
Fragment: v1.8.1
June 26, 2024
androidx.fragment:fragment-*:1.8.1 is released. Version 1.8.1 contains these commits.
Bug Fixes
- Fixed an issue where fragments without a container were immediately
DESTROYEDwhen starting a predictive back gesture. Now they are held in theCREATEDstate until after the gesture is complete. (If6b83, b/345244539)
Media3: v1.4.0-beta01
June 26, 2024
androidx.media3:media3-*:1.4.0-beta01
2024-06-26
Activity: v1.10.0-alpha01
June 26, 2024
androidx.activity:activity:1.10.0-alpha01, androidx.activity:activity-compose:1.10.0-alpha01, and androidx.activity:activity-ktx:1.10.0-alpha01 are released. This version is developed in an internal branch.
New Features
- Added support for new
PhotoPickerfeatures introduced in Android V including being able to pick images in order and choose which tab (either albums or images) should be initially visible.
Annotation: v1.9.0-alpha01
June 26, 2024
androidx.annotation:annotation-*:1.9.0-alpha01 is released. Version 1.9.0-alpha01 contains these commits.
External Contribution
- Adds support for
linuxArm64multiplatform target (thanks to Jake Wharton!)
Car App: v1.7.0-beta01
June 26, 2024
androidx.car.app:app-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits. Features are the same as published in alpha01, which are repeated below:
New Features
- Map with Content: New template a Map Canvas plus a content template, which for now can be List / Grid / Pane / Message.
RoutePreview,PlaceListNavigation,MapTemplateare now deprecated. Templates will continue to work as-is.- Sample apps have been updated to show
MapWithContentusage instead of deprecated templates
- Conversation Item: New APIs for displaying conversations (IM, SMS), and Assistant readout in the car.
- Vehicle Dimensions: New API to retrieve vehicle measures (data on AAOS at the moment).
API Changes
- Add
@ExperimentalCarApitag toMediaPlaybackTemplate.Builder. (Ic1957) - Adds a new
SectionedItemTemplatein experimental. (I5958a) - Introduce
CarAppApiLevel 8(I3fa22) - Adds
MediaPlaybackTemplatefor displaying content during media playback in Car App Library. (I3c10d) - Added new api for apps to detect whether the system supports background audio while driving (I0f868)
Bug Fixes
- Fixes certain instances of memory leaks and crashes in CAL client code and in CAL Navigation Sample App. (I55e04)
- Replace
requireNotNull instancesinBaseCarAppActivity'sonDestroymethod with if-null checks to avoid crashes. (Iec676)
Compose Animation: v1.7.0-beta04
June 26, 2024
androidx.compose.animation:animation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Foundation: v1.7.0-beta04
June 26, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Fixes measurement of very large text causing crash in the new
BasicTextField(6b7575) - Reverts a behavior change in Row/Column measurement that breaks Text usage in certain scenarios (69e8ba)
Compose Material: v1.7.0-beta04
June 26, 2024
androidx.compose.material:material-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose Material3: v1.3.0-beta04
June 26, 2024
androidx.compose.material3:material3-*:1.3.0-beta04 is released. Version 1.3.0-beta04 contains these commits.
Compose Material3 Adaptive: v1.0.0-beta04
June 26, 2024
androidx.compose.material3.adaptive:adaptive-*:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.
Bug Fixes
- Fixes the issue that when hinge bounds get updated, the layout is not updated accordingly. (71e9cf1)
Compose Runtime: v1.7.0-beta04
June 26, 2024
androidx.compose.runtime:runtime-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Compose UI: v1.7.0-beta04
June 26, 2024
androidx.compose.ui:ui-*:1.7.0-beta04 is released. Version 1.7.0-beta04 contains these commits.
Bug Fixes
- Avoid crashes when measuring very large text lines (e.g. 10k characters) (8157ab)
- Disable software rendering support for the
GraphicsLayerAPI. (35ddd8) - Fix for a crash in layer persistence logic. (70b13e)
- Reusing layer objects optimization was reverted, as it caused rendering issues. (70b13e)
Fragment: v1.8.1
June 26, 2024
androidx.fragment:fragment-*:1.8.1 is released. Version 1.8.1 contains these commits.
Bug Fixes
- Fixed an issue where fragments without a container were immediately
DESTROYEDwhen starting a predictive back gesture. Now they are held in theCREATEDstate until after the gesture is complete. (If6b83, b/345244539)
Navigation: v2.8.0-beta04
June 26, 2024
androidx.navigation:navigation-*:2.8....
2024-06-24
Core 1.6.0: Core Core-ktx 1.6.0
June 24, 2024
androidx.test:core:1.6.0 and androidx.test:core-ktx:1.6.0 are released.
Changes since last stable release 1.5.0 include:
API Changes
- Added ApplicationInfoBuilder.setFlags(int)
- Add new lower level screenshot APIs View.captureToBitmap, WindowCapture.captureToBitmap, Bitmap.writeToTestStorage and DeviceCapture.takeScreenshot screenshots.
Bug Fixes
- Remove unused androidx.test.annotation dependency
- Fix using ActivityScenario#launchActivityForResult with an implicit Intent
- Update Activity Scenario reference documentation to fix missing links
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- Reference doc cleanup - document previously missing parameters, fix links, etc
- Activity starts are automatically opted in to allow background activity launches when targetSdk >= 34
- Fix issue where Activity#isChangingConfigurations is incorrectly false during ActivityScenario#recreate
New Features
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update: now compiled to java8 bytecode
Espresso 3.6.0: Espresso 3.6.0
June 24, 2024
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.6.0androidx.test.espresso:espresso-core:3.6.0androidx.test.espresso:espresso-contrib:3.6.0androidx.test.espresso:espresso-idling-resource:3.6.0androidx.test.espresso:espresso-intents:3.6.0androidx.test.espresso:espresso-remote:3.6.0androidx.test.espresso:espresso-web:3.6.0androidx.test.espresso.idling:idling-concurrent:3.6.0androidx.test.espresso.idling:idling-net:3.6.0
Changes since last stable release 3.5.1 include:
Bug Fixes
- Remove unused androidx.test.annotation dependency
- Fix slow inRoot operations in Robolectric
- Use PlatformTestStorageRegistry.getInstance consistently instead of passing a reference around
- Remove TODO from InteractionResponse public ref docs
- Fix typo in AdapterDataLoaderAction error message
- Replace use of guava with Java collections and inlining
- Reference doc cleanup - document previously missing parameters, fix links, etc
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- Stop posting empty tasks to background threads when running in non-remote mode
- Better handle exceptions that may occur in DefaultFailureHandler's hierarchy capture and screenshot process.
- Fix the description of IsPlatformPopup to match the behavior.
- Fix deprecated obtainMovement impl that used the wrong coordinates.
- Replace broken links to junit.org javadoc with @link.
API Changes
- Add ViewActions.captureToBitmap
- Add waitForClose to DrawerActions.
- Mark generated IInteractionExecutionStatus class as RestrictTo LIBRARY_GROUP
- Remove ExperimentalTestApi from RuntimePermissionStubber
- Adding a new IsActivatedMatcher to verify if it is activated or not.
- Makes Espresso.onIdle() work on the main thread to allow for draining the main thread from the main thread.
- minSdkVersion is now 19, targetSdkVersion is now 34
- Add scrollTo variant that allows scrolling to 90+% displayed views
- Deprecate EspressoOptional in favor of @nullable.
- Allow customizing espresso's default failure handler to disable screenshots on failures
New Features
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17. This should resolve IncompatibleClassChangeErrors (https://github.com/android/android-test/issues/1642)
- remove internal guava usage, which resulted in a binary size reduction
- release aars are no longer proguarded
Test:
Test:
Test:
Monitor 1.7.0: monitor 1.7.0
June 24, 2024
androidx.test:monitor:1.7.0 is released.
Changes since last stable release 1.6.1 include:
API Changes
- Make DeviceController a public API
- Move PlatformTestStorage to a public API
- Add internal ControlledLooper#isDrawCallbacksSupported.
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- minSdkVersion is now 19, targetSdkVersion is now 34
Bug Fixes
- Remove unused androidx.test.annotation dependency
- Fix synchronization in IntentMonitorImpl callbacks
New Features
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update: now compiled to java8 bytecode
Known issues
- monitor has a dependency on androidx.tracing:1.1.0. Depending on configuration, gradle may downgrade this to 1.0.0 at runtime causing 'No static method forceEnableAppTracing' errors. As a workaround, add an explicit 'implementation androidx.tracing:1.1.0' dependency. See https://github.com/android/android-test/issues/1755
Orchestrator 1.5.0: orchestrator 1.5.0
June 24, 2024
androidx.test:orchestrator:1.5.0 is released.
Changes since last stable release 1.4.2 include:
New Features
- Introduce Instrumentation Params Proxying which allows the user to proxy instrumentation arguments to the APK under test (eg: --no-hidden-api-checks).
- Major release toolchain update. APK is now signed with a different key and you will need to uninstal any previous orchestrator ('adb uninstall androidx.test.orchestrator')
API Changes
- minSdkVersion is now 19
Bug Fixes
- Fix crash when test name is too long
Runner 1.6.0: runner 1.6.0
June 24, 2024
androidx.test:runner:1.6.0 is released.
Changes since last stable release 1.5.2 include:
API Changes
- Mark androidx.test.services.** as RestrictTo LIBRARY_GROUP
- Add CustomFilter API
- Add PackagePrefixClasspathSuite API
- Mark PermissionRequester as RestrictTo LIBRARY_GROUP instead of ExperimentalTestApi
- minSdkVersion is now 19
Bug Fixes
- Remove unused androidx.test.annotation dependency
- When logging test exceptions, use Log's built-in support for throwables to avoid stack truncation
- Internal changes to support GrantPermissionRule using UiAutomation#grantRuntimePermissions
- Attempt to clarify limitations and deprecation reasons in RequiresDevice documentation
- Remove all support for Android SDKs < 19. Minimum is API 19 (Android Kit Kat 4.4)
- Fix that "-e class" and "-e notClass" on the same class/method should perform the same result (no tests run)
TestDiscoveryEventServiceConnection.send()will correctly fail the test instead of hanging if the instrumentation throws a RuntimeException.- Stop reparsing all args for every AndroidJUnit4 test class. This should address initialization errors like in #1948.
- Force initialization of instrumentationRunListener, to prevent NPEs when instrumenting system server process.
- Attempt to avoid outputting a test result summary which exceeds binder transaction limit.
- Wait up to 2 seconds for activity finisher to run, to prevent situations where it finishes activities mid-test
- Improve error reporting when there is a junit class mismatch due to a custom classloader
- Fix reporting in logOnly mode for @Ignore-d classes
- Move instantiation of InstrumentationResultPrinter to after multidex is loaded
- Register TestStorage before using it in RunnerArgs parsing
- Execute test classes in order provided to TestRequestBuilder.
New Features
- Artifacts are now signed. See verify dependencies for more details.
- Major release toolchain update:
- classes are now compiled to java8 bytecode
- javac compiler switched to OpenJDK 17.
Rules 1.6.0: rules 1.6.0
June 24, 2024
androidx.test:rules:1.6.0
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
2024-06-06
Media3: v1.4.0-alpha02
June 07, 2024
androidx.media3:media3-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.
- Common Library:
- Forward presumed no-op seek calls to the protected
BasePlayer.seekToandSimpleBasePlayer.handleSeekmethods instead of ignoring them. If you are implementing these methods in a custom player, you may need to handle these additional calls withmediaItemIndex == C.INDEX_UNSET. - Remove compile dependency on enhanced Java 8 desugaring (#1312).
- Ensure the duration passed to
MediaItem.Builder.setImageDurationMsis ignored for a non-imageMediaItem(as documented).
- Forward presumed no-op seek calls to the protected
- ExoPlayer:
- Add
resettoBasePreloadManagerto release all the holding sources while keep the preload manager instance. - Add
ExoPlayer.setPriority(andBuilder.setPriority) to define the priority value used inPriorityTaskManagerand for MediaCodec importance from API 35. - Fix issue with updating the last rebuffer time which resulted in incorrect
bs(buffer starvation) key in CMCD (#1124). - Add
PreloadMediaSource.PreloadControl.onLoadedToTheEndOfSource(PreloadMediaSource)to indicate that the source has loaded to the end. This allows theDefaultPreloadManagerand the customPreloadMediaSource.PreloadControlimplementations to preload the next source or take other actions. - Fix bug where silence skipping at the end of items can trigger a playback exception.
- Add
cleartoPreloadMediaSourceto discard the preloading period. - Add new error code
PlaybackException.ERROR_CODE_DECODING_RESOURCES_RECLAIMEDthat is used when codec resources are reclaimed for higher priority tasks. - Let
AdsMediaSourceload preroll ads before initial content media preparation completes (#1358). - Fix bug where playback moved to
STATE_ENDEDwhen re-preparing a multi-period DASH live stream after the original period was already removed from the manifest. - Rename
onTimelineRefreshedtoonSourcePreparedandonPreparedtoonTracksSelectedinPreloadMediaSource.PreloadControl. Also rename the IntDefs inDefaultPreloadManager.Stageaccordingly. - Add experimental support for dynamic scheduling to better align work with CPU wake-cycles and delay waking up to when renderers can progress. You can enable this using
experimentalSetDynamicSchedulingEnabledwhen setting up your ExoPlayer instance. - Add
Renderer.getDurationToProgressMs. ARenderercan implement this method to return to ExoPlayer the duration that playback must advance for the renderer to progress. IfExoPlayeris set withexperimentalSetDynamicSchedulingEnabledthenExoPlayerwill call this method when calculating the time to schedule its work task. - Add
MediaCodecAdapter#OnBufferAvailableListenerto alert when input and output buffers are available for use byMediaCodecRenderer.MediaCodecRendererwill signalExoPlayerwhen receiving these callbacks and ifExoPlayeris set withexperimentalSetDynamicSchedulingEnabled, thenExoPlayerwill schedule its work loop as renderers can make progress. - Use data class for
LoadControlmethods instead of individual parameters.
- Add
- Transformer:
- Work around a decoder bug where the number of audio channels was capped at stereo when handling PCM input.
- When selecting tracks in
ExoPlayerAssetLoader, ignore audio channel count constraints as they only apply for playback. - Replace
androidx.media3.transformer.Muxerinterface withandroidx.media3.muxer.Muxerand removeandroidx.media3.transformer.Muxer. - Fix HEIC image loading from content URI schemes. (#1373).
- Adjust audio track duration in
AudioGraphInputto improve AV sync.
- Extractors:
- MPEG-TS: Roll forward the change ensuring the last frame is rendered by passing the last access unit of a stream to the sample queue (#7909). Incorporating fixes to resolve the issues that emerged in I-frame only HLS streams(#1150) and H.262 HLS streams (#1126).
- MP3: Prefer the data size from an
Infoframe over the size reported by the underlying stream (e.g. file size, or HTTPContent-Lengthheader). This helps to exclude non-playable trailer data (e.g. album artwork) from constant bitrate seeking calculations, making seeks more accurate (#1376). - MP3: Use the frame count and other data in an
Infoframe (if present) to compute an average bitrate for constant bitrate seeking, rather than extrapolating from the bitrate of the frame after theInfoframe, which may be artificially small, e.g.PCUTframe (#1376).
- Audio:
- Fix DTS:X Profile 2 encoding attributes for passthrough playback (#1299).
- For offloaded playback, reset the tracking field for stream completion in
DefaultAudioSinkprior to callingAudioTrack.stop()so thatAudioTrack.StreamEventCallback#onPresentationEndedcorrectly identifies when all pending data has been played. - Fix bug in
SilenceSkippingAudioProcessorwhere transitions between different audio formats (for example stereo to mono) can cause the processor to throw an exception (#1352). - Implement
MediaCodecAudioRenderer.getDurationToProgressUsso that ExoPlayer will dynamically schedule its main work loop to when the MediaCodecAudioRenderer can make progress.
- Video:
- Fix decoder fallback logic for Dolby Vision to use a compatible AV1 decoder if needed (#1389).
- Text:
- Fix issue where subtitles starting before a seek position are skipped. This issue was only introduced in Media3 1.4.0-alpha01.
- Change default subtitle parsing behavior so it happens during extraction instead of during rendering (see ExoPlayer's architecture diagram for the difference between extraction and rendering).
- This change can be overridden by calling both
MediaSource.Factory.experimentalParseSubtitlesDuringExtraction(false)andTextRenderer.experimentalSetLegacyDecodingEnabled(true). See the docs on customization for how to plumb these components into anExoPlayerinstance. These methods (and all support for legacy subtitle decoding) will be removed in a future release. - Apps with custom
SubtitleDecoderimplementations need to update them to implementSubtitleParserinstead (andSubtitleParser.Factoryinstead ofSubtitleDecoderFactory)....
- This change can be overridden by calling both
2024-05-29@10PM
Core 1.6.0: Core Core-ktx 1.6.0-rc01
May 30, 2024
androidx.test:core:1.6.0-rc01 and androidx.test:core-ktx:1.6.0-rc01 are released.
Espresso 3.6.0: Espresso 3.6.0-rc01
May 30, 2024
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.6.0-rc01androidx.test.espresso:espresso-core:3.6.0-rc01androidx.test.espresso:espresso-contrib:3.6.0-rc01androidx.test.espresso:espresso-idling-resource:3.6.0-rc01androidx.test.espresso:espresso-intents:3.6.0-rc01androidx.test.espresso:espresso-remote:3.6.0-rc01androidx.test.espresso:espresso-web:3.6.0-rc01androidx.test.espresso.idling:idling-concurrent:3.6.0-rc01androidx.test.espresso.idling:idling-net:3.6.0-rc01
Test:
Test:
Test:
Monitor 1.7.0: monitor 1.7.0-rc01
May 30, 2024
androidx.test:monitor:1.7.0-rc01 is released.
Orchestrator 1.5.0: orchestrator 1.5.0-rc01
May 30, 2024
androidx.test:orchestrator:1.5.0-rc01 is released.
Runner 1.6.0: runner 1.6.0-rc01
May 30, 2024
androidx.test:runner:1.6.0-rc01 is released.
Rules 1.6.0: rules 1.6.0-rc01
May 30, 2024
androidx.test:rules:1.6.0-rc01 is released.
Services 1.5.0: services 1.5.0-rc01
May 30, 2024
androidx.test.services:test-services:1.5.0-rc01 androidx.test.services:storage:1.5.0-rc01 are released.
2024-05-29
Appcompat: v1.7.0
May 29, 2024
androidx.appcompat:appcompat:1.7.0 and androidx.appcompat:appcompat-resources:1.7.0 are released. Version 1.7.0 contains these commits.
Important changes since 1.6.0
AppCompatDialognow correctly sets theLifecycleOwner,SavedStateRegistryOwner, andOnBackPressedDispatcherOwneron the dialog's decor view via theViewTreeAPIs, fixing issues when hosting aComposeViewwithin anAppCompatDialog.AppCompatActivitynow sets theViewTreeOnBackPressedDispatcherOwnerso that it is possible to retrieve the dispatcher from the view.- Significantly improved the performance of
SupportMenuInflater. Locale.getDefault()now returns the system locale after a cold start.LinearLayoutCompatnow preserves margin layout params.
Dependency Updates
AppCompatnow depends on Activity 1.7.0.AppCompatnow depends on Fragment version 1.5.4.
Biometric: v1.4.0-alpha01
May 29, 2024
androidx.biometric:biometric:1.4.0-alpha01 and androidx.biometric:biometric-ktx:1.4.0-alpha01 are released. This version is developed in an internal branch and targets Android 15 Beta 2.
Bug Fixes
- Update UI to be consistent with platform changes in Android 15
Car App: v1.4.0
May 29, 2024
androidx.car.app:app-*:1.4.0 is released. Version 1.4.0 is a promotion of 1.4.0-rc02.
Important changes since 1.3.0
- Instrument Cluster map rendering for Navigation apps
- New Tab Template for improved app layout / usability
- Support for Adaptive task limits
- Secondary actions on list elements
Compose Animation: v1.7.0-beta02
May 29, 2024
androidx.compose.animation:animation-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
Compose Foundation: v1.7.0-beta02
May 29, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
API Changes
- Adds an experimental API for configuring prefetch behavior of
LazyGridssimilar to the existing experimental API forLazyLists. This includes support for prefetching items in nestedLazyGrids. Similiar toLazyListPrefetchStrategy, the implementation default is to prefetch the first 2 nested items of each grid, but this can be configured by the newLazyGridPrefetchStrategy(nestedPrefetchItemCount)andLazyListPrefetchStrategy#onNestedPrefetchAPIs. (I591c4) - Renamed
SemanticsProperties.EditabletoIsEditableand changesSemanticsPropertyReceiver.editableto a valisEditable. The property is now a boolean and always specified by text fields. (I8acd8) - Moved
basicMarqueedefault values intoMarqueeDefaultsobject. (I12ff6) - Renamed
basicMarqueedelayMillisparameter torepeatDelayMillis. (I12ff6) - Update API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material (I5477b)
Bug Fixes
- Renamed
LayoutCoordinates.introducesFrameOfReferencetoLayoutCoordinates.introducesMotionFrameOfReferenceto better reflect its purpose. Renamed related function to calculate coordinates based on that flag. (I3a330) - Removed 'Default' from the
MarqueeDefaultsproperties. (I1d8a0) - Removed 'Marquee' from
MarqueeDefaultsproperties. (Iad4f4) - Removed
TextLinkStylesfrom theTextStyleclass. Instead,TextLinkStylesis part of theLinkAnntationconstructor and theAnnotatedString.fromHtmlmethod (I90b2b) - Fixed a bug where Pager would snap when flinging towards a bound while already settled at the bound. (I9f373, b/339171222)
- BTF2 now has correct mouse selection gestures. (Ibe8c6)
External Contribution
- Resubmit 'Make compose/measure time calculation content-type based in prefetch to improve accuracy' (Iea622)
- Make compose/measure time calculation content-type based in prefetch to improve accuracy (Ibccb1)
- Make
WindowInsetsPaddingmodifiers available from common source set (I070b2)
Compose Material: v1.7.0-beta02
May 29, 2024
androidx.compose.material:material-*:1.7.0-beta02 is released. Version 1.7.0-beta02 contains these commits.
API Changes
- Update API for styling the links: moved the
TextLinkStylesto theTextStyleand removed theTextDefaultsfrom material (I5477b)
Compose Material3: v1.3.0-beta02
May 29, 2024
androidx.compose.material3:material3-*:1.3.0-beta02 is released. Version 1.3.0-beta02 contains these commits.
API Changes
Modifier.pullToRefreshIndicatorsupports elevation, update Pull To Refresh APIs to have enabled be a boolean, instead of a lambda. Support content alignment inPullToRefreshBox(I75679)- Making
TooltipScopea sealed interface and creating an internal impl...
2024-05-16
Core 1.6.0: Core Core-ktx 1.6.0-beta01
May 16, 2024
androidx.test:core:1.6.0-beta01 and androidx.test:core-ktx:1.6.0-beta01 are released.
Bug Fixes
- Remove unused androidx.test.annotation dependency
- Revert back to androidx.concurrent 1.1.0
Espresso 3.6.0: Espresso 3.6.0-beta01
May 16, 2024
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.6.0-beta01androidx.test.espresso:espresso-core:3.6.0-beta01androidx.test.espresso:espresso-contrib:3.6.0-beta01androidx.test.espresso:espresso-idling-resource:3.6.0-beta01androidx.test.espresso:espresso-intents:3.6.0-beta01androidx.test.espresso:espresso-remote:3.6.0-beta01androidx.test.espresso:espresso-web:3.6.0-beta01androidx.test.espresso.idling:idling-concurrent:3.6.0-beta01androidx.test.espresso.idling:idling-net:3.6.0-beta01
Bug Fixes
- Remove unused androidx.test.annotation dependency
Test:
Test:
Test:
Monitor 1.7.0: monitor 1.7.0-beta01
May 16, 2024
androidx.test:monitor:1.7.0-beta01 is released.
Bug Fixes
- Remove unused androidx.test.annotation dependency
Orchestrator 1.5.0: orchestrator 1.5.0-beta01
May 16, 2024
androidx.test:orchestrator:1.5.0-beta01 is released.
Runner 1.6.0: runner 1.6.0-beta01
May 16, 2024
androidx.test:runner:1.6.0-beta01 is released.
Bug Fixes
- Remove unused androidx.test.annotation dependency
Rules 1.6.0: rules 1.6.0-beta01
May 16, 2024
androidx.test:rules:1.6.0-beta01 is released.
Bug Fixes
- Remove unused androidx.test.annotation dependency
Services 1.5.0: services 1.5.0-beta01
May 16, 2024
androidx.test.services:test-services:1.5.0-beta01 androidx.test.services:storage:1.5.0-beta01 are released.
Bug Fixes
- Reduce HostedFile log spam
- Remove unused androidx.test.annotation dependency
2024-05-14
Annotation: v1.8.0
May 14, 2024
androidx.annotation:annotation-*:1.8.0 is released. Version 1.8.0 contains these commits.
Important changes since 1.7.0
- Added
@ReplaceWithannotation to express replacements for deprecated APIs - The
@MainThreadannotation has been moved to the common source set.
Appcompat: v1.7.0-rc01
May 14, 2024
androidx.appcompat:appcompat:1.7.0-rc01 and androidx.appcompat:appcompat-resources:1.7.0-rc01 are released. Version 1.7.0-rc01 contains these commits.
Benchmark: v1.3.0-alpha05
May 14, 2024
androidx.benchmark:benchmark-*:1.3.0-alpha05 is released. Version 1.3.0-alpha05 contains these commits.
Bug Fixes
- Throw clearer exception when macrobench metric returns zero values for all iterations (Iab58f, b/314931695)
- Additional workaround rules added to microbench proguard rules, including support for listener rules and other observed warnings / errors. (I14d8f, b/329126308, b/339085669)
- Method tracing runs as a separate phase during a Macrobenchmark, and it no longer affects measurements. (If9a50, b/285912360, b/336588271)
- Added extra debugging suggestions to drop shader broadcast failure message. (I5efa6, b/325502725)
CameraX: v1.4.0-beta01
May 14, 2024
androidx.camera:camera-*:1.4.0-beta01 is released. Version 1.4.0-beta01 contains these commits.
API Changes
- Added
ZoomGestureDetector.ZoomEventto encapsulates the states of a zoom gesture. (I84cdf)
Bug Fixes
- Fixed a bug that still capture and tap-to-focus do not use the repeating request FPS/stabilization mode values which may recreate capture session and cause latency issues or Preview freeze in some devices. (I7dc0b)
- Fixed a bug where High Resolutions can not be selected when
CameraEffectis enabled on some devices. (e.g. 4000x3000 on Samsung A32 5G). (Ie3ed3, b/337336152) - Fixed a crash when taking picture with Preview,
ImageCaptureandVideoCapture(UHD)are bound on Pixel 4XL API29. (I5b288) - Support virtual devices: Context passed into
ProcessCameraProviderwill preserve the device ID to ensure the functionality in a virtual device environment. (I5ba48)
CameraX: v1.4.0-alpha06
May 14, 2024
androidx.camera:camera-viewfinder:1.4.0-alpha06 and androidx.camera:camera-viewfinder-core:1.4.0-alpha06 are released. Version 1.4.0-alpha06 contains these commits.
API Changes
- Rename
Viewfinder'sImplementationModeEnums to better reflect underlying implementations, and add fixed constants forTransformationInfo.sourceRotation. (Ic6149) - Added
ZoomGestureDetector.ZoomEventto encapsulates the states of a zoom gesture. (I84cdf)
Camera Viewfinder Compose: v1.0.0-alpha01
May 14, 2024
androidx.camera:camera-viewfinder-compose:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
New Features
- New library. This library introduces a Compose native Viewfinder composable, that can be used with CameraX and Camera2. The composable Viewfinder supports different aspect ratios, and handling of touch events.
Compose Animation: v1.7.0-beta01
May 14, 2024
androidx.compose.animation:animation-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits.
API Changes
- New
resizeModes(ScaleToBoundsandRemeasureToBounds) forsharedBoundsto choose between scaling and remeasure. The previousscaleIn/OutSharedContentToBoundsAPIs are now deprecated. (I0d41a)
External Contribution
- Experimental
SharedTransitionScopeis now an interface rather than a class. (Iaf856, b/338415048, b/338414702)
Compose Compiler: v1.5.14
May 14, 2024
androidx.compose.compiler:compiler:1.5.14 and androidx.compose.compiler:compiler-hosted:1.5.14 are released. Version 1.5.14 contains these commits.
This compiler release is targeting Kotlin 1.9.24.
Bug Fixes
- Ensure that inline body is realized when source information is off. (Idddb8)
Compose Foundation: v1.7.0-beta01
May 14, 2024
androidx.compose.foundation:foundation-*:1.7.0-beta01 is released. Version 1.7.0-beta01 contains these commits.
API Changes