release

作者: sentry

發佈新的 Sentry JavaScript SDK 版本。用於準備發佈、更新變更日誌或建立發佈分支時使用。

npx skills add https://github.com/getsentry/sentry-javascript --skill release

Release Process

See docs/publishing-a-release.md for full details.

Steps

  1. Ensure you're on develop with latest changes. Stash any unsaved work with git stash -u if needed.
  2. Run yarn changelog (use yarn changelog | pbcopy to copy output).
  3. Decide on a version per semver. Check the top of CHANGELOG.md for the current version.
  4. Create branch prepare-release/VERSION off develop.
  5. Update CHANGELOG.md — add the new version entry with the changelog output. See the "Updating the Changelog" section in docs/publishing-a-release.md for formatting details. Do not remove existing entries.
  6. Commit: meta(changelog): Update changelog for VERSION
  7. Push the branch and remind the user to open a PR targeting master.
  8. If you were on a different branch, checkout back and git stash pop if needed.

First-time SDK releases

Follow docs/new-sdk-release-checklist.md. If anything doesn't match the checklist, remind the user.

Key commands

  • yarn changelog — generate changelog entries
  • yarn lint — verify code quality
  • yarn test — run test suite
  • yarn build:dev — verify build

來自 sentry 的更多技能

generate-frontend-forms
sentry
使用 Sentry 新表單系統建立表單的指南。適用於實作表單、表單欄位、驗證或自動儲存功能時使用。
official
sentry-snapshots-cocoa
sentry
完整的 Sentry Snapshots 設定,適用於 Apple/Cocoa 專案。當被要求「設定 SnapshotPreviews」、「設定 Apple 快照測試」、「上傳 Apple 快照至…」時使用。
official
architecture-review
sentry
員工級別的程式碼庫健康檢查。找出單體模組、靜默失敗、型別安全漏洞、測試覆蓋缺口,以及LLM友善性問題。
official
linear-type-labeler
sentry
根據每個問題的標題與描述內容,從 Sentry 工作區的標籤分類法中分類 Linear 問題,並套用對應的類型標籤。
official
sentry-flutter-sdk
sentry
完整的 Sentry SDK 設定,適用於 Flutter 和 Dart。當被要求「為 Flutter 加入 Sentry」、「安裝 sentry_flutter」、「在 Dart 中設定 Sentry」或設定錯誤…時使用。
official
sentry-svelte-sdk
sentry
完整的 Sentry SDK 設定,適用於 Svelte 和 SvelteKit。當被要求「將 Sentry 加入 Svelte」、「將 Sentry 加入 SvelteKit」、「安裝 @sentry/sveltekit」或進行設定時使用…
official
vercel-react-best-practices
sentry
來自 Vercel Engineering 的 React 與 Next.js 效能優化指南。此技能應在撰寫、審查或重構 React/Next.js… 時使用。
official
sentry-tanstack-start-sdk
sentry
完整的 Sentry SDK 設定,適用於 TanStack Start React。當被要求「將 Sentry 加入 TanStack Start」、「安裝 @sentry/tanstackstart-react」或設定錯誤…時使用。
official