Skip to content

Update dependency io.sentry:sentry to v7.22.6#338

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/io.sentry-sentry-7.x
Open

Update dependency io.sentry:sentry to v7.22.6#338
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/io.sentry-sentry-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jul 1, 2024

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry 7.10.07.22.6 age confidence

Release Notes

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

v7.22.6

Compare Source

Fixes
  • Compress Screenshots on a background thread (#​4295)
  • Improve low memory breadcrumb capturing (#​4325)
  • Make SystemEventsBreadcrumbsIntegration faster (#​4330)
  • Fix unregister SystemEventsBroadcastReceiver when entering background (#​4338)
    • This should reduce ANRs seen with this class in the stack trace for Android 14 and above
  • Pre-load modules on a background thread upon SDK init (#​4348)
  • Session Replay: Fix inconsistent segment_id (#​4471)
  • Session Replay: Do not capture current replay for cached events from the past (#​4474)
  • Session Replay: Fix crash on devices with the Unisoc/Spreadtrum T606 chipset (#​4477)
  • Session Replay: Fix masking of non-styled Text Composables (#​4361)
  • Session Replay: Fix masking read-only TextField Composables (#​4362)
  • Fix Session Replay masking for newer versions of Jetpack Compose (1.8+) (#​4485)
  • Session Replay: Expand fix for crash on devices to all Unisoc/Spreadtrum chipsets (#​4510)

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
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

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.

@yegor256
Copy link
Copy Markdown
Owner

yegor256 commented Jul 1, 2024

@rultor please, try to merge, since 8 checks have passed

@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from f3a7ed1 to 6b77af0 Compare July 15, 2024 19:10
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.11.0 Update dependency io.sentry:sentry to v7.12.0 Jul 15, 2024
@rultor
Copy link
Copy Markdown
Collaborator

rultor commented Jul 15, 2024

@rultor please, try to merge, since 8 checks have passed

@renovate[bot] @yegor256 Can't merge it. Some CI checks were failed. Apparently, the pull request is not ready to be merged since it has some problems. Please, fix them first.

@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.12.0 Update dependency io.sentry:sentry to v7.12.1 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch 2 times, most recently from 6fc8e98 to 9e7e65b Compare July 31, 2024 11:00
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.12.1 Update dependency io.sentry:sentry to v7.13.0 Jul 31, 2024
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.13.0 Update dependency io.sentry:sentry to v7.14.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 9e7e65b to 0346945 Compare August 17, 2024 00:09
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.14.0 Update dependency io.sentry:sentry to v7.15.0 Oct 9, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 0346945 to 38477ec Compare October 9, 2024 18:14
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 38477ec to c061365 Compare October 23, 2024 16:26
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.15.0 Update dependency io.sentry:sentry to v7.16.0 Oct 23, 2024
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.16.0 Update dependency io.sentry:sentry to v7.17.0 Nov 13, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch 2 times, most recently from 92eb5f8 to 2d40e3f Compare November 19, 2024 12:34
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.17.0 Update dependency io.sentry:sentry to v7.18.0 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 2d40e3f to 9ca0171 Compare November 29, 2024 14:17
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.18.0 Update dependency io.sentry:sentry to v7.18.1 Nov 29, 2024
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.18.1 Update dependency io.sentry:sentry to v7.19.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 9ca0171 to b31731a Compare December 12, 2024 15:25
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from b31731a to cc2676d Compare December 23, 2024 15:11
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.19.0 Update dependency io.sentry:sentry to v7.19.1 Dec 23, 2024
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from cc2676d to 928b1b8 Compare January 7, 2025 19:37
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.19.1 Update dependency io.sentry:sentry to v7.20.0 Jan 7, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 928b1b8 to 751acdf Compare January 20, 2025 19:08
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.20.0 Update dependency io.sentry:sentry to v7.20.1 Jan 20, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 751acdf to 1ed642e Compare January 27, 2025 23:22
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.20.1 Update dependency io.sentry:sentry to v7.21.0 Jan 27, 2025
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.21.0 Update dependency io.sentry:sentry to v7.22.0 Feb 11, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 1ed642e to 17348f1 Compare February 11, 2025 17:59
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 17348f1 to f9b121c Compare March 3, 2025 13:51
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from f9b121c to f6c9aca Compare March 11, 2025 00:37
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.0 Update dependency io.sentry:sentry to v7.22.1 Mar 11, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from f6c9aca to 40138be Compare March 13, 2025 23:50
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.1 Update dependency io.sentry:sentry to v7.22.2 Mar 13, 2025
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.2 Update dependency io.sentry:sentry to v7.22.3 Mar 17, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch 2 times, most recently from 1b21755 to 0e8b8c1 Compare March 20, 2025 13:12
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.3 Update dependency io.sentry:sentry to v7.22.4 Mar 20, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 0e8b8c1 to 84e0c65 Compare March 24, 2025 18:47
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.4 Update dependency io.sentry:sentry to v7.22.5 Mar 24, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 84e0c65 to abfeba8 Compare July 9, 2025 18:05
@renovate renovate bot changed the title Update dependency io.sentry:sentry to v7.22.5 Update dependency io.sentry:sentry to v7.22.6 Jul 9, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from abfeba8 to d03c413 Compare October 21, 2025 17:06
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from d03c413 to f3f9fc4 Compare February 2, 2026 16:36
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.

2 participants