Skip to content

Commit 356bc15

Browse files
committed
chore: Update v10 todos to v11
1 parent 815fc27 commit 356bc15

File tree

14 files changed

+16
-16
lines changed

14 files changed

+16
-16
lines changed

packages/angular/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function getDefaultIntegrations(_options: BrowserOptions = {}): Integrati
3232
// - https://github.com/getsentry/sentry-javascript/issues/5417#issuecomment-1453407097
3333
// - https://github.com/getsentry/sentry-javascript/issues/2744
3434
return [
35-
// TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
35+
// TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
3636
// eslint-disable-next-line deprecation/deprecation
3737
inboundFiltersIntegration(),
3838
functionToStringIntegration(),

packages/browser/src/integrations/breadcrumbs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const _breadcrumbsIntegration = ((options: Partial<BreadcrumbsOptions> = {}) =>
7373
return {
7474
name: INTEGRATION_NAME,
7575
setup(client) {
76-
// TODO(v10): Remove this functionality and use `consoleIntegration` from @sentry/core instead.
76+
// TODO(v11): Remove this functionality and use `consoleIntegration` from @sentry/core instead.
7777
if (_options.console) {
7878
addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));
7979
}

packages/browser/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
2626
* `getDefaultIntegrations` but with an adjusted set of integrations.
2727
*/
2828
return [
29-
// TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
29+
// TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
3030
// eslint-disable-next-line deprecation/deprecation
3131
inboundFiltersIntegration(),
3232
functionToStringIntegration(),

packages/browser/src/tracing/linkedTraces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export function addPreviousTraceSpanLink(
193193

194194
// TODO: Remove this once EAP can store span links. We currently only set this attribute so that we
195195
// can obtain the previous trace information from the EAP store. Long-term, EAP will handle
196-
// span links and then we should remove this again. Also throwing in a TODO(v10), to remind us
196+
// span links and then we should remove this again. Also throwing in a TODO(v11), to remind us
197197
// to check this at v10 time :)
198198
span.setAttribute(
199199
PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,

packages/bun/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
3030
// We return a copy of the defaultIntegrations here to avoid mutating this
3131
return [
3232
// Common
33-
// TODO(v10): Replace with eventFiltersIntegration once we remove the deprecated `inboundFiltersIntegration`
33+
// TODO(v11): Replace with eventFiltersIntegration once we remove the deprecated `inboundFiltersIntegration`
3434
// eslint-disable-next-line deprecation/deprecation
3535
inboundFiltersIntegration(),
3636
functionToStringIntegration(),

packages/cloudflare/src/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ export function getDefaultIntegrations(options: CloudflareOptions): Integration[
2525
// The Dedupe integration should not be used in workflows because we want to
2626
// capture all step failures, even if they are the same error.
2727
...(options.enableDedupe === false ? [] : [dedupeIntegration()]),
28-
// TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
28+
// TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
2929
// eslint-disable-next-line deprecation/deprecation
3030
inboundFiltersIntegration(),
3131
functionToStringIntegration(),
3232
linkedErrorsIntegration(),
3333
fetchIntegration(),
34-
// TODO(v10): the `include` object should be defined directly in the integration based on `sendDefaultPii`
34+
// TODO(v11): the `include` object should be defined directly in the integration based on `sendDefaultPii`
3535
requestDataIntegration(sendDefaultPii ? undefined : { include: { cookies: false } }),
3636
consoleIntegration(),
3737
];

packages/core/src/integrations/requestdata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type RequestDataIntegrationOptions = {
2121
include?: RequestDataIncludeOptions;
2222
};
2323

24-
// TODO(v10): Change defaults based on `sendDefaultPii`
24+
// TODO(v11): Change defaults based on `sendDefaultPii`
2525
const DEFAULT_INCLUDE: RequestDataIncludeOptions = {
2626
cookies: true,
2727
data: true,

packages/deno/src/integrations/breadcrumbs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const _breadcrumbsIntegration = ((options: Partial<BreadcrumbsOptions> = {}) =>
4242
return {
4343
name: INTEGRATION_NAME,
4444
setup(client) {
45-
// TODO(v10): Remove this functionality and use `consoleIntegration` from @sentry/core instead.
45+
// TODO(v11): Remove this functionality and use `consoleIntegration` from @sentry/core instead.
4646
if (_options.console) {
4747
addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));
4848
}

packages/deno/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
2424
// We return a copy of the defaultIntegrations here to avoid mutating this
2525
return [
2626
// Common
27-
// TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
27+
// TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
2828
// eslint-disable-next-line deprecation/deprecation
2929
inboundFiltersIntegration(),
3030
functionToStringIntegration(),

packages/node-core/src/integrations/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const _nodeContextIntegration = ((options: ContextOptions = {}) => {
6161

6262
const updatedContext = _updateContext(await cachedContext);
6363

64-
// TODO(v10): conditional with `sendDefaultPii` here?
64+
// TODO(v11): conditional with `sendDefaultPii` here?
6565
event.contexts = {
6666
...event.contexts,
6767
app: { ...updatedContext.app, ...event.contexts?.app },

0 commit comments

Comments
 (0)