-
Notifications
You must be signed in to change notification settings - Fork 136
Update Automattic Tracks library to 6.0.6 #14648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit updates the version of the `automattic-tracks` library from 6.0.4 to 6.0.6 in the `gradle/libs.versions.toml` file.
Project dependencies changeslist! Upgraded Dependencies
com.automattic.tracks:crashlogging:6.0.6, (changed from 6.0.4)
com.automattic.tracks:experimentation:6.0.6, (changed from 6.0.4)
com.automattic:Automattic-Tracks-Android:6.0.6, (changed from 6.0.4)
io.sentry:sentry:8.18.0, (changed from 8.17.0)
io.sentry:sentry-android-core:8.18.0, (changed from 8.17.0)
io.sentry:sentry-android-fragment:8.18.0, (changed from 8.17.0)
io.sentry:sentry-android-navigation:8.18.0, (changed from 8.17.0)
io.sentry:sentry-bom:8.18.0, (changed from 8.17.0)
io.sentry:sentry-compose-android:8.18.0, (changed from 8.17.0)
io.sentry:sentry-okhttp:8.18.0, (changed from 8.17.0)tree-+--- com.automattic.tracks:experimentation:6.0.4
-| +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.1.0
-| | \--- com.squareup.okhttp3:okhttp-android:5.1.0
-| | +--- androidx.annotation:annotation:1.9.1 (*)
-| | +--- androidx.startup:startup-runtime:1.2.0 (*)
-| | +--- com.squareup.okio:okio:3.15.0 (*)
-| | \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.0 (*)
-| +--- com.squareup.moshi:moshi:1.15.1 -> 1.15.2
-| | +--- com.squareup.okio:okio:3.7.0 -> 3.15.0 (*)
-| | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21 -> 1.9.24 (*)
-| +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.10.2 (*)
-| \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.24 -> 2.2.0 (*)
++--- com.automattic.tracks:experimentation:6.0.6
+| +--- com.squareup.okhttp3:okhttp:4.12.0 -> 5.1.0
+| | \--- com.squareup.okhttp3:okhttp-android:5.1.0
+| | +--- androidx.annotation:annotation:1.9.1 (*)
+| | +--- androidx.startup:startup-runtime:1.2.0 (*)
+| | +--- com.squareup.okio:okio:3.15.0 (*)
+| | \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.0 (*)
+| +--- com.squareup.moshi:moshi:1.15.1 -> 1.15.2
+| | +--- com.squareup.okio:okio:3.7.0 -> 3.15.0 (*)
+| | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21 -> 1.9.24 (*)
+| +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.10.2 (*)
+| \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.2.0 (*)
-+--- com.automattic:Automattic-Tracks-Android:6.0.4
-| +--- androidx.annotation:annotation:1.1.0 -> 1.9.1 (*)
-| \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.24 -> 2.2.0 (*)
++--- com.automattic:Automattic-Tracks-Android:6.0.6
+| +--- androidx.annotation:annotation:1.1.0 -> 1.9.1 (*)
+| \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.2.0 (*)
-\--- com.automattic.tracks:crashlogging:6.0.4
- +--- io.sentry:sentry-bom:8.17.0
- | +--- io.sentry:sentry-android-core:8.17.0 (c)
- | +--- io.sentry:sentry-android-fragment:8.17.0 (c)
- | +--- io.sentry:sentry-compose-android:8.17.0 (c)
- | +--- io.sentry:sentry-okhttp:8.17.0 (c)
- | +--- io.sentry:sentry:8.17.0 (c)
- | \--- io.sentry:sentry-android-navigation:8.17.0 (c)
- +--- io.sentry:sentry-android-core -> 8.17.0
- | +--- androidx.lifecycle:lifecycle-common-java8:2.2.0 -> 2.9.3 (*)
- | +--- androidx.lifecycle:lifecycle-process:2.2.0 -> 2.9.3 (*)
- | +--- androidx.core:core:1.3.2 -> 1.16.0 (*)
- | \--- io.sentry:sentry:8.17.0
- +--- io.sentry:sentry-okhttp -> 8.17.0
- | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.24 (*)
- | \--- io.sentry:sentry:8.17.0
- +--- io.sentry:sentry-android-fragment -> 8.17.0
- | \--- io.sentry:sentry:8.17.0
- +--- io.sentry:sentry-compose-android -> 8.17.0
- | +--- io.sentry:sentry:8.17.0
- | +--- io.sentry:sentry-android-navigation:8.17.0
- | | \--- io.sentry:sentry:8.17.0
- | \--- androidx.lifecycle:lifecycle-common-java8:2.2.0 -> 2.9.3 (*)
- +--- androidx.annotation:annotation:1.1.0 -> 1.9.1 (*)
- +--- com.squareup.okhttp3:okhttp:4.9.0 -> 5.1.0 (*)
- +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.10.2 (*)
- \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.24 -> 2.2.0 (*)
+\--- com.automattic.tracks:crashlogging:6.0.6
+ +--- io.sentry:sentry-bom:8.18.0
+ | +--- io.sentry:sentry-android-core:8.18.0 (c)
+ | +--- io.sentry:sentry-android-fragment:8.18.0 (c)
+ | +--- io.sentry:sentry-compose-android:8.18.0 (c)
+ | +--- io.sentry:sentry-okhttp:8.18.0 (c)
+ | +--- io.sentry:sentry:8.18.0 (c)
+ | \--- io.sentry:sentry-android-navigation:8.18.0 (c)
+ +--- io.sentry:sentry-android-core -> 8.18.0
+ | +--- androidx.lifecycle:lifecycle-common-java8:2.2.0 -> 2.9.3 (*)
+ | +--- androidx.lifecycle:lifecycle-process:2.2.0 -> 2.9.3 (*)
+ | +--- androidx.core:core:1.3.2 -> 1.16.0 (*)
+ | \--- io.sentry:sentry:8.18.0
+ +--- io.sentry:sentry-okhttp -> 8.18.0
+ | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.24 (*)
+ | \--- io.sentry:sentry:8.18.0
+ +--- io.sentry:sentry-android-fragment -> 8.18.0
+ | \--- io.sentry:sentry:8.18.0
+ +--- io.sentry:sentry-compose-android -> 8.18.0
+ | +--- io.sentry:sentry:8.18.0
+ | +--- io.sentry:sentry-android-navigation:8.18.0
+ | | \--- io.sentry:sentry:8.18.0
+ | +--- androidx.compose.material3:material3:1.2.1 -> 1.3.2 (*)
+ | \--- androidx.lifecycle:lifecycle-common-java8:2.2.0 -> 2.9.3 (*)
+ +--- com.squareup.okhttp3:okhttp:4.9.0 -> 5.1.0 (*)
+ +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.10.2 (*)
+ \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.2.0 (*) |
|
The project fails due to JDK incompatibility. Tracks was built with 21, while Woo uses 17. Can we update Java in Woo Android to 21? |
Thank you for your help, @wzieba ! I opened a PR to update Java to 21 and targeted that PR. |
|
|
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## update-java-version-to-21.0 #14648 +/- ##
=================================================================
- Coverage 38.52% 38.52% -0.01%
+ Complexity 9784 9783 -1
=================================================================
Files 2068 2068
Lines 115558 115558
Branches 15394 15394
=================================================================
- Hits 44524 44522 -2
- Misses 66898 66899 +1
- Partials 4136 4137 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JorgeMucientes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I agree changes look minor and safe. ![]()
Description
This updates the Automattic Tracks library to 6.0.6, as requested in Slack (p1757581223850569-slack-C0HTU7HV3). The main improvement is in the
useragentstring used in events.I received
Nosara Client for SM-S921B; Android/15asuseragentfrom my Samsung phone.Steps to reproduce
Testing information
No need to test. Just review the new changes in the library. They look small and safe to me.
The tests that have been performed
Checked “Tracks Live View” to confirm that events are still being sent.
Images/gif
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.