diff --git a/modules/sentry-cocoa.properties b/modules/sentry-cocoa.properties index da9cf27949..38a61fb5d7 100644 --- a/modules/sentry-cocoa.properties +++ b/modules/sentry-cocoa.properties @@ -1,2 +1,2 @@ -version = 9.9.0 +version = 9.10.0 repo = https://github.com/getsentry/sentry-cocoa diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index cef90c1033..75cc6a25a9 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -159,6 +159,10 @@ interface SentryBaggage [NullAllowed, Export("replayId", ArgumentSemantic.Strong)] string ReplayId { get; set; } + // @property (readonly, nonatomic) NSString * _Nullable orgId; + [NullAllowed, Export("orgId")] + string OrgId { get; } + // -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction sampleRate:(NSString * _Nullable)sampleRate sampled:(NSString * _Nullable)sampled replayId:(NSString * _Nullable)replayId; [Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampled:replayId:")] NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampled, [NullAllowed] string replayId); @@ -167,6 +171,10 @@ interface SentryBaggage [Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampleRand:sampled:replayId:")] NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampleRand, [NullAllowed] string sampled, [NullAllowed] string replayId); + // -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction sampleRate:(NSString * _Nullable)sampleRate sampleRand:(NSString * _Nullable)sampleRand sampled:(NSString * _Nullable)sampled replayId:(NSString * _Nullable)replayId orgId:(NSString * _Nullable)orgId; + [Export("initWithTraceId:publicKey:releaseName:environment:transaction:sampleRate:sampleRand:sampled:replayId:orgId:")] + NativeHandle Constructor(SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string sampleRate, [NullAllowed] string sampleRand, [NullAllowed] string sampled, [NullAllowed] string replayId, [NullAllowed] string orgId); + // -(NSString * _Nonnull)toHTTPHeaderWithOriginalBaggage:(NSDictionary * _Nullable)originalBaggage; [Export("toHTTPHeaderWithOriginalBaggage:")] string ToHTTPHeaderWithOriginalBaggage([NullAllowed] NSDictionary originalBaggage); @@ -1369,6 +1377,10 @@ interface SentryTraceContext : SentrySerializable [NullAllowed, Export("replayId")] string ReplayId { get; } + // @property (readonly, nonatomic) NSString * _Nullable orgId; + [NullAllowed, Export("orgId")] + string OrgId { get; } + // -(SentryBaggage * _Nonnull)toBaggage; [Export("toBaggage")] SentryBaggage ToBaggage(); @@ -1657,6 +1669,11 @@ interface PrivateSentrySDKOnly [Static] [Export("setLogOutput:")] void SetLogOutput(Action output); + + // +(void)ignoreNextSignal:(int)signum; + [Static] + [Export("ignoreNextSignal:")] + void IgnoreNextSignal(int signum); } // @interface SentryOptions : NSObject @@ -1988,6 +2005,18 @@ interface SentryOptions [Export("spotlightUrl")] string SpotlightUrl { get; set; } + // @property (nonatomic) BOOL strictTraceContinuation; + [Export("strictTraceContinuation")] + bool StrictTraceContinuation { get; set; } + + // @property (copy, nonatomic) NSString * _Nullable orgId; + [NullAllowed, Export("orgId")] + string OrgId { get; set; } + + // @property (readonly, copy, nonatomic) NSString * _Nullable effectiveOrgId; + [NullAllowed, Export("effectiveOrgId")] + string EffectiveOrgId { get; } + // @property (nonatomic, strong) SentryExperimentalOptions * _Nonnull experimental; [Export("experimental", ArgumentSemantic.Strong)] SentryExperimentalOptions Experimental { get; set; } @@ -2130,6 +2159,10 @@ interface SentryDsn // -(NSURL * _Nonnull)getEnvelopeEndpoint __attribute__((warn_unused_result(""))); [Export("getEnvelopeEndpoint")] NSUrl EnvelopeEndpoint { get; } + + // @property (readonly, copy, nonatomic) NSString * _Nullable orgId; + [NullAllowed, Export("orgId")] + string OrgId { get; } } // @interface SentryExperimentalOptions : NSObject