Skip to content
getsentry avatar

Sentry Sdk Upgrade

Structured step-by-step Sentry JavaScript SDK migration guide covering v7 to v8 to v9 upgrades with breaking-change triage.

CCM score
64 of 100
skills.sh installs
3.2K
GitHub stars
283
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers detecting the installed @sentry/* version, framework, and deprecated APIs, then migrating file by file across major versions
  • Sorts changes into auto-fixable renames and config swaps, AI-assisted edits such as hub removal and transaction-to-span migration, and manual-review items
  • Includes verification steps: matching package versions, passing tsc --noEmit and build, plus a temporary test error to confirm reporting
  • Designed for projects bumping @sentry/* packages across major versions, including Next.js, Nuxt, SvelteKit, Express, and NestJS

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-sdk-upgrade -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > Workflow > SDK Upgrade

Sentry JavaScript SDK Upgrade

Upgrade the Sentry JavaScript SDK across major versions with AI-guided migration.

Invoke This Skill When

  • User asks to "upgrade Sentry" or "migrate Sentry SDK"
  • User mentions deprecated Sentry APIs or breaking changes after a version bump
  • User wants to move from v7 to v8, v8 to v9, or any major version jump
  • User encounters errors after updating @sentry/* package versions
  • User asks about Sentry migration guides or changelogs

Phase 1: Detect

Identify the current Sentry SDK version, target version, and framework.

1.1 Read package.json

cat package.json | grep -E '"@sentry/' | head -20

Extract:

  • All @sentry/* packages and their current versions
  • The current major version (e.g., 7.x, 8.x, 9.x)

1.2 Detect Framework

Check package.json dependencies for framework indicators:

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Frontend & UI Code, Debugging
First seen
Apr 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Sdk Upgrade

More Frontend & UI Code