Repository navigation
chore(deps): update sentry packages to v9.36.0 - #71
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/sentry-packages
branch
from
November 26, 2026 11:06
95cbf1e to
64fb703
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:
9.28.0→9.36.09.28.0→9.36.0Release Notes
getsentry/sentry-apple-swift-log
v9.36.0Compare Source
v9.35.0Compare Source
v9.34.0Compare Source
v9.33.0Compare Source
v9.32.0Compare Source
v9.31.0Compare Source
v9.30.3Compare Source
v9.30.2Compare Source
v9.30.1Compare Source
v9.30.0Compare Source
v9.29.3Compare Source
v9.29.2Compare Source
v9.29.1Compare Source
v9.29.0Compare Source
getsentry/sentry-cocoa
v9.36.0Compare Source
Features
options.experimental.enableUIUpdateLinkFramesTrackingthat tracks slow and frozen frames, frames delay, and time to display on iOS 18, tvOS 18 and visionOS 2 and later with the main run loop and aUIUpdateLinkinstead of aCADisplayLink, so the SDK no longer wakes up an idle app for every frame (#9541)io.sentry.threadcrumband stays idle; the run ID stays on the device (#9582)SentrySDK.replay.pauseTouchTracking()andSentrySDK.replay.resumeTouchTracking()to stop recording touch positions in Session Replay, for example while a PIN pad is on screen, while screenshots continue to be captured. The pause is independent ofpause()andresume(), and also applies to replays started later in the same process (#9587).crashinenabledDiagnosticReportsno longer shows the same crash twice (#9584)SentryLogHandler(label:logLevel:)to the SentrySwiftLog integration, which records the swift-log logger label as thelogger.nameattribute on every log (#9636)Fixes
expected identifier; 'class' is a keyword in Objective-C++when importing the SDK through SPM into a target with Swift C++ interoperability enabled (#9669)"<null>"(#9729)SentryHttpStatusCodeRange.h,SentryReplayApi.handSentrySamplingContext.has empty headers, so importing them by name, for example#import <Sentry/SentrySamplingContext.h>, compiles again. They were removed in 9.31.0 and 9.32.0 when the types moved to Swift (#9721)spanenvelope items that hybrid SDKs send, such as streamed spans from sentry-dart, to thespandata category, so rate limits and client reports for them usespaninstead ofdefault(#9642)EXC_GUARDcrash inSentrySDK.startin apps that enable the Enhanced Security capability with additional runtime platform restrictions, by registering the Mach exception handler with the identity-protected exception behavior (#9705)mach_exception_raise_identity_protected; otherwise the SDK reports the crash through its signal handler instead of its Mach exception handler.Internal
SentrySDK.internal.profiling.currentProfilerIdto hybrid SDKs so they can link their spans to Cocoa profiles (#9712)SentrySDK.internal.replay.setTags(_:)to replay sessions started after the call, so the options event of a Flutter replay on iOS reports the Flutter masking options instead of the Cocoa defaults (#9732)v9.35.0Compare Source
Features
options.webViewTracingto connect the traces of everyWKWebViewautomatically, keeping the trace current across page loads (#9538)options.webViewTracingthrough the SentryObjC SDK asSentryObjCOptions.webViewTracing(#9539)launchTimeToFirstDraw,launchResumeTime,launchOptimizedTimeToFirstDraw,launchExtended,responsivenessHangTimeandcellularConditionTimemetric reports, which send MetricKit histograms as distributions with one value per sample, up to about 100 values per histogram (#9493)device.low_power_modeand anapp.build_typeoftest, and takeapp.app_identifierfrom the diagnostic instead of the running app (#9523)Fixes
attachAllThreads,enableDataSwizzlingandenableStandaloneAppStartTracingfrom the options dictionary that hybrid SDKs pass to the native SDK (#9586)captureEventin the current session's error count, as the Java and Native SDKs do, so hybrid SDKs such as Godot and Unreal report errored sessions. App hangs and events from a previous process still don't count (#9597)Improvements
v9.34.0Compare Source
Features
options.enableScopePersistenceto retain explicitly supplied user information across app launches. Storage and restoration are asynchronous, and independent of watchdog tracking and automatic user collection settings (#9470)Fixes
NSDatais read from anilURL, for example by MessageUI when sharing to Mail (#9535)v9.33.0Compare Source
Breaking Changes
animationTotalHitchTime,animationTotalAnimationTime,metalFramesPerSecond,metalFrameCountandmetalActiveDrawingDurationcases to the experimentalSentryMetricKit.MetricReportenum, so exhaustiveswitchstatements over it need to handle them. On iOS and macOS 27 and later,animationScrollHitchTimeRatiois no longer sent because MetricKit only reports the hitch time of all animations (#9476)Features
options.experimental.metrickit.enabledMetricReportsthrough the SentryObjC SDK as theSentryObjCMetricKitMetricReportbitmask and through theenabledMetricReportskey of themetrickitoptions dictionary, which also accepts"all"(#9490)MetricManageron iOS and macOS 27 and later with the same names, types and units as on earlier OS versions, and add theanimationTotalHitchTime,animationTotalAnimationTime,metalFramesPerSecond,metalFrameCountandmetalActiveDrawingDurationmetric reports that onlyMetricManagerprovides, also available through theSentryObjCMetricKitMetricReportbitmask (#9476)WKWebViewwith the app's trace. CallSentryWebViewTracing.addTracePropagation(to:options:)with aWKWebView,WKWebViewConfiguration,WKUserContentController, or SwiftUIWebPage.Configurationto inject the current trace assentry-traceandbaggagemeta tags before page scripts run, so@sentry/browserin the page continues the trace on pageload. Only pages on the hosts inSentryWebViewTracingOptions.allowedHostsreceive the trace (#9474)SentryObjCWebViewTracingandSentryObjCWebViewTracingOptions(#9488)MetricManageron iOS, macOS and visionOS 27 and later. Diagnostics produce the same events as on earlier OS versions. The raw report attached byenableMetricKitRawPayloadis namedDiagnosticReport.jsonon these versions (#9462)options.experimental.metrickit.enabledDiagnosticReportscontains.memoryException(#9465)Fixes
tvOSin profiles instead of occasionally reportingApple TVOS(#9497)SentrySDK.internal.appStart.measurementWithSpansadded the Pre Runtime Init and Runtime init to Pre Main initializers spans only for prewarmed app starts, where Pre Runtime Init ended before it started, and left them out of all other app starts (#9473)Deprecations
NSErrorFromSentryError,NSErrorFromSentryErrorWithUnderlyingError,NSErrorFromSentryErrorWithException,NSErrorFromSentryErrorWithKernelError, andSentryErrorDomain), span-status names (nameForSentrySpanStatusand thekSentrySpanStatusName*constants), and the header constantsSENTRY_BAGGAGE_HEADERandSENTRY_TRACE_HEADER. UseSentryError.nsError(description:),SentryError.domain,SentrySpanStatus.name,Baggage.httpHeaderField, andTraceHeader.httpHeaderField. SentryObjC users can use[SentryObjCError nsErrorWithCode:description:],[SentryObjCSpanStatusName nameForStatus:],SentryObjCBaggage.httpHeaderField, andSentryObjCTraceHeader.httpHeaderField.SENTRY_TRACE_TYPE,defaultMaxBreadcrumbs,kSentryTrueString, andkSentryFalseStringare deprecated with no replacement. These symbols will be removed in a future major version. ThekSentryError*andkSentrySpanStatus*enum cases are not deprecated. (#9502)v9.32.0Compare Source
Features
options.experimental.metrickit.enabledDiagnosticReportsto choose which MetricKit diagnostic reports the SDK captures, including crash diagnostics. The option is only available from Swift (#9267)attachAllThreadsand scope block overloads forcapture(event:),capture(error:),capture(exception:), andcapture(message:), also available throughSentryObjC(#9424)SentrySDK.metrics.count(_:value:options:),gauge(_:value:options:)anddistribution(_:value:options:)take the metric name, the value andSentryMetricOptionswithunit,attributes,scopeandtimestamp.SentryObjCexposes the same API throughcount:value:options:,gauge:value:options:,distribution:value:options:andSentryObjCMetricOptions. The key-based methods such ascount(key:value:attributes:)andcountWithKey:value:attributes:keep working but are deprecated and will be removed in v10; use the options-based methods instead (#9453)options.experimental.metrickit.enabledDiagnosticReportscontains.appLaunch(#9441)options.experimental.metrickit.enabledDiagnosticReportsthrough the SentryObjC SDK asoptions.experimental.metrickitand through themetrickitkey of the options dictionary (#9296)hinge_statusin the device context, which requires iOS 27.1 or later and is not available on Mac Catalyst (#9464)options.experimental.metrickit.enabledMetricReportsto send MetricKit metric payloads as Sentry metrics, such as CPU time, network transfer, memory and app exit counts. Metrics are namedmetrickit.<group>.<name>and carry the app and OS versions they were recorded with. The option defaults to an empty set and is only available from Swift (#9452)Fixes
flushorclose, so short-lived processes no longer lose a transaction finished right before the call (#9415)SentrySDK.replay.stop()followsflush()(#9429)SentrySDK.close()when app start tracking isn't installed, such as withenableAutoPerformanceTracingdisabled (#9451)metricKitHangReportingModein dictionary-based options for hybrid SDKs, expose the MetricKit options header throughSentryObjC, and report the enabled flame graph attachment mode in SDK features (#9421)v9.31.0Compare Source
Features
options.experimental.metrickit.hangReportingMode = .flamegraphAttachment, also available throughSentryObjC. The default.legacymode reports the flattened call stack tree, which is also retained when flame graph attachment creation fails (#9347)Fixes
UIApplicationDidFinishLaunchingNotificationwhen the SDK starts beforeUIApplicationexists, such as from a SwiftUIApp.init. A process launched in the background was treated as active for its whole lifetime, which let the app hang tracker report fatal app hangs with an idle main thread (#8988)SentrySDK.startProfiler()is called before a requested stop takes effect at the end of the current chunk (#9401)Internal
SentrySDK.internal.serializerandSentryObjCSDK.internal.serializer(#9403).The public
SentrySerializableprotocol andserialize()methods will be removed in the next major release.v9.30.3Compare Source
v9.30.2Compare Source
Fixes
SentryTracer.trimEndTimestampwhen a child span finishes on another thread while its transaction finishes (#9305)UIApplication.applicationStateasynchronously on the main queue when the SDK's dependency container is first accessed off the main thread, instead of blocking the calling thread while waiting for the main thread during app launch (#9304)isSymbolImageAPI without inspecting their image assets (#9335)EXC_BAD_ACCESScrash while reading the cellular network technology on iOS. The SDK now copies the value from CoreTelephony under the lock that CoreTelephony uses to change it (#9332)ERRORby default), so runtime debug options no longer enable them.EXC_BAD_ACCESScrash incow_cleanupwhen aURLSessionTaskchanges state while another thread writes protocol properties into its request. The network tracker now reads the task's requests without copying them to SwiftURLRequestvalues (#9343)v9.30.1Compare Source
Fixes
SentryObjCframework or dylib (#9286)v9.30.0Compare Source
Features
enableUnhandledCPPExceptionsV2remains non-deprecated underoptions.experimentalin v9, disabled by default, with dictionary-based initialization support.enablePersistingTracesWhenCrashingis now stable and remains disabled by default.attachViewHierarchyis now stable and remains disabled by default.enableTimeToFullDisplayTracingis now stable and remains disabled by default because applications must explicitly callSentrySDK.reportFullyDisplayed().swiftAsyncStacktracesis now stable and remains disabled by default.enableGraphQLOperationTrackingis now stable and remains disabled by default.enableFileManagerSwizzlingis now stable, remains disabled by default, and supports dictionary-based initialization.connection_typeto the device context of events, which reportswifi,ethernet,cellular, ornone(#9097).On iOS, cellular connections additionally report the network technology in
connection_effective_type, for example4gor5g.Fixes
@objcextensions in static builds by adding referenced dummyNSObjectsubclasses, and lint for this with a SwiftSyntax SwiftLint extra rule (#9160)v9.29.3Compare Source
v9.29.2Compare Source
Fixes
beforeSendWithHintto attach files to fatal events (#9153)isMetricKitEventunrecognized selector crash when statically linking the SDK without-ObjC, including when MetricKit is disabled (#9155)v9.29.1Compare Source
Fixes
options.experimental.enableNewURLLoaderSwizzling = true(disabled by default) (#8845)trace_idsin replay events to enable searching replays by trace ID (#9092)enableMetricKitRawPayloadis enabled, without attaching unrelated current-thread stack traces (#9070)enableAppHangTrackingso applications can continue opting out of App Hang tracking until its removal in v10 (#9094)appHangTimeoutIntervalvalues of 0 or lower to the default of 2 seconds, which previously spun the app hang tracker thread in a busy loop (#9020)v9.29.0Compare Source
Fixes
[NSURLSessionTask cancel]when cancelling an in-flight task with swizzling enabled (#9009)replayIdwhen Session Replay is stopped manually, so events captured afterstop()are no longer linked to a replay that is no longer recording (#9017)machandsignalcrash mechanisms assyntheticso an Apple crash groups with the identical crash reported by the other Sentry SDKs (#9004)mechanism.handledtofalseon crash reports without mach context, which previously left it unset (#9004)Deprecations
options.enableMetricKit = true. TheappHangTimeoutIntervaloption remains supported for watchdog termination classification. (#8944)Configuration
📅 Schedule: (UTC)
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.