Skip to content

Commit 9fb1f8a

Browse files
logaretmJPeer264
authored andcommitted
chore: added deprecation notices for v11
1 parent 7acc2c8 commit 9fb1f8a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

packages/nextjs/src/config/types.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ export type SentryBuildOptions = {
491491
* A list of strings representing the names of components to ignore. The plugin will not apply `data-sentry` annotations on the DOM element for these components.
492492
*/
493493
ignoredComponents?: string[];
494-
};
494+
}; // TODO(v11): remove this option
495495

496496
/**
497497
* Options to be passed directly to the Sentry Webpack Plugin (`@sentry/webpack-plugin`) that ships with the Sentry Next.js SDK.
@@ -500,7 +500,7 @@ export type SentryBuildOptions = {
500500
* Please note that this option is unstable and may change in a breaking way in any release.
501501
* @deprecated Use `webpack.unstable_sentryWebpackPluginOptions` instead.
502502
*/
503-
unstable_sentryWebpackPluginOptions?: SentryWebpackPluginOptions;
503+
unstable_sentryWebpackPluginOptions?: SentryWebpackPluginOptions; // TODO(v11): remove this option
504504

505505
/**
506506
* Include Next.js-internal code and code from dependencies when uploading source maps.
@@ -522,19 +522,19 @@ export type SentryBuildOptions = {
522522
* Defaults to `true`.
523523
* @deprecated Use `webpack.autoInstrumentServerFunctions` instead.
524524
*/
525-
autoInstrumentServerFunctions?: boolean;
525+
autoInstrumentServerFunctions?: boolean; // TODO(v11): remove this option
526526

527527
/**
528528
* Automatically instrument Next.js middleware with error and performance monitoring. Defaults to `true`.
529529
* @deprecated Use `webpack.autoInstrumentMiddleware` instead.
530530
*/
531-
autoInstrumentMiddleware?: boolean;
531+
autoInstrumentMiddleware?: boolean; // TODO(v11): remove this option
532532

533533
/**
534534
* Automatically instrument components in the `app` directory with error monitoring. Defaults to `true`.
535535
* @deprecated Use `webpack.autoInstrumentAppDirectory` instead.
536536
*/
537-
autoInstrumentAppDirectory?: boolean;
537+
autoInstrumentAppDirectory?: boolean; // TODO(v11): remove this option
538538

539539
/**
540540
* Exclude certain serverside API routes or pages from being instrumented with Sentry during build-time. This option
@@ -567,7 +567,7 @@ export type SentryBuildOptions = {
567567
*
568568
* @deprecated Use `webpack.treeshake.removeDebugLogging` instead.
569569
*/
570-
disableLogger?: boolean;
570+
disableLogger?: boolean; // TODO(v11): remove this option
571571

572572
/**
573573
* Automatically create cron monitors in Sentry for your Vercel Cron Jobs if configured via `vercel.json`.
@@ -576,7 +576,7 @@ export type SentryBuildOptions = {
576576
*
577577
* @deprecated Use `webpack.automaticVercelMonitors` instead.
578578
*/
579-
automaticVercelMonitors?: boolean;
579+
automaticVercelMonitors?: boolean; // TODO(v11): remove this option
580580

581581
/**
582582
* When an error occurs during release creation or sourcemaps upload, the plugin will call this function.
@@ -607,7 +607,7 @@ export type SentryBuildOptions = {
607607
*
608608
* @default false
609609
*/
610-
disableManifestInjection?: boolean;
610+
disableManifestInjection?: boolean; // TODO(v11): remove this option
611611

612612
/**
613613
* Options for the route manifest injection feature.
@@ -669,7 +669,7 @@ export type SentryBuildOptions = {
669669
*
670670
* @default false
671671
*/
672-
disableSentryWebpackConfig?: boolean;
672+
disableSentryWebpackConfig?: boolean; // TODO(v11): remove this option
673673

674674
/**
675675
* When true (and Next.js >= 15), use the runAfterProductionCompile hook to consolidate sourcemap uploads

0 commit comments

Comments
 (0)