Skip to content

fix: Remove by accident exported convention - #24542

Merged
JPeer264 merged 1 commit into
developfrom
jp/export-from-sentry-conventions
Sep 21, 2026
Merged

JPeer264 merged 1 commit into
developfrom
jp/export-from-sentry-conventions

Conversation

@JPeer264

Copy link
Copy Markdown
Member

No description provided.

@JPeer264 JPeer264 self-assigned this Sep 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.07 kB - -
@sentry/browser - with treeshaking flags 27.34 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.24 kB - -
@sentry/browser (incl. Tracing) 50.55 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 50.56 kB - -
@sentry/browser (incl. Tracing, Profiling) 53.55 kB - -
@sentry/browser (incl. Tracing, Replay) 90.09 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 79.18 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 94.78 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 107.76 kB - -
@sentry/browser (incl. Feedback) 46.6 kB - -
@sentry/browser (incl. sendFeedback) 34.13 kB - -
@sentry/browser (incl. FeedbackAsync) 39.25 kB - -
@sentry/browser (incl. Metrics) 30.08 kB - -
@sentry/browser (incl. Logs) 30.34 kB - -
@sentry/browser (incl. Metrics & Logs) 31 kB - -
@sentry/react 30.82 kB - -
@sentry/react (incl. Tracing) 52.86 kB - -
@sentry/vue 36.33 kB - -
@sentry/vue (incl. Tracing) 52.84 kB - -
@sentry/svelte 29.1 kB - -
CDN Bundle 30.77 kB -0.07% -19 B 🔽
CDN Bundle (incl. Tracing) 51.06 kB -0.04% -20 B 🔽
CDN Bundle (incl. Logs, Metrics) 33.02 kB -0.07% -20 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) 53.05 kB -0.04% -21 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) 73.71 kB -0.03% -22 B 🔽
CDN Bundle (incl. Tracing, Replay) 88.61 kB -0.03% -22 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 90.54 kB -0.03% -20 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 94.66 kB -0.03% -20 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 96.67 kB -0.03% -22 B 🔽
CDN Bundle - uncompressed 91.07 kB -0.04% -32 B 🔽
CDN Bundle (incl. Tracing) - uncompressed 152.44 kB -0.03% -32 B 🔽
CDN Bundle (incl. Logs, Metrics) - uncompressed 97.64 kB -0.04% -32 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 158.4 kB -0.03% -32 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 227.05 kB -0.02% -32 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 272.01 kB -0.02% -32 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 277.95 kB -0.02% -32 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 285.72 kB -0.02% -32 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 291.65 kB -0.02% -32 B 🔽
@sentry/nextjs (client) 55.19 kB - -
@sentry/sveltekit (client) 50.98 kB - -
@sentry/core/server 39.97 kB - -
@sentry/core/browser 13.63 kB - -
@sentry/node 133.33 kB +0.02% +19 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 82.15 kB - -
@sentry/node - without tracing 89.92 kB +0.03% +21 B 🔺
@sentry/node - without channel injection 112.12 kB +0.02% +16 B 🔺
@sentry/aws-serverless 98.19 kB +0.02% +19 B 🔺
@sentry/cloudflare (withSentry) - minified 204.67 kB - -
@sentry/cloudflare (withSentry) 509.34 kB - -

View base workflow run

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Comment thread MIGRATION.md
Span attributes now use the shared `@sentry/conventions` package under the hood.
The deprecated `semanticAttributes` re-export was removed. Import span attribute constants from `@sentry/core` directly.
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use `SENTRY_SEGMENT_NAME_SOURCE` (`sentry.segment.name.source`) instead.
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use the `sentry.segment.name.source` attribute instead. The SDK does not export a constant for it, import `SENTRY_SEGMENT_NAME_SOURCE` from `@sentry/conventions/attributes` or use the string.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd omit the conventions package here as long as we haven't decided if we want users to use that package.

Suggested change
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use the `sentry.segment.name.source` attribute instead. The SDK does not export a constant for it, import `SENTRY_SEGMENT_NAME_SOURCE` from `@sentry/conventions/attributes` or use the string.
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use the `sentry.segment.name.source` attribute instead and make sure to only set it on segment/root spans.

@JPeer264
JPeer264 marked this pull request as ready for review September 21, 2026 12:05
@JPeer264
JPeer264 requested review from a team as code owners September 21, 2026 12:05
@JPeer264
JPeer264 requested review from isaacs, logaretm, mydea, nicohrubec and s1gr1d and removed request for a team September 21, 2026 12:05
@JPeer264
JPeer264 merged commit 7151a17 into develop Sep 21, 2026
322 of 324 checks passed
@JPeer264
JPeer264 deleted the jp/export-from-sentry-conventions branch September 21, 2026 12:06
@JPeer264
JPeer264 restored the jp/export-from-sentry-conventions branch September 21, 2026 12:07
JPeer264 added a commit that referenced this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants