Skip to content
Back to skills

2120 Major Version Migrations 9f3a0a04

ASecurity

**Breaking Changes:**

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
developmentjavascripttypescriptpythonjavabashflaskapiperformance

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 2120-major-version-migrations_9f3a0a04 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2120 Major Version Migrations 9f3a0a04?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2120 Major Version Migrations 9f3a0a04
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2120-major-version-migrations-9f3a0a04/badge)](https://www.skillsdirectory.com/skills/tools-only-2120-major-version-migrations-9f3a0a04)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Major Version Migrations

## Major Version Migrations

### v7 to v8 (JavaScript)

**Breaking Changes:**

1. **Init Options Renamed**
```typescript
// v7
Sentry.init({
  tracesSampleRate: 1.0,
  replaysOnErrorSampleRate: 1.0,
});

// v8
Sentry.init({
  tracesSampleRate: 1.0,
  replaysOnErrorSampleRate: 1.0, // Same, but check all options
});
```

2. **Removed Integrations**
```typescript
// v7 - Manual integration
import { BrowserTracing } from '@sentry/tracing';

// v8 - Built-in
Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration(), // New API
  ],
});
```

3. **Hub Changes**
```typescript
// v7
const hub = Sentry.getCurrentHub();
hub.captureException(error);

// v8
Sentry.captureException(error);
// Or use scopes
Sentry.withScope((scope) => {
  scope.setTag('key', 'value');
  Sentry.captureException(error);
});
```

### v6 to v7 (JavaScript)

**Breaking Changes:**

1. **Package Structure**
```bash
# v6 - Single package
npm install @sentry/browser

# v7 - Modular packages
npm install @sentry/browser @sentry/tracing
```

2. **Performance API**
```typescript
// v6
Sentry.startTransaction({ name: 'test' });

// v7
const transaction = Sentry.startTransaction({
  name: 'test',
  op: 'task',
});
```

### Python SDK Migration

```python
# v1 to v2 changes
# Old
from sentry_sdk import capture_exception

# New (same, but check integrations)
import sentry_sdk
sentry_sdk.capture_exception(error)

# Integration changes
# Old
from sentry_sdk.integrations.flask import FlaskIntegration

# New (same API, updated internals)
from sentry_sdk.integrations.flask import FlaskIntegration
```

Files in this skill

  • README.md1.2 KB
  • skill.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.