Update dependency io.sentry:sentry to v8#216
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
f96ed12 to
56e426b
Compare
56e426b to
bae1570
Compare
b8f3ade to
6c84332
Compare
6c84332 to
fcbb4b4
Compare
acc0f40 to
674efab
Compare
01c61a6 to
62d7d71
Compare
1a5c35d to
08b468b
Compare
08b468b to
04d918b
Compare
04d918b to
9b4c512
Compare
6ae00cb to
92f6f8c
Compare
93035e8 to
1e9c2e5
Compare
eab0f5f to
eff7b0c
Compare
5f239de to
c11f7c9
Compare
c11f7c9 to
4e78de8
Compare
5a35143 to
7ba2b5e
Compare
7ba2b5e to
44a1d11
Compare
62f3f2c to
03fb2be
Compare
03fb2be to
268a0bd
Compare
268a0bd to
0d661e7
Compare
0d661e7 to
28743b5
Compare
28743b5 to
acd3ca2
Compare
acd3ca2 to
1c27d54
Compare
94cf6b1 to
a807358
Compare
a807358 to
8905539
Compare
8905539 to
306aca4
Compare
eb25b9e to
cc057ec
Compare
cc057ec to
761871e
Compare
761871e to
2422679
Compare
f8acd4d to
9b97231
Compare
5c85650 to
335ac69
Compare
0522d69 to
4988d68
Compare
4988d68 to
d3ef530
Compare
e4083f0 to
93a9c55
Compare
93a9c55 to
d03a4f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.22.6→8.41.0Release Notes
getsentry/sentry-java (io.sentry:sentry)
v8.41.0Compare Source
Features
SurfaceViewcontent (e.g. Unity, video players, maps) (#5333)options.sessionReplay.isCaptureSurfaceViews = true<meta-data android:name="io.sentry.session-replay.capture-surface-views" android:value="true" />Sentry.feedback()API forshow()andcapture()(#5349)Sentry.showUserFeedbackDialog()is deprecated in favor ofSentry.feedback().show()Sentry.captureFeedback()is deprecated in favor ofSentry.feedback().capture()Sentry.captureUserFeedback()andUserFeedbackare deprecated in favor ofSentry.feedback().capture()with the newFeedbacktypeSentryUserFeedbackDialogis deprecated in favor ofSentryUserFeedbackFormSentryUserFeedbackButton(View-based and Compose-based) (#5350)SentryUserFeedbackForm(#5353)sentry-kafkadependency and opt-in via the new option.options.setEnableQueueTracing(true)onSentry.initsentry.enable-queue-tracing=trueinapplication.propertieskafka-clientsdirectlyKafkaProducerviaSentryKafkaProducer.wrap(kafkaProducer)to getqueue.publishspansSentryKafkaConsumerTracing.withTracinghelper to instrument the consumer side manually.Fixes
Dependencies
v8.40.0Compare Source
Fixes
NoSuchMethodErrorforLayoutCoordinates.localBoundingBoxOf$defaulton Compose touch dispatch with AGP 8.13 andminSdk < 24(#5302)CacheControl.FORCE_CACHEcache misses (#5299)SentryGestureDetectorthread-safe and recycleVelocityTrackerper gesture (#5301)ui.clickbreadcrumbs when anotherWindow.CallbackwrapsSentryWindowCallback(#5300)Dependencies
v8.39.1Compare Source
Fixes
JsonObjectReaderandMapObjectReaderhanging indefinitely when deserialization errors leave the reader in an inconsistent state (#5293)WARNINGlogsERRORlogsv8.39.0Compare Source
Fixes
GestureDetectorCompatHandler/MessageQueue lock contention inSentryWindowCallback(#5138)Internal
Dependencies
v8.38.0Compare Source
Features
o123.ingest.sentry.io) and compares it with thesentry-org_idvalue in incoming baggage headers. When the two differ, the SDK starts a fresh trace instead of continuing the foreign one. This guards against accidentally linking traces across organizations.enableStrictTraceContinuation(defaultfalse): when enabled, both the SDK's org ID and the incoming baggage org ID must be present and match for a trace to be continued. Traces with a missing org ID on either side are rejected. Configurable via code (setStrictTraceContinuation(true)),sentry.properties(enable-strict-trace-continuation=true), Android manifest (io.sentry.strict-trace-continuation.enabled), or Spring Boot (sentry.strict-trace-continuation=true).orgId: allows explicitly setting the organization ID for self-hosted and Relay setups where it cannot be extracted from the DSN. Configurable via code (setOrgId("123")),sentry.properties(org-id=123), Android manifest (io.sentry.org-id), or Spring Boot (sentry.org-id=123).Improvements
ActivityManagerif API < 35 on SDK init (#5275)v8.37.1Compare Source
Fixes
SentryContextStorage.root()with virtual threads and OpenTelemetry agent (#5234)v8.37.0Compare Source
Fixes
Features
CacheManagerandCachebeans to produce cache spanssentry.enable-cache-tracingtotrueto enable this featuresentry-jcachemodule (#5165)CachewithSentryJCacheWrapperto produce cache spansenableCacheTracingoption totrueto enable this featureIScopesStorageFactorytoSentryOptionsfor providing a customIScopesStorage, e.g. when the defaultThreadLocal-backed storage is incompatible with non-pinning thread models (#5199)beforeErrorSamplingcallback to Session Replay (#5214)onErrorSampleRateis checkedfalseskips replay capture entirely for that error; returningtrueproceeds with the normal sample rate checkDependencies
opentelemetryto1.60.1(was1.57.0)opentelemetry-instrumentationto2.26.0(was2.23.0)opentelemetry-instrumentation-alphato2.26.0-alpha(was2.23.0-alpha)opentelemetry-semconvto1.40.0(was1.37.0)opentelemetry-semconv-alphato1.40.0-alpha(was1.37.0-alpha)v8.36.0Compare Source
Features
options.getFeedbackOptions().setUseShakeGesture(true)or manifest meta-dataio.sentry.feedback.use-shake-gestureFixes
Dependencies
com.abovevacant:epitaphto0.1.1to avoid old D8/R8 dexing crashes in downstream Android builds on old AGP versions such as 7.4.x. (#5200)v8.35.0Compare Source
Fixes
Features
options.setAnrProfilingSampleRate(<sample-rate>)or AndroidManifest.xml:<meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />Behavioral Changes
enableAnrFingerprintingoption which assigns static fingerprints to ANR events with system-only stacktracesjava.langorandroid.os) are grouped into a single issue instead of creating many separate issuesoptions.setEnableAnrFingerprinting(false)or AndroidManifest.xml:<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />v8.34.1Compare Source
Fixes
filterTouchesWhenObscuredto prevent Tapjacking on user feedback dialog (#5155)v8.34.0Compare Source
Features
sentry.properties:shutdown-timeout-millis,session-flush-timeout-millisSENTRY_SHUTDOWN_TIMEOUT_MILLIS,SENTRY_SESSION_FLUSH_TIMEOUT_MILLISapplication.properties:sentry.shutdownTimeoutMillis,sentry.sessionFlushTimeoutMillisSentry.setAttribute,Sentry.setAttributes,Sentry.removeAttributeSENTRY_SAMPLE_RATEenvironment variable /sample-rateproperty (#5112)sentry-opentelemetry-otlpandsentry-opentelemetry-otlp-springmodules for combining OpenTelemetry SDK OTLP export with Sentry SDK (#5100)OpenTelemetryOtlpEventProcessor) but will not send spans through OpenTelemetry nor use OpenTelemetryContextforScopespropagation.sentry-android-replaymodule to be present at runtime for masking to workAndroidManifest.xml:ManifestMetaDataReadernow read theDIST(#5107)Fixes
Long,Short,Byte,BigInteger,AtomicInteger, andAtomicLongbeing incorrectly inferred asdoubleinstead ofinteger(#5122)AndroidRuntimeManagerStrictMode relaxation to prevent ANRs during SDK init (#5127)SystemEventsBroadcastReceiverwith try-catch block. (#5106)peekDecorViewinstead ofgetDecorViewinSentryGestureListenerto avoid forcing view hierarchy construction (#5134)network_errortosend_errorURISyntaxExceptioncaused by trailing whitespace (#5113)Sentry.init(#5135)Dependencies
v8.33.0Compare Source
Features
installGroupsOverrideparameter to Build Distribution SDK for programmatic filtering, with support for configuration via properties file usingio.sentry.distribution.install-groups-override(#5066)Fixes
SentryExecutorServiceinSentryOptions(#5093)sendDefaultPii(#5099)androidx.camera.view.PreviewViewto defaultmaskedViewClassesto mask camera previews by default. (#5097)Dependencies
Internal
v8.32.0Compare Source
Features
installGroupsproperty to Build Distribution SDK (#5062)io.sentry.spotlight.enableandio.sentry.spotlight.url(#5064)BEGIN,COMMIT,ROLLBACK) (#5072)options.enableDatabaseTransactionTracingtotrueenable-database-transaction-tracing=truewhen usingsentry.propertiessentry.enable-database-transaction-tracing=trueinapplication.propertiesor inapplication.yml:ApplicationExitInfo.REASON_CRASH_NATIVEon Android 12+AndroidManifest.xmlusing:Fixes
SpotlightIntegrationto separatesentry-spotlightmodule to prevent insecure HTTP URLs from appearing in release APKs (#5064)io.sentry:sentry-spotlightdependency:dependencies { debugImplementation("io.sentry:sentry-spotlight:<version>") }Scopesforreactor-kafkaconsumer pollRunnable(#5080)reactor-kafka's poll event reschedules itself infinitely, and each invocation ofSentryScheduleHookcreated forked scopes with a parent reference, building an unbounded chain that couldn't be garbage collected.Internal
sentry-nativefromApplicationExitInfo. (#5052)writepermission forstatusesin the changelog preview GHA workflow. (#5053)Dependencies
v8.31.0Compare Source
Features
io.sentry.ndk.sdk-nameAndroid manifest option to configure the native SDK's name (#5027)sentry.trace.parent_span_idattribute withspanIdproperty onSentryLogEvent(#5040)Fixes
sendDefaultPiiis enabled (#5036)LoggerBatchProcessoris shutting down (#5041)Dependencies
v8.30.0Compare Source
Fixes
use
options.isCollectExternalStorageContext = trueor<meta-data android:name="io.sentry.external-storage-context" android:value="true" />NullPointerExceptionwhen reading ANR marker (#4979)log_byte(#4971)Improvements
MAX_EVENT_SIZE_BYTESconstant in SentryOptions (#4962)4xxand5xxresponse (#4950)Features
ApplicationExitInfo.REASON_CRASH_NATIVEon Android 12+. (#4933)Sentry.metrics()count: A metric that increments countsgauge: A metric that tracks a value that can go up or downdistribution: A metric that tracks the statistical distribution of valuesv8.29.0Compare Source
Fixes
Internal
metricenvelope item type (#4956)v8.28.0Compare Source
Features
SentryOkHttpInterceptorto intercept the request and extract request/response bodiesio.sentry.session-replay.network-detail-allow-urlsmetadata tag in AndroidManifest (code sample) - Or you can manually specify SentryReplayOptions viaSentryAndroid#init:(Make sure you disable the auto init via manifest meta-data: io.sentry.auto-init=false)
Kotlin
Java
Improvements
rootScopesfor Reactor if current thread hasNoOpScopes(#4793)Fixes
Internal
spanenvelope item type (#4935)Dependencies
v8.27.1Compare Source
Fixes
sentry.propertiesin rundir has not been found (#4929)v8.27.0Compare Source
Features
sentry-openfeaturedependency and register the the hook using:openFeatureApiInstance.addHooks(new SentryOpenFeatureHook());sentry-launchdarkly-androidas a dependency and register theSentryLaunchDarklyAndroidHooksentry-launchdarkly-serveras a dependency and register theSentryLaunchDarklyServerHookenableEventSizeLimitingtotrue(sentry.enable-event-size-limiting=truefor Spring Bootapplication.properties)onOversizedEventcallback to implement custom logic that is executed in case an oversized event is detectedImprovements
Dependencies
v8.26.0Compare Source
Features
Sentry.addFeatureFlag("my-feature-flag", true);) writes to scopes and the current span (if there is one)IScope,IScopes,ISpanandITransactiondirectlyFixes
DefaultReplayBreadcrumbConverterif replay is available (#4888)Improvements
timber.taglog attribute (#4845)Dependencies
v8.25.0Compare Source
Fixes
Improvements
sampled == null) won't be collecting any performance data anymore (CPU, RAM, slow/frozen frames).Dependencies
v8.24.0Compare Source
Features
mdc.<key>, where<key>is the original key in the MDC.contextTagsare sent as log attributes.options.setContextTagsif initalizing manually, or by specifying a comma-separated list of keys with acontext-tagsentry insentry.propertiesorsentry.context-tagsinapplication.properties.HandlertoSystemEventsBreadcrumbsIntegrationandAndroidConnectionStatusProviderso their callbacks are deliver to that handler (#4808).drawText()or.drawBitmap()calls are replaced by rectangles, ensuring no text or images are present in the resulting outputscreenshotStrategy, either via code:Fixes
java.lang.IllegalArgumentException: width and height must be > 0(#4805)NoOpScopesinContextwhen starting a span through OpenTelemetry (#4823)Canvas.<init>/ScreenshotRecorder.captureMiscellaneous
Dependencies
v8.23.0Compare Source
Features
sentry-async-profilerdependency to your project1.0to send all of them. You may useoptions.setProfileSessionSampleRate(1.0)in code orprofile-session-sample-rate=1.0insentry.propertiesoptions.setProfileLifecycle(ProfileLifecycle.TRACE)in code orprofile-lifecycle=TRACEinsentry.propertiesMANUAL, meaning you have to explicitly callSentry.startProfiler()andSentry.stopProfiler()TRACEwhich will create a profile for each transactionsentry.profile-session-sample-rate=1.0andsentry.profile-lifecycle=TRACEinapplication.propertiessentry.profile-session-sample-rate: 1.0andsentry.profile-lifecycle: TRACEinapplication.ymlFixes
SentryTraced(#4757)Improvements
RejectedExecutionExceptioneverywhere (#4747)SentryEnvelopeas not internal (#4748)v8.22.0Compare Source
Features
traceparentheader.Improvements
Fixes
NoSuchElementExceptioninBufferCaptureStrategy(#4717)Dependencies
v8.21.1Compare Source
Fixes
v8.21.0Compare Source
Fixes
Features
sentry-opentelemetry-agentless-springis not working yet for Spring Boot 4. Please usesentry-opentelemetry-agentuntil OpenTelemetry has support for Spring Boot 4.UUIDGeneratorimplementation with Apache licensed code (#4662)Randomimplementation with MIT licensed code (#4664)varsattribute inSentryStackFrame(#4686)varsattribute has been changed fromMap<String, String>toMap<String, Object>.v8.20.0Compare Source
Fixes
Features
Sentry.init:v8.19.1Compare Source
Fixes
v8.19.0Compare Source
Features
isEnableSystemEventBreadcrumbsExtrasoption to disable reporting system events extras for breadcrumbs (#4625)Improvements
LifecycleObserverand multi-cast it to the integrations interested in lifecycle states (#4567)sentry.originattribute to logs (#4618)SentryExecutorServicefor better performance at runtime (#4606)Fixes
NetworkCallbackregistered at a time to reduce IPC calls (#4562)sentry-android-ndkto theio.sentry.**namespace. (#4427)proguard-android.txtorproguard-android-optimize.txt) the following config should be present:Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 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.