Skip to content

Deprecation Warning for disableLogger and others should show turbopack solutions #18758

@paradoxloop

Description

@paradoxloop

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

10.32.1

Framework Version

NextJs 16.1.1

Link to Sentry event

No response

Reproduction Example/SDK Setup

The deprecation warnings during nextjs build show webpack options but not turbopack options. It would be better if it told me what the replacements in turbopack are given this is now the nextjs default.

[@sentry/nextjs] DEPRECATION WARNING: disableLogger is deprecated and will be removed in a future version. Use webpack.treeshake.removeDebugLogging instead.
[@sentry/nextjs] DEPRECATION WARNING: reactComponentAnnotation is deprecated and will be removed in a future version. Use webpack.reactComponentAnnotation instead.
▲ Next.js 16.1.1 (Turbopack)
- Environments: .env
- Experiments (use with caution):
  · clientTraceMetadata

Steps to Reproduce

Build nextjs with disableLogger used in sentry config

Expected Result

NA

Actual Result

NA

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions