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

fix(deps): update sentry.sdk to v7.20.0 #338

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.sentry:sentry-android-okhttp 7.9.0 -> 7.20.0 age adoption passing confidence
io.sentry:sentry-bom 7.9.0 -> 7.20.0 age adoption passing confidence

Release Notes

getsentry/sentry-java (io.sentry:sentry-android-okhttp)

v7.20.0

Compare Source

Features

To enable Replay use the sessionReplay.sessionSampleRate or sessionReplay.onErrorSampleRate options.

import io.sentry.SentryReplayOptions
import io.sentry.android.core.SentryAndroid

SentryAndroid.init(context) { options ->
 
  options.sessionReplay.sessionSampleRate = 1.0
  options.sessionReplay.onErrorSampleRate = 1.0

  // To change default redaction behavior (defaults to true)
  options.sessionReplay.redactAllImages = true
  options.sessionReplay.redactAllText = true

  // To change quality of the recording (defaults to MEDIUM)
  options.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
}
Fixes
  • Fix warm start detection (#​3937)
  • Session Replay: Reduce memory allocations, disk space consumption, and payload size (#​4016)
  • Session Replay: Do not try to encode corrupted frames multiple times (#​4016)
Internal
  • Session Replay: Allow overriding SdkVersion for replay events (#​4014)
  • Session Replay: Send replay options as tags (#​4015)
Breaking changes
  • Session Replay options were moved from under experimental to the main options object (#​4017)

v7.19.1

Compare Source

Fixes
  • Change TTFD timeout to 25 seconds (#​3984)
  • Session Replay: Fix memory leak when masking Compose screens (#​3985)
  • Session Replay: Fix potential ANRs in GestureRecorder (#​4001)
Internal
  • Session Replay: Flutter improvements (#​4007)

v7.19.0

Compare Source

Fixes
  • Session Replay: fix various crashes and issues (#​3970)
    • Fix IndexOutOfBoundsException when tracking window changes
    • Fix IllegalStateException when adding/removing draw listener for a dead view
    • Fix ConcurrentModificationException when registering window listeners and stopping WindowRecorder/GestureRecorder
  • Add support for setting sentry-native handler_strategy (#​3671)
Dependencies

v7.18.1

Compare Source

Fixes
  • Fix testTag not working for Jetpack Compose user interaction tracking (#​3878)

v7.18.0

Compare Source

Features
Fixes
  • Avoid collecting normal frames (#​3782)
  • Ensure android initialization process continues even if options configuration block throws an exception (#​3887)
  • Do not report parsing ANR error when there are no threads (#​3888)
    • This should significantly reduce the number of events with message "Sentry Android SDK failed to parse system thread dump..." reported
  • Session Replay: Disable replay in session mode when rate limit is active (#​3854)
Dependencies

v7.17.0

Compare Source

Features
  • Add meta option to set the maximum amount of breadcrumbs to be logged. (#​3836)
  • Use a separate Random instance per thread to improve SDK performance (#​3835)
Fixes
  • Using MaxBreadcrumb with value 0 no longer crashes. (#​3836)
  • Accept manifest integer values when requiring floating values (#​3823)
  • Fix standalone tomcat jndi issue (#​3873)
    • Using Sentry Spring Boot on a standalone tomcat caused the following error:
      • Failed to bind properties under 'sentry.parsed-dsn' to io.sentry.Dsn

v7.16.0

Compare Source

Features
  • Add meta option to attach ANR thread dumps (#​3791)
Fixes
  • Cache parsed Dsn (#​3796)
  • fix invalid profiles when the transaction name is empty (#​3747)
  • Deprecate enableTracing option (#​3777)
  • Vendor java.util.Random and replace java.security.SecureRandom usages (#​3783)
  • Fix potential ANRs due to NDK scope sync (#​3754)
  • Fix potential ANRs due to NDK System.loadLibrary calls (#​3670)
  • Fix slow Log calls on app startup (#​3793)
  • Fix slow Integration name parsing (#​3794)
  • Session Replay: Reduce startup and capture overhead (#​3799)
  • Load lazy fields on init in the background (#​3803)
  • Replace setOf with HashSet.add (#​3801)
Breaking changes
  • The method addIntegrationToSdkVersion(Ljava/lang/Class;)V has been removed from the core (io.sentry:sentry) package. Please make sure all of the packages (e.g. io.sentry:sentry-android-core, io.sentry:sentry-android-fragment, io.sentry:sentry-okhttp and others) are all aligned and using the same version to prevent the NoSuchMethodError exception.

v7.15.0

Compare Source

Features
  • Add support for feedback envelope header item type (#​3687)
  • Add breadcrumb.origin field (#​3727)
  • Session Replay: Add options to selectively mask/unmask views captured in replay. The following options are available: (#​3689)
    • android:tag="sentry-mask|sentry-unmask" in XML or view.setTag("sentry-mask|sentry-unmask") in code tags
      • if you already have a tag set for a view, you can set a tag by id: <tag android:id="@&#8203;id/sentry_privacy" android:value="mask|unmask"/> in XML or view.setTag(io.sentry.android.replay.R.id.sentry_privacy, "mask|unmask") in code
    • view.sentryReplayMask() or view.sentryReplayUnmask() extension functions
    • mask/unmask Views of a certain type by adding fully-qualified classname to one of the lists options.experimental.sessionReplay.addMaskViewClass() or options.experimental.sessionReplay.addUnmaskViewClass(). Note, that all of the view subclasses/subtypes will be masked/unmasked as well
      • For example, (this is already a default behavior) to mask all TextViews and their subclasses (RadioButton, EditText, etc.): options.experimental.sessionReplay.addMaskViewClass("android.widget.TextView")
      • If you're using code obfuscation, adjust your proguard-rules accordingly, so your custom view class name is not minified
  • Session Replay: Support Jetpack Compose masking (#​3739)
    • To selectively mask/unmask @​Composables, use Modifier.sentryReplayMask() and Modifier.sentryReplayUnmask() modifiers
  • Session Replay: Mask WebView, VideoView and androidx.media3.ui.PlayerView by default (#​3775)
Fixes
  • Avoid stopping appStartProfiler after application creation (#​3630)
  • Session Replay: Correctly detect dominant color for TextViews with Spans (#​3682)
  • Fix ensure Application Context is used even when SDK is initialized via Activity Context (#​3669)
  • Fix potential ANRs due to Calendar.getInstance usage in Breadcrumbs constructor (#​3736)
  • Fix potential ANRs due to default integrations (#​3778)
  • Lazily initialize heavy SentryOptions members to avoid ANRs on app start (#​3749)

Breaking changes:

  • options.experimental.sessionReplay.errorSampleRate was renamed to options.experimental.sessionReplay.onErrorSampleRate (#​3637)
  • Manifest option io.sentry.session-replay.error-sample-rate was renamed to io.sentry.session-replay.on-error-sample-rate (#​3637)
  • Change redactAllText and redactAllImages to maskAllText and maskAllImages (#​3741)

v7.14.0

Compare Source

Features
  • Session Replay: Gesture/touch support for Flutter (#​3623)
Fixes
  • Fix app start spans missing from Pixel devices (#​3634)
  • Avoid ArrayIndexOutOfBoundsException on Android cpu data collection (#​3598)
  • Fix lazy select queries instrumentation (#​3604)
  • Session Replay: buffer mode improvements (#​3622)
    • Align next segment timestamp with the end of the buffered segment when converting from buffer mode to session mode
    • Persist buffer replay type for the entire replay when converting from buffer mode to session mode
    • Properly store screen names for buffer mode
  • Session Replay: fix various crashes and issues (#​3628)
    • Fix video not being encoded on Pixel devices
    • Fix SIGABRT native crashes on Xiaomi devices when encoding a video
    • Fix RejectedExecutionException when redacting a screenshot
    • Fix FileNotFoundException when persisting segment values
Chores
  • Introduce ReplayShadowMediaCodec and refactor tests using custom encoder (#​3612)

v7.13.0

Compare Source

Features
  • Session Replay: (#​3565) (#​3609)
    • Capture remaining replay segment for ANRs on next app launch
    • Capture remaining replay segment for unhandled crashes on next app launch
Fixes
  • Session Replay: (#​3565) (#​3609)
    • Fix stopping replay in session mode at 1 hour deadline
    • Never encode full frames for a video segment, only do partial updates. This further reduces size of the replay segment
    • Use propagation context when no active transaction for ANRs
Dependencies

v7.12.1

Compare Source

Fixes
  • Check app start spans time and ignore background app starts (#​3550)
    • This should eliminate long-lasting App Start transactions

v7.12.0

Compare Source

Features
  • Session Replay Public Beta (#​3339)

    To enable Replay use the sessionReplay.sessionSampleRate or sessionReplay.errorSampleRate experimental options.

    import io.sentry.SentryReplayOptions
    import io.sentry.android.core.SentryAndroid
    
    SentryAndroid.init(context) { options ->
     
      // Currently under experimental options:
      options.experimental.sessionReplay.sessionSampleRate = 1.0
      options.experimental.sessionReplay.errorSampleRate = 1.0
    
      // To change default redaction behavior (defaults to true)
      options.experimental.sessionReplay.redactAllImages = true
      options.experimental.sessionReplay.redactAllText = true
    
      // To change quality of the recording (defaults to MEDIUM)
      options.experimental.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
    }

    To learn more visit Sentry's Mobile Session Replay documentation page.

v7.11.0

Compare Source

Features
Fixes
  • Fix duplicate session start for React Native (#​3504)
  • Move onFinishCallback before span or transaction is finished (#​3459)
  • Add timestamp when a profile starts (#​3442)
  • Move fragment auto span finish to onFragmentStarted (#​3424)
  • Remove profiling timeout logic and disable profiling on API 21 (#​3478)
  • Properly reset metric flush flag on metric emission (#​3493)
  • Use SecureRandom in favor of Random for Metrics (#​3495)
  • Fix UncaughtExceptionHandlerIntegration Memory Leak (#​3398)
  • Deprecated User.segment. Use a custom tag or context instead. (#​3511)
  • Fix duplicated http spans (#​3526)
  • When capturing unhandled hybrid exception session should be ended and new start if need (#​3480)
Dependencies

v7.10.0

Compare Source

Features
  • Publish Gradle module metadata (#​3422)
Fixes
  • Fix faulty span.frame_delay calculation for early app start spans (#​3427)
  • Fix crash when installing ShutdownHookIntegration and the VM is shutting down (#​3456)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 8dfe721 to 080d66d Compare August 13, 2024 10:36
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.13.0 fix(deps): update sentry.sdk to v7.14.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 080d66d to ec4d700 Compare October 9, 2024 18:14
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.14.0 fix(deps): update sentry.sdk to v7.15.0 Oct 9, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from ec4d700 to 491b9f6 Compare October 23, 2024 13:46
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.15.0 fix(deps): update sentry.sdk to v7.16.0 Oct 23, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 491b9f6 to 615c22c Compare November 13, 2024 08:10
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.16.0 fix(deps): update sentry.sdk Nov 13, 2024
@renovate renovate bot changed the title fix(deps): update sentry.sdk fix(deps): update sentry.sdk to v7.17.0 Nov 13, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch 2 times, most recently from 09721de to f3b99da Compare November 19, 2024 10:39
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.17.0 fix(deps): update sentry.sdk to v7.18.0 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from f3b99da to 4f49b89 Compare November 29, 2024 12:41
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.18.0 fix(deps): update sentry.sdk Nov 29, 2024
@renovate renovate bot changed the title fix(deps): update sentry.sdk fix(deps): update sentry.sdk to v7.18.1 Nov 29, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 4f49b89 to 2df8149 Compare December 12, 2024 10:57
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.18.1 fix(deps): update sentry.sdk to v7.19.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 2df8149 to 4f9c752 Compare December 23, 2024 17:02
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.19.0 fix(deps): update sentry.sdk to v7.19.1 Dec 23, 2024
@renovate renovate bot changed the title fix(deps): update sentry.sdk to v7.19.1 fix(deps): update sentry.sdk Jan 2, 2025
@renovate renovate bot force-pushed the renovate/sentry.sdk branch from 4f9c752 to 85192d8 Compare January 2, 2025 21:50
@renovate renovate bot changed the title fix(deps): update sentry.sdk fix(deps): update sentry.sdk to v7.20.0 Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants