-
-
Notifications
You must be signed in to change notification settings - Fork 226
chore(deps): update Java SDK to v8.20.0 #4496
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
Conversation
e97e278 to
171b3d6
Compare
|
Note: Java SDK updates have been stuck since #3911 / #4075. I deleted the old manually modified
|
jamescrosswell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice - thanks @jpnurmi !
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