chore(deps): update Java SDK (Android) to v8.46.0#119
Open
github-actions[bot] wants to merge 1 commit into
Open
chore(deps): update Java SDK (Android) to v8.46.0#119github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
3ebdf3a to
b89d9fa
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.
Bumps modules/sentry-java from 8.25.0 to 8.46.0.
Auto-generated by a dependency updater.
Changelog
8.46.0
Fixes
Behavioral Changes
getBreadcrumbs,getTags,getAttachments) are shared state and should not be mutated. (#5541)CombinedScopeView, we were returning a copy where mutations didn't show up in the underlying scopes.Dateobjects returned by SDK data model getters are shared state and should not be mutated. (#5603)Performance
Datecopies in SDK data model getters. (#5603)Breadcrumbdata map only when data is added. (#5598)JsonWriternesting stack size while preserving on-demand growth. (#5591)Calendarusage inDateUtilswith directDatecreation. (#5589)8.45.0
Features
app.starttransaction now reports why the OS started the process viaapp.vitals.start.reasontrace data (e.g.launcher,broadcast,service,content_provider), derived fromApplicationStartInfo.getReason(). You can search and group by this attribute in the Trace Explorer. (#5552)Fixes
System.nanoTime()for cron check-in duration measurement to avoid incorrect durations from wall-clock adjustments (#5611)getHistoricalProcessStartReasonsis called from an isolated or wrong-userId process (#5597)MediaMuxerwhen a replay segment has no encodable frames to avoid a resource leak (#5583)Dependencies
8.44.1
Fixes
FirstDrawDoneListenerleaking anOnGlobalLayoutListenerper registration (#5567)Features
SentrySQLiteDrivertosentry-android-sqlitefor instrumentingandroidx.sqlite.SQLiteDriver(#5563)SQLiteDrivertoSentrySQLiteDriver.create(...)androidx.sqlite:sqlite(2.5.0+) on runtime classpath (typically provided by Room or SQLDelight)Dependencies
8.44.0
Features
enableStandaloneAppStartTracingoption to send app start as a standalone transaction instead of attaching it as a child span of the first activity transaction (#5342)options.isEnableStandaloneAppStartTracing = trueor manifest meta-dataio.sentry.standalone-app-start-tracing.enableApp Startwith opapp.start, carrying the existing app start measurements and phase spans (process.load,contentprovider.load,application.load, activity lifecycle spans) as direct children of the roottraceIdas the firstui.loadactivity transaction so they remain linked in the trace viewImprovements
Datewith a unix timestamp inSentryNanotimeDateto improve performance (#5550)SentryNanotimeDateis now markedApiStatus.Internal. A new(long unixDateMillis, long nanos)constructor was added, whereunixDateMillisis milliseconds since the epoch. The existing(Date, long)constructor is retained but deprecated.Dependencies
Fixes
8.43.3
Fixes
getHistoricalProcessStartReasonsis called from an isolated or wrong-userId process (#5597)8.43.2
Improvements
java.net.URIwith custom string parsing for DSN (#5448)Fixes
VerifyErrorin Compose masking under DexGuard/R8 obfuscation (#5507)8.43.1
Fixes
trace_idsin replay events to enable searching replays by trace ID (#5473)8.43.0
Features
Session Replay: Add
ReplayFrameObserverfor observing captured replay frames (#5386)Parse ART memory and garbage collector info from ANR tombstones into ART context (#5428)
8.42.0
Features
options.isAttachRawTombstone = trueor manifest:<meta-data android:name="io.sentry.tombstone.attach-raw" android:value="true" />AndroidManifest.xmlusing theio.sentry.anr.report-historicalattribute (#5387)Dependencies
8.41.0
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
8.40.0
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
8.39.1
Fixes
JsonObjectReaderandMapObjectReaderhanging indefinitely when deserialization errors leave the reader in an inconsistent state (#5293)WARNINGlogsERRORlogs8.39.0
Fixes
GestureDetectorCompatHandler/MessageQueue lock contention inSentryWindowCallback(#5138)Internal
Dependencies
8.38.0
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)8.37.1
Fixes
SentryContextStorage.root()with virtual threads and OpenTelemetry agent (#5234)8.37.0
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)8.36.0
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)8.35.0
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" />8.34.1
Fixes
filterTouchesWhenObscuredto prevent Tapjacking on user feedback dialog (#5155)8.34.0
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
8.33.0
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
8.32.0
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
8.31.0
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
8.30.0
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 values8.29.0
Fixes
Internal
metricenvelope item type (#4956)8.28.0
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
8.27.1
Fixes
sentry.propertiesin rundir has not been found (#4929)8.27.0
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
8.26.0
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