-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency io.sentry:sentry to v8 #216
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/io.sentry-sentry-8.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
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
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.29.0Release Notes
getsentry/sentry-java (io.sentry:sentry)
v8.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)SentryAndroid#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:SentrySupportSQLiteDatabase(#4597)StackOverflowErrorwhen using OSS Licenses pluginDependencies
v8.18.0Compare Source
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.v8.17.0Compare Source
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.v8.16.0Compare Source
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:v8.15.1Compare Source
Fixes
v8.15.0Compare Source
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
v8.14.0Compare Source
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
v8.13.3Compare Source
Fixes
OkHttpEventeven if no active span inSentryOkHttpInterceptor#4469segment_id(#4471)v8.13.2Compare Source
Fixes
sentry-spring-boot-jakarta(#4456)io.sentry:sentry-spring-boot-jakartais now correctly being built and published to Maven Central.v8.13.1Compare Source
Fixes
SentryAndroid.initcrash if SDK is initialized from a background thread while anActivityis in resumed state (#4449)Dependencies
v8.13.0Compare Source
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)v8.12.0Compare Source
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
v8.11.1Compare Source
Fixes
v8.11.0Compare Source
Features
RequestDetailsResolverpublic (#4326)RequestDetailsResolveris now public and has an additional constructor, making it easier to use a customTransportFactoryFixes
TextComposables (#4361)TextFieldComposables (#4362)v8.10.0Compare Source
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
v8.9.0Compare Source
Features
SentryWrapper.wrapRunnableto wrapRunnablefor use with Sentry (#4332)Fixes
UntaggedSocketViolationSystemEventsBroadcastReceiverwhen entering background (#4338)Improvements
v8.8.0Compare Source
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)v8.7.0Compare Source
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
v8.6.0Compare Source
Behavioral Changes
Sentry.init/SentryAndroid.initthe SDK now checks if all Sentry Java / Android SDK dependencies have the same version.Features
MANIFEST.MFto Sentry JARs (#4272)Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, 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.