Back to skills
SKILL.md
2120 Major Version Migrations 9f3a0a04
ASecurity**Breaking Changes:**
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added May 31, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 2 files and shows the line behind each finding
npx -y skills add tools-only/X-Skills --skill 2120-major-version-migrations_9f3a0a04 --agent claude-codeAre you the author of 2120 Major Version Migrations 9f3a0a04?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2120-major-version-migrations-9f3a0a04)# 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.md
- skill.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.