Skip to content
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

build(deps): Bump io.sentry:sentry-android from 6.27.0 to 7.1.0 #5136

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2023

Bumps io.sentry:sentry-android from 6.27.0 to 7.1.0.

Release notes

Sourced from io.sentry:sentry-android's releases.

7.1.0

Features

  • Support multiple debug-metadata.properties (#3024)
  • Automatically downsample transactions when the system is under load (#3072)
    • You can opt into this behaviour by setting enable-backpressure-handling=true.
    • We're happy to receive feedback, e.g. in this GitHub issue
    • When the system is under load we start reducing the tracesSampleRate automatically.
    • Once the system goes back to healthy, we reset the tracesSampleRate to its original value.
  • (Android) Experimental: Provide more detailed cold app start information (#3057)
    • Attaches spans for Application, ContentProvider, and Activities to app-start timings
    • Uses Process.startUptimeMillis to calculate app-start timings
    • To enable this feature set options.isEnablePerformanceV2 = true
  • Move slow+frozen frame calculation, as well as frame delay inside SentryFrameMetricsCollector (#3100)
  • Extract Activity Breadcrumbs generation into own Integration (#3064)

Fixes

  • Send breadcrumbs and client error in SentryOkHttpEventListener even without transactions (#3087)
  • Keep io.sentry.exception.SentryHttpClientException from obfuscation to display proper issue title on Sentry (#3093)
  • (Android) Fix wrong activity transaction duration in case SDK init is deferred (#3092)

Dependencies

7.0.0

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 autoInstallation feature (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:

sentry {
  autoInstallation {
</tr></table> 

... (truncated)

Changelog

Sourced from io.sentry:sentry-android's changelog.

7.1.0

Features

  • Support multiple debug-metadata.properties (#3024)
  • Automatically downsample transactions when the system is under load (#3072)
    • You can opt into this behaviour by setting enable-backpressure-handling=true.
    • We're happy to receive feedback, e.g. in this GitHub issue
    • When the system is under load we start reducing the tracesSampleRate automatically.
    • Once the system goes back to healthy, we reset the tracesSampleRate to its original value.
  • (Android) Experimental: Provide more detailed cold app start information (#3057)
    • Attaches spans for Application, ContentProvider, and Activities to app-start timings
    • Uses Process.startUptimeMillis to calculate app-start timings
    • To enable this feature set options.isEnablePerformanceV2 = true
  • Move slow+frozen frame calculation, as well as frame delay inside SentryFrameMetricsCollector (#3100)
  • Extract Activity Breadcrumbs generation into own Integration (#3064)

Fixes

  • Send breadcrumbs and client error in SentryOkHttpEventListener even without transactions (#3087)
  • Keep io.sentry.exception.SentryHttpClientException from obfuscation to display proper issue title on Sentry (#3093)
  • (Android) Fix wrong activity transaction duration in case SDK init is deferred (#3092)

Dependencies

7.0.0

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 autoInstallation feature (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:

sentry {
</tr></table> 

... (truncated)

Commits
  • e0ea698 release: 7.1.0
  • eefb169 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)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/getsentry/sentry-java) from 6.27.0 to 7.1.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@6.27.0...7.1.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner December 19, 2023 09:44
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 19, 2023
Copy link

sonarcloud bot commented Dec 19, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2024

Superseded by #5149.

@dependabot dependabot bot closed this Jan 15, 2024
@dependabot dependabot bot deleted the dependabot/gradle/io.sentry-sentry-android-7.1.0 branch January 15, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants