Piped-Backend icon indicating copy to clipboard operation
Piped-Backend copied to clipboard

fix(deps): update dependency io.sentry:sentry to v7.22.5

Open renovate[bot] opened this issue 1 year ago • 0 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.sentry:sentry 7.11.0 -> 7.22.5 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v7.22.5

Compare Source

Fixes
  • Session Replay: Change bitmap config to ARGB_8888 for screenshots (#​4282)

v7.22.4

Compare Source

Fixes
  • Session Replay: Fix crash when a navigation breadcrumb does not have "to" destination (#​4185)
  • Session Replay: Cap video segment duration to maximum 5 minutes to prevent endless video encoding in background (#​4185)
  • Avoid logging an error when a float is passed in the manifest (#​4266)

v7.22.3

Compare Source

Fixes
  • Reduce excessive CPU usage when serializing breadcrumbs to disk for ANRs (#​4181)

v7.22.2

Compare Source

Fixes
  • Fix AbstractMethodError when using SentryTraced for Jetpack Compose (#​4256)

v7.22.1

Compare Source

Fixes
  • Fix Ensure app start type is set, even when ActivityLifecycleIntegration is not running (#​4216)
  • Fix properly reset application/content-provider timespans for warm app starts (#​4244)

v7.22.0

Compare Source

Fixes
  • Session Replay: Fix various crashes and issues (#​4135)
    • Fix FileNotFoundException when trying to read/write .ongoing_segment file
    • Fix IllegalStateException when registering onDrawListener
    • Fix SIGABRT native crashes on Motorola devices when encoding a video
  • (Jetpack Compose) Modifier.sentryTag now uses Modifier.Node (#​4029)
    • This allows Composables that use this modifier to be skippable

v7.21.0

Compare Source

Fixes
  • Do not instrument File I/O operations if tracing is disabled (#​4051)
  • Do not instrument User Interaction multiple times (#​4051)
  • Speed up view traversal to find touched target in UserInteractionIntegration (#​4051)
  • Reduce IPC/Binder calls performed by the SDK (#​4058)
Behavioural Changes
  • (changed in 7.20.1) The user ip-address is now only set to "{{auto}}" if sendDefaultPii is enabled (#​4071)
    • This change gives you control over IP address collection directly on the client
  • Reduce the number of broadcasts the SDK is subscribed for (#​4052)
    • Drop TempSensorBreadcrumbsIntegration
    • Drop PhoneStateBreadcrumbsIntegration
    • Reduce number of broadcasts in SystemEventsBreadcrumbsIntegration

Current list of the broadcast events can be found here. If you'd like to subscribe for more events, consider overriding the SystemEventsBreadcrumbsIntegration as follows:

SentryAndroid.init(context) { options ->
    options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration }
    options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */)))
}

If you would like to keep some of the default broadcast events as breadcrumbs, consider opening a GitHub issue.

v7.20.1

Compare Source

Behavioural Changes
  • The user ip-address is now only set to "{{auto}}" if sendDefaultPii is enabled (#​4071)
    • This change gives you control over IP address collection directly on the client

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
  • Android 15: Add support for 16KB page sizes (#​3620)
    • See https://developer.android.com/guide/practices/page-sizes for more details
  • Session Replay: Add beforeSendReplay callback (#​3855)
  • Session Replay: Add support for masking/unmasking view containers (#​3881)
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.


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 this update 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[bot] avatar Jul 15 '24 19:07 renovate[bot]