Update dependency io.sentry:sentry to v7 #139
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.7.1
->7.20.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
getsentry/sentry-java (io.sentry:sentry)
v7.20.0
Compare Source
Features
To enable Replay use the
sessionReplay.sessionSampleRate
orsessionReplay.onErrorSampleRate
options.Fixes
Internal
SdkVersion
for replay events (#4014)Breaking changes
experimental
to the mainoptions
object (#4017)v7.19.1
Compare Source
Fixes
GestureRecorder
(#4001)Internal
v7.19.0
Compare Source
Fixes
IndexOutOfBoundsException
when tracking window changesIllegalStateException
when adding/removing draw listener for a dead viewConcurrentModificationException
when registering window listeners and stoppingWindowRecorder
/GestureRecorder
Dependencies
v7.18.1
Compare Source
Fixes
v7.18.0
Compare Source
Features
beforeSendReplay
callback (#3855)Fixes
Dependencies
v7.17.0
Compare Source
Features
Random
instance per thread to improve SDK performance (#3835)Fixes
v7.16.0
Compare Source
Features
Fixes
enableTracing
option (#3777)java.util.Random
and replacejava.security.SecureRandom
usages (#3783)Log
calls on app startup (#3793)Breaking changes
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 theNoSuchMethodError
exception.v7.15.0
Compare Source
Features
feedback
envelope header item type (#3687)android:tag="sentry-mask|sentry-unmask"
in XML orview.setTag("sentry-mask|sentry-unmask")
in code tags<tag android:id="@​id/sentry_privacy" android:value="mask|unmask"/>
in XML orview.setTag(io.sentry.android.replay.R.id.sentry_privacy, "mask|unmask")
in codeview.sentryReplayMask()
orview.sentryReplayUnmask()
extension functionsView
s of a certain type by adding fully-qualified classname to one of the listsoptions.experimental.sessionReplay.addMaskViewClass()
oroptions.experimental.sessionReplay.addUnmaskViewClass()
. Note, that all of the view subclasses/subtypes will be masked/unmasked as wellTextView
s and their subclasses (RadioButton
,EditText
, etc.):options.experimental.sessionReplay.addMaskViewClass("android.widget.TextView")
Modifier.sentryReplayMask()
andModifier.sentryReplayUnmask()
modifiersWebView
,VideoView
andandroidx.media3.ui.PlayerView
by default (#3775)Fixes
TextView
s with Spans (#3682)Calendar.getInstance
usage in Breadcrumbs constructor (#3736)SentryOptions
members to avoid ANRs on app start (#3749)Breaking changes:
options.experimental.sessionReplay.errorSampleRate
was renamed tooptions.experimental.sessionReplay.onErrorSampleRate
(#3637)io.sentry.session-replay.error-sample-rate
was renamed toio.sentry.session-replay.on-error-sample-rate
(#3637)redactAllText
andredactAllImages
tomaskAllText
andmaskAllImages
(#3741)v7.14.0
Compare Source
Features
Fixes
buffer
replay type for the entire replay when converting from buffer mode to session modebuffer
modeRejectedExecutionException
when redacting a screenshotFileNotFoundException
when persisting segment valuesChores
ReplayShadowMediaCodec
and refactor tests using custom encoder (#3612)v7.13.0
Compare Source
Features
Fixes
session
mode at 1 hour deadlineDependencies
v7.12.1
Compare Source
Fixes
v7.12.0
Compare Source
Features
Session Replay Public Beta (#3339)
To enable Replay use the
sessionReplay.sessionSampleRate
orsessionReplay.errorSampleRate
experimental options.To learn more visit Sentry's Mobile Session Replay documentation page.
v7.11.0
Compare Source
Features
Fixes
User.segment
. Use a custom tag or context instead. (#3511)Dependencies
v7.10.0
Compare Source
Features
Fixes
span.frame_delay
calculation for early app start spans (#3427)ShutdownHookIntegration
and the VM is shutting down (#3456)v7.9.0
Compare Source
Features
Fixes
v7.8.0
Compare Source
Features
Fixes
v7.7.0
Compare Source
Features
Fixes
Fix java.lang.ClassNotFoundException: org.springframework.web.servlet.HandlerExceptionResolver
in Spring Boot Servlet mode without WebMVC (#3333)v7.6.0
Compare Source
Features
Use the Metrics API to track processing time, download sizes, user signups, and conversion rates and correlate them back to tracing data in order to get deeper insights and solve issues faster. Our API supports counters, distributions, sets, gauges and timers, and it's easy to get started:
v7.5.0
Compare Source
Features
enableScopePersistence
option to disablePersistingScopeObserver
used for ANR reporting which may increase performance overhead. Defaults totrue
(#3218)Fixes
Runnable
/Callable
/Supplier
is executed instead of setting it to the hub that was used on the thread where theRunnable
/Callable
/Supplier
was created.v7.4.0
Compare Source
Features
options.isEnableSpotlight = true
to enable SpotlightFixes
RuntimeException
is thrown by the system (#3212)RuntimeInit$MethodAndArgsCaller
to have them split up properly by the original root cause exceptionv7.3.0
Compare Source
Features
io.sentry.profiling.enable-app-start
, other than the already existingio.sentry.traces.profiling.sample-rate
.isForNextAppStart
flag, to adjust startup profiling sampling programmatically.Relevant PRs:
OnFrameMetricsAvailableListener
(#3111)Fixes
mechanism:AppExitInfo
Breaking changes
HostnameVerifier
option as it's flagged by security tools of some app stores (#3150)ITransportFactory
throughSentryOptions.setTransportFactory()
, where you can copy over most of the parts likeHttpConnection
andAsyncHttpTransport
from the SDK with necessary modificationsDependencies
v7.2.0
Compare Source
Features
monitor
/check_in
in client reports and rate limiter (#3096)graphql-java
version 21 (#3090)Fixes
SentryJobListener
release
and other fields for ANRs reported withmechanism:AppExitInfo
(#3074)Dependencies
opentelemetry-sdk
to1.33.0
andopentelemetry-javaagent
to1.32.0
(#3112)v7.1.0
Compare Source
Features
enable-backpressure-handling=true
.tracesSampleRate
automatically.tracesSampleRate
to its original value.4.1.0
or neweroptions.isEnablePerformanceV2 = true
Fixes
SentryOkHttpEventListener
even without transactions (#3087)io.sentry.exception.SentryHttpClientException
from obfuscation to display proper issue title on Sentry (#3093)Dependencies
v7.0.0
Compare Source
Version 7 of the Sentry Android/Java SDK brings a variety of features and fixes. The most notable changes are:
minSdk
level to 19 (Android 4.4)Sentry.getSpan
now returns the root transaction, which should improve the span hierarchy and make it leanersentry-okhttp
artifact is unbundled from Android and can be used in pure JVM-only appsv6.34.0
Compare Source
Features
MonitorConfig
param toCheckInUtils.withCheckIn
(#3038)readBytesFromFile
for use in Hybrid SDKs (#3052)getProguardUuid
for use in Hybrid SDKs (#3054)Fixes
Dependencies
v6.33.1
Compare Source
Fixes
sentrySpringFilter
in ServletContext for Spring Boot (#3027)v6.33.0
Compare Source
Features
Fixes
StackOverflowError
v6.32.0
Compare Source
Features
DebugImagesLoader
public (#2993)Fixes
SystemEventsBroadcastReceiver
exported on API 33+ (#2990)SystemEventsBreadcrumbsIntegration
crashes that you might have encountered on Play Consolev6.31.0
Compare Source
Features
CheckInUtils.withCheckIn
which abstracts away some of the manual check-ins complexity (#2959)@SentryCaptureExceptionParameter
annotation which captures exceptions passed into an annotated method (#2764)Sentry.captureException
calls in@ExceptionHandler
of a@ControllerAdvice
ServerWebExchange
toHint
for WebFlux asWEBFLUX_EXCEPTION_HANDLER_EXCHANGE
(#2977)SentryInstrumentation
application.properties
assentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR
Fixes
nextList
tonextListOrNull
to actually match what the method doesop
is not defined as part ofSpanContext
, fallback to an empty string, because the filed is optional in the specDependencies
v6.30.0
Compare Source
Features
sendModules
option for disable sending modules (#2926)db.system
anddb.name
in span data for androidx.sqlite spans (#2928)@SentryCheckIn
annotation and advice config for Spring (#2946)Fixes
device.class
tag on Sentrysentry.enable-aot-compatibility
property to SpringBoot JakartaSentryAutoConfiguration
to enable building for GraalVM (#2915)Dependencies
v6.29.0
Compare Source
Features
db.system
anddb.name
in span data (#2894)http.request.method
in span data (#2896)enablePrettySerializationOutput
option for opting out of pretty print (#2871)v6.28.0
Compare Source
Features
sampled
to Dynamic Sampling Context (#2869)SentryDataFetcherExceptionHandler
that still works but has been deprecated. Please useSentryGenericDataFetcherExceptionHandler
combined withSentryInstrumentation
instead for better error reporting.ExecutionResult
(more specifically itserrors
)GraphQLContext
sentry-spring-boot
andsentry-spring-boot-jakarta
(#2880)sentry-spring-boot
andsentry-spring-boot-jakarta
have acompileOnly
dependency onspring-boot-starter
which is needed for our auto installation in sentry-android-gradle-pluginsentry-spring-boot-starter
andsentry-spring-boot-starter-jakarta
now bringspring-boot-starter
as a dependencyenabled
option tofalse
(#2840)Fixes
v6.27.0
Compare Source
Features
Fixes
OutOfMemoryError
) (#2845)Crashed
status, but only the one that is relevantv6.26.0
Compare Source
Features
Fixes
TracingContext
values from event for ANRv2 events (#2839)v6.25.2
Compare Source
Fixes
v6.25.1
Compare Source
Fixes
Dependencies
v6.25.0
Compare Source
Features
AutoInit
to integrations list (#2795)sentry-trace
andbaggage
) are now attached and passed through even if performance is disabled (#2788)Fixes
environment
fromSentryOptions
if none persisted in ANRv2 (#2809)tracesSampleRate
to0.0
for Spring Boot if not set (#2800)Dependencies
v6.24.0
Compare Source
Features
ApplicationNotResponding
class from obfuscationsetReportHistoricalAnrs
; when enabled, it will report all of the ANRs from the getHistoricalExitReasons list.By default, the SDK only reports and enriches the latest ANR and only this one counts towards ANR rate.
Worth noting that this option is mainly useful when updating the SDK to the version where ANRv2 has been introduced, to report all ANRs happened prior to the SDK update. After that, the SDK will always pick up the latest ANR from the historical exit reasons list on next app restart, so there should be no historical ANRs to report.
These ANRs are reported with the
HistoricalAppExitInfo
mechanism.setAttachAnrThreadDump
to send ANR thread dump from the system as an attachment.This is only useful as additional information, because the SDK attempts to parse the thread dump into proper threads with stacktraces by default.
v6.23.0
Compare Source
Features
Dependencies
Fixes
v6.22.0
Compare Source
Features
lock
attribute to theSentryStackFrame
protocol to better highlight offending frames in the UI (#2761)api_target
toRequest
anddata
toResponse
Protocols (#2775)Fixes
String.join
inBaggage
as it requires API level 26 (#2778)v6.21.0
Compare Source
Features
sentry-android-sqlite
integration (#2722)androidx.sqlite
database instrumentation in the Sentry Android Gradle pluginandroidx.sqlite
databases.SupportSQLiteOpenHelper
instance intoSentrySupportSQLiteOpenHelper(myHelper)
if you're not using the Sentry Android Gradle plugin and still benefit from performance auto-instrumentation.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.
This PR was generated by Mend Renovate. View the repository job log.