Skip to content

Releases: mahozad/androidx-release-notes

2023-01-25

25 Jan 18:39

Choose a tag to compare

Activity: v1.7.0-alpha04

January 25, 2023

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

New Features

  • The PickVisualMedia and PickMultipleVisualMedia Activity Result contracts will now use a Google Play services provided Photo Picker where available in cases where the Android system provided Photo Picker (e.g., MediaStore.ACTION_PICK_IMAGES) is not available. The isPhotoPickerAvailable() API that only detects the Android system provided Photo Picker has been deprecated. It is recommended to use the new isPhotoPickerAvailable(Context) API, which will return if either Photo Picker is available. (I55be6)

Annotation: v1.6.0-beta01

January 25, 2023

androidx.annotation:annotation:1.6.0-beta01 and androidx.annotation:annotation-jvm:1.6.0-beta01 are released with no changes from 1.6.0-alpha01.

Arch Core: v2.2.0-beta01

January 25, 2023

androidx.arch.core:core-common:2.2.0-beta01, androidx.arch.core:core-runtime:2.2.0-beta01, and androidx.arch.core:core-testing:2.2.0-beta01 are released with no changes. Version 2.2.0-beta01 contains these commits.

Browser: v1.5.0-rc01

January 25, 2023

androidx.browser:browser:1.5.0-rc01 is released. Version 1.5.0-rc01 contains these commits.

  • No changes since 1.5.0-beta01.

CameraX: v1.2.1

January 25, 2023

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

Bug Fixes

  • Fix JPEG image corruption issue if writing Exif location data on some Samsung Android 12 devices. (b/263289024)

CameraX: v1.3.0-alpha03

January 25, 2023

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

API Changes

  • Added CameraInfo.getIntrinsicZoomRatio to provide angle of view information relative to the default camera. (Ib300c)
  • Added CameraInfo.getLensFacing to provide lens facing information. Added CameraSelector#LENS_FACING_EXTERNAL as an experimental feature for selecting external cameras. (Icaf3e)
  • Add #setEffect() to CameraController that allows adding effects to camera output. (I1d21f)
  • Add invalidate() method to SurfaceRequest. The Surface provider can notify that the previously provided surface is no longer valid. (Idc649)
  • Add a ImageProcessor API. This interface is for inject post-processing effects into the ImageCapture pipeline. (I575c6)
  • Added API Recorder.Builder.setAspectRatio() which can be combined with QualitySelector to support more video resolutions. (I8a082)
  • Added Recorder.Builder#setTargetVideoEncodingBitRate to set Target Video Encoding BitRate and Recorder#getTargetVideoEncodingBitRate to get Target Video Encoding BitRate. (I5984d)

Bug Fixes

  • Fixed ImageCapture failed when there is no flash unit and flash mode is on. (I9e8b4, b/263391112)
  • Fixed JPEG image corruption issue if writing Exif location data on some Samsung Android 12 devices. (Ib7086, b/263747161, b/263289024)
  • when setting torch/zoom prior before camera initialization compelets, e.g. calling CameraController#enableTorch, the pending action is cached and submitted once the initialization compeltes. (I11e92, b/264157663)

Compose Animation: v1.4.0-alpha05

January 25, 2023

androidx.compose.animation:animation:1.4.0-alpha05, androidx.compose.animation:animation-core:1.4.0-alpha05, and androidx.compose.animation:animation-graphics:1.4.0-alpha05 are released. Version 1.4.0-alpha05 contains these commits.

Changes

  • No changes in animation libraries since the last alpha, version bump only

Compose Foundation: v1.4.0-alpha05

January 25, 2023

androidx.compose.foundation:foundation:1.4.0-alpha05 and androidx.compose.foundation:foundation-layout:1.4.0-alpha05 are released. Version 1.4.0-alpha05 contains these commits.

New Features

  • Added full line span support to LazyStaggeredGrid (I28252)
  • Adding experimental onHover to ClickableText (I6938f)
  • Introduced new experimental overloads for the runComposeUiTest function and create*ComposeRule functions that accept CoroutineContext parameters. The context will be used for the test composition and any LaunchedEffect and rememberCoroutineScope() calls in the composition. (I10614, b/265177763)

API Changes

  • Merges the pre/post APIs of OverscrollEffect into combined 'decorator' applyToScroll and applyToFling functions. See the updated samples in the documentation for examples of how to implement an overscroll effect with the new API shape. (
Read more

2023-01-17

17 Jan 18:39

Choose a tag to compare

Compose Compiler: v1.4.0

January 17, 2023

androidx.compose.compiler:compiler:1.4.0 is released. Version 1.4.0 contains these commits.

Important changes since 1.3.0

  • Support for Kotlin 1.8.0
  • Turned off intrinsic remember
  • The ui tooling data class Group now has a field, isInline, that indicates if the group is for a call to an inline composable function. If isInline is true then the call is to an inline composable function. However, the value might be false for calls to inline composable functions that are from modules that are compiled with a version of the compose compiler plugin that doesn't generate the inline function information.
  • ImmutableCollection and their Persistent siblings are now considered stable.
  • New param in AnimatedContent for tooling label
  • Fixed faulty code generation for inline lambda

2023-01-11

11 Jan 18:44
8f0dda3

Choose a tag to compare

Activity: v1.7.0-alpha03

January 11, 2023

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

New Features

  • ComponentDialog now implements SavedStateRegistryOwner and has access to its own SavedStateRegistry and sets the SavedStateRegistryOwner for its ViewTree. It is now possible to use Jetpack Compose within a ComponentDialog as it meets both the LifecycleOwner and SavedStateRegistryOwner attached to the Window via the ViewTree APIs requirements. (Idca17, I73468 b/261162296)

API Changes

  • Added a ReportDrawn composable that immediately marks the activity as ready to call reportFullyDrawn. (Ic5b14, b/259687964)

Kotlin Conversions

  • The ActvitiyResultCallback and OnBackPressedCallback classes have both been converted to Kotlin while maintaining source and binary compatibility. (Ifc5e5, Ide1b0, b/257291701)

Annotation: v1.6.0-alpha01

January 11, 2023

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

New Features

  • Adds a @RequiresExtension annotation to express that an API requires a particular version of a particular extension SDK. (I5e4fe)
  • Converted annotation library to build using the Kotlin Multiplatform toolchain (I3be8d)

Appcompat: v1.6.0

January 11, 2023

androidx.appcompat:appcompat:1.6.0 and androidx.appcompat:appcompat-resources:1.6.0 are released. Version 1.6.0 contains these commits.

Important changes since 1.5.0

Arch Core: v2.2.0-alpha01

January 11, 2023

androidx.arch.core:core-common:2.2.0-alpha01, androidx.arch.core:core-runtime:2.2.0-alpha01, and androidx.arch.core:core-testing:2.2.0-alpha01 are released. Version 2.2.0-alpha01 contains these commits.

API Changes

Benchmark: v1.2.0-alpha09

January 11, 2023

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

Bug Fixes

  • Enabled passing None to androidx.benchmark.enabledRules instrumentation arg to disable all benchmarks / baseline profile generation. (I3d7fd, b/258671856)
  • Fix PerfettoTrace capture in app modules (i.e. non-self-instrumenting test APKs) (I12cfc)
  • Fixed baseline profile adb pull argument order in Studio output (I958d1, b/261781624)
  • Arm emulator api 33 is now correctly recognized as such when trying to run a macrobenchmark and will correctly print the warning. (69133b,b/262209591)
  • Skip battery level check on devices without battery in Macrobenchmark (fe4114, b/232448937)

Browser: v1.5.0-beta01

January 11, 2023

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

  • No changes since 1.5.0-alpha02

Compose Animation: v1.3.3

January 11, 2023

androidx.compose.animation:animation:1.3.3, androidx.compose.animation:animation-core:1.3.3, and androidx.compose.animation:animation-graphics:1.3.3 are released. Version 1.3.3 contains these commits.

  • No changes since the 1.3.2.

Compose Animation: v1.4.0-alpha04

January 11, 2023

androidx.compose.animation:animation:1.4.0-alpha04, androidx.compose.animation:animation-core:1.4.0-alpha04, and androidx.compose.animation:animation-graphics:1.4.0-alpha04 are released. Version 1.4.0-alpha04 contains these commits.

New Features

  • ...
Read more

2023-01-03

04 Jan 21:37

Choose a tag to compare

Runner 1.5.0: runner 1.5.2

January 3, 2023

androidx.test:runner:1.5.2 is released.

Bug fixes

  • Reference doc cleanup

Monitor aka Platform 1.6.0: monitor 1.6.1

January 3, 2023

androidx.test:monitor:1.6.1 is released.

Bug fixes

  • Fix the default implementation of PlatformTestStorage. This will enable espresso to save screenshots on test failures when androidx.test.services is not configured
  • Reference doc cleanup

Espresso 3.5.0: Espresso 3.5.1

January 3, 2023

The following artifacts were released:

  • androidx.test.espresso:espresso-accessibility:3.5.1
  • androidx.test.espresso:espresso-core:3.5.1
  • androidx.test.espresso:espresso-contrib:3.5.1
  • androidx.test.espresso:espresso-idling-resource:3.5.1
  • androidx.test.espresso:espresso-intents:3.5.1
  • androidx.test.espresso:espresso-remote:3.5.1
  • androidx.test.espresso:espresso-web:3.5.1
  • androidx.test.espresso.idling:idling-concurrent:3.5.1
  • androidx.test.espresso.idling:idling-net:3.5.1

Bug fixes

  • Reference doc cleanup: Correct parameter names and remove obsolete 'beta' statements from IdlingThreadPoolExecutor and UriIdlingResource

Dependency changes

  • Update to androidx.test:monitor:1.6.1 to supporting saving screenshots on espresso test failures without test storage

JUnit Extensions 1.1.5: ext.junit 1.1.5

January 3, 2023

androidx.test.ext:junit:1.1.5 and androidx.test.ext:junit-ktx:1.1.5 are released.

Bug fixes

  • Fix reference doc formatting for ActivityScenarioRule

2022-12-07

07 Dec 18:42

Choose a tag to compare

Benchmark: v1.2.0-alpha08

December 7, 2022

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

API Changes

  • Added experimental new APIs PerfettoTrace.record {} and PerfettoTraceRule to capture Perfetto traces (also known as System Traces) as part of a test, to inspect test behavior and performance. (I3ba16)
  • BaselineProfileRule now accepts a filter predicate instead of a list of package prefixes. This gives the test full control on filtering. (I93240)
  • Add an experimental API BaselineProfileRule.collectStableBaselineProfile which waits until a baseline profile is stable for N iterations. (I923f3)
  • Add the ability to specify an output file name prefix when generating baseline profiles using BaselineProfileRule. (I7b59f, b/260318655)

Bug Fixes

  • Improve safety of file output writing, which should prevent output files from silently not being written / appended, especially on API 21/22. (If8c44, b/227510293)
  • Fix simpleperf trace output to create and place the file correctly. This should also more generally fix issues where a file is unsuccessfully pulled by gradle. (I12a1c, b/259424099)
  • Improve profileinstaller error message printed when profileinstaller is too old. This now tells you to update profileinstaller version (1.2.1) for measuring baseline profiles on API 31 through 33, instead of saying it's not supported. (Ia517f, b/253519888)
  • Fix several shell command failures onerror message Print needed API <=23, including failed perfetto capture binary setup and trace capture failures (Ib6b87, b/258863685)
  • Automatically sort generated profile rules to minimize the number of changes as they change over time (when checking-in profile rules into source control). (Ie2509)
  • Fixed crash on unrooted builds below Android 13 (API 33) with message Expected no stderr from echo 3 > /proc/sys/vm/drop_caches (I6c245, b/259508183)
  • Fix MacrobenchmarkScope.dropShaderCache() to no longer crash by fixing broadcast registry in profileinstaller manifest (I5c728, b/258619948)

Browser: v1.5.0-alpha02

December 7, 2022

androidx.browser:browser:1.5.0-alpha02 is released. Version 1.5.0-alpha02 contains these commits.

API Changes

  • Changed the CustomTabsCallback#onActivityResized behavior and added new parameters to it.
  • Renamed EXTRA_ACTIVITY_RESIZE_BEHAVIOR to EXTRA_ACTIVITY_RESIZE_HEIGHT_BEHAVIOR to better reflect that it is height specific. (Ic864e)
  • Make parts of CustomTabsCallback APIs asynchronous. (Ic86df)

CameraX: v1.2.0

December 7, 2022

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

Important changes since 1.1.0

  • New library camera-mlkit-vision. Easily integrate CameraX with many MLKit features, including barcode scanning, face detection, text detection, etc. Added MLKitAnalyzer as new APIs.
  • New experimental Zero-Shutter Lag API. Optimizes capture pipeline to have better latency while keeping good image quality. When the capture mode is set to CAPTURE_MODE_ZERO_SHUTTER_LAG, the latency between the shutter button is clicked and the picture is taken is expected to be minimized, compared with other capture modes. On devices that don’t support ZERO_SHUTTER_LAG, it’ll fallback to CAPTURE_MODE_MINIMIZE_LATENCY.
  • Deprecate android.camera.core.VideoCapture.
  • Added setStreamUseCase() as a public Camera2Interop API.
  • Added API level requirement for setOutputImageRotationEnabled.
  • Renamed ImageAnalysis.Analyzer#getTargetResolutionOverride() to ImageAnalysis.Analyzer#getDefaultTargetResolution().
  • Added API for setting location metadata to the saved video.
  • Fixed low framerate when using VideoCapture and Preview use cases with 16:9 aspect ratio
  • Fixed the black preview issue that happens when BOKEH extension is enabled on some Samsung devices and the user switches the cameras.
  • Fixed Samsung J7 Prime (SM-G610M) and J7 (SM-J710MN) Preview/VideoCapture stretched issue on API level 27 devices.
  • Disabled the workaround to flip the AF region horizontally of front cameras on Samsung Android T since the issue was fixed

CameraX: v1.3.0-alpha02

December 7, 2022

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

API Changes

  • add a new API for applying post-processing effect to Preview output. (Ic17d5)
  • Renamed OutputOptions.getDurationLimit to OutputOptions.getDurationLimitMillis and OutputOptions.setDurationLimit to OutputOptions.setDurationLimitMillis. (I91f0c)
  • Add AudioConfig class to handle the audio related setting while recording video. The @RequiresPermission annotation is moved from startRecording functions to AudioConfig to avoid unnecessary permission requests for the cases that audio is not needed. (I28755)
  • Remove Metadata, OnVideoSavedCallback, OutputFileOptions and OutputFileResults classes that are no longer used after applying the new video capture API. (I38cd8)
  • Apply the new video capture API. The getVideoCaptureTargetSize and setVideoCaptureTargetSize methods are replaced with the
Read more

2022-11-22

28 Nov 13:01

Choose a tag to compare

Media3: v1.0.0-beta03

November 22, 2022

androidx.media3:media3-*:1.0.0-beta03 is released. Version 1.0.0-beta03 contains these commits.

This release corresponds to the ExoPlayer 2.18.2 release.

  • Core library:
    • Add ExoPlayer.isTunnelingEnabled to check if tunneling is enabled for the currently selected tracks (#2518).
    • Add WrappingMediaSource to simplify wrapping a single MediaSource (#7279).
    • Discard back buffer before playback gets stuck due to insufficient available memory.
    • Close the Tracing "doSomeWork" block when offload is enabled.
    • Fix session tracking problem with fast seeks in PlaybackStatsListener (#180).
    • Send missing onMediaItemTransition callback when calling seekToNext or seekToPrevious in a single-item playlist (#10667).
    • Add Player.getSurfaceSize that returns the size of the surface on which the video is rendered.
    • Fix bug where removing listeners during the player release can cause an IllegalStateException (#10758).
  • Build:
    • Enforce minimum compileSdkVersion to avoid compilation errors (#10684).
    • Avoid publishing block when included in another gradle build.
  • Track selection:
    • Prefer other tracks to Dolby Vision if display does not support it. (#8944).
  • Downloads:
    • Fix potential infinite loop in ProgressiveDownloader caused by simultaneous download and playback with the same PriorityTaskManager (#10570).
    • Make download notification appear immediately (#183).
    • Limit parallel download removals to 1 to avoid excessive thread creation (#10458).
  • Video:
    • Try alternative decoder for Dolby Vision if display does not support it. (#9794).
  • Audio:
    • Use SingleThreadExecutor for releasing AudioTrack instances to avoid OutOfMemory errors when releasing multiple players at the same time (#10057).
    • Adds AudioOffloadListener.onExperimentalOffloadedPlayback for the AudioTrack offload state. (#134).
    • Make AudioTrackBufferSizeProvider a public interface.
    • Add ExoPlayer.setPreferredAudioDevice to set the preferred audio output device (#135).
    • Rename androidx.media3.exoplayer.audio.AudioProcessor to androidx.media3.common.audio.AudioProcessor.
    • Map 8-channel and 12-channel audio to the 7.1 and 7.1.4 channel masks respectively on all Android versions (#10701).
  • Metadata:
    • MetadataRenderer can now be configured to render metadata as soon as they are available. Create an instance with MetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory, boolean) to specify whether the renderer will output metadata early or in sync with the player position.
  • DRM:
    • Work around a bug in the Android 13 ClearKey implementation that returns a non-empty but invalid license URL.
    • Fix setMediaDrmSession failed: session not opened error when switching between DRM schemes in a playlist (e.g. Widevine to ClearKey).
  • Text:
    • CEA-608: Ensure service switch commands on field 2 are handled correctly (#10666).
  • DASH:
    • Parse EventStream.presentationTimeOffset from manifests (#10460).
  • UI:
    • Use current overrides of the player as preset in TrackSelectionDialogBuilder (#10429).
  • Session:
    • Ensure commands are always executed in the correct order even if some require asynchronous resolution (#85).
    • Add DefaultMediaNotificationProvider.Builder to build DefaultMediaNotificationProvider instances. The builder can configure the notification ID, the notification channel ID and the notification channel name used by the provider. Also, add method DefaultMediaNotificationProvider.setSmallIcon(int) to set the notifications small icon. (#104).
    • Ensure commands sent before MediaController.release() are not dropped (#99).
    • SimpleBitmapLoader can load bitmap from file:// URIs (#108).
    • Fix assertion that prevents MediaController to seek over an ad in a period (#122).
    • When playback ends, the MediaSessionService is stopped from the foreground and a notification is shown to restart playback of the last played media item (#112).
    • Don't start a foreground service with a pending intent for pause (#167).
    • Manually hide the 'badge' associated with the notification created by DefaultNotificationProvider on API 26 and API 27 (the badge is automatically hidden on API 28+) (#131).
    • Fix bug where a second binder connection from a legacy MediaSession to a Media3 MediaController causes IllegalStateExceptions (#49).
  • RTSP:
    • Add H263 fragmented packet handling (#119).
    • Add support for MP4A-LATM (#162).
  • IMA:
    • Add timeout for loading ad information to handle cases where the IMA SDK gets stuck loading an ad (#10510).
    • Prevent skipping mid-roll ads when seeking to the end of the content (#10685).
    • Correctly calculate window duration for live streams with server-side inserted ads, for example IMA DAI (#10764).
  • FFmpeg extension:
    • Add newly required flags to link FFmpeg libraries with NDK 23.1.7779620 and above (#9933).
  • AV1 extension:
    • Update CMake version to avoid incompatibilities with the latest Android Studio releases (#9933).
  • Cast extension:
    • Implement getDeviceInfo() to be able to identify CastPlayer when controlling playback with a MediaController (#142).
  • Transformer:
    • Add muxer watchdog timer to detect when generating an output sample is too slow.
  • Remove deprecated symbols:
    • Remove Transformer.Builder.setOutputMimeType(String). This feature has been removed. The MIME type will always be MP...
Read more

2022-11-11

11 Nov 21:40

Choose a tag to compare

Compose Compiler: v1.4.0-alpha02

November 11, 2022

androidx.compose.compiler:compiler:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.

New Features

  • Added support for Kotlin 1.7.21

2022-11-09

09 Nov 18:47

Choose a tag to compare

Benchmark: v1.1.1

November 9, 2022

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

Bug Fixes

  • Fixes android.system.ErrnoException: open failed: EACCES which would occur on some Android11 (API 30)+ devices. This is a cherry-pick of a fix from 1.2.0-alpha01. (aosp/2072249)

Benchmark: v1.2.0-alpha07

November 9, 2022

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

API Changes

  • Adds PowerMetric API for measuring energy and power in Macrobenchmarks. (Ife601, b/220183779)
  • Fixed MacrobenchmarkScope.dropShaderCache() to actually drop the shader cache. This removes roughly 20ms of noise from StartupMode.COLD benchmarks, as shaders are now consistently cleared each iteration. Previously, Partial compilation using warmup iterations would report incorrectly fast numbers, as shader caching was more likely to happen during warmup. This fix requires either a rooted device, or using profileinstaller:1.3.0-alpha02 in the target app. For ProfileInstaller library’s API changes, please refer to ProfileInstaller 1.30-alpha02 page. (Ia5171, b/231455742)
  • Added TraceSectionMode("label", Mode.Sum), allowing measurement of total time spent on multiple trace sections with the same label. For instance, TraceSectionMetric("inflate", Mode.Sum) will report a metric inflateMs for the total time in a macrobenchmark spent on inflation. Also removed API 29 requirement, as TraceSectionMetric works together with androidx.tracing.Trace back to lower API levels, with the use of forceEnableAppTracing within the target app. (Id7b68, b/231455742)

Bug Fixes

  • Improved safety of all internal shell commands by validating all output/errors. (I5984d, b/255402908, b/253094958)
  • Specify device in baseline profile adb pull command, so the pull command can be simply copied if multiple devices are connected (up to one emulator) (I6ac6c, b/223359380)
  • Add error if macrobenchmark test apk isn't set up as self-instrumenting. This error prevents macrobenchmarking from within the target app's process. In process, macrobench wouldn't be able to compile/kill/cold start the app, or control its own permissions (I4279b)
  • Fixed an issue in measureRepeated() where StartupMode.COLD wouldn't kill the target process after setupBlock. Now setupBlock interacting with the app will not leave the app process running, and an invalid cold start measurement. (I8ebb7)

CameraX: v1.3.0-alpha01

November 9, 2022

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

New Features

  • Camera-viewfinder has been published officially. Camera-viewfinder provides a base viewfinder widget that can display the camera feed for Camera2. Please check the sample code for an example.

API Changes

  • Added OutputOptions.setDurationLimit to allow setting of video duration limit. The recording will be automatically finalized when exceeding the specified duration limit. (I902a0)
  • Add video recording audio error state AudioStats.AUDIO_STATE_SOURCE_ERROR. Sent when audio source setup fails or some error occurs. (I37410)

Bug Fixes

  • Add quirk to allow some problematic devices to retry capture once when encountering capture failures. (Id4795)
  • Fix PreviewView SurfaceView implementation black screen issue on ViewPager2. As part of the fix, PreviewView will reuse its SurfaceView if the requested resolution is not changed. (Ib3f27)
  • Support video cropping (WYSIWYG feature) when ViewPort or CameraController API is used. (Ifbba8, b/201085351)
  • Fixed video captured with front camera fails to record on Huawei P40 lite. (I87c57, b/250807400)

Car App: v1.2.0

November 9, 2022

androidx.car.app:app-*:1.2.0 is released. Version 1.2.0 contains these commits.

  • This is a stabilization release, and there are no changes compared to v1.2.0-rc01.

Compose Animation: v1.4.0-alpha02

November 9, 2022

androidx.compose.animation:animation:1.4.0-alpha02, androidx.compose.animation:animation-core:1.4.0-alpha02, and androidx.compose.animation:animation-graphics:1.4.0-alpha02 are released. Version 1.4.0-alpha02 contains these commits.

API Changes

  • Add ToolingState to allow tooling to change internal states of Composable (Ie6614)

Compose Compiler: v1.4.0-alpha01

November 9, 2022

androidx.compose.compiler:compiler:1.4.0-alpha01 is released. Version 1.4.0-alpha01 contains these commits.

Bug Fixes

  • Fix ability to return early from inline composable functions (
Read more

2022-11-02

08 Nov 21:40

Choose a tag to compare

Annotation 1.0.1: Annotation 1.0.1

November 8, 2022

androidx.test:annotation:1.0.1 is released.

Changes since 1.0.0 include:

Dependency changes

  • Update to kotlin stdlib 1.7.10

Runner 1.5.0: runner 1.5.0

November 8, 2022

androidx.test:runner:1.5.0 is released.

Changes since 1.4.0 include:

New features

  • Record android Trace spans for test lifecycle events

API changes

  • Denote the long standing @Beta/@ExperimentalTestApi androidx.test.runner.screenshot as stable but deprecated (in favor of new androidx.test.core/espresso screenshot APIs)
  • Deprecate the '-e timeout' runtime parameter in favor of JUnit's Timeout rule.
  • Add an AbstractFilter class.
  • Add AndroidClasspathSuite and experimental PackagePrefixClasspathSuite
  • No-op and deprecate Google Analytics

Bug fixes

  • Add support for reading from TestStorage in -e testFile
  • Handle case where app crashes before instrumentationResultPrinter is set.
  • Report the process crash immediately in the orchestrator instrumentation listener.
  • Support parameterized test names with commas and hashes.
  • Improve error handling during test discovery phase in orchestrator
  • Enhance error handling in exception scenarios (app crashes, etc)

Dependency Changes

  • Update to
    • org.junit:junit:4.13.2

Test:

Monitor aka Platform 1.6.0: monitor 1.6.0

November 8, 2022

androidx.test:monitor:1.6.0 is released.

Changes since 1.5.0 include:

API changes

  • Internal API changes to support ActivityScenario#launchActivityForResult
  • Add internal API for supporting different tracing libraries.

Bug fixes

  • Remove 'Activities that are still in CREATED to STOPPED' log spam

Dependency Changes

  • Add dependency on androidx.tracing

Espresso 3.5.0: Espresso 3.5.0

November 8, 2022

The following artifacts were released:

  • androidx.test.espresso:espresso-accessibility:3.5.0
  • androidx.test.espresso:espresso-core:3.5.0
  • androidx.test.espresso:espresso-contrib:3.5.0
  • androidx.test.espresso:espresso-idling-resource:3.5.0
  • androidx.test.espresso:espresso-intents:3.5.0
  • androidx.test.espresso:espresso-remote:3.5.0
  • androidx.test.espresso:espresso-web:3.5.0
  • androidx.test.espresso.idling:idling-concurrent:3.5.0
  • androidx.test.espresso.idling:idling-net:3.5.0

New Features

  • Record android Trace spans for Espresso actions
  • Espresso's DefaultFailureHandler now saves a screenshot on test failures to TestStorage
  • Add experimental ViewInteraction.captureToBitmap extension function
  • Save view hierarchy to a file on failures

API changes

  • Promote ViewMatchers hasTextColor and hasBackground as stable APIs
  • Add IntentsRule
  • Add inverted matchers for IntentMatchers.hasExtraWithKey() and BundleMatchers.hasKey()
  • Add a ViewAction that scrolls to the last position in a RecyclerView.
  • Add IntentMatcher.hasExtra API

Bug fixes

  • Preserve tool type on up event
  • Make IdlingRegistry more thread-safe.
  • Support other views for scrollTo()
  • Remove unnecessary interruptEspressoTasks warning logs for each Espresso interaction on Robolectric.
  • Remove timeout in CloseKeyboardAction when running under Robolectric
  • Use consistent InputDevice source for input gesture injection
  • Support simulating ActivityNotFoundExceptions in Espresso Intents.
  • Truncate view hierarchy in exception messages when it gets too large.
  • Display number and list of ambiguously matched views.
  • Validate that onView.check/perform() is invoked on the UI thread

Dependency changes

  • Update to
    • kotlin stdlib 1.7.10
    • jsr305:2.0.2
    • tagsoup:1.2.1
    • androidx.annotation:1.2.0
  • contrib:
    • update to drawer 1.1.1, recycler view 1.2.1, material 1.4.0

Core 1.5.0: Core Core-ktx 1.5.0

November 8, 2022

androidx.test:core:1.5.0 and androidx.test:core-ktx:1.5.0 are released.

Changes since 1.4.0 include:

New features

  • Record android Trace spans for ActivityScenario launch and close.
  • Add new experimental APIs for screenshots. These APIs will automatically select the highest fidelity for taking screenshots based on platform API level, and support the Automated Test Device (ATD) emulator images.
    • View.captureToBitmap extension function
    • Window.captureRegionToBitmap extension function
    • takeScreenshot()
  • Add experimental Bitmap.writeToTestStorage API

API changes

  • Add ActivityScenario#launchActivityForResult API and modify ActivityScenario#launch to remove use of Bootstrap Activity API. This change should improve performance and stability of ActivityScenario#launch. ActivityScenario#getResult will now enforce that it can only be used with ActivityScenario#launchActivityForResult

Bug fixes

  • Fix ActivityScenario#launch when targeting and running on Android 33
  • Use elapsedRealtime instead of currentTimeMillis to track ActivityScenario timeouts.
  • Fix ActivityScenario's issue with starting an Activity from intent with package name in self-instrumenting tests.
  • Reduce ActivityScenario overhead by using plain whitebackground and disabling transition animations in internal Activities

Dependency changes

  • Update to
    • kotlin stdlib 1.7.10
    • androidx.lifecycle:lifecycle-common:2.3.1
    • androidx.annotation:annotation:1.2.0
  • Add
    • androidx.test.services:storage:1.4.2
    • com.google.guava:listenablefuture:1.0
    • androidx.concurrent:concurrent-futures:1.1.0

JUnit Extensions 1.1.4: ext.junit 1.1.4

November 8, 2022

androidx.test.ext:junit:1.1.4 and androidx.test.ext:junit-ktx:1.1.4 are released.

Changes since 1.1.3 include:

Dependency changes

  • Update to kotlin stdlib 1.7.10
  • Update to org.junit:junit:4.13.2

Truth Extensions 1.5.0: ext.truth 1.5.0

November 8, 2022

androidx.test.ext:truth:1.5.0 is released.

Changes since 1.4.0 include:

API changes

  • Add BundleSubject#stringArray
  • Add ParcelableSubject.marshallsEquallyTo()
  • Add BundleSubject#doubleFloat

Bug fixes

  • Make Intent matchers fail explicitly for null intent

Dependency Changes

  • Update to
    • com.google.guava:guava:30.1.1-android
    • com.google.truth:truth:1.1.3

Services 1.4.2: services 1.4.2

November 8, 2022

androidx.test.services:test-services:1.4.2 androidx.test.services:storage:1.4.2 are released.

Orchestrator 1.4.2: orchestrator 1.4.2

November 8, 2022

androidx.test:orchestrator:1.4.2 is released.

2022-10-26@09PM

27 Oct 02:52

Choose a tag to compare

Annotation 1.0.1: Annotation 1.0.1-rc01

October 26, 2022

androidx.test:annotation:1.0.1-rc01 is released.

Runner 1.5.0: runner 1.5.0-rc01

October 26, 2022

androidx.test:runner:1.5.0-rc01 is released.

Test:

Monitor aka Platform 1.6.0: monitor 1.6.0-rc01

October 26, 2022

androidx.test:monitor:1.6.0-rc01 is released.

Espresso 3.5.0: Espresso 3.5.0-rc01

October 26, 2022

The following artifacts were released:

  • androidx.test.espresso:espresso-accessibility:3.5.0-rc01
  • androidx.test.espresso:espresso-core:3.5.0-rc01
  • androidx.test.espresso:espresso-contrib:3.5.0-rc01
  • androidx.test.espresso:espresso-idling-resource:3.5.0-rc01
  • androidx.test.espresso:espresso-intents:3.5.0-rc01
  • androidx.test.espresso:espresso-remote:3.5.0-rc01
  • androidx.test.espresso:espresso-web:3.5.0-rc01
  • androidx.test.espresso.idling:idling-concurrent:3.5.0-rc01
  • androidx.test.espresso.idling:idling-net:3.5.0-rc01

Core 1.5.0: Core Core-ktx 1.5.0-rc01

October 26, 2022

androidx.test:core:1.5.0-rc01 and androidx.test:core-ktx:1.5.0-rc01 are released.

JUnit Extensions 1.1.4: ext.junit 1.1.4-rc01

October 26, 2022

androidx.test.ext:junit:1.1.4-rc01 and androidx.test.ext:junit-ktx:1.1.4-rc01 are released.

Truth Extensions 1.5.0: ext.truth 1.5.0-rc01

October 26, 2022

androidx.test.ext:truth:1.5.0-rc01 is released.

Services 1.4.2: services 1.4.2-rc01

October 26, 2022

androidx.test.services:test-services:1.4.2-rc01 androidx.test.services:storage:1.4.2-rc01 are released.

Orchestrator 1.4.2: orchestrator 1.4.2-rc01

October 26, 2022

androidx.test:orchestrator:1.4.2-rc01 is released.