Skip to content

Commit bd37568

Browse files
authored
fix(v8): Remove deprecated tracing config (#10870)
Closes #6230 It seems this is all that is left of the deprecated tracing options!
1 parent ca90331 commit bd37568

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

packages/bun/src/types.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,6 @@ export interface BaseBunOptions {
3333
* */
3434
clientClass?: typeof BunClient;
3535

36-
// TODO (v8): Remove this in v8
37-
/**
38-
* @deprecated Moved to constructor options of the `Http` and `Undici` integration.
39-
* @example
40-
* ```js
41-
* Sentry.init({
42-
* integrations: [
43-
* new Sentry.Integrations.Http({
44-
* tracing: {
45-
* shouldCreateSpanForRequest: (url: string) => false,
46-
* }
47-
* });
48-
* ],
49-
* });
50-
* ```
51-
*/
52-
shouldCreateSpanForRequest?(this: void, url: string): boolean;
53-
5436
/** Callback that is executed when a fatal global error occurs. */
5537
onFatalError?(this: void, error: Error): void;
5638
}

packages/deno/src/types.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,6 @@ export interface BaseDenoOptions {
2424
/** Sets an optional server name (device name) */
2525
serverName?: string;
2626

27-
// TODO (v8): Remove this in v8
28-
/**
29-
* @deprecated Moved to constructor options of the `Http` and `Undici` integration.
30-
* @example
31-
* ```js
32-
* Sentry.init({
33-
* integrations: [
34-
* new Sentry.Integrations.Http({
35-
* tracing: {
36-
* shouldCreateSpanForRequest: (url: string) => false,
37-
* }
38-
* });
39-
* ],
40-
* });
41-
* ```
42-
*/
43-
shouldCreateSpanForRequest?(this: void, url: string): boolean;
44-
4527
/** Callback that is executed when a fatal global error occurs. */
4628
onFatalError?(this: void, error: Error): void;
4729
}

0 commit comments

Comments
 (0)