Repository navigation
Update dependency Sentry to v9 - #136
renovate[bot] wants to merge 1 commit into
Conversation
6b24ff4 to
a236a4f
Compare
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀
|
| Options | Enabled |
|---|---|
| Bug | ✅ |
| Performance | ✅ |
| Security | ✅ |
| Business Logic | ✅ |
🤔 Insufficient Task ContextI found a task linked to this PR, but it only contains minimal information (title only, no description or acceptance criteria). To perform a meaningful business rules validation, I need more details. 🔍 What I need to validate:
💡 How to improve the task context:
|
This PR contains the following updates:
8.58.4→9.30.1Release Notes
getsentry/sentry-cocoa (Sentry)
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.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)v9.28.0Compare Source
Features
Add a
device.eventbreadcrumb (SYSTEM_CLOCK_CHANGE) when the system clock changes, for example due to a manual time change or NTP sync (#8946)Add Hints API with
beforeSendWithHintandbeforeBreadcrumbWithHintcallbacks (#8942)Use hints to inspect the original source material that produced an event or breadcrumb, and to
add or remove attachments before they are sent:
Add hint parameter to public capture methods on
SentrySDK(#8955)Pass a
Hintwhen capturing events or errors to attach metadata thatbeforeSendWithHintcan inspect:
Auto-populate HTTP request and response on hints for network breadcrumbs and HTTP client errors (#8967)
Network breadcrumbs and HTTP client error events now include the originating
URLRequestandHTTPURLResponseon the hint, so callbacks can inspect status codes, headers, or URLs:Include screenshot and view hierarchy attachments in
hint.attachmentsbeforebeforeSendWithHintruns (#8989)Screenshot and view hierarchy attachments are now available in
hint.attachmentswhenbeforeSendWithHintis called, so they can be inspected or removed:Fixes
viewDidLoadtwice when tracing is enabled. (#8941)SentryObjC-StaticXCFrameworks to preventdsymutilmissing-object warnings. (#8979)Internal
SentrySDK.internal.replay.replayIdreturning nil for buffered replays (#8976)v9.27.0Compare Source
Improvements
enableLogs/enableMetrics(#8918)Features
SentrySDK.replay. (#8868)start()andstartBuffering()calls bypass the configured replay sample rates; sampling still controls automatic startup.start()starts a full-session replay and does nothing if one is already recording.startBuffering()keeps a rolling buffer that is sent onflush()or an error, then continues in session mode.stop()ends the current replay; the nextstart()creates a new replay session.pause()suspends recording untilresume()and remains paused across background and foreground transitions and automatic replay restarts in the same process.resume()continues the same manually paused replay.flush()sends the current replay data to Sentry, or starts a full-session replay when recording is stopped.app.vitals.start.typeandapp.vitals.start.screenonto standaloneapp.startchildren, includingapp.start.extendedand user descendants (#8888)maxFeatureFlagsoption to configure how many feature flag evaluations the scope retains, matching sentry-java. Defaults to 100 (#8858)SentrySDK.startis called again withoutclose(). Reinitialization still runs and remains unsupported (#8928)SentrySDK.internal.envelope.captureNonTerminatingfor hybrid SDKs, which keeps the current session running and reports it with theunhandledstatus when an unhandled exception doesn't terminate the process (#8654)SentrySDK.internal.envelope.updateSessionForDroppedEventNonTerminatingso hybrid SDKs can update the native session when an error is dropped by sampling, without sending an envelope (#8907)SentryObjCOptionsviaconfigureProfilingandSentryObjCProfileOptions(#8937)Fixes
SentryCrashCxaThrowSwapperfor empty sections (#8915)Internal
v9.26.1Compare Source
Fixes
v9.26.0Compare Source
Features
enableStandaloneAppStartTracingfromoptions.experimentalto a top-level option onOptions(#8715)SentryFromBinary(default) andSentryFromSourceSPM package traits to 3rd-party integrations, allowing users to choose between precompiled xcframeworks and building from source. Requires Swift 6.1+ (#8795)enableUIViewControllerInitSwizzlingthat defersUIViewControllerswizzling to first instantiation instead of eagerly discovering and swizzling all subclasses at SDK start. This avoids realizing@available-gatedUIViewControllersubclasses on OS versions below their gate, which crashes apps on start (#8687).form.enableScreenshot = truein theconfigureFormcallback.Improvements
Fixes
URLSessionTask.currentRequestduring trace header propagation (#8650)Internal
v9.25.0Compare Source
Breaking Changes
Features
SentrySDK.feedback.enableOnShake()anddisableOnShake()to toggle the shake-to-report gesture at runtime (#8591)Fixes
durationsent for active sessions (#8612)durationis now set only when the session ends. Active sessions (including on error increments) no longer emit a bogusduration.-[UIApplication applicationState](8672)v9.24.0Compare Source
Breaking Changes
enableMemoryIntrospectionoption to allow users to control memory introspection in crash reports, defaults to false (was previously true) (#8571)enableMemoryIntrospectionto trueFeatures
Breadcrumb.setData(value:key:)to set a single breadcrumb data entry and deprecate theBreadcrumb.datasetter in its favor. (#8572)Fixes
NSInvalidArgumentException/-[NSConcreteValue doubleValue]) when Core Animation raises while redacting the view hierarchy, e.g. during React Navigation transitions or video fullscreen presentation (#8537)v9.23.0Compare Source
Features
Fixes
experimental.dataCollectionAPIs in SDK V10 (#8435)Improvements
v9.22.0Compare Source
Features
swiftAsyncStacktracesas stable (#8373)dataCollectionoption underexperimentalfor configuring data scrubbing behavior (#8369)options.experimental.dataCollection(#8371)Fixes
Content-Typefor HTTP/2 and HTTP/3, so it captures HTTP response bodies as it was supposed to (when body capturing is enabled viaoptions.sessionReplay.networkCaptureBodies) (#8390)(null)when a Spotlight request fails (#8401)"dsn"to propertydsninstead ofnil(#8393)Improvements
enableReplayNetworkDetailsCapturingexperimental flag; network detail capture is now enabled automatically whennetworkDetailAllowUrlsis non-empty (#8396)v9.21.0Compare Source
Fixes
span,startProfiler, andstopProfilerby snapshottingcurrentHubundercurrentHubLockbefore dereferencing. (#8318)userInfocontext for unhandledNSExceptions(#8332)Features
v9.20.0Compare Source
Fixes
NSURLSessionTask.currentRequestproperty (#8058)Features
v9.19.1Compare Source
Fixes
SentrySDKInternal.isEnabled(#8310)platformitem header in profile-chunk envelopes (#8269)mprotectcalls in the__cxa_throwswapper (#8221)app.start.extended_app_starttoapp.start.extended(#8220)v9.19.0Compare Source
Features
extendAppLaunch()->extendAppStart()finishExtendedAppLaunch()->finishExtendedAppStart()getExtendedAppStartSpan()to get the extended app spanImprovements
Fixes
Info.plistentriesMinimumOSVersionandCFBundleSupportedPlatformsinSentryObjC.xcframework(#8157)Internal
SentrySDK.internalstructured API for hybrid SDKs, replacingPrivateSentrySDKOnlywith namespaced sub-APIs (replay,profiling,appStart,performance,screenshot,viewHierarchy,screen,envelope,swizzle,sdk,debug,breadcrumbs,user) (#8097)v9.18.0Compare Source
Features
UIViewControllerinstances. (#8027)Fixes
Deprecations
SentrySDK.feedback.show(),SentrySDK.FeedbackForm, or.sentryFeedback(isPresented:)instead. (#8052)v9.17.1Compare Source
Fixes
_OBJC_CLASS_$_symbols in x86_64 slice of SentryObjC dynamic framework (#8037)SentryLevel: CustomStringConvertiblewhen building with SPM from source (#8032)v9.17.0Compare Source
Features
Support creating envelope items from attachments via SentryObjC (#8001)
Add format-string logging to
SentryObjCLoggerwith automatic message template extraction (#7996)Add managed user feedback form presentation APIs (#7873)
Apps using the managed User Feedback integration can now present the form directly:
SentrySDK.feedback.show()to let the SDK pick the best presenter.SentrySDK.FeedbackForm()view controller yourself..sentryFeedback(isPresented:), or presentSentrySDK.FeedbackFormView()from a container such as.sheet.These APIs use the global
SentryOptions.configureUserFeedbackconfiguration and temporarily hide the managed widgetwhile the form is open, when possible.
Add per-form feedback configuration (#8018)
Managed feedback presentation APIs now accept a configuration closure, so apps can customize a single
form on top of the global
SentryOptions.configureUserFeedbacksettings without mutating them:Standalone app start sub-spans operations have been renamed for better clarity (#8003):
Deprecations
SentrySDK.feedback.show(),SentrySDK.FeedbackForm, or.sentryFeedback(isPresented:)instead. (#8022)Fixes
extendAppLaunch()(#8028)v9.16.1Compare Source
Features
Add SentryObjC wrapper SDK — a pure Objective-C interface for projects that cannot enable Clang modules (e.g., ObjC++ with
-fmodules=NO). (#7918)Ships as a compile-from-source SPM product
SentryObjC, a static pre-compiled frameworkSentryObjC-Static.xcframework.zipand a dynamic pre-compiled frameworkSentryObjC-Dynamic.xcframework.zip.Steps to migrate:
SentryorSentrySPMwithSentryObjC(orSentryObjC-Static/SentryObjC-Dynamicif you want to use the precompiled binary targets).#import <Sentry/Sentry.h>to#import <SentryObjC/SentryObjC.h>Sentry-prefixed types toSentryObjC(e.g.,SentrySDK→SentryObjCSDK,SentryOptions→SentryObjCOptions).SentrySDK.extendAppLaunch()now returns the extended app launch span, allowing users to add child spans for granular breakdown of the app start period (#7985)Fixes
SentryFramesTracker.add/removeListenerwhen called from a listener's owninit/deiniton a background thread, observed on iOS 26 (#7943)coldorwarmasstart_typefor standalone app starts, removing the.prewarmedsuffix per sentry-conventions (#7968)v9.16.0Compare Source
Features
Add SentryObjC wrapper SDK — a pure Objective-C interface for projects that cannot enable Clang modules (e.g., ObjC++ with
-fmodules=NO). (#7918)Ships as a compile-from-source SPM product
SentryObjC, a static pre-compiled frameworkSentryObjC-Static.xcframework.zipand a dynamic pre-compiled frameworkSentryObjC-Dynamic.xcframework.zip.Steps to migrate:
SentryorSentrySPMwithSentryObjC(orSentryObjC-Static/SentryObjC-Dynamicif you want to use the precompiled binary targets).#import <Sentry/Sentry.h>to#import <SentryObjC/SentryObjC.h>Sentry-prefixed types toSentryObjC(e.g.,SentrySDK→SentryObjCSDK,SentryOptions→SentryObjCOptions).SentrySDK.extendAppLaunch()now returns the extended app launch span, allowing users to add child spans for granular breakdown of the app start period (#7985)Fixes
SentryFramesTracker.add/removeListenerwhen called from a listener's owninit/deiniton a background thread, observed on iOS 26 (#7943)coldorwarmasstart_typefor standalone app starts, removing the.prewarmedsuffix per sentry-conventions (#7968)v9.15.0Compare Source
Features
SentrySDK.extendAppLaunch()andSentrySDK.finishExtendedAppLaunch()to extend standalone app start spans beyond the default end point (e.g. include initial data loading). CallextendAppLaunch()afterSentrySDK.start(options:)and before the app start transaction is created, then callfinishExtendedAppLaunch()when your app is fully ready. Requiresoptions.experimental.enableStandaloneAppStartTracing = true. (#7936)Fixes
v9.14.0Compare Source
Features
options.experimental.enableStandaloneAppStartTracing = trueFixes
v9.13.0Compare Source
Fixes
Features
v9.12.1Compare Source
Fixes
BinaryImageCacheinitialization to a background thread to reduce blocking on dyld reader locks on the main thread (#7823)task_threadsandvm_deallocate(#7858)SentryInvalidJSONString(#7859)v9.12.0Compare Source
Improvements
enableSessionReplayInUnreliableEnvironmentexperimental option and the environment checker that temporarily disabled Session Replay on iOS 26 (#7831)Features
Fixes
sentrycrashfu_readBytesFromFDwhenread()returns EOF on a truncated file (#7853)SentryFramesTrackerlisteners causingEXC_BAD_ACCESSinNSConcreteHashTable removeItem:when a listener is deallocated on a background thread (#7839)v9.11.0Compare Source
Features
Fixes
Package@swift-6.2.swiftto avoid issues with unsafe build flags on SPM > 6.2 (#7778)bufferfor Session Replay triggered by an error (#7804)v9.10.0Compare Source
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.strictTraceContinuation(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.orgId: allows explicitly setting the organization ID for self-hosted and Relay setups where it cannot be extracted from the DSN.Fixes
v9.9.0Compare Source
Features
attachAllThreadsoption toSentryOptionsto attach full stack traces for all threads to captured events (#7764)attachAllThreadsparameter tocapture(event:),capture(error:),capture(exception:), andcapture(message:)to override the global option for specific calls (#7767)Improvements
statevalues within_foreground/is_activeapp context (#7703)beforeBreadcrumbfilters or dashboard queries matching oConfiguration
📅 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.