Skip to content

Commit 7326fdf

Browse files
committed
feat(core)!: Remove debugIntegration
1 parent d2b23d7 commit 7326fdf

File tree

19 files changed

+4
-180
lines changed

19 files changed

+4
-180
lines changed

dev-packages/browser-integration-tests/utils/generatePlugin.ts

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const useLoader = bundleKey.startsWith('loader');
3030
const IMPORTED_INTEGRATION_CDN_BUNDLE_PATHS: Record<string, string> = {
3131
httpClientIntegration: 'httpclient',
3232
captureConsoleIntegration: 'captureconsole',
33-
debugIntegration: 'debug',
3433
rewriteFramesIntegration: 'rewriteframes',
3534
contextLinesIntegration: 'contextlines',
3635
extraErrorDataIntegration: 'extraerrordata',

docs/migration/v8-to-v9.md

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ It will be removed in a future major version.
9292

9393
## 4. Removal of Deprecated APIs (TODO)
9494

95+
### `@sentry/core` / All SDKs
96+
97+
- The `debugIntegration` has been removed. To log outgoing events, use [Hook Options](https://docs.sentry.io/platforms/javascript/configuration/options/#hooks) (`beforeSend`, `beforeSendTransaction`, ...).
98+
9599
### `@sentry/react`
96100

97101
- The `wrapUseRoutes` method has been removed. Use `wrapUseRoutesV6` or `wrapUseRoutesV7` instead depending on what version of react router you are using.

packages/astro/src/index.server.ts

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ export {
3434
createTransport,
3535
cron,
3636
dataloaderIntegration,
37-
// eslint-disable-next-line deprecation/deprecation
38-
debugIntegration,
3937
dedupeIntegration,
4038
DEFAULT_USER_INCLUDES,
4139
defaultStackParser,

packages/aws-serverless/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ export {
125125

126126
export {
127127
captureConsoleIntegration,
128-
// eslint-disable-next-line deprecation/deprecation
129-
debugIntegration,
130128
dedupeIntegration,
131129
extraErrorDataIntegration,
132130
rewriteFramesIntegration,

packages/browser/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ export { contextLinesIntegration } from './integrations/contextlines';
66

77
export {
88
captureConsoleIntegration,
9-
// eslint-disable-next-line deprecation/deprecation
10-
debugIntegration,
119
extraErrorDataIntegration,
1210
rewriteFramesIntegration,
1311
// eslint-disable-next-line deprecation/deprecation
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// eslint-disable-next-line deprecation/deprecation
2-
export { debugIntegration } from '@sentry/core';
31
export { spotlightBrowserIntegration } from '../integrations/spotlight';

packages/browser/src/utils/lazyLoadIntegration.ts

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const LazyLoadableIntegrations = {
1313
captureConsoleIntegration: 'captureconsole',
1414
contextLinesIntegration: 'contextlines',
1515
linkedErrorsIntegration: 'linkederrors',
16-
debugIntegration: 'debug',
1716
dedupeIntegration: 'dedupe',
1817
extraErrorDataIntegration: 'extraerrordata',
1918
httpClientIntegration: 'httpclient',

packages/bun/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ export {
147147

148148
export {
149149
captureConsoleIntegration,
150-
// eslint-disable-next-line deprecation/deprecation
151-
debugIntegration,
152150
dedupeIntegration,
153151
extraErrorDataIntegration,
154152
rewriteFramesIntegration,

packages/cloudflare/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ export {
7474
linkedErrorsIntegration,
7575
requestDataIntegration,
7676
extraErrorDataIntegration,
77-
// eslint-disable-next-line deprecation/deprecation
78-
debugIntegration,
7977
dedupeIntegration,
8078
rewriteFramesIntegration,
8179
captureConsoleIntegration,

packages/core/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ export { linkedErrorsIntegration } from './integrations/linkederrors';
9696
export { moduleMetadataIntegration } from './integrations/metadata';
9797
export { requestDataIntegration } from './integrations/requestdata';
9898
export { captureConsoleIntegration } from './integrations/captureconsole';
99-
// eslint-disable-next-line deprecation/deprecation
100-
export { debugIntegration } from './integrations/debug';
10199
export { dedupeIntegration } from './integrations/dedupe';
102100
export { extraErrorDataIntegration } from './integrations/extraerrordata';
103101
export { rewriteFramesIntegration } from './integrations/rewriteframes';

packages/core/src/integrations/debug.ts

-57
This file was deleted.

packages/core/test/lib/integrations/debug.test.ts

-93
This file was deleted.

packages/deno/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ export {
7171
functionToStringIntegration,
7272
requestDataIntegration,
7373
captureConsoleIntegration,
74-
// eslint-disable-next-line deprecation/deprecation
75-
debugIntegration,
7674
dedupeIntegration,
7775
extraErrorDataIntegration,
7876
rewriteFramesIntegration,

packages/google-cloud-serverless/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ export {
125125

126126
export {
127127
captureConsoleIntegration,
128-
// eslint-disable-next-line deprecation/deprecation
129-
debugIntegration,
130128
dedupeIntegration,
131129
extraErrorDataIntegration,
132130
rewriteFramesIntegration,

packages/node/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ export {
114114
captureMessage,
115115
captureFeedback,
116116
captureConsoleIntegration,
117-
// eslint-disable-next-line deprecation/deprecation
118-
debugIntegration,
119117
dedupeIntegration,
120118
extraErrorDataIntegration,
121119
rewriteFramesIntegration,

packages/remix/src/index.server.ts

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ export {
3737
createGetModuleFromFilename,
3838
createTransport,
3939
cron,
40-
// eslint-disable-next-line deprecation/deprecation
41-
debugIntegration,
4240
dedupeIntegration,
4341
DEFAULT_USER_INCLUDES,
4442
defaultStackParser,

packages/solidstart/src/server/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ export {
2929
createGetModuleFromFilename,
3030
createTransport,
3131
cron,
32-
// eslint-disable-next-line deprecation/deprecation
33-
debugIntegration,
3432
dedupeIntegration,
3533
DEFAULT_USER_INCLUDES,
3634
defaultStackParser,

packages/sveltekit/src/server/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ export {
2929
createGetModuleFromFilename,
3030
createTransport,
3131
cron,
32-
// eslint-disable-next-line deprecation/deprecation
33-
debugIntegration,
3432
dedupeIntegration,
3533
DEFAULT_USER_INCLUDES,
3634
defaultStackParser,

packages/vercel-edge/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ export {
7474
linkedErrorsIntegration,
7575
requestDataIntegration,
7676
extraErrorDataIntegration,
77-
// eslint-disable-next-line deprecation/deprecation
78-
debugIntegration,
7977
dedupeIntegration,
8078
rewriteFramesIntegration,
8179
captureConsoleIntegration,

0 commit comments

Comments
 (0)