Bump to sentry-cocoa 10
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp, ios, objective-c
- Lĩnh vực
- backend-api-design, mobile-dev, testing
Hướng nghiên cứu
Start with the dependency update PR at deps/modules/sentry-cocoa, then read scripts/patch-cocoa-bindings.cs, the Cocoa and Android ApplyDataCollection implementations, and integration-test/ios.Tests.ps1. Check the API and defaults against sentry-cocoa's CHANGELOG_V10.md and develop-docs/KSCRASH_DOWNSTREAM_AUDIT.md for the released version. Done means resolving each listed API, crash behavior, and default decision, then raising SentryCocoaSupportedMajor to 10 and shipping in a .NET major.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
sentry-cocoa 10 isn't released yet. When it is, the dependency-update workflow opens a deps/modules/sentry-cocoa PR for it. That PR will fail to build: Sentry.Bindings.Cocoa stops when the submodule's major doesn't match SentryCocoaSupportedMajor, which is 9 (#5960). Do the steps below on that PR, then raise SentryCocoaSupportedMajor to 10. A new Cocoa major breaks the .NET SDK too, so it ships in a .NET major.
The list comes from the V10 build of sentry-cocoa 9.35.0 (SDK_V10), before 10.0 was released. Check it against sentry-cocoa's CHANGELOG_V10.md and develop-docs/KSCRASH_DOWNSTREAM_AUDIT.md at the released version.
Data collection
sendDefaultPii is gone, replaced by dataCollection. #5960 closes #5436 by forwarding only UserInfo, because 9.x has nothing else to map onto.
- Add
SentryObjCDataCollection*toKeepInterfacesinscripts/patch-cocoa-bindings.cs. Don't dropSentryObjCOptions.DataCollectionwithRemoveProperty. - In the Cocoa
SentrySdk.ApplyDataCollection, map the resolvedDataCollectionontonativeOptions.DataCollection, asDataCollectionExtensions.ApplyTodoes on Android. Cocoa has no GraphQL category. - Always set
UserInfo, even whenDataCollectionisn't configured. Cocoa'suserInfodefaults totrue, so leaving it unset turns on IP inference and the installation-ID user for apps withSendDefaultPii = false.
Other API changes
-
crashedLastRunandonCrashedLastRunare gone. UselastRunStatusandonLastRunStatusDetermined, which 9.x already has. -
enableAppHangTrackingis gone, with no replacement, soSentryOptions.Native.EnableAppHangTrackingneeds a decision. - Session Replay's
maskAllTextandmaskAllImagesmove tooptions.privacy. -
SentryObjCBreadcrumb.datais read-only.ToCocoaBreadcrumbhas to set each value withsetDataValue:forKey:.
KSCrash
- KSCrash replaces SentryCrash. Keep
scripts/sentry-cocoa.xcconfig, because KSCrash's managed signal handling still readsSENTRY_CRASH_MANAGED_RUNTIME. - Run the crash cases in
integration-test/ios.Tests.ps1. sentry-cocoa found duplicateSIGABRTevents and spuriousEXC_BAD_ACCESSevents for .NET (getsentry/sentry-cocoa#8797).
Changed defaults
For each, decide whether to keep Cocoa's new default or set the 9.x one:
- MetricKit (see #5950)
- Scope persistence (see #5929)
- The installation ID as the fallback user ID
- File manager swizzling
- Ngôn ngữ chính
- C#
- Star
- 775
- Fork
- 262
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 118
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS sampleCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởState: Needs Discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-dotnet#6071 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Có thể đã có người làm @pcbeingused33 đã nhận hôm nay. Đang mởState: Needs Discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-dotnet#6039 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
.NET Platform: Android Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
getsentry/sentry-dotnet#6020 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Move the Blazor WebAssembly sample off the deprecated DevServerCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở.NET Framework: Blazor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
getsentry/sentry-dotnet#5906 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs MSBuild Needs Docs Update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-dotnet#5691 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/sentry-dotnet
Issue tương tự
-
In-car displays show 0 km/h and P while the AV drivesCó thể đã có người làm @bazilinskyy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bazilinskyy/coupled-sim#366 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BaryoDev/umbraco-pwa#196 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
microsoft/fluentui-blazor#5688 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug flaky lsp-transport small
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày