Skip to content

Commit e9ed5b2

Browse files
dependabot[bot]ric-olivclaude
authored
Bump sharpie.bind.tool from 26.6.0.18 to 27.0.0.722 (#5659)
* Bump sharpie.bind.tool from 26.6.0.18 to 27.0.0.722 --- updated-dependencies: - dependency-name: sharpie.bind.tool dependency-version: 27.0.0.722 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: Regenerate Cocoa bindings with Sharpie 27.0.0.722 Sharpie 27 keeps the _Nullable return type of ObjC blocks, so the BeforeSend, BeforeSendSpan, BeforeBreadcrumb and TracesSampler delegates now declare a nullable return. The binding generator emits identical C# from the old and new definitions, so the compiled bindings do not change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ricardo Colombo Oliveira <github@ricoliv.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c7a47ea commit e9ed5b2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.config/dotnet-tools.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"sharpie.bind.tool": {
6-
"version": "26.6.0.18",
6+
"version": "27.0.0.722",
77
"commands": [
88
"sharpie"
99
],

‎src/Sentry.Bindings.Cocoa/ApiDefinition.cs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,19 +1355,19 @@ interface SentryObjCOptions
13551355

13561356
// @property (copy, nonatomic) SentryObjCEvent * _Nullable (^ _Nullable)(SentryObjCEvent * _Nonnull) beforeSend;
13571357
[NullAllowed, Export("beforeSend", ArgumentSemantic.Copy)]
1358-
Func<SentryObjCEvent, SentryObjCEvent> BeforeSend { get; set; }
1358+
Func<SentryObjCEvent, SentryObjCEvent?> BeforeSend { get; set; }
13591359

13601360
// @property (copy, nonatomic) SentryObjCSpan * _Nullable (^ _Nullable)(SentryObjCSpan * _Nonnull) beforeSendSpan;
13611361
[NullAllowed, Export("beforeSendSpan", ArgumentSemantic.Copy)]
1362-
Func<SentryObjCSpan, SentryObjCSpan> BeforeSendSpan { get; set; }
1362+
Func<SentryObjCSpan, SentryObjCSpan?> BeforeSendSpan { get; set; }
13631363

13641364
// @property (nonatomic) BOOL enableLogs;
13651365
[Export("enableLogs")]
13661366
bool EnableLogs { get; set; }
13671367

13681368
// @property (copy, nonatomic) SentryObjCBreadcrumb * _Nullable (^ _Nullable)(SentryObjCBreadcrumb * _Nonnull) beforeBreadcrumb;
13691369
[NullAllowed, Export("beforeBreadcrumb", ArgumentSemantic.Copy)]
1370-
Func<SentryObjCBreadcrumb, SentryObjCBreadcrumb> BeforeBreadcrumb { get; set; }
1370+
Func<SentryObjCBreadcrumb, SentryObjCBreadcrumb?> BeforeBreadcrumb { get; set; }
13711371

13721372
// @property (copy, nonatomic) BOOL (^ _Nullable)(SentryObjCEvent * _Nonnull) beforeCaptureScreenshot;
13731373
[NullAllowed, Export("beforeCaptureScreenshot", ArgumentSemantic.Copy)]
@@ -1455,7 +1455,7 @@ interface SentryObjCOptions
14551455

14561456
// @property (copy, nonatomic) NSNumber * _Nullable (^ _Nullable)(SentryObjCSamplingContext * _Nonnull) tracesSampler;
14571457
[NullAllowed, Export("tracesSampler", ArgumentSemantic.Copy)]
1458-
Func<SentryObjCSamplingContext, NSNumber> TracesSampler { get; set; }
1458+
Func<SentryObjCSamplingContext, Foundation.NSNumber?> TracesSampler { get; set; }
14591459

14601460
// @property (readonly, nonatomic) BOOL isTracingEnabled;
14611461
[Export("isTracingEnabled")]

0 commit comments

Comments
 (0)