Skip to content

Commit 462d111

Browse files
authored
build(deps): bump sentry-cocoa from 8.53.2 to 8.55.1 (#4485)
1 parent ae24bdc commit 462d111

File tree

7 files changed

+376
-242
lines changed

7 files changed

+376
-242
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
### Dependencies
2121

22-
- Reapply "Bump Cocoa SDK from v8.39.0 to v8.46.0 (#4103)" ([#4442](https://github.com/getsentry/sentry-dotnet/pull/4442))
23-
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8460)
24-
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.39.0...8.46.0)
22+
- Bump sentry-cocoa from 8.39.0 to 8.55.1 ([#4442](https://github.com/getsentry/sentry-dotnet/pull/4442), [#4483](https://github.com/getsentry/sentry-dotnet/pull/4483), [#4485](https://github.com/getsentry/sentry-dotnet/pull/4485))
23+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8551)
24+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.39.0...8.55.1)
2525
- Bump Native SDK from v0.9.1 to v0.10.1 ([#4436](https://github.com/getsentry/sentry-dotnet/pull/4436), [#4492](https://github.com/getsentry/sentry-dotnet/pull/4492))
2626
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0101)
2727
- [diff](https://github.com/getsentry/sentry-native/compare/0.9.1...0.10.1)

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.53.2
1+
version = 8.55.1
22
repo = https://github.com/getsentry/sentry-cocoa

scripts/generate-cocoa-bindings.ps1

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ if (!(Test-Path '/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/
4949
# Verify checksum
5050
Write-Output "Verifying package checksum..."
5151
$actualSha256 = (Get-FileHash -Path $downloadPath -Algorithm SHA256).Hash.ToLower()
52-
52+
5353
if ($actualSha256 -ne $expectedSha256)
5454
{
5555
Write-Error "Checksum verification failed. Expected: $expectedSha256, Actual: $actualSha256"
5656
Remove-Item $downloadPath -Force -ErrorAction SilentlyContinue
5757
exit 1
5858
}
59-
59+
6060
Write-Output "Checksum verification passed."
6161

6262
if (Test-Path $downloadPath)
@@ -108,7 +108,7 @@ foreach ($file in $filesToPatch)
108108
{
109109
$content = Get-Content -Path $file -Raw
110110
$content = $content -replace '<Sentry/([^>]+)>', '"$1"'
111-
$content = $content -replace '#import SENTRY_HEADER\(([^)]+)\)', '#import "$1.h"'
111+
$content = $content -replace '#\s*import SENTRY_HEADER\(([^)]+)\)', '#import "$1.h"'
112112
Set-Content -Path $file -Value $content
113113
}
114114
else
@@ -209,7 +209,10 @@ $Text = $Text -replace '\bISentrySerializable\b', 'SentrySerializable'
209209
$Text = $Text -replace ': INSCopying,', ':' -replace '\s?[:,] INSCopying', ''
210210

211211
# Remove iOS attributes like [iOS (13, 0)]
212-
$Text = $Text -replace '\[iOS \(13,\s?0\)\]\n?', ''
212+
$Text = $Text -replace '\[iOS \(13,\s?0\)\]\n?\s*', ''
213+
214+
# Remove Unavailable attributes like [Unavailable (PlatformName.iOSAppExtension)]
215+
$Text = $Text -replace '\[Unavailable \(PlatformName\.\w+\)\]\n?\s*', ''
213216

214217
# Fix delegate argument names
215218
$Text = $Text -replace '(NSError) arg\d', '$1 error'
@@ -219,6 +222,7 @@ $Text = $Text -replace '(SentrySamplingContext) arg\d', '$1 samplingContext'
219222
$Text = $Text -replace '(SentryBreadcrumb) arg\d', '$1 breadcrumb'
220223
$Text = $Text -replace '(SentrySpan) arg\d', '$1 span'
221224
$Text = $Text -replace '(SentryAppStartMeasurement) arg\d', '$1 appStartMeasurement'
225+
$Text = $Text -replace '(SentryLog) arg\d', '$1 log'
222226

223227
# Adjust nullable return delegates (though broken until this is fixed: https://github.com/xamarin/xamarin-macios/issues/17109)
224228
$Text = $Text -replace 'delegate \w+ Sentry(BeforeBreadcrumb|BeforeSendEvent|TracesSampler)Callback', "[return: NullAllowed]`n$&"
@@ -259,8 +263,9 @@ $Text = $Text -replace '\[Verify \(MethodToProperty\)\]\n\s*(.+) \{ get; \}', '$
259263
# We have some that accept either NSString or NSRegularExpression, which have no common type so they use NSObject
260264
$Text = $Text -replace '\s*\[Verify \(StronglyTypedNSArray\)\]\n', ''
261265

262-
# Fix broken line comment
266+
# Fix broken multi-line comments
263267
$Text = $Text -replace '(DEPRECATED_MSG_ATTRIBUTE\()\n\s*', '$1'
268+
$Text = $Text -replace '(DEPRECATED_MSG_ATTRIBUTE\([^)]*?)"\s*\r?\n\s*"', '$1 '
264269

265270
# Remove default IsEqual implementation (already implemented by NSObject)
266271
$Text = $Text -replace '(?ms)\n?^ *// [^\n]*isEqual:.*?$.*?;\n', ''

0 commit comments

Comments
 (0)