Releases: mahozad/androidx-release-notes
2023-01-25
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
PickVisualMediaandPickMultipleVisualMediaActivity 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. TheisPhotoPickerAvailable()API that only detects the Android system provided Photo Picker has been deprecated. It is recommended to use the newisPhotoPickerAvailable(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.getIntrinsicZoomRatioto provide angle of view information relative to the default camera. (Ib300c) - Added
CameraInfo.getLensFacingto provide lens facing information. AddedCameraSelector#LENS_FACING_EXTERNALas an experimental feature for selecting external cameras. (Icaf3e) - Add
#setEffect()toCameraControllerthat allows adding effects to camera output. (I1d21f) - Add
invalidate()method toSurfaceRequest. The Surface provider can notify that the previously provided surface is no longer valid. (Idc649) - Add a
ImageProcessorAPI. This interface is for inject post-processing effects into theImageCapturepipeline. (I575c6) - Added API
Recorder.Builder.setAspectRatio()which can be combined withQualitySelectorto support more video resolutions. (I8a082) - Added
Recorder.Builder#setTargetVideoEncodingBitRateto set Target Video EncodingBitRateandRecorder#getTargetVideoEncodingBitRateto get Target Video Encoding BitRate. (I5984d)
Bug Fixes
- Fixed
ImageCapturefailed 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
onHovertoClickableText(I6938f) - Introduced new experimental overloads for the
runComposeUiTestfunction andcreate*ComposeRulefunctions that acceptCoroutineContextparameters. The context will be used for the test composition and anyLaunchedEffectandrememberCoroutineScope()calls in the composition. (I10614, b/265177763)
API Changes
- Merges the pre/post APIs of
OverscrollEffectinto combined 'decorator'applyToScrollandapplyToFlingfunctions. See the updated samples in the documentation for examples of how to implement an overscroll effect with the new API shape. (
2023-01-17
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
Groupnow has a field,isInline, that indicates if the group is for a call to an inline composable function. IfisInlineistruethen 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. ImmutableCollectionand their Persistent siblings are now considered stable.- New param in
AnimatedContentfor tooling label - Fixed faulty code generation for inline lambda
2023-01-11
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
ComponentDialognow implementsSavedStateRegistryOwnerand has access to its ownSavedStateRegistryand sets theSavedStateRegistryOwnerfor its ViewTree. It is now possible to use Jetpack Compose within aComponentDialogas it meets both theLifecycleOwnerandSavedStateRegistryOwnerattached to the Window via the ViewTree APIs requirements. (Idca17, I73468 b/261162296)
API Changes
- Added a
ReportDrawncomposable that immediately marks the activity as ready to callreportFullyDrawn. (Ic5b14, b/259687964)
Kotlin Conversions
- The
ActvitiyResultCallbackandOnBackPressedCallbackclasses 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
@RequiresExtensionannotation 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
- Added support for customizing application locales. See
AppCompatDelegate.setApplicationLocales(LocaleListCompat)for more information. Provides backward compatibility for the new per-language preferences API available in Android 13. - Nullability updates to align with Android 13 (Tiramisu, API level 33) SDK.
- Added
DrawableWrapper,DrawableContainer, andStateListDrawablecompat classes to public API surface
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
- Added the correct nullability to many APIs that previously did not specify whether they were
@NonNullor@Nullable. This may be source incompatible if your Kotlin code was assuming the wrong nullability. (I34b6b, b/236472329, b/236472101, b/236472102, b/236471987, b/236472078, b/236472176, b/236471905, b/236472103)
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
Nonetoandroidx.benchmark.enabledRulesinstrumentation arg to disable all benchmarks / baseline profile generation. (I3d7fd, b/258671856) - Fix
PerfettoTracecapture 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
- ...
2023-01-03
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.1androidx.test.espresso:espresso-core:3.5.1androidx.test.espresso:espresso-contrib:3.5.1androidx.test.espresso:espresso-idling-resource:3.5.1androidx.test.espresso:espresso-intents:3.5.1androidx.test.espresso:espresso-remote:3.5.1androidx.test.espresso:espresso-web:3.5.1androidx.test.espresso.idling:idling-concurrent:3.5.1androidx.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
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 {}andPerfettoTraceRuleto capture Perfetto traces (also known as System Traces) as part of a test, to inspect test behavior and performance. (I3ba16) BaselineProfileRulenow 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.collectStableBaselineProfilewhich 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
simpleperftrace 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#onActivityResizedbehavior and added new parameters to it. - Renamed
EXTRA_ACTIVITY_RESIZE_BEHAVIORtoEXTRA_ACTIVITY_RESIZE_HEIGHT_BEHAVIORto better reflect that it is height specific. (Ic864e) - Make parts of
CustomTabsCallbackAPIs 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
MLKitAnalyzeras 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 supportZERO_SHUTTER_LAG, it’ll fallback toCAPTURE_MODE_MINIMIZE_LATENCY. - Deprecate
android.camera.core.VideoCapture. - Added
setStreamUseCase()as a publicCamera2InteropAPI. - Added API level requirement for
setOutputImageRotationEnabled. - Renamed
ImageAnalysis.Analyzer#getTargetResolutionOverride()toImageAnalysis.Analyzer#getDefaultTargetResolution(). - Added API for setting location metadata to the saved video.
- Fixed low framerate when using
VideoCaptureand 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/VideoCapturestretched 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.getDurationLimittoOutputOptions.getDurationLimitMillisandOutputOptions.setDurationLimittoOutputOptions.setDurationLimitMillis. (I91f0c) - Add
AudioConfigclass to handle the audio related setting while recording video. The@RequiresPermissionannotation is moved fromstartRecordingfunctions toAudioConfigto avoid unnecessary permission requests for the cases that audio is not needed. (I28755) - Remove Metadata,
OnVideoSavedCallback,OutputFileOptionsandOutputFileResultsclasses that are no longer used after applying the new video capture API. (I38cd8) - Apply the new video capture API. The
getVideoCaptureTargetSizeandsetVideoCaptureTargetSizemethods are replaced with the
2022-11-22
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.isTunnelingEnabledto check if tunneling is enabled for the currently selected tracks (#2518). - Add
WrappingMediaSourceto simplify wrapping a singleMediaSource(#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
onMediaItemTransitioncallback when callingseekToNextorseekToPreviousin a single-item playlist (#10667). - Add
Player.getSurfaceSizethat 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).
- Add
- Build:
- Enforce minimum
compileSdkVersionto avoid compilation errors (#10684). - Avoid publishing block when included in another gradle build.
- Enforce minimum
- Track selection:
- Prefer other tracks to Dolby Vision if display does not support it. (#8944).
- Downloads:
- Video:
- Try alternative decoder for Dolby Vision if display does not support it. (#9794).
- Audio:
- Use
SingleThreadExecutorfor releasingAudioTrackinstances to avoid OutOfMemory errors when releasing multiple players at the same time (#10057). - Adds
AudioOffloadListener.onExperimentalOffloadedPlaybackfor the AudioTrack offload state. (#134). - Make
AudioTrackBufferSizeProvidera public interface. - Add
ExoPlayer.setPreferredAudioDeviceto set the preferred audio output device (#135). - Rename
androidx.media3.exoplayer.audio.AudioProcessortoandroidx.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).
- Use
- Metadata:
MetadataRenderercan now be configured to render metadata as soon as they are available. Create an instance withMetadataRenderer(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 openederror 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.presentationTimeOffsetfrom manifests (#10460).
- Parse
- UI:
- Use current overrides of the player as preset in
TrackSelectionDialogBuilder(#10429).
- Use current overrides of the player as preset in
- Session:
- Ensure commands are always executed in the correct order even if some require asynchronous resolution (#85).
- Add
DefaultMediaNotificationProvider.Builderto buildDefaultMediaNotificationProviderinstances. The builder can configure the notification ID, the notification channel ID and the notification channel name used by the provider. Also, add methodDefaultMediaNotificationProvider.setSmallIcon(int)to set the notifications small icon. (#104). - Ensure commands sent before
MediaController.release()are not dropped (#99). SimpleBitmapLoadercan load bitmap fromfile://URIs (#108).- Fix assertion that prevents
MediaControllerto seek over an ad in a period (#122). - When playback ends, the
MediaSessionServiceis 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
DefaultNotificationProvideron 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:
- 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 identifyCastPlayerwhen controlling playback with aMediaController(#142).
- Implement
- 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...
- Remove
2022-11-11
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
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: EACCESwhich would occur on some Android11 (API 30)+ devices. This is a cherry-pick of a fix from1.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
PowerMetricAPI 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 fromStartupMode.COLDbenchmarks, as shaders are now consistently cleared each iteration. Previously,Partialcompilation 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 usingprofileinstaller:1.3.0-alpha02in the target app. ForProfileInstallerlibrary’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 metricinflateMsfor the total time in a macrobenchmark spent on inflation. Also removed API 29 requirement, asTraceSectionMetricworks together withandroidx.tracing.Traceback to lower API levels, with the use offorceEnableAppTracingwithin 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 pullcommand, 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()whereStartupMode.COLDwouldn't kill the target process aftersetupBlock. NowsetupBlockinteracting 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-viewfinderhas been published officially.Camera-viewfinderprovides a base viewfinder widget that can display the camera feed for Camera2. Please check the sample code for an example.
API Changes
- Added
OutputOptions.setDurationLimitto 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
PreviewViewSurfaceViewimplementation black screen issue onViewPager2. As part of the fix,PreviewViewwill reuse itsSurfaceViewif the requested resolution is not changed. (Ib3f27) - Support video cropping (WYSIWYG feature) when
ViewPortorCameraControllerAPI 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
ToolingStateto 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 (
2022-11-02
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.0androidx.test.espresso:espresso-core:3.5.0androidx.test.espresso:espresso-contrib:3.5.0androidx.test.espresso:espresso-idling-resource:3.5.0androidx.test.espresso:espresso-intents:3.5.0androidx.test.espresso:espresso-remote:3.5.0androidx.test.espresso:espresso-web:3.5.0androidx.test.espresso.idling:idling-concurrent:3.5.0androidx.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
interruptEspressoTaskswarning 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
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-rc01androidx.test.espresso:espresso-core:3.5.0-rc01androidx.test.espresso:espresso-contrib:3.5.0-rc01androidx.test.espresso:espresso-idling-resource:3.5.0-rc01androidx.test.espresso:espresso-intents:3.5.0-rc01androidx.test.espresso:espresso-remote:3.5.0-rc01androidx.test.espresso:espresso-web:3.5.0-rc01androidx.test.espresso.idling:idling-concurrent:3.5.0-rc01androidx.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.