Skip to content

Commit 4587085

Browse files
authored
Merge branch 'main' into alwx/fix/set_output
2 parents 8c3337e + 3a42337 commit 4587085

File tree

64 files changed

+2120
-2037
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2120
-2037
lines changed

.github/last-release-runid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21672561109
1+
21914154556
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "CocoaPods Token Keep-Alive"
2+
3+
on:
4+
schedule:
5+
# CocoaPods sessions currently expire after 3 days of inactivity (VALIDITY_LENGTH)
6+
# This runs every day at midnight UTC to keep the current token alive
7+
# See: https://github.com/CocoaPods/trunk.cocoapods.org/blob/a1869790e9ae2229b6985b6af4532da814202558/app/models/session.rb#L9
8+
- cron: "0 0 * * *" # Runs every day at midnight UTC
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
keepalive:
16+
name: Refresh CocoaPods Session
17+
runs-on: macos-15
18+
env:
19+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
20+
21+
steps:
22+
- name: Install CocoaPods
23+
run: gem install cocoapods
24+
- name: Refresh CocoaPods Session
25+
run: pod trunk me > /dev/null 2>&1

.github/workflows/test.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
test-destination-os: ${{matrix.test-destination-os || 'latest'}}
251251
timeout: ${{matrix.timeout || 20}}
252252
device: ${{matrix.device || ''}}
253-
scheme: ${{matrix.scheme || 'Sentry'}}
253+
scheme: "Sentry"
254254
run_on_cirrus_labs: true # We always run tests on Cirrus Labs
255255
strategy:
256256
fail-fast: false
@@ -266,7 +266,6 @@ jobs:
266266
test-destination-os: "17.5"
267267
platform: "iOS"
268268
device: "iPhone 15 Pro"
269-
scheme: "Sentry"
270269

271270
# iOS 18
272271
- name: iOS 18 Sentry
@@ -275,7 +274,6 @@ jobs:
275274
test-destination-os: "18.5"
276275
platform: "iOS"
277276
device: "iPhone 16 Pro"
278-
scheme: "Sentry"
279277

280278
# iOS 26
281279
- name: iOS 26 Sentry
@@ -284,7 +282,6 @@ jobs:
284282
test-destination-os: "26.1"
285283
platform: "iOS"
286284
device: "iPhone 17 Pro"
287-
scheme: "Sentry"
288285

289286
# We don't run the unit tests on macOS 13 cause we run them on all on GH actions available iOS versions.
290287
# The chance of missing a bug solely on tvOS 16 that doesn't occur on iOS, macOS 12 or macOS 14 is minimal.
@@ -296,23 +293,20 @@ jobs:
296293
xcode: "16.1"
297294
test-destination-os: "latest"
298295
platform: "macOS"
299-
scheme: "Sentry"
300296

301297
# macOS 15
302298
- name: macOS 15 Sentry
303299
runs-on: sequoia
304300
xcode: "16.4"
305301
test-destination-os: "latest"
306302
platform: "macOS"
307-
scheme: "Sentry"
308303

309304
# macOS 26
310305
- name: macOS 26 Sentry
311306
runs-on: tahoe
312307
xcode: "26.1.1"
313308
test-destination-os: "26.1"
314309
platform: "macOS"
315-
scheme: "Sentry"
316310

317311
# Catalyst. We test the latest version, as the risk something breaking on Catalyst and not
318312
# on an older iOS or macOS version is low.
@@ -322,14 +316,12 @@ jobs:
322316
xcode: "16.1"
323317
test-destination-os: "latest"
324318
platform: "Catalyst"
325-
scheme: "Sentry"
326319

327320
- name: Catalyst 15 Sentry
328321
runs-on: sequoia
329322
xcode: "16.4"
330323
test-destination-os: "latest"
331324
platform: "Catalyst"
332-
scheme: "Sentry"
333325

334326
## We don't run unit tests on macCatalyst 26 yet because of https://github.com/getsentry/sentry-cocoa/issues/6165.
335327

@@ -343,24 +335,13 @@ jobs:
343335
xcode: "16.4"
344336
test-destination-os: "17.5"
345337
platform: "tvOS"
346-
scheme: "Sentry"
347-
348-
# iOS 17 - SwiftUI
349-
- name: iOS 17 SentrySwiftUI
350-
runs-on: sequoia
351-
xcode: "16.4"
352-
test-destination-os: "17.5"
353-
platform: "iOS"
354-
device: "iPhone 15 Pro"
355-
scheme: "SentrySwiftUI"
356338

357339
# tvOS 18
358340
- name: tvOS 18 Sentry
359341
runs-on: sequoia
360342
xcode: "16.4"
361343
test-destination-os: "18.5"
362344
platform: "tvOS"
363-
scheme: "Sentry"
364345

365346
# tvOS 26
366347
- name: tvOS 26 Sentry
@@ -369,15 +350,13 @@ jobs:
369350
test-destination-os: "26.1"
370351
platform: "tvOS"
371352
device: "Apple TV"
372-
scheme: "Sentry"
373353

374354
# visionOS 26
375355
- name: visionOS 26 Sentry
376356
runs-on: tahoe
377357
xcode: "26.1.1"
378358
test-destination-os: "26.1"
379359
platform: "visionOS"
380-
scheme: "Sentry"
381360
device: "Apple Vision Pro"
382361
timeout: 30
383362

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
excluded:
22
- Pods
33
- Utils/**/.build
4+
- "**/build/**"
45
- DependencyManagerTests
56
- Sources/SentryCrash
67
- vendor

3rd-party-integrations/SentryCocoaLumberjack/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
],
1313
dependencies: [
1414
.package(url: "https://github.com/CocoaLumberjack/CocoaLumberjack", from: "3.8.0"),
15-
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.0")
15+
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.1")
1616
],
1717
targets: [
1818
.target(

3rd-party-integrations/SentryPulse/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
],
1313
dependencies: [
1414
.package(url: "https://github.com/kean/Pulse", from: "5.0.0"),
15-
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.0")
15+
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.1")
1616
],
1717
targets: [
1818
.target(

3rd-party-integrations/SentrySwiftLog/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
],
1313
dependencies: [
1414
.package(url: "https://github.com/apple/swift-log", from: "1.5.0"),
15-
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.0")
15+
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.1")
1616
],
1717
targets: [
1818
.target(

3rd-party-integrations/SentrySwiftyBeaver/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let package = Package(
1111
)
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.0"),
14+
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.4.1"),
1515
.package(url: "https://github.com/SwiftyBeaver/SwiftyBeaver.git", from: "2.0.0")
1616
],
1717
targets: [

CHANGELOG.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Changelog
22

3+
## 9.4.1
4+
5+
### Improvements
6+
7+
- Record client report when dropping in `beforeSendLog` (#7379)
8+
9+
### Fixes
10+
11+
- Cleanup SessionReplay when maximum duration reached (#7421)
12+
- Fix App hangs report with high durations (#7354)
13+
14+
### Deprecations
15+
16+
- The `SentrySwiftUI` module is now deprecated. All SwiftUI APIs (`SentryTracedView`, `sentryTrace()`, `sentryReplayMask()`, `sentryReplayUnmask()`) have been merged into the main `Sentry` module. You can replace `import SentrySwiftUI` with `import Sentry` in your code. The `SentrySwiftUI` module still works via a re-export but will be removed in the next major version. (#7422)
17+
318
## 9.4.0
419

520
### Breaking Changes
621

722
- `Sentry.metrics.count(..)` does not support units, therefore the API was incorrectly defined. This breaking change applies to a method marked as experimental. (#7358)
823

9-
### Improvements
10-
11-
- Record client report when dropping in `beforeSendLog` (#7379)
12-
1324
### Fixes
1425

1526
- Fix mismatch of `in_foreground` app context (#7188) The app context `in_foreground` for handled and unhandled events was sometimes different. This is fixed now by aligning the implementation and adding a new `is_active` app context field.

Package.swift

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,46 +22,38 @@ var products: [Product] = [
2222
var targets: [Target] = [
2323
.binaryTarget(
2424
name: "Sentry",
25-
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.0/Sentry.xcframework.zip",
26-
checksum: "c0af612b43a4eacab4d38bda0a65b7a310295b3daadb95df2aa8251a9f6bdf6d" //Sentry-Static
25+
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.1/Sentry.xcframework.zip",
26+
checksum: "c8249364e3c295b569ec9858a908ec0a262e56cdfe187e7e318ef2f6a88a963b" //Sentry-Static
2727
),
2828
.binaryTarget(
2929
name: "Sentry-Dynamic",
30-
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.0/Sentry-Dynamic.xcframework.zip",
31-
checksum: "05f6925c228021e9e2bbdc9b609602de18a30f8192cba88d11aafb867ae24a5e" //Sentry-Dynamic
30+
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.1/Sentry-Dynamic.xcframework.zip",
31+
checksum: "74cb68d960512fa561f2e1c1e50d2f06d52aef4cb8a17ab6da09a07bc790989c" //Sentry-Dynamic
3232
),
3333
.binaryTarget(
3434
name: "Sentry-Dynamic-WithARM64e",
35-
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.0/Sentry-Dynamic-WithARM64e.xcframework.zip",
36-
checksum: "e351c4f85ae32e9180ceea4e8a3f470b44148658ba7e119fd4df7548afedca45" //Sentry-Dynamic-WithARM64e
35+
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.1/Sentry-Dynamic-WithARM64e.xcframework.zip",
36+
checksum: "8ae29517e9fc73c5df93182df7cf192ef726c3be89cd6d7082f222430868c964" //Sentry-Dynamic-WithARM64e
3737
),
3838
.binaryTarget(
3939
name: "Sentry-WithoutUIKitOrAppKit",
40-
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.0/Sentry-WithoutUIKitOrAppKit.xcframework.zip",
41-
checksum: "993d0e3cc5530e4b22737eb4aeeae1a84ad9182e8df958160e3e8ec1a8a4b5f0" //Sentry-WithoutUIKitOrAppKit
40+
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.1/Sentry-WithoutUIKitOrAppKit.xcframework.zip",
41+
checksum: "0da743301299ea45fb1c5959f2526319bf9b6ed020c8bd7c5065ce15e5909ebf" //Sentry-WithoutUIKitOrAppKit
4242
),
4343
.binaryTarget(
4444
name: "Sentry-WithoutUIKitOrAppKit-WithARM64e",
45-
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.0/Sentry-WithoutUIKitOrAppKit-WithARM64e.xcframework.zip",
46-
checksum: "70d0b5865e9ffb7c9f1c1f5bd0511cd8ffd335da895c5ad17ebc250c9d9694b6" //Sentry-WithoutUIKitOrAppKit-WithARM64e
45+
url: "https://github.com/getsentry/sentry-cocoa/releases/download/9.4.1/Sentry-WithoutUIKitOrAppKit-WithARM64e.xcframework.zip",
46+
checksum: "1539782ee6eec23be42c1c226e81640a8c1d98e3824caccb73ee06d9ebe565fd" //Sentry-WithoutUIKitOrAppKit-WithARM64e
4747
),
4848
.target(
4949
name: "SentrySwiftUI",
50-
dependencies: ["Sentry", "SentryInternal"],
50+
dependencies: ["Sentry"],
5151
path: "Sources/SentrySwiftUI",
52-
exclude: ["SentryInternal/", "module.modulemap"],
52+
exclude: ["module.modulemap"],
5353
linkerSettings: [
5454
.linkedFramework("Sentry")
5555
]
5656
),
57-
.target(
58-
name: "SentryInternal",
59-
path: "Sources/SentrySwiftUI",
60-
sources: [
61-
"SentryInternal/"
62-
],
63-
publicHeadersPath: "SentryInternal/"
64-
),
6557
.target(
6658
name: "SentryCppHelper",
6759
path: "Sources/SentryCppHelper",

0 commit comments

Comments
 (0)