Remove deprecated APIs in the next major
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 45/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- react-native, typescript
研究方向
Start with the listed entry points: options.ts, client.ts, touchevents.tsx, index.ts, tracing/timetodisplay.tsx, and tracing/integrations/appStart.ts. Remove the deprecated APIs and options identified in the issue, then update the referenced TODOs in test/client.test.ts and test/sdk.test.ts. Check the v8 to v9 migration guide work tracked in #6735; done means the untracked removals and follow-up notes are addressed.
由索引模型根據 Issue 內容生成。
描述
Description
Several APIs and options are still exported after one or more majors, some with JSDoc that says "will be removed in the next major version". Remove them in the next major.
Items that already have their own issue are listed for reference only.
To remove (no dedicated issue)
-
initialScopeoption (options.ts). UseSentry.getGlobalScope().setTag(...)/setUser(...)instead. -
ReactNativeClient.captureUserFeedback(client.ts). UseSentry.captureFeedbackinstead. Also update the remaining test TODO intest/client.test.ts. -
ignoredDisplayNamesprop onTouchEventBoundary(touchevents.tsx). UseignoreNamesinstead. -
useThreadsForMessageStackoption (options.ts). UsebeforeSendinstead. -
bufferSizeonReactNativeTransportOptions(options.ts). Use the rootmaxQueueSizeoption instead. -
instrumentLangGraphre-export (index.ts). UseinstrumentStateGraphinstead. -
startTimeToInitialDisplaySpan/startTimeToFullDisplaySpan(tracing/timetodisplay.tsx). Use the<TimeToInitialDisplay>/<TimeToFullDisplay>components instead. - Internal
captureAppStart(tracing/integrations/appStart.ts). UseSentry.appLoaded()instead.
Tracked separately
- #5882:
_experiments.replaysSessionSampleRate/replaysOnErrorSampleRate - #6681:
_experiments.androidProfilingOptions - #6680:
enableExperimentalViewRenderer - #5932:
FeedbackWidget*aliases - #5896:
FeedbackButton,showFeedbackButton,hideFeedbackButton - #6143: TTID/TTFD
recordprop - #6001:
sendDefaultPii
Follow-up
- Remove the related
// TODO: No longer an experiment on major version.notes intest/sdk.test.ts. - Document each removal in the v8 → v9 migration guide (#6735).
- Consider a check that flags
@deprecatedAPIs older than one major, so this list doesn't build up again.
- 主要語言
- TypeScript
- 星號
- 1.8k
- 分支
- 371
- 平均合併
- 1 天 6 小時
- 30 天內合併 PR
- 103
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-react-native 的其他 Issue
-
React-Native Replays Task
難度 2/5 1-3 小時 新手友好度 88/100
getsentry/sentry-react-native#6680 · 1 則留言 ·
維護者通常 1 天內回覆
-
Improvement React-Native
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-react-native#6143 · 2 則留言 ·
維護者通常 1 天內回覆
-
React-Native Task User Feedbacks
難度 2/5 1-3 小時 新手友好度 84/100
getsentry/sentry-react-native#5932 · 2 則留言 ·
維護者通常 1 天內回覆
-
React-Native Replays Task
難度 2/5 1-3 小時 新手友好度 65/100
getsentry/sentry-react-native#5882 · 1 則留言 ·
維護者通常 1 天內回覆
-
Good First Issue React-Native Task
難度 1/5 1 小時以內 新手友好度 65/100
getsentry/sentry-react-native#5771 · 1 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-react-native 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 2 天內回覆
-
reproduced
難度 2/5 1-3 小時 新手友好度 74/100
anomalyco/opencode#62052 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
strapi/design-system#2084 ·
維護者通常 3 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆