- Updated Next.js from 15.2.4 to 16.0.3
- Updated @sentry/nextjs from 9.8.0 to 10.26.0
- Updated @sentry/cli from 1.77.3 to 2.58.2
- Updated OpenTelemetry packages to v2 for Next.js 16 compatibility
- @opentelemetry/api-logs: 0.57.2 → 0.208.0
- @opentelemetry/exporter-*: 0.57.2 → 0.208.0
- @opentelemetry/instrumentation: 0.57.2 → 0.208.0
- @opentelemetry/instrumentation-aws-sdk: 0.49.1 → 0.64.0
- @opentelemetry/resources: 1.30.1 → 2.2.0
- @opentelemetry/sdk-*: 1.30.1/0.57.2 → 2.2.0/0.208.0
- @opentelemetry/semantic-conventions: 1.30.0 → 1.38.0
- Updated @vercel/otel from 1.10.1 to 2.1.0
- Removed skipOpenTelemetrySetup option from NodeClient configs (not supported in Sentry 10.x)
- Updated Resource API call to use resourceFromAttributes (OpenTelemetry SDK v2 breaking change)
Co-authored-by: lkostrowski <9268745+lkostrowski@users.noreply.github.com>
Updates Next.js from 15.2.4 to 16.0.3 with required dependency upgrades.
Dependency Updates
Core:
OpenTelemetry SDK v2 (required by @vercel/otel 2.1.0):
@opentelemetry/instrumentation*: 0.57.2 → 0.208.0@opentelemetry/sdk-*: 1.30.1/0.57.2 → 2.2.0/0.208.0Breaking Changes Fixed
Sentry 10.x: Removed
skipOpenTelemetrySetupoption fromNodeClientconstructors (no longer exists inNodeClientOptions). Option remains available inSentry.init().const nodeClient = new NodeClient({ dsn: env.NEXT_PUBLIC_SENTRY_DSN, environment: env.ENV, - skipOpenTelemetrySetup: true, integrations: [...getDefaultIntegrationsWithoutPerformance()], });OpenTelemetry SDK v2:
Resourcechanged from class to interface. Use factory function:Compatibility
React 18.2.0 remains compatible with Next.js 16.0.3 (supports both React 18.2+ and 19.0+).
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
downloads.sentry-cdn.com/usr/local/bin/node node ./scripts/install.js(dns block)o1.ingest.sentry.io/usr/local/bin/node node /home/REDACTED/work/apps/apps/apps/stripe/node_modules/.bin/../next/dist/bin/next build(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.