chore(deps): update Java SDK to v8.20.0#4496
Merged
jamescrosswell merged 2 commits intomainfrom Sep 4, 2025
Merged
Conversation
e97e278 to
171b3d6
Compare
Collaborator
|
Note: Java SDK updates have been stuck since #3911 / #4075. I deleted the old manually modified
|
jpnurmi
reviewed
Sep 4, 2025
jamescrosswell
approved these changes
Sep 4, 2025
Collaborator
jamescrosswell
left a comment
There was a problem hiding this comment.
Nice - thanks @jpnurmi !
This was referenced Sep 11, 2025
This was referenced Sep 15, 2025
This was referenced Oct 1, 2025
This was referenced Oct 13, 2025
This was referenced Oct 20, 2025
This was referenced Nov 3, 2025
This was referenced Dec 8, 2025
This was referenced Dec 15, 2025
This was referenced Jan 18, 2026
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 scripts/update-java.ps1 from 8.6.0 to 8.20.0.
Auto-generated by a dependency updater.
Changelog
8.20.0
Fixes
Features
Sentry.init:8.19.1
Warning
Android: This release is incompatible with API levels below 26. We recommend using SDK version 8.20.0 or higher instead.
Fixes
8.19.0
Warning
Android: This release is incompatible with API levels below 26. We recommend using SDK version 8.20.0 or higher instead.
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:SentrySupportSQLiteDatabase(#4597)StackOverflowErrorwhen using OSS Licenses pluginDependencies
8.18.0
Features
SentryUserFeedbackButtonComposable (#4559)Sentry.showUserFeedbackDialogstatic methodio.sentry:sentry-ktor-client, then install theSentryKtorClientPluginon yourHttpClient,e.g.:
Fixes
SentryGestureListenerSentry.withScopenow has the correct current scope passed to the callback. Previously our OpenTelemetry integration forked scopes an additional.8.17.0
Features
SentryOptionsor with theio.sentry.logs.enabledmanifest option and the SDK will automatically send Timber logs to Sentry, if the TimberIntegration is enabled.SentryOptionsor with theio.sentry.logs.enabledmanifest option and the SDK will automatically send logcat logs to Sentry, if the Sentry Android Gradle plugin is applied.sentry-debug-meta.propertiesand attach it to events (#4314)Dependencies
opentelemetry-sdkto1.51.0opentelemetry-instrumentationto2.17.0opentelemetry-javaagentto2.17.0opentelemetry-semconvto1.34.0Fixes
sentry-spring-boot-starter-jakarta(#4545)sentry-spring-boot-starter-jakarta, which is intended for Spring Boot 3.8.16.1-alpha.2
Fixes
IllegalArgumentExceptionwhenBitmapis initialized with non-positive values (#4536)Internal
8.16.0
Features
sentry.properties:logs.enabled=trueSentry.init:minimumLevelinlogging.properties, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:io.sentry.jul.SentryHandler.minimumLevel=CONFIGsentry.properties:logs.enabled=trueSentry.init:minimumLevelinlog4j2.xml, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:8.15.1
Fixes
8.15.0
Features
Fixes
StringviatoString(#4515)SentryLogEventAttributeValueconstructors did not convert the value previously.SentryUserFeedbackButton, but reference them instead (#4519)Features
minimumLevelfor log events:application.properties/application.yml:Sentry.init:sentry.propertiesis also possible:logs.enabled=trueSentryOptions.Logs.BeforeSendLogCallbackSpring beans (#4509)Dependencies
8.14.0
Fixes
Features
To use it, just instantiate it and call show() on the instance (Sentry must be previously initialized).
For customization options, please check the User Feedback documentation.
user.id,user.nameanduser.emailto log attributes (#4486)nameattribute has been deprecated, please useusernameinstead (#4486)device.brand,device.modelanddevice.family) and OS (os.nameandos.version) attributes to logs (#4493)preContextandpostContextinSentryStackFrame(#4482)Internal
8.13.3
Fixes
OkHttpEventeven if no active span inSentryOkHttpInterceptor#4469segment_id(#4471)8.13.2
Fixes
sentry-spring-boot-jakarta(#4456)io.sentry:sentry-spring-boot-jakartais now correctly being built and published to Maven Central.8.13.1
Fixes
SentryAndroid.initcrash if SDK is initialized from a background thread while anActivityis in resumed state (#4449)Dependencies
8.13.0
Features
Sentry.replay().enableDebugMaskingOverlay()to overlay the screen with the Session Replay masks.frameRate(default 1 fps).attributes(#4402)Sentry.logger.lognow takes aSentryLogParametersSentryLogParameters.create(SentryAttributes.of(...))to pass attributesstring,boolean,integerordouble.string. Currently we simply calltoString()but we might offer more in the future.SentryAttribute.named("point", Point(10, 20))you may store it asSentryAttribute.integerAttribute("point.x", point.x)andSentryAttribute.integerAttribute("point.y", point.y)SentryAttribute.named()will automatically infer the type or fall back tostring.SentryAttribute.booleanAttribute()takes aBooleanvalueSentryAttribute.integerAttribute()takes aIntegervalueSentryAttribute.doubleAttribute()takes aDoublevalueSentryAttribute.stringAttribute()takes aStringvalueSentryLogParametersto avoid creating tons of overloads that are ambiguous.Fixes
OtelSentrySpanProcessorinstead ofOtelSentryPropagator(#4434)OtelSentryPropagator.extractor having asentry-traceheader that failed to parse would cause isolation scope not to be forked.Dependencies
3.5.0(#4111)8.12.0
Features
options.getLogs().setEnabled(true)inSentry.init/SentryAndroid.init<meta-data android:name="io.sentry.logs.enabled" android:value="true" />inAndroidManifest.xmllogs.enabled=trueinsentry.propertiessentry.logs.enabled=trueinapplication.propertiessentry.logs.enabled: trueinapplication.ymlSentry.logger().info()and similar methods.String.format.options.getLogs().setBeforeSend()to filter outgoing logsFixes
Dependencies
8.11.1
Fixes
8.11.0
Features
RequestDetailsResolverpublic (#4326)RequestDetailsResolveris now public and has an additional constructor, making it easier to use a customTransportFactoryFixes
TextComposables (#4361)TextFieldComposables (#4362)8.10.0
Features
ContextStorageProviderif available (#4359)java.lang.IllegalStateException: Found multiple ContextStorageProvider. Set the io.opentelemetry.context.ContextStorageProvider property to the fully qualified class name of the provider to use. Falling back to default ContextStorage. Found providers: ...-Dio.opentelemetry.context.contextStorageProvider=io.sentry.opentelemetry.SentryContextStorageProvideron yourjavacommandContextStorageProviderthat has been configured by loading it through SPIContextStorageProvideris available or there are problems loading it, we fall back to usingSentryOtelThreadLocalStorageFixes
Dependencies
8.9.0
Features
SentryWrapper.wrapRunnableto wrapRunnablefor use with Sentry (#4332)Fixes
UntaggedSocketViolationSystemEventsBroadcastReceiverwhen entering background (#4338)Improvements
8.8.0
Features
CoroutineExceptionHandlerfor reporting uncaught exceptions in coroutines to Sentry (#4259)sentry-kotlin-extensionsand can be used together withSentryContextwhen launching a coroutineCoroutineExceptionHandlerto implement custom behavior in addition to the one we provide by defaultFixes
Improvements
SystemEventsBreadcrumbsIntegrationfaster (#4330)8.7.0
Features
UI Profiling GA
Continuous Profiling is now GA, named UI Profiling. To enable it you can use one of the following options. More info can be found at https://docs.sentry.io/platforms/android/profiling/.
Note: Both
options.profilesSamplerandoptions.profilesSampleRatemust not be set to enable UI Profiling.To keep the same transaction-based behaviour, without the 30 seconds limitation, you can use the
tracelifecycle mode.Fixes