Commit bc52005
feat: enable swiftAsyncStacktraces by default in v10 (#8718)
* feat: enable swiftAsyncStacktraces by default in v10
The feature was marked stable in v9.22.0. Enabling by default
gives users stitched async stack traces out of the box. This
impacts grouping, so it's gated to the major version.
* chore: update changelog PR reference
* fix: update LoadValidator error message (#8710)
* perf(session-replay): Prefer in-memory frames for live encode (#8636)
* perf(session-replay): Prefer in-memory frames for live encode
Keep scaled UIImages for live video encode while still writing PNGs to
disk for crash durability. Encode falls back to disk only for frames
recovered after a crash, avoiding PNG readback on the streaming path.
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
* meta: Link changelog entry to #8636
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
* ref(session-replay): Keep frame image loading off the data struct
Move disk fallback out of SentryReplayFrame into image(for:) so the
frame type stays a pure value without file I/O.
* ref(session-replay): Load frame images through file manager
Co-Authored-By: Phil Niedertscheider <phil.niedertscheider@sentry.io>
* ci: Retrigger flaky full CI jobs
Re-run after unrelated visionOS timeout, UI runner flake, and
cancelled tvOS unit job on the previous head.
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
Co-Authored-By: Itay Brenner <itay.brenner@sentry.io>
Co-Authored-By: Phil Niedertscheider <phil.niedertscheider@sentry.io>
* Update CHANGELOG with new features and improvements
Added experimental option for UIViewController swizzling and improved Session Replay memory management.
* ref(session-replay): Inline image(atPath:) static method
Remove the thin static wrapper and use UIImage(contentsOfFile:)
directly at call sites. Keep the original variable name in
SentryVideoFrameProcessor to minimize diff.
* ref(session-replay): Keep original variable name in OnDemandReplay
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
Co-authored-by: Phil Niedertscheider <phil.niedertscheider@sentry.io>
Co-authored-by: Itay Brenner <itay.brenner@sentry.io>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
* test: warn on clearTestState() usage via SwiftLint (#8706)
* test: warn on clearTestState() usage via SwiftLint
Add a warning-level custom rule flagging clearTestState() call
sites so new usages get a second look. Existing call sites are
suppressed with a note to reconsider if touched.
* test: reword clearTestState() lint suppression note
* test: suppress avoid_clear_test_state in NetworkTrackerIntegrationTestServerTests
---------
Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com>
* fix: stamp sentry-cocoa version in 3rd-party archives (#8699)
* fix: stamp sentry-cocoa version in 3rd-party archives
The 3rd-party integration archives were built before Craft
bumped the version, so the tagged Package.swift contained
the previous release's sentry-cocoa dependency.
* test: assert version stamp in archive CI
* fix: improve tar command in create_tgz_from_staging function
Updated the tar command in the create_tgz_from_staging function to use tr for newline handling, ensuring compatibility with file names containing special characters. This change enhances the robustness of the archive creation process.
* feat: enable logging by default in v10 (#8717)
* feat: enable logging by default in v10
The logging spec v2.0.0 requires enableLogs to default to
true. No logs are emitted unless the user explicitly calls
SentrySDK.logger or enables a logging integration.
* chore: update changelog PR reference
* feat: enable swiftAsyncStacktraces by default in v10
The feature was marked stable in v9.22.0. Enabling by default
gives users stitched async stack traces out of the box. This
impacts grouping, so it's gated to the major version.
* chore: update changelog PR reference
* test: update default features for v10 async stacktraces
Include swiftAsyncStacktraces in testDefaultFeatures expected
list under SDK_V10, matching the new default.
* chore: remove duplicate changelog entry
* test: expect SwiftAsync integration in v10 tests
---------
Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
Co-authored-by: Phil Niedertscheider <phil.niedertscheider@sentry.io>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: Philipp Süß <philipp.hofmann@sentry.io>1 parent 87dbc38 commit bc52005
6 files changed
Lines changed: 37 additions & 4 deletions
File tree
- Sources/Swift
- Tests/SentryTests
- Helper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
649 | | - | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
650 | 656 | | |
651 | 657 | | |
652 | 658 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2160 | 2160 | | |
2161 | 2161 | | |
2162 | 2162 | | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
2163 | 2166 | | |
2164 | 2167 | | |
2165 | 2168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
799 | 802 | | |
| 803 | + | |
800 | 804 | | |
801 | 805 | | |
802 | 806 | | |
| |||
1249 | 1253 | | |
1250 | 1254 | | |
1251 | 1255 | | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
1252 | 1259 | | |
| 1260 | + | |
1253 | 1261 | | |
1254 | 1262 | | |
1255 | 1263 | | |
1256 | 1264 | | |
1257 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1258 | 1269 | | |
| 1270 | + | |
1259 | 1271 | | |
1260 | 1272 | | |
1261 | 1273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
0 commit comments