Skip to content

Commit 3add6cd

Browse files
authored
feat(node)!: Remove processThreadBreadcrumbIntegration (#14666)
Resolves #14277
1 parent 32a1cff commit 3add6cd

File tree

6 files changed

+1
-17
lines changed

6 files changed

+1
-17
lines changed

Diff for: dev-packages/e2e-tests/test-applications/node-exports-test-app/scripts/consistentExports.ts

-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ const DEPENDENTS: Dependent[] = [
5050
ignoreExports: [
5151
// not supported in bun:
5252
'NodeClient',
53-
// Bun doesn't emit the required diagnostics_channel events
54-
'processThreadBreadcrumbIntegration',
5553
'childProcessIntegration',
5654
],
5755
},

Diff for: packages/astro/src/index.server.ts

-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ export {
9797
parameterize,
9898
postgresIntegration,
9999
prismaIntegration,
100-
// eslint-disable-next-line deprecation/deprecation
101-
processThreadBreadcrumbIntegration,
102100
childProcessIntegration,
103101
redisIntegration,
104102
requestDataIntegration,

Diff for: packages/aws-serverless/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ export {
110110
setupNestErrorHandler,
111111
postgresIntegration,
112112
prismaIntegration,
113-
// eslint-disable-next-line deprecation/deprecation
114-
processThreadBreadcrumbIntegration,
115113
childProcessIntegration,
116114
hapiIntegration,
117115
setupHapiErrorHandler,

Diff for: packages/google-cloud-serverless/src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ export {
123123
zodErrorsIntegration,
124124
profiler,
125125
amqplibIntegration,
126-
// eslint-disable-next-line deprecation/deprecation
127-
processThreadBreadcrumbIntegration,
128126
childProcessIntegration,
129127
} from '@sentry/node';
130128

Diff for: packages/node/src/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export { tediousIntegration } from './integrations/tracing/tedious';
3434
export { genericPoolIntegration } from './integrations/tracing/genericPool';
3535
export { dataloaderIntegration } from './integrations/tracing/dataloader';
3636
export { amqplibIntegration } from './integrations/tracing/amqplib';
37-
// eslint-disable-next-line deprecation/deprecation
38-
export { processThreadBreadcrumbIntegration, childProcessIntegration } from './integrations/childProcess';
37+
export { childProcessIntegration } from './integrations/childProcess';
3938

4039
export { SentryContextManager } from './otel/contextManager';
4140
export { generateInstrumentOnce } from './otel/instrument';

Diff for: packages/node/src/integrations/childProcess.ts

-7
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ export const childProcessIntegration = defineIntegration((options: Options = {})
3939
};
4040
});
4141

42-
/**
43-
* Capture breadcrumbs for child processes and worker threads.
44-
*
45-
* @deprecated Use `childProcessIntegration` integration instead. Functionally they are the same. `processThreadBreadcrumbIntegration` will be removed in the next major version.
46-
*/
47-
export const processThreadBreadcrumbIntegration = childProcessIntegration;
48-
4942
function captureChildProcessEvents(child: ChildProcess, options: Options): void {
5043
let hasExited = false;
5144
let data: Record<string, unknown> | undefined;

0 commit comments

Comments
 (0)