SDK Changes Detected
The following PRs were merged to getsentry/sentry-javascript in the last 7 days that may affect the sentry-nextjs-sdk skill:
Potential Skill Gaps
-
New Config Option: PR #19604 adds a new _experimental.turbopackReactComponentAnnotation option to withSentryConfig() that is not documented in the skill:
// next.config.ts
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackReactComponentAnnotation: {
enabled: true,
ignoredComponents: ['Header', 'Footer'], // optional
},
},
});
When enabled, JSX elements are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build time. This enables:
- Searching Replays by React component name
- Component names in breadcrumbs
- Component-level performance monitoring
Requires Next.js 16+ (specifically supportsTurbopackRuleCondition is gated on Next.js ≥16). The skill currently says "15+ needed for Turbopack support" — this new feature raises the bar to 16+ for component annotation.
-
Missing Config Option: The withSentryConfig options table in the skill (SKILL.md around line 438) lists _experimental.turbopackApplicationKey and _experimental.vercelCronsMonitoring but is now missing _experimental.turbopackReactComponentAnnotation.
Skill Files to Review
skills/sentry-nextjs-sdk/SKILL.md — Phase 1 detect table (Next.js version), Phase 3 withSentryConfig options table
skills/sentry-nextjs-sdk/references/session-replay.md — component annotation enables searching replays by component name
Priority
MEDIUM — new opt-in experimental feature for Turbopack users that enhances Session Replay and error debugging with component context.
Generated by SDK Skill Drift Detector · ◷
SDK Changes Detected
The following PRs were merged to
getsentry/sentry-javascriptin the last 7 days that may affect thesentry-nextjs-sdkskill:Potential Skill Gaps
New Config Option: PR
#19604adds a new_experimental.turbopackReactComponentAnnotationoption towithSentryConfig()that is not documented in the skill:When enabled, JSX elements are annotated with
data-sentry-component,data-sentry-element, anddata-sentry-source-fileattributes at build time. This enables:Requires Next.js 16+ (specifically
supportsTurbopackRuleConditionis gated on Next.js ≥16). The skill currently says "15+ needed for Turbopack support" — this new feature raises the bar to 16+ for component annotation.Missing Config Option: The
withSentryConfigoptions table in the skill (SKILL.mdaround line 438) lists_experimental.turbopackApplicationKeyand_experimental.vercelCronsMonitoringbut is now missing_experimental.turbopackReactComponentAnnotation.Skill Files to Review
skills/sentry-nextjs-sdk/SKILL.md— Phase 1 detect table (Next.js version), Phase 3withSentryConfigoptions tableskills/sentry-nextjs-sdk/references/session-replay.md— component annotation enables searching replays by component namePriority
MEDIUM — new opt-in experimental feature for Turbopack users that enhances Session Replay and error debugging with component context.