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 thegetVideoCaptureTargetQualityand thesetVideoCaptureTargetQualitymethods accordingly, assetTargetResolutionis no longer supported. (I2a1d5)
Bug Fixes
- Remove deprecated
core.VideoCaptureAPI. (I531e0) - Fixed the issue that the
onErrorcallback is not called when taking pictures without the storage permission.(I936db, b/244807669) - Improve camera extensions quality and reliability. Camera extensions are disabled on Motorola devices using Camera Extensions v1.1.0 and older due to issues with Bokeh support, image capture, and preview not resuming. (Id3ce3)
- Fixed native crash when video cropping via
ViewPortis enabled on legacy devices. (I16b8a, b/251357665)
Car App: v1.3.0-rc01
December 7, 2022
androidx.car.app:app-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
- Minor bug fixes from beta01. No Major Changes.
Compose Animation: v1.3.2
December 7, 2022
androidx.compose.animation:animation:1.3.2, androidx.compose.animation:animation-core:1.3.2, and androidx.compose.animation:animation-graphics:1.3.2 are released. Version 1.3.2 contains these commits.
Bug Fixes
- Updated to support androidx.compose.ui 1.3.2
Compose Animation: v1.4.0-alpha03
December 7, 2022
androidx.compose.animation:animation:1.4.0-alpha03, androidx.compose.animation:animation-core:1.4.0-alpha03, and androidx.compose.animation:animation-graphics:1.4.0-alpha03 are released. Version 1.4.0-alpha03 contains these commits.
API Changes
- In UI tests using a Compose rule, continuations resumed during
withFrameNanoscallbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that callswithFrameNanosorwithFrameMillisdirectly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples. - Added optional
onPerformTraversals: (Long) -> Unitparameter toTestMonotonicFrameClockconstructor and factory function to run code afterwithFrameNanoscallbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670) - New param in
AnimatedContentfor tooling label (Iebe2d)
Compose Foundation: v1.4.0-alpha03
December 7, 2022
androidx.compose.foundation:foundation:1.4.0-alpha03 and androidx.compose.foundation:foundation-layout:1.4.0-alpha03 are released. Version 1.4.0-alpha03 contains these commits.
API Changes
- In UI tests using a Compose rule, continuations resumed during
withFrameNanoscallbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that callswithFrameNanosorwithFrameMillisdirectly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples. - Added optional
onPerformTraversals: (Long) -> Unitparameter toTestMonotonicFrameClockconstructor and factory function to run code afterwithFrameNanoscallbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670) - Introduce Page accessibility actions:
PageUp,PageDown,PageLeft,PageRight. Note that these are only available from API 29. (Ida4ab) - Introduce
HorizontalPagerandVerticalPager, a way of showing composables in a Pager manner. IntroducedPagerStateto control the Pagers as well as query information about the Pager's current state. IntroducedPageSize, a way of controlling the size of a Pager's page, this can be used to create a carousel like Pagers. IntroducedPagerSnapDistance, a way to control how snapping will work in Pager's fling behavior. (I01120) - Introduced an overload in
SnapFlingBehavior.performFlingto help to understand where the fling will settle. (I569f6) - Removed
OverscrollEffect#isEnabled. Instead of needing to remember and set this flag, just don't dispatch events to the overscroll effect in cases where you do not want overscroll to show (for example ifScrollableState#canScrollForward/backwardboth return false). (I1a4b0, b/255554340, b/255557085) - Added
ScrollableState#canScrollForwardandScrollableState#canScrollBackwardto query whether aScrollableStatehas room to scroll in either direction (whether it is at the minimum / maximum of its range). This defaults to true for backwards compatibility with existing implementations ofScrollableState. Consumers can use this to show indication to the user that there is still room to scroll, and this could also be used to avoid dispatching delta toScrollableStatesthat have no room to scroll in a given direction, to reduce unnecessary work. (Idf1a0, b/255557085) - Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
- Used in
Clickableto correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickablesnot correctly delaying ripples, when used inside anScrollable ViewGroup. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
- Update
snapStepSizenaming to be consistent with other methods inSnapLayoutInfoProvider. (Ife67c) - Added
EmojiCompattoCompose(Ibf6f9, b/139326806) - Renamed
consumedWindowInsets()toconsumeWindowInsets()andwithConsumedWindowInsets()toonConsumedWindowInsetsChanged()and made the Modifiers public. (Ie44e1)
Bug Fixes
- The crash with
Modifier.animateItemPlacement()and Lazy grids was fixed. It was happening in some conditions when the new items count is smaller then the previous one. (I0bcac, b/253195989)
Compose Material: v1.4.0-alpha03
December 7, 2022
androidx.compose.material:material-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.
API Changes
- Adding
@JvmDefaultWithCompatibilityannotation (I8f206) - Incorporated changes in the
SwipeableAPIs inModalDrawer.DrawerState'sanimateTohas been replaced by theopenandclosemethods and the offset is now nullable. UserequireOffsetto require the offset. (I3de9e) - Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
- Used in
Clickableto correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickablesnot correctly delaying ripples, when used inside anScrollable ViewGroup. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
Bug Fixes
- Fixed an issue where
PullRefreshIndicatorcould get stuck afteronRefreshis called, if the refreshing state was not changed to true. (Ie2416, b/248274004)
Dependency Updates
- Compose UI and Compose Material now depend on Lifecycle 2.5.1. (I05ab0, b/258038814)
Compose Material 3: v1.1.0-alpha03
December 7, 2022
androidx.compose.material3:material3:1.1.0-alpha03 and androidx.compose.material3:material3-window-size-class:1.1.0-alpha03 are released. Version 1.1.0-alpha03 contains these commits.
API Changes
- Renamed
consumedWindowInsets()toconsumeWindowInsets()andwithConsumedWindowInsets()toonConsumedWindowInsetsChanged()and made the Modifiers public. (Ie44e1) - Add new default content padding for text button with icon to use. (I8f662)
- Added disabled colors for navigation bar and rail. (Ia7892, b/258867034)
- Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
- Used in
Clickableto correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickablesnot correctly delaying ripples, when used inside anScrollable ViewGroup. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
Dependency Updates
Compose UIandCompose Materialnow depend on Lifecycle 2.5.1. (I05ab0, b/258038814)
Compose Runtime: v1.3.2
December 7, 2022
androidx.compose.runtime:runtime-*:1.3.2 is released. Version 1.3.2 contains these commits.
Bug Fixes
- Updated to support androidx.compose.ui 1.3.2
Compose Runtime: v1.4.0-alpha03
December 7, 2022
androidx.compose.runtime:runtime-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.
API Changes
- adding a new public method to
ComposableMethodclass analogous tojava.lang.reflect.Method#getParameterTypes()(Iab0c3)
Bug Fixes
- Snapshot apply notifications are now sent after the
Recomposerfinishes applying changes. (Iad6c0, b/222093277)
Compose UI: v1.3.2
December 7, 2022
androidx.compose.ui:ui-*:1.3.2 is released. Version 1.3.2 contains these commits.
Bug Fixes
- Updated to use Profobuf 3.21.8, which avoids a security alert in
protobuf-javalite:3.19.4(CVE-2022-3171) (b/255545055)
Compose UI: v1.4.0-alpha03
December 7, 2022
androidx.compose.ui:ui-*:1.4.0-alpha03 is released. Version 1.4.0-alpha03 contains these commits.
API Changes
- Removing
ExperimentalComposeUiApifromPointerIcon(I23af8) - Introduce Page accessibility actions:
PageUp,PageDown,PageLeft,PageRight. Note that these are only available from API 29. (Ida4ab) - Updated
rememberNestedScrollConnectionparameter view from root view to host view. (Ia5200) - Added an Modifier API to query ancestors scroll info. (I2ba9d, b/203141462)
- Used in
Clickableto correctly delay press interactions, when gestures could become scroll events. - Fixed
Clickablesnot correctly delaying ripples, when used inside anScrollable ViewGroup. - Updated Drawers and Sheets to correctly delay presses in case gestures can become scroll events.
- Renamed
CompositingStrategy.AlwaystoOffscreento indicate that thegraphicsLayerwill always be rendered into an intermediate buffer (I47dc1) - Layout overload with multiple content slots is now stable (I10566, b/248294649)
- 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) - In UI tests using a Compose rule, continuations resumed during
withFrameNanoscallbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that callswithFrameNanosorwithFrameMillisdirectly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples. - Added optional
onPerformTraversals: (Long) -> Unitparameter toTestMonotonicFrameClockconstructor and factory function to run code afterwithFrameNanoscallbacks but before resuming callers' coroutines. (Idb413, b/254115946, b/222093277, b/255802670) - Added EmojiCompat to Compose (Ibf6f9, b/139326806)
- Added new wallpaper parameter to
@Previewfor dynamic colour support (I9f512)
Bug Fixes
- Snapshot apply notifications are now sent after the
Recomposerfinishes applying changes. (Iad6c0, b/222093277) - Introduced changes in
captureToImageto allow for capturing multi window screenshots. This is useful for screenshot tests that use compose PopUps. (I169c5)
Dependency Updates
- Compose UI and Compose Material now depend on Lifecycle 2.5.1. (I05ab0, b/258038814)
Constraintlayout: v2.2.0-alpha05
December 7, 2022
androidx.constraintlayout:constraintlayout:2.2.0-alpha05 is released. Version 2.2.0-alpha05 contains these commits.
- For more information on changes in previous release, see Github wiki page
Bug Fixes
- Fix leak in View Carousel (eb67b82)
ConstraintLayout-compose, and ConstraintLayout-Core 1.1: v1.1.0-alpha05
December 7, 2022
androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha05 and androidx.constraintlayout:constraintlayout-core:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.
New Features
- Support custom
KeyAttributesin DSL (b94e748) - Surface bias properties in
ConstrainScope(32625d0) - Support custom parameters in chains (72a2e9e)
- Add Macrobenchmark tests for
MotionLayoutin Compose (36f43bc) - For more information on changes in previous release in Compose, see wiki page
API Changes
- Flip
addConstraintSetandaddTransitionparameters (152facc)
Bug Fixes
- Fix Horizontal Chains (ed5f56e)
ConstraintLayout-compose, and ConstraintLayout-Core 1.1: v1.1.0-alpha05
December 7, 2022
androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha05 and androidx.constraintlayout:constraintlayout-core:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.
New Features
- Support custom
KeyAttributesin DSL (b94e748) - Surface bias properties in
ConstrainScope(32625d0) - Support custom parameters in chains (72a2e9e)
- Add Macrobenchmark tests for
MotionLayoutin Compose (36f43bc) - For more information on changes in previous release in Compose, see wiki page
API Changes
- Flip
addConstraintSetandaddTransitionparameters (152facc)
Bug Fixes
- Fix Horizontal Chains (ed5f56e)
Core Ultra Wideband (UWB): v1.0.0-alpha04
December 7, 2022
androidx.core.uwb:uwb:1.0.0-alpha04 and androidx.core.uwb:uwb-rxjava3:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.
New Features
- When there's no GMS support, AndroidX API will try to use the AOSP UWB backend service that are distributed to OEMs via AOSP platform.(532de0)
API Changes
- Adding
@JvmDefaultWithCompatibilityannotation (I8f206)
Fragment: v1.5.5
December 7, 2022
androidx.fragment:fragment:1.5.5, androidx.fragment:fragment-ktx:1.5.5, and androidx.fragment:fragment-testing:1.5.5 are released. Version 1.5.5 contains these commits.
Bug Fixes
- Fragments will no longer incorrectly save the
ViewModelstate as part of the view registry saved state. (I10d2b, b/253546214)
Fragment: v1.6.0-alpha04
December 7, 2022
androidx.fragment:fragment-*:1.6.0-alpha04 is released. Version 1.6.0-alpha04 contains these commits.
New Features
FragmentStrictModeadded a newWrongNestedHierarchyViolationthat detects when a child fragment is nested within it’s parent’s View hierarchy, but not added to the parent’schildFragmentManager. (I72521, b/249299268)
Behavior Changes
- Fragments now restore their
SavedStateRegistrystate beforeonAttach(), ensuring that it is available from all upward lifecycle methods. (I1e2b1)
API Changes
- The
fragment-testing-manifestartifact separates out the manifest entries from the rest of the fragment-testing components. This means you can do the following:
debugImplementation("androidx.fragment:fragment-testing-manifest:X.Y.Z")
androidTestImplementation("androidx.fragment:fragment-testing:X.Y.Z")
This avoids conflicts due to version skew between fragment-testing and androidx.test.(I8e534, b/128612536)
Bug Fixes
- From Fragment
1.5.5: Fragments will no longer incorrectly save theViewModelstate as part of the view registry saved state. (I10d2b, b/253546214)
Games-Activity: v1.2.2
December 7, 2022
androidx.games:games-activity:1.2.2 is released. Version 1.2.2 contains these commits.
Bug Fixes
- The maximum number of motion events can now be set at runtime.
Health Connect: v1.0.0-alpha08
December 7, 2022
androidx.health.connect:connect-client:1.0.0-alpha08 is released. Version 1.0.0-alpha08 contains these commits.
API Changes
- Adds
BodyWaterMass,HeartRateVariabilityRmssdRecordas new supported Record Types. (Ifd58f) - Removes
HipCircumferenceRecord,WaistCircumferenceRecordas supportedRecordTypes. (I62fb9) - Changed
MenstruationFlowRecord.flowfromstringdeftointdefs. (I0369f) - Changed enum-like Record fields with
StringstoIntegersfor better performance. (I3b295) - Changed
ExerciseSession,ExerciseRepetitions,SleepStageenum-like fields from string to integer types. (Id32a9) - Renamed
ExerciseSessionRecord.ACTIVE_TIME_TOTAL->EXERCISE_DURATION_TOTAL. (I5d7bd) - Adds "Unusual" to
CervicalMucusenums. Rename "Clear" to "Eggwhite" for more specificity. ChangedCervicalMucus#appearanceand #sensation fromStringDefsto IntDefs. (I3ac51) StringDefofDeviceTypesenum is now moved intoIntDefsunder Device. (I3abf3)- Adds
HealthConnectClient.isApiSupported(), which returns false on SDK versions with no compatible implementations. RenamedHealthConnectClient.isAvailable->isProviderAvailable. (I3674e)
Bug Fixes
- Disallow
HeartRate beatsPerMinutevalues less than 1 (I6052f) - Adding
@JvmDefaultWithCompatibilityannotation (I8f206)
Hilt: v1.1.0-alpha01
December 7, 2022
androidx.hilt:hilt-navigation:1.1.0-alpha01 and androidx.hilt:hilt-navigation-compose:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
API Changes
- The
hiltViewModel()API now takes an optional key parameter. This allows you to get multiple instances of the sameViewModeltype using different keys. (I6ee47, b/245139957)
input: v1.0.0-alpha02
December 7, 2022
androidx.input:input-motionprediction:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
API Changes
- Renamed
recordMovementtorecord, anddisposetoclose(I018c0)
JavascriptEngine: v1.0.0-alpha03
December 7, 2022
androidx.javascriptengine:javascriptengine:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
New Features
- Contain out of memory crashes to the responsible isolate instead of crashing the entire sandbox. Once the isolate goes out of memory, it cannot be used for further evaluation.
- Currently, the resources that the isolate holds are not freed till the sandbox is closed. This resource freeing behavior might change in later versions of the library.
API Changes
- Throw
MemoryLimitExceededExceptionwhen an evaluation leads to isolate going out of memory.(I336ca)
privacysandbox-tools: v1.0.0-alpha02
December 7, 2022
androidx.privacysandbox.tools:tools-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
- These tools are aimed to enhance the integration with the Privacy Sandbox SDK Runtime APIs. These tools will help with auto-generating boilerplate code to define and interact with the client-facing interfaces of the runtime-enabled SDK.
New Features - Adds support for defining client-facing SDK interfaces that accept callbacks and data value objects as parameters and return types - Propagate SDK exceptions to clients - Support for SDK Runtime backward compatibility generation
API Changes
- Adding
@JvmDefaultWithCompatibilityannotation (I8f206)
ProfileInstaller: v1.2.1
December 7, 2022
androidx.profileinstaller:profileinstaller:1.2.1 is released. Version 1.2.1 contains these commits.
New Features
- Enable profileinstaller for S_V2 (API 32) and TIRAMISU (API 33) (b/254900303).
Room: v2.5.0-rc01
December 7, 2022
androidx.room:room-*:2.5.0-rc01 is released. Version 2.5.0-rc01 contains these commits.
- This release is identical to
2.5.0-beta02.
Sqlite: v2.3.0-rc01
December 7, 2022
androidx.sqlite:sqlite:2.3.0-rc01, androidx.sqlite:sqlite-framework:2.3.0-rc01, and androidx.sqlite:sqlite-ktx:2.3.0-rc01 are released. Version 2.3.0-rc01 contains these commits.
Bug Fixes
- Resolving NPE issue in
SupportSQLiteQueryBuilderfor nullable columns. (Ica8f5)
Tracing Perfetto: v1.0.0-alpha08
December 7, 2022
androidx.tracing:tracing-perfetto:1.0.0-alpha08, androidx.tracing:tracing-perfetto-binary:1.0.0-alpha08, and androidx.tracing:tracing-perfetto-common:1.0.0-alpha08 are released. Version 1.0.0-alpha08 contains these commits.
New Features
- Improved performance by optimising the way strings are handled.
Bug Fixes
- Added a proguard rule preventing methods of
PerfettoNativefrom being pruned if the class is used at all (prevents a crash in a niche case when tracing is initialised, but no tracing calls are present in the app).
tv: v1.0.0-alpha03
December 7, 2022
androidx.tv:tv-foundation:1.0.0-alpha03 and androidx.tv:tv-material:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
New Features
TabRowis now available as an experimental API allowing users to add top navigation bars to their apps. Generally, TV devices expect tabs to load when the tab-title is focused on in the tab-row.- TV specific indicators like underline indicator and pill indicator are offered out of the box. Sample usages can be found in tv-samples
Wear Compose: v1.2.0-alpha01
December 7, 2022
androidx.wear.compose:compose-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- We’ve updated the experimental Placeholder functionality so that the “Wipe Off” effect is immediately applied when the content is ready rather than waiting for the next animation loop to start. We have also made some updates to the shimmer and wipe off animations. (I5a7f4)
API Changes
- We have added a
HierarchicalFocusCoordinatorcomposable to enable marking sub-trees of the composition as focus enabled or focus disabled.(I827cb) - We have added a new property to override the semantic role for
ToggleButton.(I67132) - We have updated
TimeTextDefaults.TimeFormat12Hoursto remove AM/PM inTimeText. This will change the default value oftimeSourceparameters inTimeTextAPI. (I1eb7f) - We have extended the Picker API to improve accessibility for screens with multi-picker. There is a new property
userScrollEnabledto control whether the picker is active for user scrolling. (I3c3aa)
Bug Fixes
- We have changed the default border width for an
OutlinedButton/OutlinedCompactButtonfrom 2.dp to 1.dp to match final UX specs. (Icf84d) - In order to reduce the effect of the first item added to an empty
ScalingLazyColumnappearing to scroll into place we have added an estimatedautoCentering topPaddingwhen the contents are empty. This change calculates the amount of top padding needed by assuming an initial item of height 0.dp. ForScalingLazyListAnchorType.ItemStartthis will calculate the correct top padding, forScalingLazyListAnchorType.ItemCenterthis calculation will be incorrect as the height of the items is needed to correctly size the contents resulting in a small scroll into place effect based on the items real height.(I239a4) - We have updated the background scrim applied to the
SwipeToDismissanimation to match the Wear platform. (I9003e) - We have fixed
PositionIndicatorhandling ofLazyListStateandScalingLazyListStatefor list items of size 0 to avoid divide by zero errors.(Ic28dd)
Wear Compose: v1.1.0
December 7, 2022
androidx.wear.compose:compose-foundation:1.1.0, androidx.wear.compose:compose-material:1.1.0, and androidx.wear.compose:compose-navigation:1.1.0 are released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Stable release of Compose for Wear OS 1.1.0 (read more).
- For a list of the key changes in Wear Compose 1.1 see the release notes for (Compose for Wear OS 1.1 Beta01).
New Features
- We’ve updated the experimental Placeholder functionality so that the “Wipe Off” effect is immediately applied when the content is ready rather than waiting for the next animation loop to start. We have also made some updates to the shimmer and wipe off animations. (I5a7f4)
Bug Fixes
- We have changed the default border width for an
OutlinedButton/OutlinedCompactButtonfrom 2.dp to 1.dp to match final UX specs. (Icf84d) - In order to reduce the effect of the first item added to an empty
ScalingLazyColumnappearing to scroll into place we have added an estimatedautoCentering topPaddingwhen the contents are empty. This change calculates the amount of top padding needed by assuming an initial item of height 0.dp. ForScalingLazyListAnchorType.ItemStartthis will calculate the correct top padding, forScalingLazyListAnchorType.ItemCenterthis calculation will be incorrect as the height of the items is needed to correctly size the contents resulting in a small scroll into place effect based on the items real height.(I239a4) - We have updated the background scrim applied to the
SwipeToDismissanimation to match the Wear platform.(I9003e) - We have fixed
PositionIndicatorhandling ofLazyListStateandScalingLazyListStatefor list items of size 0 to avoid divide by zero errors.(Ic28dd)
Wear Watchface: v1.2.0-alpha05
December 7, 2022
androidx.wear.watchface:watchface-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
New Features
A while back we added support for hierarchical
UserStyleSettings, and from android T it’s now possible to have more than oneComplicationSlotsUserStyleSettingin a hierarchy. Only oneComplicationSlotsUserStyleSettingwill be active, based on the user’s style selections.We’re improving screen reader support for
ListOptionandComplicationSlotsOptionby adding ascreenReaderNamefield, note prior to android T this field will be ignored by companion editors.
API Changes
- We've added a new optional
screenReaderNamefield toListOptionandComplicationSlotsOptionfor use by editors - will be ignored by companion editors on devices before android T. (I75326) - From android T multiple
ComplicationSlotsUserStyleSettingsare now supported in a style hierarchy as long as at most only one of them can be active at any one time. We've added a utility functionfindComplicationSlotsOptionForUserStyletoUserStyleSchemato help find the activeComplicationSlotsOptionif any. (Ic2b06) RangedValuesTypeshave been pulled intoRangedValueComplicationData's companion object and renamed toTYPE_UNDEFINED,TYPE_RATINGand a newTYPE_PERCENTAGEhas been added. (I55d02)- We've renamed experimental
DynamicFloattoFloatExpressionand marked it as@hide. (Idf4f1) - Adding
@JvmDefaultWithCompatibilityannotation (I8f206)
Webkit: v1.6.0-beta01
December 7, 2022
androidx.webkit:webkit:1.6.0-beta01 is released. Version 1.6.0-beta01 contains these commits.
API Changes
ProcessGlobalConfighas been changed to use a normal constructor and a static apply method. The apply method should only be called once per process, as early as possible, and will throwIllegalStateExceptionif called more than once.ProcessGlobalConfigobjects no longer have any restrictions on how many times setters can be called. (I456c3)
WorkManager: v2.8.0-rc01
December 7, 2022
androidx.work:work-*:2.8.0-rc01 is released. Version 2.8.0-rc01 contains these commits.
New Features
- No new features on this release. This is mainly a version bump