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

Update dependency io.sentry:sentry to v7.21.0 #98

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 13, 2024

This PR contains the following updates:

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

Release Notes

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

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

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 is behind base branch, 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.

Copy link

@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 02ed07a to 11b7c28 Compare October 9, 2024 20:23
@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 force-pushed the renovate/io.sentry-sentry-7.x branch from 11b7c28 to a7d533b Compare October 23, 2024 14:10
@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 from a7d533b to 1890c20 Compare November 13, 2024 12:21
@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 1890c20 to 8a08b21 Compare November 19, 2024 12:43
@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 force-pushed the renovate/io.sentry-sentry-7.x branch from 8a08b21 to 51c815c Compare November 29, 2024 14:10
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 51c815c to ceaee76 Compare December 12, 2024 11:02
@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 ceaee76 to 114cbe0 Compare December 23, 2024 13:49
@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 changed the title Update dependency io.sentry:sentry to v7.19.1 Update dependency io.sentry:sentry to v7.20.0 Jan 2, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from 114cbe0 to c16af4b Compare January 2, 2025 22:44
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-7.x branch from c16af4b to bcf4768 Compare January 20, 2025 18:11
@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 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 force-pushed the renovate/io.sentry-sentry-7.x branch from bcf4768 to e130c1a Compare January 27, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants