From c4646f349743712ef41b5ed8fdae47223deb2bbe Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Thu, 1 Oct 2026 19:27:26 +0200 Subject: [PATCH 1/2] chore(deps): Bump @sentry/conventions to 0.25.0 Co-Authored-By: GPT-6 --- dev-packages/browser-integration-tests/package.json | 2 +- .../consistent-sampling/default/test.ts | 5 +++-- .../tracesSampler-precedence/test.ts | 7 ++++--- .../linked-traces-streamed/custom-trace/test.ts | 6 +++--- .../linked-traces-streamed/default/test.ts | 6 +++--- .../linked-traces-streamed/interaction-spans/test.ts | 4 ++-- .../linked-traces-streamed/meta/test.ts | 4 ++-- .../negatively-sampled/test.ts | 4 ++-- .../linked-traces-streamed/session-storage/test.ts | 4 ++-- .../consistent-sampling/default/test.ts | 10 +++------- .../linked-traces/custom-trace/test.ts | 6 +++--- .../linked-traces/default/test.ts | 6 +++--- .../linked-traces/interaction-spans/test.ts | 4 ++-- .../linked-traces/meta/test.ts | 4 ++-- .../linked-traces/negatively-sampled/test.ts | 4 ++-- .../linked-traces/session-storage/test.ts | 4 ++-- .../cloudflare-integration-tests/package.json | 2 +- dev-packages/node-integration-tests/package.json | 2 +- packages/angular/package.json | 2 +- packages/astro/package.json | 2 +- packages/aws-serverless/package.json | 2 +- packages/browser-utils/package.json | 2 +- packages/browser/package.json | 2 +- packages/browser/src/tracing/linkedTraces.ts | 5 ++--- packages/bun/package.json | 2 +- packages/cloudflare/package.json | 2 +- packages/cloudflare/src/utils/traceLinks.ts | 5 +++-- packages/core/package.json | 2 +- packages/core/src/semanticAttributes.ts | 1 + packages/core/src/types/link.ts | 3 ++- packages/core/test/lib/utils/spanUtils.test.ts | 12 ++++++------ packages/deno/package.json | 2 +- packages/effect/package.json | 2 +- packages/elysia/package.json | 2 +- packages/ember/package.json | 2 +- packages/google-cloud-serverless/package.json | 2 +- packages/hono/package.json | 2 +- packages/nestjs/package.json | 2 +- packages/nextjs/package.json | 2 +- .../nextjs/src/server/useCacheInstrumentation.ts | 4 ++-- packages/nitro/package.json | 2 +- packages/node/package.json | 2 +- packages/nuxt/package.json | 2 +- packages/opentelemetry/package.json | 2 +- packages/react-router/package.json | 2 +- packages/react/package.json | 2 +- packages/remix/package.json | 2 +- packages/server-utils/package.json | 2 +- packages/solid/package.json | 2 +- packages/solidstart/package.json | 2 +- packages/svelte/package.json | 2 +- packages/sveltekit/package.json | 2 +- packages/tanstackstart-react/package.json | 2 +- packages/vue/package.json | 2 +- yarn.lock | 8 ++++---- 55 files changed, 91 insertions(+), 91 deletions(-) diff --git a/dev-packages/browser-integration-tests/package.json b/dev-packages/browser-integration-tests/package.json index 30ef30f621b4..b89832568047 100644 --- a/dev-packages/browser-integration-tests/package.json +++ b/dev-packages/browser-integration-tests/package.json @@ -63,7 +63,7 @@ "@sentry/browser": "11.2.0", "@sentry/replay": "11.2.0", "@sentry/opentelemetry": "11.2.0", - "@sentry/conventions": "0.24.0", + "@sentry/conventions": "0.25.0", "@supabase/supabase-js": "2.109.0", "axios": "1.20.0", "babel-loader": "^10.1.1", diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/default/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/default/test.ts index 70b6f2c66fd4..3ef7ddefca6d 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/default/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/default/test.ts @@ -1,5 +1,6 @@ +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { expect } from '@playwright/test'; -import { extractTraceparentData, parseBaggageHeader, SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { extractTraceparentData, parseBaggageHeader } from '@sentry/core'; import { sentryTest } from '../../../../../../utils/fixtures'; import { shouldSkipTracingTest, waitForTracingHeadersOnUrl } from '../../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpanEnvelope } from '../../../../../../utils/spanUtils'; @@ -66,7 +67,7 @@ sentryTest.describe('When `consistentTraceSampling` is `true`', () => { span_id: customTraceSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts index 32d62350d6b4..858449cf0efa 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts @@ -1,7 +1,8 @@ +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { expect } from '@playwright/test'; import { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '@sentry/browser'; import type { ClientReport } from '@sentry/core'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; + import { sentryTest } from '../../../../../../utils/fixtures'; import { envelopeRequestParser, @@ -103,7 +104,7 @@ sentryTest.describe('When `consistentTraceSampling` is `true`', () => { expect(customTrace2Span.links).toEqual([ { attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, @@ -136,7 +137,7 @@ sentryTest.describe('When `consistentTraceSampling` is `true`', () => { expect(navigationSpan.links).toEqual([ { attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/custom-trace/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/custom-trace/test.ts index 571f4a6d8b5e..7bb7a5546910 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/custom-trace/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/custom-trace/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -27,7 +27,7 @@ sentryTest('manually started custom traces are linked correctly in the chain', a span_id: pageloadSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, @@ -52,7 +52,7 @@ sentryTest('manually started custom traces are linked correctly in the chain', a span_id: customTraceSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/default/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/default/test.ts index c8d7af8246be..5fb19844a3ce 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/default/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/default/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -33,7 +33,7 @@ sentryTest("navigation spans link back to previous trace's root span", async ({ span_id: pageloadSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, @@ -52,7 +52,7 @@ sentryTest("navigation spans link back to previous trace's root span", async ({ span_id: navigation1Span.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/interaction-spans/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/interaction-spans/test.ts index 1e5666e116e8..bfc974fc953a 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/interaction-spans/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/interaction-spans/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -52,7 +52,7 @@ sentryTest( span_id: pageloadSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/meta/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/meta/test.ts index 141e5a9505dc..732547954091 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/meta/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/meta/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -37,7 +37,7 @@ sentryTest( span_id: pageloadSpan.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/negatively-sampled/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/negatively-sampled/test.ts index 8b9b3d044dce..4bc05cb95737 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/negatively-sampled/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/negatively-sampled/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -26,7 +26,7 @@ sentryTest('includes a span link to a previously negatively sampled span', async span_id: expect.stringMatching(/[a-f\d]{16}/), sampled: false, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/session-storage/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/session-storage/test.ts index 5ed1c8021d4a..81d1d31e10e3 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/session-storage/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/session-storage/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { shouldSkipTracingTest } from '../../../../../utils/helpers'; import { getSpanOp, waitForStreamedSpan } from '../../../../../utils/spanUtils'; @@ -30,7 +30,7 @@ sentryTest('adds link between hard page reloads when opting into sessionStorage' span_id: pageload1Span.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace', }, diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/test.ts index 6787b23e6db8..4d13371bc693 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/test.ts @@ -1,10 +1,6 @@ +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { expect } from '@playwright/test'; -import { - extractTraceparentData, - parseBaggageHeader, - SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, - SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, -} from '@sentry/core'; +import { extractTraceparentData, parseBaggageHeader, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '@sentry/core'; import { sentryTest } from '../../../../../../utils/fixtures'; import { eventAndTraceHeaderRequestParser, @@ -76,7 +72,7 @@ sentryTest.describe('When `consistentTraceSampling` is `true`', () => { span_id: customTraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/custom-trace/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/custom-trace/test.ts index b8d4f43cf03b..c4637dc25018 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/custom-trace/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/custom-trace/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -31,7 +31,7 @@ sentryTest('manually started custom traces are linked correctly in the chain', a span_id: pageloadTraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); @@ -54,7 +54,7 @@ sentryTest('manually started custom traces are linked correctly in the chain', a span_id: customTrace1Context?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/default/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/default/test.ts index 96302d731e5e..7399c2bb26c3 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/default/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/default/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -43,7 +43,7 @@ sentryTest("navigation spans link back to previous trace's root span", async ({ span_id: pageloadTraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); @@ -58,7 +58,7 @@ sentryTest("navigation spans link back to previous trace's root span", async ({ span_id: navigation1TraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/interaction-spans/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/interaction-spans/test.ts index f8d01ab4a9d7..24a1e2c59072 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/interaction-spans/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/interaction-spans/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -61,7 +61,7 @@ sentryTest( span_id: pageloadTraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/meta/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/meta/test.ts index 123f44e8db85..a232a5a0f6e7 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/meta/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/meta/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -44,7 +44,7 @@ sentryTest( span_id: pageloadTraceContext?.span_id, sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/negatively-sampled/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/negatively-sampled/test.ts index b84aefb8887d..894fe0d5929a 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/negatively-sampled/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/negatively-sampled/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -28,7 +28,7 @@ sentryTest('includes a span link to a previously negatively sampled span', async span_id: expect.stringMatching(/[a-f\d]{16}/), sampled: false, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]); diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/session-storage/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/session-storage/test.ts index 19f34eef73f3..f7e0d288de5b 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/session-storage/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/session-storage/test.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE } from '@sentry/core'; +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { sentryTest } from '../../../../../utils/fixtures'; import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../../utils/helpers'; @@ -31,7 +31,7 @@ sentryTest('adds link between hard page reloads when opting into sessionStorage' trace_id: pageload1TraceContext?.trace_id, span_id: pageload1TraceContext?.span_id, sampled: true, - attributes: { [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace' }, + attributes: { [SENTRY_LINK_TYPE]: 'previous_trace' }, }, ]); diff --git a/dev-packages/cloudflare-integration-tests/package.json b/dev-packages/cloudflare-integration-tests/package.json index 162e0a8136d9..2482616b6aa9 100644 --- a/dev-packages/cloudflare-integration-tests/package.json +++ b/dev-packages/cloudflare-integration-tests/package.json @@ -33,7 +33,7 @@ "@cloudflare/workers-types": "^4.20260426.0", "@cloudflare/workers-types-v5": "npm:@cloudflare/workers-types@5.20260710.1", "@sentry-internal/test-utils": "11.2.0", - "@sentry/conventions": "0.24.0", + "@sentry/conventions": "0.25.0", "eslint-plugin-regexp": "^3.1.0", "prisma": "6.15.0", "vite": "^8.3.1", diff --git a/dev-packages/node-integration-tests/package.json b/dev-packages/node-integration-tests/package.json index df82e5d1bc93..5cdcc184745e 100644 --- a/dev-packages/node-integration-tests/package.json +++ b/dev-packages/node-integration-tests/package.json @@ -108,7 +108,7 @@ }, "devDependencies": { "@opentelemetry/instrumentation-http": "0.220.0", - "@sentry/conventions": "0.24.0", + "@sentry/conventions": "0.25.0", "@sentry-internal/test-utils": "11.2.0", "@types/amqplib": "^0.10.5", "@types/node-cron": "^3.0.11", diff --git a/packages/angular/package.json b/packages/angular/package.json index 284741e566f6..09cfab24f655 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -23,7 +23,7 @@ "dependencies": { "@sentry/browser": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "tslib": "^2.4.1" }, "devDependencies": { diff --git a/packages/astro/package.json b/packages/astro/package.json index 8fa161700399..4da67d9aca52 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -53,7 +53,7 @@ "dependencies": { "@sentry/browser": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/node": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", "@sentry/server-utils": "11.2.0", diff --git a/packages/aws-serverless/package.json b/packages/aws-serverless/package.json index 4a23683cbe79..9ff9fe7c4f0f 100644 --- a/packages/aws-serverless/package.json +++ b/packages/aws-serverless/package.json @@ -56,7 +56,7 @@ "access": "public" }, "dependencies": { - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", diff --git a/packages/browser-utils/package.json b/packages/browser-utils/package.json index 946dfa09567e..257f4e6cfa8d 100644 --- a/packages/browser-utils/package.json +++ b/packages/browser-utils/package.json @@ -34,7 +34,7 @@ }, "dependencies": { "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "web-vitals": "^6.1.1" }, "scripts": { diff --git a/packages/browser/package.json b/packages/browser/package.json index a86649cfa040..40b01b363e36 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -39,7 +39,7 @@ }, "dependencies": { "@sentry/browser-utils": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/feedback": "11.2.0", "@sentry/replay": "11.2.0", "@sentry/replay-canvas": "11.2.0", diff --git a/packages/browser/src/tracing/linkedTraces.ts b/packages/browser/src/tracing/linkedTraces.ts index 178305da0016..741212cf2065 100644 --- a/packages/browser/src/tracing/linkedTraces.ts +++ b/packages/browser/src/tracing/linkedTraces.ts @@ -5,12 +5,11 @@ import { getRootSpan, SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, - SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, spanToJSON, } from '@sentry/core'; import { DEBUG_BUILD } from '../debug-build'; import { WINDOW } from '../exports'; -import { SENTRY_OP } from '@sentry/conventions/attributes'; +import { SENTRY_LINK_TYPE, SENTRY_OP } from '@sentry/conventions/attributes'; export interface PreviousTraceInfo { /** @@ -188,7 +187,7 @@ export function addPreviousTraceSpanLink( span.addLink({ context: previousTraceSpanCtx, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }); diff --git a/packages/bun/package.json b/packages/bun/package.json index a8834c56f014..f21a1d8fa017 100644 --- a/packages/bun/package.json +++ b/packages/bun/package.json @@ -43,7 +43,7 @@ }, "dependencies": { "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/node": "11.2.0", "@sentry/server-utils": "11.2.0" }, diff --git a/packages/cloudflare/package.json b/packages/cloudflare/package.json index 4440768bd111..e7b9cfc28d13 100644 --- a/packages/cloudflare/package.json +++ b/packages/cloudflare/package.json @@ -53,7 +53,7 @@ }, "dependencies": { "@opentelemetry/api": "^1.9.1", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/opentelemetry": "11.2.0", "@sentry/server-utils": "11.2.0", diff --git a/packages/cloudflare/src/utils/traceLinks.ts b/packages/cloudflare/src/utils/traceLinks.ts index c016243d02c4..805d8058483b 100644 --- a/packages/cloudflare/src/utils/traceLinks.ts +++ b/packages/cloudflare/src/utils/traceLinks.ts @@ -1,7 +1,8 @@ +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import type { DurableObjectStorage } from '@cloudflare/workers-types'; import { TraceFlags } from '@opentelemetry/api'; import type { SpanLink } from '@sentry/core'; -import { debug, getActiveSpan, SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, spanIsSampled } from '@sentry/core'; +import { debug, getActiveSpan, spanIsSampled } from '@sentry/core'; import { DEBUG_BUILD } from '../debug-build'; /** Storage key prefix for the span context that links consecutive method invocations */ @@ -74,7 +75,7 @@ export function buildSpanLinks(storedContext: StoredSpanContext): SpanLink[] { traceFlags: storedContext.sampled ? TraceFlags.SAMPLED : TraceFlags.NONE, }, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ]; diff --git a/packages/core/package.json b/packages/core/package.json index 3524a2a51c11..c67dc3007ccc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -94,6 +94,6 @@ "zod": "^3.24.1" }, "dependencies": { - "@sentry/conventions": "^0.24.0" + "@sentry/conventions": "^0.25.0" } } diff --git a/packages/core/src/semanticAttributes.ts b/packages/core/src/semanticAttributes.ts index 40d8e009a293..4c1ce43c42cd 100644 --- a/packages/core/src/semanticAttributes.ts +++ b/packages/core/src/semanticAttributes.ts @@ -116,6 +116,7 @@ export const SEMANTIC_ATTRIBUTE_URL_FULL = 'url.full'; * - `next_trace`: The span links to the frontend root span of the next trace. (Not set by the SDK) * * Other values may be set as appropriate. + * @deprecated Use `SENTRY_LINK_TYPE` from `@sentry/conventions/attributes` instead. * @see https://develop.sentry.dev/sdk/telemetry/traces/span-links/#link-types */ export const SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE = 'sentry.link.type'; diff --git a/packages/core/src/types/link.ts b/packages/core/src/types/link.ts index 9a117258200b..574d7b6337cf 100644 --- a/packages/core/src/types/link.ts +++ b/packages/core/src/types/link.ts @@ -1,10 +1,11 @@ +import type { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import type { SpanAttributeValue, SpanContextData } from './span'; type SpanLinkAttributes = { /** * Setting the link type to 'previous_trace' helps the Sentry product linking to the previous trace */ - 'sentry.link.type'?: string | 'previous_trace'; + [SENTRY_LINK_TYPE]?: string | 'previous_trace'; } & Record; export interface SpanLink { diff --git a/packages/core/test/lib/utils/spanUtils.test.ts b/packages/core/test/lib/utils/spanUtils.test.ts index c31d4e432b97..a71b8732f866 100644 --- a/packages/core/test/lib/utils/spanUtils.test.ts +++ b/packages/core/test/lib/utils/spanUtils.test.ts @@ -1,3 +1,4 @@ +import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { beforeEach, describe, expect, it, test } from 'vitest'; import { convertSpanLinksForEnvelope, @@ -6,7 +7,6 @@ import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE, - SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, SentryNonRecordingSpan, SentrySpan, setCurrentClient, @@ -498,7 +498,7 @@ describe('spanToStaticSpanJSON', () => { trace_id: 'trace1', sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ], @@ -598,7 +598,7 @@ describe('spanToStaticSpanJSON', () => { traceFlags: TRACE_FLAG_SAMPLED, }, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ], @@ -627,7 +627,7 @@ describe('spanToStaticSpanJSON', () => { trace_id: 'trace1', sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ], @@ -693,7 +693,7 @@ describe('spanToStaticSpanJSON', () => { trace_id: 'trace1', sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: 'previous_trace', + [SENTRY_LINK_TYPE]: 'previous_trace', }, }, ], @@ -722,7 +722,7 @@ describe('spanToStaticSpanJSON', () => { trace_id: 'trace1', sampled: true, attributes: { - [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: { type: 'string', value: 'previous_trace' }, + [SENTRY_LINK_TYPE]: { type: 'string', value: 'previous_trace' }, }, }, ], diff --git a/packages/deno/package.json b/packages/deno/package.json index 854e8bd2d386..57bcedb91703 100644 --- a/packages/deno/package.json +++ b/packages/deno/package.json @@ -28,7 +28,7 @@ ], "dependencies": { "@opentelemetry/api": "^1.9.1", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", "@sentry/server-utils": "11.2.0" diff --git a/packages/effect/package.json b/packages/effect/package.json index 04a532ceba25..b04c7c72e252 100644 --- a/packages/effect/package.json +++ b/packages/effect/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@sentry/browser": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0" }, diff --git a/packages/elysia/package.json b/packages/elysia/package.json index c230bf482f06..7241be71f888 100644 --- a/packages/elysia/package.json +++ b/packages/elysia/package.json @@ -34,7 +34,7 @@ "dependencies": { "@sentry/bun": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0" + "@sentry/conventions": "^0.25.0" }, "peerDependencies": { "elysia": "^1.4.0" diff --git a/packages/ember/package.json b/packages/ember/package.json index 3a916153229e..60a75afb08dc 100644 --- a/packages/ember/package.json +++ b/packages/ember/package.json @@ -45,7 +45,7 @@ "@embroider/addon-shim": "^1.10.2", "@embroider/macros": "^1.20.2", "@sentry/browser": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "decorator-transforms": "^2.3.2" }, diff --git a/packages/google-cloud-serverless/package.json b/packages/google-cloud-serverless/package.json index 1af87d31b945..02cfe5320b59 100644 --- a/packages/google-cloud-serverless/package.json +++ b/packages/google-cloud-serverless/package.json @@ -36,7 +36,7 @@ "access": "public" }, "dependencies": { - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", diff --git a/packages/hono/package.json b/packages/hono/package.json index 9599e0735040..2b31930606a0 100644 --- a/packages/hono/package.json +++ b/packages/hono/package.json @@ -74,7 +74,7 @@ "dependencies": { "@opentelemetry/api": "^1.9.1", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/server-utils": "11.2.0" }, "peerDependencies": { diff --git a/packages/nestjs/package.json b/packages/nestjs/package.json index 07baaee4f367..c12ea6bde10c 100644 --- a/packages/nestjs/package.json +++ b/packages/nestjs/package.json @@ -44,7 +44,7 @@ "access": "public" }, "dependencies": { - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/server-utils": "11.2.0" diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index fb210e6dfac8..2b2177b39a33 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -76,7 +76,7 @@ "@rollup/plugin-commonjs": "28.0.1", "@sentry/browser-utils": "11.2.0", "@sentry/bundler-plugins": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/opentelemetry": "11.2.0", diff --git a/packages/nextjs/src/server/useCacheInstrumentation.ts b/packages/nextjs/src/server/useCacheInstrumentation.ts index 399b00722877..ac0a32373790 100644 --- a/packages/nextjs/src/server/useCacheInstrumentation.ts +++ b/packages/nextjs/src/server/useCacheInstrumentation.ts @@ -6,6 +6,7 @@ import { CACHE_OPERATION, CACHE_TAGS, CACHE_TTL, + SENTRY_LINK_TYPE, SENTRY_ORIGIN, } from '@sentry/conventions/attributes'; import { CACHE_GET, CACHE_PUT } from '@sentry/conventions/op'; @@ -20,7 +21,6 @@ import { hasSpanStreamingEnabled, hasSpansEnabled, LRUMap, - SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, spanIsSampled, startSpan, timestampInSeconds, @@ -184,7 +184,7 @@ function linkCacheOrigin(span: Span, originKey: string, entry: unknown): void { if (origin && origin.entryTimestamp === timestamp) { span.addLink({ context: origin.context, - attributes: { [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: CACHE_ORIGIN_LINK_TYPE }, + attributes: { [SENTRY_LINK_TYPE]: CACHE_ORIGIN_LINK_TYPE }, }); } } diff --git a/packages/nitro/package.json b/packages/nitro/package.json index 8b5cb7d83e2c..530b17fd36c3 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -36,7 +36,7 @@ }, "dependencies": { "@sentry/bundler-plugins": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", diff --git a/packages/node/package.json b/packages/node/package.json index d449acfef618..8a7526570a31 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -78,7 +78,7 @@ }, "dependencies": { "@opentelemetry/api": "^1.9.1", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/opentelemetry": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index b8bb5eb1570f..14e100f637ec 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -56,7 +56,7 @@ "@nuxt/kit": "^4.5.2", "@sentry/browser": "11.2.0", "@sentry/cloudflare": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/bundler-plugins": "11.2.0", diff --git a/packages/opentelemetry/package.json b/packages/opentelemetry/package.json index 7a0462fc93b5..018bd403c64c 100644 --- a/packages/opentelemetry/package.json +++ b/packages/opentelemetry/package.json @@ -27,7 +27,7 @@ "access": "public" }, "dependencies": { - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0" }, "peerDependencies": { diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 92802dc6477c..ac1d3c05160f 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -52,7 +52,7 @@ "dependencies": { "@opentelemetry/api": "^1.9.1", "@sentry/browser": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/react": "11.2.0", diff --git a/packages/react/package.json b/packages/react/package.json index 9b0db4e74711..fcc90a1fc7ae 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -59,7 +59,7 @@ "dependencies": { "@sentry/browser": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0" + "@sentry/conventions": "^0.25.0" }, "peerDependencies": { "react": "17.x || 18.x || 19.x", diff --git a/packages/remix/package.json b/packages/remix/package.json index aa6114626354..cc806185cf02 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -77,7 +77,7 @@ "@remix-run/router": "^1.23.4", "@sentry/browser": "11.2.0", "@sentry/bundler-plugins": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/react": "11.2.0", diff --git a/packages/server-utils/package.json b/packages/server-utils/package.json index ca5a49171ea6..0b007583bbb7 100644 --- a/packages/server-utils/package.json +++ b/packages/server-utils/package.json @@ -89,7 +89,7 @@ }, "dependencies": { "@opentelemetry/api": "^1.9.1", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0" }, "devDependencies": { diff --git a/packages/solid/package.json b/packages/solid/package.json index 2f351e908b40..9446d62923f9 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -56,7 +56,7 @@ "dependencies": { "@sentry/browser": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0" + "@sentry/conventions": "^0.25.0" }, "peerDependencies": { "@solidjs/router": ">=0.13.4 <2.0.0-0", diff --git a/packages/solidstart/package.json b/packages/solidstart/package.json index 02dd5a5a67c5..4797918df22d 100644 --- a/packages/solidstart/package.json +++ b/packages/solidstart/package.json @@ -87,7 +87,7 @@ "@sentry/server-utils": "11.2.0", "@sentry/solid": "11.2.0", "@sentry/bundler-plugins": "11.2.0", - "@sentry/conventions": "0.24.0" + "@sentry/conventions": "0.25.0" }, "devDependencies": { "@solidjs/router": "^1.0.0", diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 366f38fb4cd1..e9e17c934a0b 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@sentry/browser": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "magic-string": "~0.30.0" }, diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index d1d290d618f6..9b7fb5b56bab 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -73,7 +73,7 @@ "@opentelemetry/api": "^1.9.1", "@sentry/cloudflare": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/node": "11.2.0", "@sentry/server-runtime-injection": "11.2.0", "@sentry/server-utils": "11.2.0", diff --git a/packages/tanstackstart-react/package.json b/packages/tanstackstart-react/package.json index 9b583fab5387..589380f2cb94 100644 --- a/packages/tanstackstart-react/package.json +++ b/packages/tanstackstart-react/package.json @@ -53,7 +53,7 @@ "dependencies": { "@opentelemetry/api": "^1.9.1", "@sentry/browser-utils": "11.2.0", - "@sentry/conventions": "^0.24.0", + "@sentry/conventions": "^0.25.0", "@sentry/core": "11.2.0", "@sentry/node": "11.2.0", "@sentry/react": "11.2.0", diff --git a/packages/vue/package.json b/packages/vue/package.json index 5c370f0d9ef9..aa524f3cd0fd 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -46,7 +46,7 @@ "dependencies": { "@sentry/browser": "11.2.0", "@sentry/core": "11.2.0", - "@sentry/conventions": "^0.24.0" + "@sentry/conventions": "^0.25.0" }, "peerDependencies": { "@tanstack/vue-router": "^1.64.0", diff --git a/yarn.lock b/yarn.lock index 17a92d7ec2ed..dc1e6437f698 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7988,10 +7988,10 @@ "@angular-devkit/schematics" "14.2.13" jsonc-parser "3.1.0" -"@sentry/conventions@0.24.0", "@sentry/conventions@^0.24.0": - version "0.24.0" - resolved "https://sfw.security.sentry.io/npm/@sentry/conventions/-/conventions-0.24.0.tgz#b65931682a7150ffe7914e34af908b7afb2b87ab" - integrity sha512-pmmF2mLy7A23z8gnLRG87lYu4SSPIBColtfqu9cfkh1omn/0CI3w0/AqZ/uf/VGAtM/wJMN61J58Ks/IWBCHpQ== +"@sentry/conventions@0.25.0", "@sentry/conventions@^0.25.0": + version "0.25.0" + resolved "https://sfw.security.sentry.io/npm/@sentry/conventions/-/conventions-0.25.0.tgz#62c276fe8c608e533a42f0dba2ebc58c62b97b14" + integrity sha512-7SouCAX3qx+AzLsxb6gbl3dKVWNhp2wFjdYQ/T90sGwqPPQUoZVA9YwsWwvx07hqcCiSqFW9mUAzyUftASnuhQ== "@sentry/node-cpu-profiler@^2.4.4": version "2.4.4" From 6570e79144ca2beedf7b46eeb0fb433ab667483f Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Thu, 1 Oct 2026 19:30:45 +0200 Subject: [PATCH 2/2] style: Remove stray blank line between imports Co-Authored-By: GPT-6 --- .../consistent-sampling/tracesSampler-precedence/test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts index 858449cf0efa..37e3b204fe88 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces-streamed/consistent-sampling/tracesSampler-precedence/test.ts @@ -2,7 +2,6 @@ import { SENTRY_LINK_TYPE } from '@sentry/conventions/attributes'; import { expect } from '@playwright/test'; import { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '@sentry/browser'; import type { ClientReport } from '@sentry/core'; - import { sentryTest } from '../../../../../../utils/fixtures'; import { envelopeRequestParser,