Skip to content

Commit 33233fc

Browse files
committed
Merge remote-tracking branch 'origin/main' into philprime/disable-live-activity-widgets
2 parents ec84a09 + 0a1493d commit 33233fc

File tree

3 files changed

+95
-12
lines changed

3 files changed

+95
-12
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Fast PR Checks
2+
# Description: Runs a subset of checks for PRs to provide faster feedback.
3+
# Tests run here should run within a couple minutes.
4+
# Any job here, should reuse a workflow that is already used in the complete workflows, no new jobs should be added here.
5+
6+
on:
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
files-changed:
15+
name: Detect File Changes
16+
runs-on: ubuntu-latest
17+
outputs:
18+
# Use the same file filters than the complete workflows
19+
run_release_for_prs: ${{ steps.changes.outputs.run_release_for_prs }}
20+
run_unit_tests_for_prs: ${{ steps.changes.outputs.run_unit_tests_for_prs }}
21+
steps:
22+
- uses: actions/checkout@v5
23+
- name: Get changed files
24+
id: changes
25+
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
26+
with:
27+
token: ${{ github.token }}
28+
filters: .github/file-filters.yml
29+
30+
fast-xcframework-slices:
31+
name: Fast XCFramework Slice (Sentry Dynamic, iOS arm64)
32+
if: needs.files-changed.outputs.run_release_for_prs == 'true'
33+
needs: files-changed
34+
uses: ./.github/workflows/build-xcframework-variant-slices.yml
35+
with:
36+
name: Sentry
37+
suffix: -Dynamic
38+
macho-type: mh_dylib
39+
variant-id: sentry-dynamic
40+
sdk-list: '["iphoneos"]'
41+
42+
fast-unit-tests:
43+
name: Fast Unit Tests (iOS 18)
44+
if: needs.files-changed.outputs.run_unit_tests_for_prs == 'true'
45+
needs: files-changed
46+
uses: ./.github/workflows/unit-test-common.yml
47+
secrets: inherit
48+
with:
49+
name: iOS 18 Sentry
50+
runs-on: macos-15
51+
timeout: 20
52+
should_skip: false
53+
xcode: "16.4"
54+
test-destination-os: "18.4"
55+
platform: iOS
56+
device: iPhone 16 Pro
57+
scheme: Sentry
58+
59+
fast-checks-required:
60+
needs: [files-changed, fast-xcframework-slices, fast-unit-tests]
61+
name: Fast PR Checks
62+
if: always()
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: Check for failures
66+
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
67+
run: |
68+
echo "One of the fast check jobs has failed." && exit 1

.github/workflows/testflight.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ jobs:
4646
with:
4747
bundler-cache: true
4848

49+
# As the DistributionSample project uses local SPM, xcodebuild resolves SPM dependencies for all
50+
# sample projects. The Package.swift references binary targets, which in release branch commits points
51+
# to non-existent download URLs. This creates chicken-egg failures when building these sample apps for
52+
# a release commit build. When building these sample apps for a release commit, xcodebuild tries to
53+
# resolve all SPM dependencies, including the binary targets pointing to these non-existent URLs. The
54+
# sample projects don't use SPM for including Sentry. Only the DistributionSample uses local SPM.
55+
# Therefore, we only keep the local DistributionSample reference in the Package.swift as a workaround.
56+
- name: Only keep distribution lib and target in Package.swift
57+
run: ./scripts/prepare-package.sh --only-keep-distribution true
58+
4959
- run: make init-ci-build
5060
- run: make xcode-ci
5161

CHANGELOG.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 8.57.2
3+
## Unreleased
44

55
### Breaking Changes
66

@@ -42,6 +42,20 @@
4242
- App hang tracking is now automatically disabled for Widgets, Live Activities, Intent Extensions, and Action Extensions (#6670).
4343
These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
4444

45+
### Fixes
46+
47+
- Fixes warnings about minimum OS version being lower than Xcode supported version (#5591)
48+
- Fixes a crash when setting configureUserFeedback to nil (#6642)
49+
- Fix issue where the thread that generated an event could be missing when more than 100 threads are running (#6377)
50+
- Fix wrong Frame Delay when becoming active, which lead to false reported app hangs when the app moves to the foreground after being in the background (#6381)
51+
- Rename `SentryMechanismMeta` to `SentryMechanismContext` to resolve Kotlin Multi-Platform build errors (#6607)
52+
53+
### Improvements
54+
55+
- Replace deprecated SCNetworkReachability with NWPathMonitor (#6019)
56+
- Expose attachment type on `SentryAttachment` for downstream SDKs (like sentry-godot) (#6521)
57+
- Increase attachment max size to 100MB (#6537)
58+
4559
### Features
4660

4761
- Add SentryDistribution as Swift Package Manager target (#6149)
@@ -53,13 +67,11 @@
5367
- Add `sentry.replay_id` attribute to logs ([#6515](https://github.com/getsentry/sentry-cocoa/pull/6515))
5468
- Structured Logs: Add `SentrySwiftLog` Integration (#6286)
5569

70+
## 8.57.2
71+
5672
### Fixes
5773

58-
- Fixes warnings about minimum OS version being lower than Xcode supported version (#5591)
5974
- Fix rendering method for fast view rendering (#6360)
60-
- Fixes a crash when setting configureUserFeedback to nil (#6642)
61-
- Fix issue where the thread that generated an event could be missing when more than 100 threads are running (#6377)
62-
- Fix wrong Frame Delay when becoming active, which lead to false reported app hangs when the app moves to the foreground after being in the background (#6381)
6375
- Session Replay masking improvements (#6292)
6476
- Fix SwiftUI.List background decoration view causing incorrect clipping of screen content
6577
- Fix sublayer rendering order by properly sorting by zPosition with insertion order as tie-breaker
@@ -69,18 +81,11 @@
6981
- Add layer class filtering for views used in multiple contexts (e.g., SwiftUI._UIGraphicsView)
7082
- Improve transform calculations for views with custom anchor points
7183
- Fix axis-aligned transform detection for optimized opaque view clipping
72-
- Rename `SentryMechanismMeta` to `SentryMechanismContext` to resolve Kotlin Multi-Platform build errors (#6607)
7384
- Fix conversion of frame rate to time interval for session replay (#6623)
7485
- Change Session Replay masking to prevent semi‑transparent full‑screen overlays from clearing redactions by making opaque clipping stricter (#6629)
7586
Views now need to be fully opaque (view and layer backgrounds with alpha == 1) and report opaque to qualify for clip‑out.
7687
This avoids leaks at the cost of fewer clip‑out optimizations.
7788

78-
### Improvements
79-
80-
- Replace deprecated SCNetworkReachability with NWPathMonitor (#6019)
81-
- Expose attachment type on `SentryAttachment` for downstream SDKs (like sentry-godot) (#6521)
82-
- Increase attachment max size to 100MB (#6537)
83-
8489
## 8.57.1
8590

8691
### Fixes

0 commit comments

Comments
 (0)