Skip to content

Commit 63f47b9

Browse files
committed
Bump to 8.55.0
1 parent 846f9bb commit 63f47b9

File tree

5 files changed

+36
-11
lines changed

5 files changed

+36
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
- Bump CLI from v2.52.0 to v2.53.0 ([#4486](https://github.com/getsentry/sentry-dotnet/pull/4486))
2828
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2530)
2929
- [diff](https://github.com/getsentry/sentry-cli/compare/2.52.0...2.53.0)
30-
- Bump sentry-cocoa from 8.46.0 to 8.54.0 ([#4483](https://github.com/getsentry/sentry-dotnet/pull/4483), [#4485](https://github.com/getsentry/sentry-dotnet/pull/4485))
31-
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8540)
32-
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.46.2...8.54.0)
30+
- Bump sentry-cocoa from 8.46.0 to 8.55.0 ([#4483](https://github.com/getsentry/sentry-dotnet/pull/4483), [#4485](https://github.com/getsentry/sentry-dotnet/pull/4485))
31+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8550)
32+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.46.2...8.55.0)
3333

3434
## 5.14.1
3535

modules/sentry-cocoa.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = 8.54.0
1+
version = 8.55.0
22
repo = https://github.com/getsentry/sentry-cocoa

scripts/generate-cocoa-bindings.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ $Text = $Text -replace '(SentrySamplingContext) arg\d', '$1 samplingContext'
222222
$Text = $Text -replace '(SentryBreadcrumb) arg\d', '$1 breadcrumb'
223223
$Text = $Text -replace '(SentrySpan) arg\d', '$1 span'
224224
$Text = $Text -replace '(SentryAppStartMeasurement) arg\d', '$1 appStartMeasurement'
225+
$Text = $Text -replace '(SentryLog) arg\d', '$1 log'
225226

226227
# Adjust nullable return delegates (though broken until this is fixed: https://github.com/xamarin/xamarin-macios/issues/17109)
227228
$Text = $Text -replace 'delegate \w+ Sentry(BeforeBreadcrumb|BeforeSendEvent|TracesSampler)Callback', "[return: NullAllowed]`n$&"

src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ namespace Sentry.CocoaSdk;
3434
[Internal]
3535
delegate SentrySpan SentryBeforeSendSpanCallback (SentrySpan span);
3636

37+
// typedef SentryLog * _Nullable (^SentryBeforeSendLogCallback)(SentryLog * _Nonnull);
38+
[Internal]
39+
delegate SentryLog SentryBeforeSendLogCallback (SentryLog log);
40+
3741
// typedef BOOL (^SentryBeforeCaptureScreenshotCallback)(SentryEvent * _Nonnull);
3842
[Internal]
3943
delegate bool SentryBeforeCaptureScreenshotCallback (SentryEvent @event);
@@ -611,11 +615,11 @@ interface SentryException : SentrySerializable
611615
[Internal]
612616
interface SentryFeedbackAPI
613617
{
614-
// -(void)showWidget __attribute__((availability(ios, introduced=13.0)));
618+
// -(void)showWidget __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(macos_app_extension, unavailable))) __attribute__((availability(ios_app_extension, unavailable)));
615619
[Export ("showWidget")]
616620
void ShowWidget ();
617621

618-
// -(void)hideWidget __attribute__((availability(ios, introduced=13.0)));
622+
// -(void)hideWidget __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(macos_app_extension, unavailable))) __attribute__((availability(ios_app_extension, unavailable)));
619623
[Export ("hideWidget")]
620624
void HideWidget ();
621625
}
@@ -669,13 +673,29 @@ interface SentryFrame : SentrySerializable
669673
[NullAllowed, Export ("columnNumber", ArgumentSemantic.Copy)]
670674
NSNumber ColumnNumber { get; set; }
671675

676+
// @property (copy, nonatomic) NSString * _Nullable contextLine;
677+
[NullAllowed, Export ("contextLine")]
678+
string ContextLine { get; set; }
679+
680+
// @property (copy, nonatomic) NSArray<NSString *> * _Nullable preContext;
681+
[NullAllowed, Export ("preContext", ArgumentSemantic.Copy)]
682+
string[] PreContext { get; set; }
683+
684+
// @property (copy, nonatomic) NSArray<NSString *> * _Nullable postContext;
685+
[NullAllowed, Export ("postContext", ArgumentSemantic.Copy)]
686+
string[] PostContext { get; set; }
687+
672688
// @property (copy, nonatomic) NSNumber * _Nullable inApp;
673689
[NullAllowed, Export ("inApp", ArgumentSemantic.Copy)]
674690
NSNumber InApp { get; set; }
675691

676692
// @property (copy, nonatomic) NSNumber * _Nullable stackStart;
677693
[NullAllowed, Export ("stackStart", ArgumentSemantic.Copy)]
678694
NSNumber StackStart { get; set; }
695+
696+
// @property (copy, nonatomic) NSDictionary<NSString *,id> * _Nullable vars;
697+
[NullAllowed, Export ("vars", ArgumentSemantic.Copy)]
698+
NSDictionary<NSString, NSObject> Vars { get; set; }
679699
}
680700

681701
// @interface SentryGeo : NSObject <SentrySerializable, NSCopying>
@@ -1389,6 +1409,10 @@ interface SentryOptions
13891409
[NullAllowed, Export ("beforeSendSpan", ArgumentSemantic.Copy)]
13901410
SentryBeforeSendSpanCallback BeforeSendSpan { get; set; }
13911411

1412+
// @property (copy, nonatomic) SentryBeforeSendLogCallback _Nullable beforeSendLog;
1413+
[NullAllowed, Export ("beforeSendLog", ArgumentSemantic.Copy)]
1414+
SentryBeforeSendLogCallback BeforeSendLog { get; set; }
1415+
13921416
// @property (copy, nonatomic) SentryBeforeBreadcrumbCallback _Nullable beforeBreadcrumb;
13931417
[NullAllowed, Export ("beforeBreadcrumb", ArgumentSemantic.Copy)]
13941418
SentryBeforeBreadcrumbCallback BeforeBreadcrumb { get; set; }
@@ -1405,8 +1429,8 @@ interface SentryOptions
14051429
[NullAllowed, Export ("onCrashedLastRun", ArgumentSemantic.Copy)]
14061430
SentryOnCrashedLastRunCallback OnCrashedLastRun { get; set; }
14071431

1408-
// @property (copy, nonatomic) NSArray<NSString *> * _Nullable integrations;
1409-
[NullAllowed, Export ("integrations", ArgumentSemantic.Copy)]
1432+
// @property (copy, nonatomic) DEPRECATED_MSG_ATTRIBUTE("Setting `SentryOptions.integrations` is deprecated. Integrations should be enabled or disabled using their respective `SentryOptions.enable*` property.") NSArray<NSString *> * integrations __attribute__((deprecated("Setting `SentryOptions.integrations` is deprecated. Integrations should be enabled or disabled using their respective `SentryOptions.enable*` property.")));
1433+
[Export ("integrations", ArgumentSemantic.Copy)]
14101434
string[] Integrations { get; set; }
14111435

14121436
// +(NSArray<NSString *> * _Nonnull)defaultIntegrations;
@@ -2311,10 +2335,10 @@ interface PrivateSentrySDKOnly
23112335
[Export ("captureViewHierarchy")]
23122336
NSData CaptureViewHierarchy();
23132337

2314-
// +(void)setCurrentScreen:(NSString * _Nonnull)screenName;
2338+
// +(void)setCurrentScreen:(NSString * _Nullable)screenName;
23152339
[Static]
23162340
[Export ("setCurrentScreen:")]
2317-
void SetCurrentScreen (string screenName);
2341+
void SetCurrentScreen ([NullAllowed] string screenName);
23182342

23192343
// +(UIView * _Nonnull)sessionReplayMaskingOverlay:(id<SentryRedactOptions> _Nonnull)options;
23202344
[Static]

src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<!-- Make a copy of the header files before we butcher these to suite objective sharpie -->
7676
<MakeDir Directories="$(SentryCocoaFrameworkHeaders)" />
7777
<ItemGroup>
78-
<FilesToCopy Include="$(SentryCocoaFramework)\ios-arm64_arm64e\Sentry.framework\**\*" />
78+
<FilesToCopy Include="$(SentryCocoaFramework)\ios-arm64\Sentry.framework\**\*" />
7979
</ItemGroup>
8080
<Copy SourceFiles="@(FilesToCopy)"
8181
DestinationFolder="$(SentryCocoaFrameworkHeaders)%(RecursiveDir)"

0 commit comments

Comments
 (0)