Releases: getsentry/sentry-javascript
9.28.0
Important Changes
- feat(nestjs): Stop creating spans for
TracingInterceptor
(#16501)
With this change we stop creating spans for TracingInterceptor
as this interceptor only serves as an internal helper and adds noise for the user.
- feat(node): Update vercel ai spans as per new conventions (#16497)
This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
- fix(sveltekit): Export
vercelAIIntegration
from@sentry/node
(#16496)
Work in this release was contributed by @agrattan0820. Thank you for your contribution!
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.46 KB |
@sentry/browser (incl. Tracing, Replay) | 74.68 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
@sentry/browser (incl. Feedback) | 39.78 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.41 KB |
@sentry/vue | 27.69 KB |
@sentry/vue (incl. Tracing) | 39.27 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.88 KB |
CDN Bundle (incl. Tracing) | 37.63 KB |
CDN Bundle (incl. Tracing, Replay) | 72.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB |
CDN Bundle - uncompressed | 72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB |
@sentry/nextjs (client) | 41.03 KB |
@sentry/sveltekit (client) | 37.93 KB |
@sentry/node | 146.9 KB |
@sentry/node - without tracing | 96.03 KB |
@sentry/aws-serverless | 121.19 KB |
9.27.0
- feat(node): Expand how vercel ai input/outputs can be set (#16455)
- feat(node): Switch to new semantic conventions for Vercel AI (#16476)
- feat(react-router): Add component annotation plugin (#16472)
- feat(react-router): Export wrappers for server loaders and actions (#16481)
- fix(browser): Ignore unrealistically long INP values (#16484)
- fix(react-router): Conditionally add
ReactRouterServer
integration (#16470)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.46 KB |
@sentry/browser (incl. Tracing, Replay) | 74.68 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
@sentry/browser (incl. Feedback) | 39.77 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.41 KB |
@sentry/vue | 27.69 KB |
@sentry/vue (incl. Tracing) | 39.27 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.88 KB |
CDN Bundle (incl. Tracing) | 37.63 KB |
CDN Bundle (incl. Tracing, Replay) | 72.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB |
CDN Bundle - uncompressed | 72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB |
@sentry/nextjs (client) | 41.03 KB |
@sentry/sveltekit (client) | 37.93 KB |
@sentry/node | 146.75 KB |
@sentry/node - without tracing | 96.03 KB |
@sentry/aws-serverless | 121.19 KB |
9.26.0
- feat(react-router): Re-export functions from
@sentry/react
(#16465) - fix(nextjs): Skip re instrumentating on generate phase of experimental build mode (#16410)
- fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#16473)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.44 KB |
@sentry/browser (incl. Tracing, Replay) | 74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
@sentry/browser (incl. Feedback) | 39.78 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.39 KB |
@sentry/vue | 27.67 KB |
@sentry/vue (incl. Tracing) | 39.24 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.88 KB |
CDN Bundle (incl. Tracing) | 37.62 KB |
CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
CDN Bundle - uncompressed | 72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
@sentry/nextjs (client) | 41.02 KB |
@sentry/sveltekit (client) | 37.93 KB |
@sentry/node | 146.56 KB |
@sentry/node - without tracing | 96.03 KB |
@sentry/aws-serverless | 121.19 KB |
9.25.1
- fix(otel): Don't ignore child spans after the root is sent (#16416)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.44 KB |
@sentry/browser (incl. Tracing, Replay) | 74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
@sentry/browser (incl. Feedback) | 39.78 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.39 KB |
@sentry/vue | 27.67 KB |
@sentry/vue (incl. Tracing) | 39.24 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.88 KB |
CDN Bundle (incl. Tracing) | 37.62 KB |
CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
CDN Bundle - uncompressed | 72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
@sentry/nextjs (client) | 41.02 KB |
@sentry/sveltekit (client) | 37.93 KB |
@sentry/node | 146.52 KB |
@sentry/node - without tracing | 95.99 KB |
@sentry/aws-serverless | 121.15 KB |
9.25.0
Important Changes
- feat(browser): Add option to ignore
mark
andmeasure
spans (#16443)
This release adds an option to browserTracingIntegration
that lets you ignore
mark
and measure
spans created from the performance.mark(...)
and performance.measure(...)
browser APIs:
Sentry.init({
integrations: [
Sentry.browserTracingIntegration({
ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/],
}),
],
});
Other Changes
- feat(browser): Export getTraceData from the browser sdks (#16433)
- feat(node): Add
includeServerName
option (#16442) - fix(nuxt): Remove setting
@sentry/nuxt
external (#16444)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.44 KB |
@sentry/browser (incl. Tracing, Replay) | 74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
@sentry/browser (incl. Feedback) | 39.77 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.39 KB |
@sentry/vue | 27.67 KB |
@sentry/vue (incl. Tracing) | 39.24 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.88 KB |
CDN Bundle (incl. Tracing) | 37.62 KB |
CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
CDN Bundle - uncompressed | 72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
@sentry/nextjs (client) | 41.02 KB |
@sentry/sveltekit (client) | 37.93 KB |
@sentry/node | 146.37 KB |
@sentry/node - without tracing | 95.83 KB |
@sentry/aws-serverless | 120.98 KB |
9.24.0
Important Changes
- feat(angular): Bump
@sentry/angular
peer dependencies to add Angular 20 support (#16414)
This release adds support for Angular 20 to the Sentry Angular SDK @sentry/angular
.
Other Changes
- feat(browser): Add
unregisterOriginalCallbacks
option tobrowserApiErrorsIntegration
(#16412) - feat(core): Add user to logs (#16399)
- feat(core): Make sure Supabase db query insights are populated (#16169)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.43 KB |
@sentry/browser - with treeshaking flags | 23.2 KB |
@sentry/browser (incl. Tracing) | 37.39 KB |
@sentry/browser (incl. Tracing, Replay) | 74.64 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.92 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.29 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.09 KB |
@sentry/browser (incl. Feedback) | 39.77 KB |
@sentry/browser (incl. sendFeedback) | 28.03 KB |
@sentry/browser (incl. FeedbackAsync) | 32.8 KB |
@sentry/react | 25.15 KB |
@sentry/react (incl. Tracing) | 39.35 KB |
@sentry/vue | 27.67 KB |
@sentry/vue (incl. Tracing) | 39.19 KB |
@sentry/svelte | 23.45 KB |
CDN Bundle | 24.71 KB |
CDN Bundle (incl. Tracing) | 37.57 KB |
CDN Bundle (incl. Tracing, Replay) | 72.58 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.88 KB |
CDN Bundle - uncompressed | 72.17 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.21 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.51 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.03 KB |
@sentry/nextjs (client) | 40.97 KB |
@sentry/sveltekit (client) | 37.88 KB |
@sentry/node | 146.36 KB |
@sentry/node - without tracing | 95.82 KB |
@sentry/aws-serverless | 120.98 KB |
9.23.0
Important changes
- feat(browser): option to ignore certain resource types (#16389)
Adds an option to opt out of certain resource.*
spans via ignoreResourceSpans
.
For example, to opt out of resource.script
spans:
Sentry.browserTracingIntegration({
ignoreResourceSpans: ['resource.script'],
}),
Other changes
- feat: Export
isEnabled
from all SDKs (#16405) - feat(browser): Disable client when browser extension is detected in
init()
(#16354) - feat(core): Allow re-use of
captureLog
(#16352) - feat(core): Export
_INTERNAL_captureSerializedLog
(#16387) - feat(deps): bump @opentelemetry/semantic-conventions from 1.32.0 to 1.34.0 (#16393)
- feat(deps): bump @prisma/instrumentation from 6.7.0 to 6.8.2 (#16392)
- feat(deps): bump @sentry/cli from 2.43.0 to 2.45.0 (#16395)
- feat(deps): bump @sentry/webpack-plugin from 3.3.1 to 3.5.0 (#16394)
- feat(nextjs): Include
static/chunks/main-*
files forwidenClientFileUpload
(#16406) - feat(node): Do not add HTTP & fetch span instrumentation if tracing is disabled (#15730)
- feat(nuxt): Added support for nuxt layers (#16372)
- fix(browser): Ensure logs are flushed when sendClientReports=false (#16351)
- fix(browser): Move
browserTracingIntegration
code tosetup
hook (#16386) - fix(cloudflare): Capture exceptions thrown in hono (#16355)
- fix(node): Don't warn about Spotlight on empty NODE_ENV (#16381)
- fix(node): Suppress Spotlight calls (#16380)
- fix(nuxt): Add
@sentry/nuxt
as external in Rollup (#16407) - fix(opentelemetry): Ensure
withScope
keeps span active &_getTraceInfoFromScope
works (#16385)
Work in this release was contributed by @Xenossolitarius. Thank you for your contribution!
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.37 KB |
@sentry/browser - with treeshaking flags | 23.14 KB |
@sentry/browser (incl. Tracing) | 37.33 KB |
@sentry/browser (incl. Tracing, Replay) | 74.59 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.23 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.04 KB |
@sentry/browser (incl. Feedback) | 39.73 KB |
@sentry/browser (incl. sendFeedback) | 27.97 KB |
@sentry/browser (incl. FeedbackAsync) | 32.75 KB |
@sentry/react | 25.11 KB |
@sentry/react (incl. Tracing) | 39.29 KB |
@sentry/vue | 27.6 KB |
@sentry/vue (incl. Tracing) | 39.11 KB |
@sentry/svelte | 23.39 KB |
CDN Bundle | 24.66 KB |
CDN Bundle (incl. Tracing) | 37.51 KB |
CDN Bundle (incl. Tracing, Replay) | 72.52 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.83 KB |
CDN Bundle - uncompressed | 71.96 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.3 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.82 KB |
@sentry/nextjs (client) | 40.93 KB |
@sentry/sveltekit (client) | 37.83 KB |
@sentry/node | 146.36 KB |
@sentry/node - without tracing | 95.82 KB |
@sentry/aws-serverless | 120.98 KB |
9.22.0
Important changes
- Revert "feat(browser): Track measure detail as span attributes" (#16348)
This is a revert of a feature introduced in 9.20.0
with #16240. This feature was causing crashes in firefox, so we are reverting it. We will re-enable this functionality in the future after fixing the crash.
Other changes
- feat(deps): bump @sentry/rollup-plugin from 3.1.2 to 3.2.1 (#15511)
- fix(remix): Use generic types for
ServerBuild
argument and return (#16336)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.39 KB |
@sentry/browser - with treeshaking flags | 23.16 KB |
@sentry/browser (incl. Tracing) | 37.37 KB |
@sentry/browser (incl. Tracing, Replay) | 74.59 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.26 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.07 KB |
@sentry/browser (incl. Feedback) | 39.76 KB |
@sentry/browser (incl. sendFeedback) | 28 KB |
@sentry/browser (incl. FeedbackAsync) | 32.77 KB |
@sentry/react | 25.12 KB |
@sentry/react (incl. Tracing) | 39.3 KB |
@sentry/vue | 27.68 KB |
@sentry/vue (incl. Tracing) | 39.15 KB |
@sentry/svelte | 23.41 KB |
CDN Bundle | 24.64 KB |
CDN Bundle (incl. Tracing) | 37.47 KB |
CDN Bundle (incl. Tracing, Replay) | 72.5 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.8 KB |
CDN Bundle - uncompressed | 71.9 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.29 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.82 KB |
@sentry/nextjs (client) | 40.92 KB |
@sentry/sveltekit (client) | 37.83 KB |
@sentry/node | 145.96 KB |
@sentry/node - without tracing | 95.8 KB |
@sentry/aws-serverless | 120.54 KB |
9.21.0
- docs: Fix v7 migration link (#14629)
- feat(node): Vendor in
@fastify/otel
(#16328) - fix(nestjs): Handle multiple
OnEvent
decorators (#16306) - fix(node): Avoid creating breadcrumbs for suppressed requests (#16285)
- fix(remix): Add missing
client
exports toserver
andcloudflare
entries (#16341)
Work in this release was contributed by @phthhieu. Thank you for your contribution!
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.48 KB |
@sentry/browser - with treeshaking flags | 23.15 KB |
@sentry/browser (incl. Tracing) | 37.56 KB |
@sentry/browser (incl. Tracing, Replay) | 74.79 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.44 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.27 KB |
@sentry/browser (incl. Feedback) | 39.87 KB |
@sentry/browser (incl. sendFeedback) | 28.11 KB |
@sentry/browser (incl. FeedbackAsync) | 32.87 KB |
@sentry/react | 25.21 KB |
@sentry/react (incl. Tracing) | 39.49 KB |
@sentry/vue | 27.77 KB |
@sentry/vue (incl. Tracing) | 39.34 KB |
@sentry/svelte | 23.5 KB |
CDN Bundle | 24.65 KB |
CDN Bundle (incl. Tracing) | 37.63 KB |
CDN Bundle (incl. Tracing, Replay) | 72.57 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.89 KB |
CDN Bundle - uncompressed | 71.9 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.35 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.65 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.18 KB |
@sentry/nextjs (client) | 41.1 KB |
@sentry/sveltekit (client) | 38.04 KB |
@sentry/node | 145.96 KB |
@sentry/node - without tracing | 95.8 KB |
@sentry/aws-serverless | 120.54 KB |
9.20.0
Important changes
- feat(browser): Track measure detail as span attributes (#16240)
The SDK now automatically collects details passed to performance.measure
options.
Other changes
- feat(node): Add
maxIncomingRequestBodySize
(#16225) - feat(react-router): Add server action instrumentation (#16292)
- feat(react-router): Filter manifest requests (#16294)
- feat(replay): Extend default list for masking with
aria-label
(#16192) - fix(browser): Ensure pageload & navigation spans have correct data (#16279)
- fix(cloudflare): Account for static fields in wrapper type (#16303)
- fix(nextjs): Preserve
next.route
attribute on root spans (#16297) - feat(node): Fork isolation scope in tRPC middleware (#16296)
- feat(core): Add
orgId
option toinit
and DSC (sentry-org_id
in baggage) (#16305)
Bundle size π¦
Path | Size |
---|---|
@sentry/browser | 23.48 KB |
@sentry/browser - with treeshaking flags | 23.15 KB |
@sentry/browser (incl. Tracing) | 37.56 KB |
@sentry/browser (incl. Tracing, Replay) | 74.79 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 79.44 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 91.27 KB |
@sentry/browser (incl. Feedback) | 39.87 KB |
@sentry/browser (incl. sendFeedback) | 28.11 KB |
@sentry/browser (incl. FeedbackAsync) | 32.87 KB |
@sentry/react | 25.25 KB |
@sentry/react (incl. Tracing) | 39.53 KB |
@sentry/vue | 27.77 KB |
@sentry/vue (incl. Tracing) | 39.34 KB |
@sentry/svelte | 23.5 KB |
CDN Bundle | 24.66 KB |
CDN Bundle (incl. Tracing) | 37.63 KB |
CDN Bundle (incl. Tracing, Replay) | 72.58 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77.9 KB |
CDN Bundle - uncompressed | 71.95 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.23 KB |
@sentry/nextjs (client) | 41.1 KB |
@sentry/sveltekit (client) | 38.04 KB |
@sentry/node | 154.45 KB |
@sentry/node - without tracing | 95.77 KB |
@sentry/aws-serverless | 120.52 KB |