[Dependency Updates] Update androidxCoreVersion to 1.8.0#17691
[Dependency Updates] Update androidxCoreVersion to 1.8.0#17691irfano merged 6 commits intodeps/main-batch-androidx-corefrom
androidxCoreVersion to 1.8.0#17691Conversation
It is generally recommended that transitively used dependencies should be declared directly.
Release Notes: https://developer.android.com/jetpack/androidx/releases/ core#1.8.0 ------------------------------------------------------------------------ Note that the '1.9.0' update requires libraries and applications that depend on it to compile against version 33 (Android 13) or later of the Android APIs. However, this project is currently compiled against android-31 (Android 12). Thus, until the 'compileSdkVersion' of this project gets updated to '33' updating to '1.9.0' isn't possible. ------------------------------------------------------------------------
The 'get(...)' method on 'LocaleListCompat' now returns a nullable locale and such the 'Context.currentLocale' extension function needs to be adjusted accordingly.
Both, the 'onPopulateAccessibilityEvent(...)' and 'onInitializeAccessibilityNodeInfo(...)' functions on 'AccessibilityDelegateCompat' are no longer having nullable 'host', 'event' or 'info' parameters, instead there are now all non-null. As such, the 'ContentDescriptionListAnnouncer.setupAnnouncer(...)' function needs to be updated accordingly.
|
Found 1 violations: The PR caused the following dependency changes: +--- project :libs:analytics
| +--- com.automattic:Automattic-Tracks-Android:2.2.0
| | \--- io.sentry:sentry-android -> 5.4.3
| | \--- io.sentry:sentry-android-core:5.4.3
-| | \--- androidx.core:core:1.3.2 -> 1.7.0
-| | +--- androidx.annotation:annotation:1.2.0
-| | +--- androidx.annotation:annotation-experimental:1.1.0
-| | +--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.5.1 (*)
-| | +--- androidx.versionedparcelable:versionedparcelable:1.1.1
-| | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
-| | | \--- androidx.collection:collection:1.0.0 -> 1.1.0
-| | | \--- androidx.annotation:annotation:1.1.0 -> 1.2.0
-| | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
-| | \--- androidx.concurrent:concurrent-futures:1.0.0
-| | +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
-| | \--- androidx.annotation:annotation:1.1.0 -> 1.2.0
+| | \--- androidx.core:core:1.3.2 -> 1.8.0
+| | +--- androidx.annotation:annotation:1.2.0
+| | +--- androidx.annotation:annotation-experimental:1.1.0
+| | +--- androidx.collection:collection:1.0.0 -> 1.1.0
+| | | \--- androidx.annotation:annotation:1.1.0 -> 1.2.0
+| | +--- androidx.concurrent:concurrent-futures:1.0.0
+| | | +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+| | | \--- androidx.annotation:annotation:1.1.0 -> 1.2.0
+| | +--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.5.1 (*)
+| | \--- androidx.versionedparcelable:versionedparcelable:1.1.1
+| | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
+| | \--- androidx.collection:collection:1.0.0 -> 1.1.0 (*)
| \--- androidx.preference:preference:1.1.0
| +--- androidx.appcompat:appcompat:1.1.0 -> 1.3.1
-| | +--- androidx.core:core:1.5.0 -> 1.7.0 (*)
+| | +--- androidx.core:core:1.5.0 -> 1.8.0 (*)
| | +--- androidx.activity:activity:1.2.4 -> 1.3.1
-| | | +--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | | +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | | \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.3.1 -> 2.5.1
-| | | \--- androidx.core:core-ktx:1.2.0 -> 1.7.0
-| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.31 -> 1.6.21 (*)
-| | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
-| | | \--- androidx.core:core:1.7.0 (*)
+| | | \--- androidx.core:core-ktx:1.2.0 -> 1.8.0
+| | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
+| | | +--- androidx.core:core:1.8.0 (*)
+| | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 (*)
| | +--- androidx.fragment:fragment:1.3.6 -> 1.4.1
-| | | +--- androidx.core:core-ktx:1.2.0 -> 1.7.0 (*)
+| | | +--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| | | +--- androidx.viewpager:viewpager:1.0.0
-| | | | +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | | | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | | | \--- androidx.customview:customview:1.0.0 -> 1.1.0
-| | | | \--- androidx.core:core:1.3.0 -> 1.7.0 (*)
+| | | | \--- androidx.core:core:1.3.0 -> 1.8.0 (*)
| | | \--- androidx.loader:loader:1.0.0
-| | | \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | +--- androidx.appcompat:appcompat-resources:1.3.1
-| | | +--- androidx.core:core:1.0.1 -> 1.7.0 (*)
+| | | +--- androidx.core:core:1.0.1 -> 1.8.0 (*)
| | | \--- androidx.vectordrawable:vectordrawable:1.1.0
-| | | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | \--- androidx.drawerlayout:drawerlayout:1.0.0 -> 1.1.1
-| | \--- androidx.core:core:1.2.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.2.0 -> 1.8.0 (*)
-| +--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- androidx.recyclerview:recyclerview:1.0.0 -> 1.1.0
-| \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
+--- project :libs:image-editor
| +--- androidx.constraintlayout:constraintlayout:1.1.3 -> 2.0.4
-| | \--- androidx.core:core:1.3.1 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.3.1 -> 1.8.0 (*)
| +--- androidx.viewpager2:viewpager2:1.0.0
-| | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| +--- com.google.android.material:material:1.2.1 -> 1.6.0-alpha01
| | +--- androidx.coordinatorlayout:coordinatorlayout:1.1.0
-| | | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
-| | +--- androidx.core:core:1.5.0 -> 1.7.0 (*)
+| | +--- androidx.core:core:1.5.0 -> 1.8.0 (*)
| | +--- androidx.dynamicanimation:dynamicanimation:1.0.0
-| | | +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | | \--- androidx.legacy:legacy-support-core-utils:1.0.0
-| | | \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | \--- androidx.transition:transition:1.2.0 -> 1.4.1
-| | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- androidx.navigation:navigation-fragment:2.4.2
| +--- androidx.fragment:fragment-ktx:1.4.1
| | +--- androidx.activity:activity-ktx:1.2.3 -> 1.3.1
-| | | \--- androidx.core:core-ktx:1.1.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core-ktx:1.1.0 -> 1.8.0 (*)
-| | \--- androidx.core:core-ktx:1.2.0 -> 1.7.0 (*)
+| | \--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| +--- androidx.navigation:navigation-runtime:2.4.2
| | \--- androidx.navigation:navigation-common:2.4.2
-| | \--- androidx.core:core-ktx:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core-ktx:1.1.0 -> 1.8.0 (*)
| \--- androidx.slidingpanelayout:slidingpanelayout:1.2.0
-| +--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| +--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- androidx.window:window:1.0.0
-| \--- androidx.core:core:1.3.2 -> 1.7.0 (*)
+| \--- androidx.core:core:1.3.2 -> 1.8.0 (*)
+--- project :libs:editor
| +--- org.wordpress:aztec:{strictly v1.6.2} -> v1.6.2
| | \--- androidx.legacy:legacy-support-v4:1.0.0
-| | +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | +--- androidx.media:media:1.0.0 -> 1.2.1
-| | | \--- androidx.core:core:1.3.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.3.0 -> 1.8.0 (*)
| | \--- androidx.legacy:legacy-support-core-ui:1.0.0
-| | +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| | +--- androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 -> 1.1.0
-| | | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| | \--- androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
-| | \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| \--- org.wordpress-mobile.gutenberg-mobile:react-native-gutenberg-bridge:v1.86.0
| +--- com.github.wordpress-mobile:react-native-video:5.2.0-wp-5
-| | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| +--- com.github.wordpress-mobile:react-native-gesture-handler:2.3.2-wp-2
-| | \--- androidx.core:core-ktx:1.6.0 -> 1.7.0 (*)
+| | \--- androidx.core:core-ktx:1.6.0 -> 1.8.0 (*)
| \--- org.wordpress-mobile.gutenberg-mobile:react-native-aztec:v1.86.0
| \--- androidx.gridlayout:gridlayout:1.0.0
-| \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
+| \--- androidx.core:core:1.8.0 (*)
+--- org.wordpress:utils:{strictly 3.1.0} -> 3.1.0
-| \--- androidx.core:core-ktx:1.5.0 -> 1.7.0 (*)
+| \--- androidx.core:core-ktx:1.5.0 -> 1.8.0 (*)
+--- org.wordpress:login:1.0.0
| +--- com.google.android.gms:play-services-auth:18.1.0 -> 20.3.0
| | \--- com.google.android.gms:play-services-auth-api-phone:18.0.1
| | \--- com.google.android.gms:play-services-base:18.0.1
-| | +--- androidx.core:core:1.2.0 -> 1.7.0 (*)
+| | +--- androidx.core:core:1.2.0 -> 1.8.0 (*)
| | \--- com.google.android.gms:play-services-basement:18.0.0 -> 18.1.0
-| | \--- androidx.core:core:1.2.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.2.0 -> 1.8.0 (*)
-| \--- androidx.core:core-ktx:1.3.2 -> 1.7.0 (*)
+| \--- androidx.core:core-ktx:1.3.2 -> 1.8.0 (*)
+--- com.automattic:about:1.0.0
-| +--- androidx.core:core-ktx:1.7.0 (*)
+| +--- androidx.core:core-ktx:1.7.0 -> 1.8.0 (*)
| +--- androidx.compose.ui:ui:1.0.5 -> 1.1.1
| | +--- androidx.compose.ui:ui-text:1.1.1
-| | | \--- androidx.core:core:1.5.0 -> 1.7.0 (*)
+| | | \--- androidx.core:core:1.5.0 -> 1.8.0 (*)
| | \--- androidx.autofill:autofill:1.0.0
-| | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- com.google.android.material:compose-theme-adapter:1.1.1
-| \--- androidx.core:core-ktx:1.3.1 -> 1.7.0 (*)
+| \--- androidx.core:core-ktx:1.3.1 -> 1.8.0 (*)
+--- com.automattic:stories:2.0.0
-| +--- androidx.core:core-ktx:1.2.0 -> 1.7.0 (*)
+| +--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| +--- androidx.emoji:emoji:1.0.0
-| | \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| \--- com.automattic.stories:photoeditor:2.0.0
-| +--- androidx.core:core-ktx:1.2.0 -> 1.7.0 (*)
+| +--- androidx.core:core-ktx:1.2.0 -> 1.8.0 (*)
| +--- androidx.camera:camera-core:1.0.0-alpha06
-| | \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| | \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
| \--- androidx.camera:camera-camera2:1.0.0-alpha06
-| \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
-+--- androidx.core:core:1.3.2 -> 1.7.0 (*)
++--- androidx.core:core:1.8.0 (*)
-+--- androidx.core:core-ktx:1.3.2 -> 1.7.0 (*)
++--- androidx.core:core-ktx:1.8.0 (*)
+--- androidx.percentlayout:percentlayout:1.0.0
-| \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
+--- androidx.work:work-runtime:2.7.0
-| +--- androidx.core:core:1.6.0 -> 1.7.0 (*)
+| +--- androidx.core:core:1.6.0 -> 1.8.0 (*)
-| \--- androidx.core:core:1.1.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.1.0 -> 1.8.0 (*)
+--- androidx.work:work-gcm:2.7.0
| \--- com.google.android.gms:play-services-gcm:17.0.0
-| +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| \--- com.google.android.gms:play-services-iid:17.0.0
-| \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
+--- com.google.firebase:firebase-messaging:21.1.0
-| +--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| +--- androidx.core:core:1.0.0 -> 1.8.0 (*)
| \--- com.google.firebase:firebase-iid:21.1.0
-| \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
+--- com.google.android.gms:play-services-code-scanner:16.0.0-beta1
| \--- com.google.mlkit:barcode-scanning-common:17.0.0
| \--- com.google.mlkit:vision-common:17.0.0
| \--- com.google.mlkit:common:18.0.0 -> 18.3.0
-| \--- androidx.core:core:1.0.0 -> 1.7.0 (*)
+| \--- androidx.core:core:1.0.0 -> 1.8.0 (*)
+--- io.coil-kt:coil-compose:1.4.0
| +--- io.coil-kt:coil:1.4.0
| | \--- io.coil-kt:coil-base:1.4.0
-| | \--- androidx.core:core-ktx:1.6.0 -> 1.7.0 (*)
+| | \--- androidx.core:core-ktx:1.6.0 -> 1.8.0 (*)
| +--- io.coil-kt:coil-compose-base:1.4.0
-| | \--- androidx.core:core-ktx:1.6.0 -> 1.7.0 (*)
+| | \--- androidx.core:core-ktx:1.6.0 -> 1.8.0 (*)
-| \--- androidx.core:core-ktx:1.6.0 -> 1.7.0 (*)
+| \--- androidx.core:core-ktx:1.6.0 -> 1.8.0 (*)
\--- com.zendesk:support:5.0.2
\--- com.zendesk:guide:1.0.1
\--- com.zendesk:messaging:5.1.0
\--- com.zendesk:common-ui:4.0.1
\--- com.zendesk.belvedere2:belvedere:3.0.0-RC
+--- com.zendesk.belvedere2:belvedere-core:3.0.0-RC
- | \--- androidx.core:core:1.3.1 -> 1.7.0 (*)
+ | \--- androidx.core:core:1.3.1 -> 1.8.0 (*)
- \--- androidx.core:core:1.3.1 -> 1.7.0 (*)
+ \--- androidx.core:core:1.3.1 -> 1.8.0 (*)
Please review and act accordingly
|
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | Jetpack | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 10bb29e | |
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | WordPress | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 10bb29e | |
…mobile/WordPress-Android into deps/update-androidx-core-to-1.8.0
…mobile/WordPress-Android into deps/update-androidx-core-to-1.8.0
irfano
left a comment
There was a problem hiding this comment.
Both apps passed my smoke tests for basic features. This library was really old. Thank you for updating it. 👍🏻
|
Thank you for reviewing, testing and merging this PR @irfano , you are a rockstar! 🪨 🌟 💯 |
FYI: 1.9.0 is going to be update when the below will be merge to
Thanks @irfano ! 🙇 ❤️ 🚀 UPDATE: We decided to revert the 1.9.0 update after all and add tmp compatibility functions for |


Parent #17561
Batch Branch: deps/main-batch-androidx-core
This PR updates
androidxCoreVersionto 1.8.0. FYI: This is NOT the latest version of androidx.core.Also, as part of this update the below transitive dependencies were added:
Editormodule (37c5275):androidx.core:coreNote that the latest 1.9.0 update requires libraries and applications that depend on it to compile against version 33 (
Android 13) or later of the Android APIs. However, this project is currently compiled against android-31 (Android 12).Thus, until the
compileSdkVersionof this project gets updated to33, updating to1.9.0isn't possible.More details
In addition to the dependency update commits, a couple of additional fix related commits were added to fix a couple of API update on the
androidx.corelibrary itself, see below:PS: @irfano I added you as the main reviewer, that is, in addition to the @wordpress-mobile/apps-infrastructure team itself, but randomly, since I just wanted someone from the WordPress team to be aware of and sign-off on that change for WPAndroid.
To test:
Merge instructions
androidxLifecycleVersionto 2.5.1 #17643 PR to be approved and merged todeps/main-batch-androidx-core.deps/main-batch-androidx-core.deps/main-batch-androidx-corebranch with latesttrunk.deps/main-batch-androidx-core.[PR] Not Ready For Merge]label.Ready for reviewstate.deps/main-batch-androidx-core.Regression Notes
Potential unintended areas of impact
androidx.coreis a library that is being added as a transitive dependency across lots ofandroidxandcom.googleandotherlibraries.What I did to test those areas of impact (or what existing automated tests I relied on)
To testsection above.What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txtif necessary.