Version 7 of the Sentry Android/Java SDK brings a variety of features and fixes. The most notable changes are:
Bumping minSdk level to 19 (Android 4.4)
The SDK will now listen to connectivity changes and try to re-upload cached events when internet connection is re-established additionally to uploading events on app restart
Sentry.getSpan now returns the root transaction, which should improve the span hierarchy and make it leaner
Multiple improvements to reduce probability of the SDK causing ANRs
New sentry-okhttp artifact is unbundled from Android and can be used in pure JVM-only apps
This SDK version is compatible with a self-hosted version of Sentry 22.12.0 or higher. If you are using an older version of self-hosted Sentry (aka onpremise), you will need to upgrade. If you're using sentry.io no action is required.
Sentry Integrations Version Compatibility (Android)
Make sure to align all Sentry dependencies to the same version when bumping the SDK to 7.+, otherwise it will crash at runtime due to binary incompatibility. (E.g. if you're using -timber, -okhttp or other packages)
For example, if you're using the Sentry Android Gradle plugin with the autoInstallationfeature (enabled by default), make sure to use version 4.+ of the gradle plugin together with version 7.+ of the SDK. If you can't do that for some reason, you can specify sentry version via the plugin config block:
Version 7 of the Sentry Android/Java SDK brings a variety of features and fixes. The most notable changes are:
Bumping minSdk level to 19 (Android 4.4)
The SDK will now listen to connectivity changes and try to re-upload cached events when internet connection is re-established additionally to uploading events on app restart
Sentry.getSpan now returns the root transaction, which should improve the span hierarchy and make it leaner
Multiple improvements to reduce probability of the SDK causing ANRs
New sentry-okhttp artifact is unbundled from Android and can be used in pure JVM-only apps
Sentry Self-hosted Compatibility
This SDK version is compatible with a self-hosted version of Sentry 22.12.0 or higher. If you are using an older version of self-hosted Sentry (aka onpremise), you will need to upgrade. If you're using sentry.io no action is required.
Sentry Integrations Version Compatibility (Android)
Make sure to align all Sentry dependencies to the same version when bumping the SDK to 7.+, otherwise it will crash at runtime due to binary incompatibility. (E.g. if you're using -timber, -okhttp or other packages)
For example, if you're using the Sentry Android Gradle plugin with the autoInstallationfeature (enabled by default), make sure to use version 4.+ of the gradle plugin together with version 7.+ of the SDK. If you can't do that for some reason, you can specify sentry version via the plugin config block:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps io.sentry:sentry-android from 6.27.0 to 7.1.0.
Release notes
Sourced from io.sentry:sentry-android's releases.
... (truncated)
Changelog
Sourced from io.sentry:sentry-android's changelog.
... (truncated)
Commits
e0ea698
release: 7.1.0eefb169
Fix wrong txn duration in case SDK init is deferred (#3092)941e097
Bump reactivecircus/android-emulator-runner from 2.28.0 to 2.29.0 (#3089)8a9c60a
Bump gradle/gradle-build-action from 2.10.0 to 2.11.0 (#3105)50836e5
Bump actions/setup-java from 3 to 4 (#3077)216275a
Bump actions/upload-artifact from 3 to 4 (#3104)8ccdc9b
Extract Activity Breadcrumbs generation into own Integration (#3064)8ff8fd0
Automatically downsample transaction when system is under load (backpressure)...8d62770
Move slow+frozen frame calculation, as well as frame delay inside SentryFrame...7eccfdb
[Starfish] Attach app-start spans (#3057)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show