Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bump to 8.55.0
  • Loading branch information
jpnurmi committed Sep 3, 2025
commit 63f47b9c7992e5af42925f54757737d1ebf42fac
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
- Bump CLI from v2.52.0 to v2.53.0 ([#4486](https://github.com/getsentry/sentry-dotnet/pull/4486))
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2530)
- [diff](https://github.com/getsentry/sentry-cli/compare/2.52.0...2.53.0)
- 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))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8540)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.46.2...8.54.0)
- 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))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8550)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.46.2...8.55.0)

## 5.14.1

Expand Down
2 changes: 1 addition & 1 deletion modules/sentry-cocoa.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 8.54.0
version = 8.55.0
repo = https://github.com/getsentry/sentry-cocoa
1 change: 1 addition & 0 deletions scripts/generate-cocoa-bindings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ $Text = $Text -replace '(SentrySamplingContext) arg\d', '$1 samplingContext'
$Text = $Text -replace '(SentryBreadcrumb) arg\d', '$1 breadcrumb'
$Text = $Text -replace '(SentrySpan) arg\d', '$1 span'
$Text = $Text -replace '(SentryAppStartMeasurement) arg\d', '$1 appStartMeasurement'
$Text = $Text -replace '(SentryLog) arg\d', '$1 log'

# Adjust nullable return delegates (though broken until this is fixed: https://github.com/xamarin/xamarin-macios/issues/17109)
$Text = $Text -replace 'delegate \w+ Sentry(BeforeBreadcrumb|BeforeSendEvent|TracesSampler)Callback', "[return: NullAllowed]`n$&"
Expand Down
36 changes: 30 additions & 6 deletions src/Sentry.Bindings.Cocoa/ApiDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
[Internal]
delegate SentrySpan SentryBeforeSendSpanCallback (SentrySpan span);

// typedef SentryLog * _Nullable (^SentryBeforeSendLogCallback)(SentryLog * _Nonnull);
[Internal]
delegate SentryLog SentryBeforeSendLogCallback (SentryLog log);

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / ios-tests

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / ios-tests

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / ios-tests

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / ios-tests

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / .NET (macos)

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / .NET (macos)

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / .NET (macos)

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 39 in src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

View workflow job for this annotation

GitHub Actions / .NET (macos)

The type or namespace name 'SentryLog' could not be found (are you missing a using directive or an assembly reference?)

// typedef BOOL (^SentryBeforeCaptureScreenshotCallback)(SentryEvent * _Nonnull);
[Internal]
delegate bool SentryBeforeCaptureScreenshotCallback (SentryEvent @event);
Expand Down Expand Up @@ -611,11 +615,11 @@
[Internal]
interface SentryFeedbackAPI
{
// -(void)showWidget __attribute__((availability(ios, introduced=13.0)));
// -(void)showWidget __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(macos_app_extension, unavailable))) __attribute__((availability(ios_app_extension, unavailable)));
[Export ("showWidget")]
void ShowWidget ();

// -(void)hideWidget __attribute__((availability(ios, introduced=13.0)));
// -(void)hideWidget __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(macos_app_extension, unavailable))) __attribute__((availability(ios_app_extension, unavailable)));
[Export ("hideWidget")]
void HideWidget ();
}
Expand Down Expand Up @@ -669,13 +673,29 @@
[NullAllowed, Export ("columnNumber", ArgumentSemantic.Copy)]
NSNumber ColumnNumber { get; set; }

// @property (copy, nonatomic) NSString * _Nullable contextLine;
[NullAllowed, Export ("contextLine")]
string ContextLine { get; set; }

// @property (copy, nonatomic) NSArray<NSString *> * _Nullable preContext;
[NullAllowed, Export ("preContext", ArgumentSemantic.Copy)]
string[] PreContext { get; set; }

// @property (copy, nonatomic) NSArray<NSString *> * _Nullable postContext;
[NullAllowed, Export ("postContext", ArgumentSemantic.Copy)]
string[] PostContext { get; set; }

// @property (copy, nonatomic) NSNumber * _Nullable inApp;
[NullAllowed, Export ("inApp", ArgumentSemantic.Copy)]
NSNumber InApp { get; set; }

// @property (copy, nonatomic) NSNumber * _Nullable stackStart;
[NullAllowed, Export ("stackStart", ArgumentSemantic.Copy)]
NSNumber StackStart { get; set; }

// @property (copy, nonatomic) NSDictionary<NSString *,id> * _Nullable vars;
[NullAllowed, Export ("vars", ArgumentSemantic.Copy)]
NSDictionary<NSString, NSObject> Vars { get; set; }
}

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

// @property (copy, nonatomic) SentryBeforeSendLogCallback _Nullable beforeSendLog;
[NullAllowed, Export ("beforeSendLog", ArgumentSemantic.Copy)]
SentryBeforeSendLogCallback BeforeSendLog { get; set; }

// @property (copy, nonatomic) SentryBeforeBreadcrumbCallback _Nullable beforeBreadcrumb;
[NullAllowed, Export ("beforeBreadcrumb", ArgumentSemantic.Copy)]
SentryBeforeBreadcrumbCallback BeforeBreadcrumb { get; set; }
Expand All @@ -1405,8 +1429,8 @@
[NullAllowed, Export ("onCrashedLastRun", ArgumentSemantic.Copy)]
SentryOnCrashedLastRunCallback OnCrashedLastRun { get; set; }

// @property (copy, nonatomic) NSArray<NSString *> * _Nullable integrations;
[NullAllowed, Export ("integrations", ArgumentSemantic.Copy)]
// @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.")));
[Export ("integrations", ArgumentSemantic.Copy)]
string[] Integrations { get; set; }

// +(NSArray<NSString *> * _Nonnull)defaultIntegrations;
Expand Down Expand Up @@ -2311,10 +2335,10 @@
[Export ("captureViewHierarchy")]
NSData CaptureViewHierarchy();

// +(void)setCurrentScreen:(NSString * _Nonnull)screenName;
// +(void)setCurrentScreen:(NSString * _Nullable)screenName;
[Static]
[Export ("setCurrentScreen:")]
void SetCurrentScreen (string screenName);
void SetCurrentScreen ([NullAllowed] string screenName);

// +(UIView * _Nonnull)sessionReplayMaskingOverlay:(id<SentryRedactOptions> _Nonnull)options;
[Static]
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<!-- Make a copy of the header files before we butcher these to suite objective sharpie -->
<MakeDir Directories="$(SentryCocoaFrameworkHeaders)" />
<ItemGroup>
<FilesToCopy Include="$(SentryCocoaFramework)\ios-arm64_arm64e\Sentry.framework\**\*" />
<FilesToCopy Include="$(SentryCocoaFramework)\ios-arm64\Sentry.framework\**\*" />
</ItemGroup>
<Copy SourceFiles="@(FilesToCopy)"
DestinationFolder="$(SentryCocoaFrameworkHeaders)%(RecursiveDir)"
Expand Down
Loading