Skip to main content

Sentry SDK Upgrade

Skill Verified Active
Part of:Sentry

Upgrade the Sentry JavaScript SDK across major versions. Use when asked to upgrade Sentry, migrate to a newer version, fix deprecated Sentry APIs, or resolve breaking changes after a Sentry version bump.

Purpose

To streamline and de-risk the process of upgrading the Sentry JavaScript SDK by providing automated detection, AI-assisted migration guidance, and verification steps.

Features

  • Detects current Sentry SDK version and framework
  • Identifies necessary code and config changes for major version upgrades
  • Provides step-by-step guidance and automated fixes
  • Includes framework-specific upgrade considerations
  • Verifies build and test success after upgrade

Use Cases

  • When asked to upgrade the Sentry JavaScript SDK
  • Migrating Sentry SDK to a newer major version (e.g., v7 to v8, v8 to v9)
  • Resolving deprecated Sentry API errors after a version bump
  • Automating the process of fixing breaking changes after Sentry SDK updates

Non-Goals

  • Upgrading Sentry SDKs for languages other than JavaScript
  • Performing unrelated code refactoring
  • Modifying Sentry project configurations directly on the Sentry platform
  • Replacing the Sentry SDK entirely with a different monitoring solution

Workflow

  1. Detect current Sentry SDK version, target version, and framework
  2. Present breaking changes summary and confirm migration path
  3. Process each file with Sentry imports, applying auto-fixable changes
  4. Apply changes by category: package imports, API renames, config changes, complex patterns
  5. Update package.json versions and install dependencies
  6. Verify build and test success, then suggest final cross-links

Prerequisites

  • Node.js and a package manager (npm, yarn, or pnpm) installed
  • Project with Sentry JavaScript SDK installed

Installation

First, add the marketplace

/plugin marketplace add getsentry/sentry-for-ai
/plugin install sentry-for-ai@sentry-plugin-marketplace

Quality Score

Verified
95 /100
Analyzed about 15 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars170
LicenseMIT
Status
View Source

Similar Extensions

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

Skill
getsentry

Sentry Python SDK

100

Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

Skill
getsentry

React Modernization

99

Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features. Use when modernizing React codebases, migrating to React Hooks, or upgrading to latest React versions.

Skill
wshobson

Azure Upgrade Skill

98

Assess and upgrade Azure workloads between plans, tiers, or SKUs, or modernize Azure SDK dependencies in source code. WHEN: upgrade Consumption to Flex Consumption, upgrade Azure Functions plan, change hosting plan, function app SKU, migrate App Service to Container Apps, modernize legacy Azure Java SDKs (com.microsoft.azure to com.azure), migrate Azure Cache for Redis (ACR/ACRE) to Azure Managed Redis (AMR).

Skill
microsoft

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

Skill
Yeachan-Heo

Create Spatial Visualization

100

Create interactive maps, elevation profiles, and spatial visualizations from GPX tracks, waypoints, or route data using R (sf, leaflet, tmap) or Observable (D3, deck.gl). Covers data import, coordinate system handling, map styling, and export to HTML or image formats. Use when visualizing a planned or completed tour route on an interactive map, creating elevation profiles for hiking or cycling routes, overlaying waypoints and POIs on a basemap, or building a web-based trip dashboard.

Skill
pjt222

© 2025 SkillRepo · Find the right skill, skip the noise.