Official Sentry SDK for the Vercel Edge Runtime
Last release 3 days ago
24 Aug 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 249 of 263 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
324 releases ยท first in 2023
Release timeline
324 releases since 2023Releases
- 9.23.028 May 2025
Release notes
Open source โImportant changes
- feat(browser): option to ignore certain resource types (#16389)
Adds an option to opt out of certain
resource.*spans viaignoreResourceSpans.For example, to opt out of
resource.scriptspans:Sentry.browserTracingIntegration({ ignoreResourceSpans: ['resource.script'], }),Other changes
- feat: Export
isEnabledfrom 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
browserTracingIntegrationcode tosetuphook (#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/nuxtas external in Rollup (#16407) - fix(opentelemetry): Ensure
withScopekeeps span active &_getTraceInfoFromScopeworks (#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 Release notes
Open source โImportant changes
- feat(browser): option to ignore certain resource types (#16389)
Adds an option to opt out of certain
resource.*spans viaignoreResourceSpans.For example, to opt out of
resource.scriptspans:Sentry.browserTracingIntegration({ ignoreResourceSpans: ['resource.script'], }),Other changes
- feat: Export
isEnabledfrom 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
browserTracingIntegrationcode tosetuphook (#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/nuxtas external in Rollup (#16407) - fix(opentelemetry): Ensure
withScopekeeps span active &_getTraceInfoFromScopeworks (#16385)
Work in this release was contributed by @Xenossolitarius. Thank you for your contribution!
- 9.22.020 May 2025
Release notes
Open source โImportant changes
- Revert "feat(browser): Track measure detail as span attributes" (#16348)
This is a revert of a feature introduced in
9.20.0with #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
ServerBuildargument 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 Release notes
Open source โImportant changes
- Revert "feat(browser): Track measure detail as span attributes" (#16348)
This is a revert of a feature introduced in
9.20.0with #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
- 9.21.020 May 2025
Release notes
Open source โ- docs: Fix v7 migration link (#14629)
- feat(node): Vendor in
@fastify/otel(#16328) - fix(nestjs): Handle multiple
OnEventdecorators (#16306) - fix(node): Avoid creating breadcrumbs for suppressed requests (#16285)
- fix(remix): Add missing
clientexports toserverandcloudflareentries (#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 Release notes
Open source โ- docs: Fix v7 migration link (#14629)
- feat(node): Vendor in
@fastify/otel(#16328) - fix(nestjs): Handle multiple
OnEventdecorators (#16306) - fix(node): Avoid creating breadcrumbs for suppressed requests (#16285)
- fix(remix): Add missing
clientexports toserverandcloudflareentries (#16341)
Work in this release was contributed by @phthhieu. Thank you for your contribution!
- 9.20.019 May 2025
Release notes
Open source โImportant changes
- feat(browser): Track measure detail as span attributes (#16240)
The SDK now automatically collects details passed to
performance.measureoptions.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.routeattribute on root spans (#16297) - feat(node): Fork isolation scope in tRPC middleware (#16296)
- feat(core): Add
orgIdoption toinitand DSC (sentry-org_idin 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 Release notes
Open source โImportant changes
- feat(browser): Track measure detail as span attributes (#16240)
The SDK now automatically collects details passed to
performance.measureoptions.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.routeattribute on root spans (#16297) - feat(node): Fork isolation scope in tRPC middleware (#16296)
- feat(core): Add
orgIdoption toinitand DSC (sentry-org_idin baggage) (#16305)
- 9.19.014 May 2025
Release notes
Open source โ- feat(react-router): Add otel instrumentation for server requests (#16147)
- feat(remix): Vendor in
opentelemetry-instrumentation-remix(#16145) - fix(browser): Ensure spans auto-ended for navigations have
cancelledreason (#16277) - fix(node): Pin
@fastify/otelfork to direct url to allow installing without git (#16287) - fix(react): Handle nested parameterized routes in reactrouterv3 transaction normalization (#16274)
Work in this release was contributed by @sidx1024. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.4 KB @sentry/browser - with treeshaking flags 23.06 KB @sentry/browser (incl. Tracing) 37.31 KB @sentry/browser (incl. Tracing, Replay) 74.53 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.72 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.19 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91 KB @sentry/browser (incl. Feedback) 39.8 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.79 KB @sentry/react 25.17 KB @sentry/react (incl. Tracing) 39.27 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.07 KB @sentry/svelte 23.43 KB CDN Bundle 24.58 KB CDN Bundle (incl. Tracing) 37.33 KB CDN Bundle (incl. Tracing, Replay) 72.37 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.68 KB CDN Bundle - uncompressed 71.72 KB CDN Bundle (incl. Tracing) - uncompressed 110.5 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 221.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.31 KB @sentry/nextjs (client) 40.88 KB @sentry/sveltekit (client) 37.77 KB @sentry/node 154.29 KB @sentry/node - without tracing 95.6 KB @sentry/aws-serverless 120.36 KB Release notes
Open source โ- feat(react-router): Add otel instrumentation for server requests (#16147)
- feat(remix): Vendor in
opentelemetry-instrumentation-remix(#16145) - fix(browser): Ensure spans auto-ended for navigations have
cancelledreason (#16277) - fix(node): Pin
@fastify/otelfork to direct url to allow installing without git (#16287) - fix(react): Handle nested parameterized routes in reactrouterv3 transaction normalization (#16274)
Work in this release was contributed by @sidx1024. Thank you for your contribution!
- 9.18.013 May 2025
Release notes
Open source โImportant changes
- feat: Support Node 24 (#16236)
We now also publish profiling binaries for Node 24.
Other changes
- deps(node): Bump
import-in-the-middleto1.13.1(#16260) - feat: Export
consoleLoggingIntegrationfrom vercel edge sdk (#16228) - feat(cloudflare): Add support for email, queue, and tail handler (#16233)
- feat(cloudflare): Improve http span data (#16232)
- feat(nextjs): Add more attributes for generation functions (#16214)
- feat(opentelemetry): Widen peer dependencies to support Otel v2 (#16246)
- fix(core): Gracefully handle invalid baggage entries (#16257)
- fix(node): Ensure traces are propagated without spans in Node 22+ (#16221)
- fix(node): Use sentry forked
@fastify/oteldependency with pinned Otel v1 deps (#16256) - fix(remix): Remove vendored types (#16218)
Bundle size ๐ฆ
Path Size @sentry/browser 23.4 KB @sentry/browser - with treeshaking flags 23.22 KB @sentry/browser (incl. Tracing) 37.3 KB @sentry/browser (incl. Tracing, Replay) 74.53 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.37 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.18 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.99 KB @sentry/browser (incl. Feedback) 39.8 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.79 KB @sentry/react 25.17 KB @sentry/react (incl. Tracing) 39.26 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.06 KB @sentry/svelte 23.43 KB CDN Bundle 24.58 KB CDN Bundle (incl. Tracing) 37.33 KB CDN Bundle (incl. Tracing, Replay) 72.37 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.67 KB CDN Bundle - uncompressed 71.72 KB CDN Bundle (incl. Tracing) - uncompressed 110.46 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 221.75 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.27 KB @sentry/nextjs (client) 40.88 KB @sentry/sveltekit (client) 37.76 KB @sentry/node 155.42 KB @sentry/node - without tracing 96 KB @sentry/aws-serverless 121.5 KB Release notes
Open source โImportant changes
- feat: Support Node 24 (#16236)
We now also publish profiling binaries for Node 24.
Other changes
- deps(node): Bump
import-in-the-middleto1.13.1(#16260) - feat: Export
consoleLoggingIntegrationfrom vercel edge sdk (#16228) - feat(cloudflare): Add support for email, queue, and tail handler (#16233)
- feat(cloudflare): Improve http span data (#16232)
- feat(nextjs): Add more attributes for generation functions (#16214)
- feat(opentelemetry): Widen peer dependencies to support Otel v2 (#16246)
- fix(core): Gracefully handle invalid baggage entries (#16257)
- fix(node): Ensure traces are propagated without spans in Node 22+ (#16221)
- fix(node): Use sentry forked
@fastify/oteldependency with pinned Otel v1 deps (#16256) - fix(remix): Remove vendored types (#16218)
- 9.17.08 May 2025
Release notes
Open source โ- feat(node): Migrate to
@fastify/otel(#15542)
Bundle size ๐ฆ
Path Size @sentry/browser 23.35 KB @sentry/browser - with treeshaking flags 23.19 KB @sentry/browser (incl. Tracing) 37.25 KB @sentry/browser (incl. Tracing, Replay) 74.47 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB @sentry/browser (incl. Feedback) 39.75 KB @sentry/browser (incl. sendFeedback) 27.98 KB @sentry/browser (incl. FeedbackAsync) 32.74 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.24 KB @sentry/vue 27.63 KB @sentry/vue (incl. Tracing) 39.01 KB @sentry/svelte 23.38 KB CDN Bundle 24.55 KB CDN Bundle (incl. Tracing) 37.29 KB CDN Bundle (incl. Tracing, Replay) 72.33 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB CDN Bundle - uncompressed 71.62 KB CDN Bundle (incl. Tracing) - uncompressed 110.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB @sentry/nextjs (client) 40.84 KB @sentry/sveltekit (client) 37.73 KB @sentry/node 151.37 KB @sentry/node - without tracing 95.77 KB @sentry/aws-serverless 120.16 KB - feat(node): Migrate to
- 9.16.17 May 2025
Release notes
Open source โ- fix(core): Make sure logs get flushed in server-runtime-client (#16222)
- ref(node): Remove vercel flushing code that does nothing (#16217)
Bundle size ๐ฆ
Path Size @sentry/browser 23.35 KB @sentry/browser - with treeshaking flags 23.19 KB @sentry/browser (incl. Tracing) 37.25 KB @sentry/browser (incl. Tracing, Replay) 74.47 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB @sentry/browser (incl. Feedback) 39.75 KB @sentry/browser (incl. sendFeedback) 27.98 KB @sentry/browser (incl. FeedbackAsync) 32.74 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.24 KB @sentry/vue 27.63 KB @sentry/vue (incl. Tracing) 39.01 KB @sentry/svelte 23.38 KB CDN Bundle 24.55 KB CDN Bundle (incl. Tracing) 37.29 KB CDN Bundle (incl. Tracing, Replay) 72.33 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB CDN Bundle - uncompressed 71.62 KB CDN Bundle (incl. Tracing) - uncompressed 110.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB @sentry/nextjs (client) 40.84 KB @sentry/sveltekit (client) 37.73 KB @sentry/node 143.93 KB @sentry/node - without tracing 95.77 KB @sentry/aws-serverless 120.16 KB - 9.16.07 May 2025
Release notes
Open source โImportant changes
- feat: Create a Vite plugin that injects sentryConfig into the global config (#16197)
Add a new plugin
makeConfigInjectorPluginwithin our existing vite plugin that updates the global vite config with sentry options- feat(browser): Add option to sample linked traces consistently (#16037)
This PR implements consistent sampling across traces as outlined in (#15754)
- feat(cloudflare): Add support for durable objects (#16180)
This PR introduces a new
instrumentDurableObjectWithSentrymethod to the SDK, which instruments durable objects. We capture both traces and errors automatically.- feat(node): Add Prisma integration by default (#16073)
Prisma integration is enabled by default, it should work for both ESM and CJS.
- feat(react-router): Add client-side router instrumentation (#16185)
Adds client-side instrumentation for react router's
HydratedRouter. To enable it, simply replacebrowserTracingIntegration()withreactRouterTracingIntegration()in your client-side init call.- fix(node): Avoid double-wrapping http module (#16177)
When running your application in ESM mode, there have been scenarios that resulted in the
http/httpsemitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now. While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The
ignoreOutgoingRequestsoption ofhttpIntegrationreceives theRequestOptionsas second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:ignoreOutgoingRequests(url: string, { method: string; protocol: string; host: string; hostname: string; // same as host path: string; headers: OutgoingHttpHeaders; })Other changes
- feat(cloudflare): Add logs exports (#16165)
- feat(vercel-edge): Add logs export (#16166)
- feat(cloudflare): Read
SENTRY_RELEASEfromenv(#16201) - feat(node): Drop
http.serverspans with 404 status by default (#16205) - fix(browser): Respect manually set sentry tracing headers in XHR requests (#16184)
- fix(core): Respect manually set sentry tracing headers in fetch calls (#16183)
- fix(feedback): Prevent
removeFromDom()from throwing (#16030) - fix(node): Use class constructor in docstring for winston transport (#16167)
- fix(node): Fix vercel flushing logic & add test for it (#16208)
- fix(node): Fix 404 route handling in express 5 (#16211)
- fix(logs): Ensure logs can be flushed correctly (#16216)
- ref(core): Switch to standardized log envelope (#16133)
Bundle size ๐ฆ
Path Size @sentry/browser 23.35 KB @sentry/browser - with treeshaking flags 23.19 KB @sentry/browser (incl. Tracing) 37.25 KB @sentry/browser (incl. Tracing, Replay) 74.47 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB @sentry/browser (incl. Feedback) 39.75 KB @sentry/browser (incl. sendFeedback) 27.98 KB @sentry/browser (incl. FeedbackAsync) 32.74 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.24 KB @sentry/vue 27.63 KB @sentry/vue (incl. Tracing) 39.01 KB @sentry/svelte 23.38 KB CDN Bundle 24.55 KB CDN Bundle (incl. Tracing) 37.29 KB CDN Bundle (incl. Tracing, Replay) 72.33 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB CDN Bundle - uncompressed 71.62 KB CDN Bundle (incl. Tracing) - uncompressed 110.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB @sentry/nextjs (client) 40.84 KB @sentry/sveltekit (client) 37.73 KB @sentry/node 144.43 KB @sentry/node - without tracing 96.3 KB @sentry/aws-serverless 120.66 KB Release notes
Open source โImportant changes
- feat: Create a Vite plugin that injects sentryConfig into the global config (#16197)
Add a new plugin
makeConfigInjectorPluginwithin our existing vite plugin that updates the global vite config with sentry options- feat(browser): Add option to sample linked traces consistently (#16037)
This PR implements consistent sampling across traces as outlined in (#15754)
- feat(cloudflare): Add support for durable objects (#16180)
This PR introduces a new
instrumentDurableObjectWithSentrymethod to the SDK, which instruments durable objects. We capture both traces and errors automatically.- feat(node): Add Prisma integration by default (#16073)
Prisma integration is enabled by default, it should work for both ESM and CJS.
- feat(react-router): Add client-side router instrumentation (#16185)
Adds client-side instrumentation for react router's
HydratedRouter. To enable it, simply replacebrowserTracingIntegration()withreactRouterTracingIntegration()in your client-side init call.- fix(node): Avoid double-wrapping http module (#16177)
When running your application in ESM mode, there have been scenarios that resulted in the
http/httpsemitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now. While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The
ignoreOutgoingRequestsoption ofhttpIntegrationreceives theRequestOptionsas second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:ignoreOutgoingRequests(url: string, { method: string; protocol: string; host: string; hostname: string; // same as host path: string; headers: OutgoingHttpHeaders; })Other changes
- feat(cloudflare): Add logs exports (#16165)
- feat(vercel-edge): Add logs export (#16166)
- feat(cloudflare): Read
SENTRY_RELEASEfromenv(#16201) - feat(node): Drop
http.serverspans with 404 status by default (#16205) - fix(browser): Respect manually set sentry tracing headers in XHR requests (#16184)
- fix(core): Respect manually set sentry tracing headers in fetch calls (#16183)
- fix(feedback): Prevent
removeFromDom()from throwing (#16030) - fix(node): Use class constructor in docstring for winston transport (#16167)
- fix(node): Fix vercel flushing logic & add test for it (#16208)
- fix(node): Fix 404 route handling in express 5 (#16211)
- fix(logs): Ensure logs can be flushed correctly (#16216)
- ref(core): Switch to standardized log envelope (#16133)
- 9.15.029 Apr 2025
Release notes
Open source โImportant Changes
- feat: Export
wrapMcpServerWithSentryfrom server packages (#16127)
Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.
- feat(core): Associate resource/tool/prompt invocations with request span instead of response span (#16126)
Adds a best effort mechanism to associate handler spans for
resource,toolandpromptwith the incoming message requests instead of the outgoing SSE response.Other Changes
- fix: Vercel
aiESM patching (#16152) - fix(node): Update version range for
module.register(#16125) - fix(react-router): Spread
unstable_sentryVitePluginOptionscorrectly (#16156) - fix(react): Fix Redux integration failing with reducer injection (#16106)
- fix(remix): Add ESM-compatible exports (#16124)
- fix(remix): Avoid rewrapping root loader. (#16136)
Work in this release was contributed by @AntoineDuComptoirDesPharmacies. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.28 KB @sentry/browser - with treeshaking flags 23.1 KB @sentry/browser (incl. Tracing) 36.93 KB @sentry/browser (incl. Tracing, Replay) 74.1 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.47 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.76 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.58 KB @sentry/browser (incl. Feedback) 39.68 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.09 KB @sentry/react (incl. Tracing) 38.93 KB @sentry/vue 27.5 KB @sentry/vue (incl. Tracing) 38.69 KB @sentry/svelte 23.31 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 36.96 KB CDN Bundle (incl. Tracing, Replay) 72 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.3 KB CDN Bundle - uncompressed 71.5 KB CDN Bundle (incl. Tracing) - uncompressed 109.33 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.62 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.15 KB @sentry/nextjs (client) 40.51 KB @sentry/sveltekit (client) 37.41 KB @sentry/node 143.4 KB @sentry/node - without tracing 96.49 KB @sentry/aws-serverless 120.81 KB Release notes
Open source โImportant Changes
- feat: Export
wrapMcpServerWithSentryfrom server packages (#16127)
Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.
- feat(core): Associate resource/tool/prompt invocations with request span instead of response span (#16126)
Adds a best effort mechanism to associate handler spans for
resource,toolandpromptwith the incoming message requests instead of the outgoing SSE response.Other Changes
- fix: Vercel
aiESM patching (#16152) - fix(node): Update version range for
module.register(#16125) - fix(react-router): Spread
unstable_sentryVitePluginOptionscorrectly (#16156) - fix(react): Fix Redux integration failing with reducer injection (#16106)
- fix(remix): Add ESM-compatible exports (#16124)
- fix(remix): Avoid rewrapping root loader. (#16136)
Work in this release was contributed by @AntoineDuComptoirDesPharmacies. Thank you for your contribution!
- feat: Export
- 9.14.023 Apr 2025
Release notes
Open source โImportant Changes
- feat: Add Supabase Integration (#15719)
This PR adds Supabase integration to
@sentry/core, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.- feat(nestjs): Gracefully handle RPC scenarios in
SentryGlobalFilter(#16066)
This PR adds better RPC exception handling to
@sentry/nestjs, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type inSentryGlobalFilterto improve reliability in hybrid applications.- feat(react-router): Trace propagation (#16070)
This PR adds trace propagation to
@sentry/react-routerby providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.Other Changes
- feat(deps): Bump @prisma/instrumentation from 6.5.0 to 6.6.0 (#16102)
- feat(nextjs): Improve server component data (#15996)
- feat(nuxt): Log when adding HTML trace meta tags (#16044)
- fix(node): Make body capturing more robust (#16105)
- ref(node): Log when incoming request bodies are being captured (#16104)
Bundle size ๐ฆ
Path Size @sentry/browser 23.28 KB @sentry/browser - with treeshaking flags 23.12 KB @sentry/browser (incl. Tracing) 36.99 KB @sentry/browser (incl. Tracing, Replay) 74.17 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.55 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.65 KB @sentry/browser (incl. Feedback) 39.68 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.09 KB @sentry/react (incl. Tracing) 38.91 KB @sentry/vue 27.51 KB @sentry/vue (incl. Tracing) 38.71 KB @sentry/svelte 23.32 KB CDN Bundle 24.5 KB CDN Bundle (incl. Tracing) 36.98 KB CDN Bundle (incl. Tracing, Replay) 72 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.16 KB CDN Bundle - uncompressed 71.49 KB CDN Bundle (incl. Tracing) - uncompressed 109.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.16 KB @sentry/nextjs (client) 40.54 KB @sentry/sveltekit (client) 37.44 KB @sentry/node 143.37 KB @sentry/node - without tracing 96.51 KB @sentry/aws-serverless 120.83 KB Release notes
Open source โImportant Changes
- feat: Add Supabase Integration (#15719)
This PR adds Supabase integration to
@sentry/core, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.- feat(nestjs): Gracefully handle RPC scenarios in
SentryGlobalFilter(#16066)
This PR adds better RPC exception handling to
@sentry/nestjs, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type inSentryGlobalFilterto improve reliability in hybrid applications.- feat(react-router): Trace propagation (#16070)
This PR adds trace propagation to
@sentry/react-routerby providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.Other Changes
- feat(deps): Bump @prisma/instrumentation from 6.5.0 to 6.6.0 (#16102)
- feat(nextjs): Improve server component data (#15996)
- feat(nuxt): Log when adding HTML trace meta tags (#16044)
- fix(node): Make body capturing more robust (#16105)
- ref(node): Log when incoming request bodies are being captured (#16104)
- 9.13.016 Apr 2025
Release notes
Open source โImportant Changes
-
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like
@sentry/nestjs). The Logging APIs in the Sentry SDK are still experimental and subject to change.const winston = require('winston'); const Transport = require('winston-transport'); const transport = Sentry.createSentryWinstonTransport(Transport); const logger = winston.createLogger({ transports: [transport], }); -
feat(core): Add
wrapMcpServerWithSentryto instrument MCP servers from@modelcontextprotocol/sdk(#16032)The Sentry SDK now supports instrumenting MCP servers from the
@modelcontextprotocol/sdkpackage. Compatible with versions^1.9.0of the@modelcontextprotocol/sdkpackage.import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; // Create an MCP server const server = new McpServer({ name: 'Demo', version: '1.0.0', }); // Use the instrumented server in your application const instrumentedServer = Sentry.wrapMcpServerWithSentry(server); -
feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to
@sentry/cloudflareand@sentry/nextjsEdge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs. -
feat(bun): Support new
Bun.serveAPIs (#16035)Bun
1.2.6and above have a newBun.serveAPI, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.Thanks to @Jarred-Sumner for helping us get this supported!
Other Changes
- feat(browser): Warn on duplicate
browserTracingIntegration(#16042) - feat(core): Allow delayed sending with offline transport (#15937)
- feat(deps): Bump @sentry/webpack-plugin from 3.2.4 to 3.3.1 (#16057)
- feat(vue): Apply stateTransformer to attachments in Pinia Plugin (#16034)
- fix(core): Run
beforeSendLogafter we process log (#16019) - fix(nextjs): Don't show turbopack warning for newer Next.js canaries (#16065)
- fix(nextjs): Include patch version 0 for min supported 15.3.0 (#16026)
- fix(node): Ensure late init works with all integrations (#16016)
- fix(react-router): Pass
unstable_sentryVitePluginOptionsto cli instance (#16033) - fix(serverless-aws): Overwrite root span name with GraphQL if set (#16010)
Bundle size ๐ฆ
Path Size @sentry/browser 23.28 KB @sentry/browser - with treeshaking flags 23.12 KB @sentry/browser (incl. Tracing) 36.99 KB @sentry/browser (incl. Tracing, Replay) 74.17 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.55 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.65 KB @sentry/browser (incl. Feedback) 39.68 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.09 KB @sentry/react (incl. Tracing) 38.91 KB @sentry/vue 27.51 KB @sentry/vue (incl. Tracing) 38.71 KB @sentry/svelte 23.32 KB CDN Bundle 24.51 KB CDN Bundle (incl. Tracing) 36.98 KB CDN Bundle (incl. Tracing, Replay) 72.03 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.18 KB CDN Bundle - uncompressed 71.47 KB CDN Bundle (incl. Tracing) - uncompressed 109.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.16 KB @sentry/nextjs (client) 40.53 KB @sentry/sveltekit (client) 37.44 KB @sentry/node 143.33 KB @sentry/node - without tracing 96.47 KB @sentry/aws-serverless 120.77 KB Release notes
Open source โImportant Changes
-
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like
@sentry/nestjs). The Logging APIs in the Sentry SDK are still experimental and subject to change.const winston = require('winston'); const Transport = require('winston-transport'); const transport = Sentry.createSentryWinstonTransport(Transport); const logger = winston.createLogger({ transports: [transport], }); -
feat(core): Add
wrapMcpServerWithSentryto instrument MCP servers from@modelcontextprotocol/sdk(#16032)The Sentry SDK now supports instrumenting MCP servers from the
@modelcontextprotocol/sdkpackage. Compatible with versions^1.9.0of the@modelcontextprotocol/sdkpackage.import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; // Create an MCP server const server = new McpServer({ name: 'Demo', version: '1.0.0', }); // Use the instrumented server in your application const instrumentedServer = Sentry.wrapMcpServerWithSentry(server); -
feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to
@sentry/cloudflareand@sentry/nextjsEdge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs. -
feat(bun): Support new
Bun.serveAPIs (#16035)Bun
1.2.6and above have a newBun.serveAPI, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.Thanks to @Jarred-Sumner for helping us get this supported!
Other Changes
- feat(browser): Warn on duplicate
browserTracingIntegration(#16042) - feat(core): Allow delayed sending with offline transport (#15937)
- feat(deps): Bump @sentry/webpack-plugin from 3.2.4 to 3.3.1 (#16057)
- feat(vue): Apply stateTransformer to attachments in Pinia Plugin (#16034)
- fix(core): Run
beforeSendLogafter we process log (#16019) - fix(nextjs): Don't show turbopack warning for newer Next.js canaries (#16065)
- fix(nextjs): Include patch version 0 for min supported 15.3.0 (#16026)
- fix(node): Ensure late init works with all integrations (#16016)
- fix(react-router): Pass
unstable_sentryVitePluginOptionsto cli instance (#16033) - fix(serverless-aws): Overwrite root span name with GraphQL if set (#16010)
-
- 9.12.08 Apr 2025
Release notes
Open source โImportant Changes
-
feat(feedback): Implement highlighting and hiding controls for screenshots (#15951)
The Sentry SDK now supports highlighting and hiding controls for screenshots in user feedback reports. This functionality is enabled by default.
-
feat(node): Add
ignoreIncomingRequestBodycallback tohttpIntegration(#15959)The
httpIntegrationnow supports an optionalignoreIncomingRequestBodycallback that can be used to skip capturing the body of incoming requests.Sentry.init({ integrations: [ Sentry.httpIntegration({ ignoreIncomingRequestBody: (url, request) => { return request.method === 'GET' && url.includes('/api/large-payload'); }, }), ], });The
ignoreIncomingRequestBodycallback receives the URL of the request and should returntrueif the body should be ignored. -
Logging Improvements
Sentry is adding support for structured logging. In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
- feat(node): Add server.address to nodejs logs (#16006)
- feat(core): Add sdk name and version to logs (#16005)
- feat(core): Add sentry origin attribute to console logs integration (#15998)
- fix(core): Do not abbreviate message parameter attribute (#15987)
- fix(core): Prefix release and environment correctly (#15999)
- fix(node): Make log flushing logic more robust (#15991)
Other Changes
- build(aws-serverless): Include debug logs in lambda layer SDK bundle (#15974)
- feat(astro): Add tracking of errors during HTML streaming (#15995)
- feat(browser): Add
onRequestSpanStarthook to browser tracing integration (#15979) - feat(deps): Bump @sentry/cli from 2.42.3 to 2.43.0 (#16001)
- feat(nextjs): Add
captureRouterTransitionStarthook for capturing navigations (#15981) - feat(nextjs): Mark clientside prefetch request spans with
http.request.prefetch: trueattribute (#15980) - feat(nextjs): Un experimentify
clientInstrumentationHook(#15992) - feat(nextjs): Warn when client was initialized more than once (#15971)
- feat(node): Add support for
SENTRY_DEBUGenv variable (#15972) - fix(tss-react): Change
authTokentype tostring(#15985)
Work in this release was contributed by @Page- and @Fryuni. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.28 KB @sentry/browser - with treeshaking flags 23.12 KB @sentry/browser (incl. Tracing) 36.95 KB @sentry/browser (incl. Tracing, Replay) 74.14 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.51 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.8 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.61 KB @sentry/browser (incl. Feedback) 39.68 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.09 KB @sentry/react (incl. Tracing) 38.87 KB @sentry/vue 27.51 KB @sentry/vue (incl. Tracing) 38.67 KB @sentry/svelte 23.32 KB CDN Bundle 24.51 KB CDN Bundle (incl. Tracing) 36.95 KB CDN Bundle (incl. Tracing, Replay) 71.99 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.16 KB CDN Bundle - uncompressed 71.47 KB CDN Bundle (incl. Tracing) - uncompressed 109.23 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.52 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.05 KB @sentry/nextjs (client) 40.49 KB @sentry/sveltekit (client) 37.39 KB @sentry/node 143.03 KB @sentry/node - without tracing 96.24 KB @sentry/aws-serverless 120.58 KB Release notes
Open source โImportant Changes
-
feat(feedback): Implement highlighting and hiding controls for screenshots (#15951)
The Sentry SDK now supports highlighting and hiding controls for screenshots in user feedback reports. This functionality is enabled by default.
-
feat(node): Add
ignoreIncomingRequestBodycallback tohttpIntegration(#15959)The
httpIntegrationnow supports an optionalignoreIncomingRequestBodycallback that can be used to skip capturing the body of incoming requests.Sentry.init({ integrations: [ Sentry.httpIntegration({ ignoreIncomingRequestBody: (url, request) => { return request.method === 'GET' && url.includes('/api/large-payload'); }, }), ], });The
ignoreIncomingRequestBodycallback receives the URL of the request and should returntrueif the body should be ignored. -
Logging Improvements
Sentry is adding support for structured logging. In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
- feat(node): Add server.address to nodejs logs (#16006)
- feat(core): Add sdk name and version to logs (#16005)
- feat(core): Add sentry origin attribute to console logs integration (#15998)
- fix(core): Do not abbreviate message parameter attribute (#15987)
- fix(core): Prefix release and environment correctly (#15999)
- fix(node): Make log flushing logic more robust (#15991)
Other Changes
- build(aws-serverless): Include debug logs in lambda layer SDK bundle (#15974)
- feat(astro): Add tracking of errors during HTML streaming (#15995)
- feat(browser): Add
onRequestSpanStarthook to browser tracing integration (#15979) - feat(deps): Bump @sentry/cli from 2.42.3 to 2.43.0 (#16001)
- feat(nextjs): Add
captureRouterTransitionStarthook for capturing navigations (#15981) - feat(nextjs): Mark clientside prefetch request spans with
http.request.prefetch: trueattribute (#15980) - feat(nextjs): Un experimentify
clientInstrumentationHook(#15992) - feat(nextjs): Warn when client was initialized more than once (#15971)
- feat(node): Add support for
SENTRY_DEBUGenv variable (#15972) - fix(tss-react): Change
authTokentype tostring(#15985)
Work in this release was contributed by @Page- and @Fryuni. Thank you for your contributions!
-
- 9.11.03 Apr 2025
Release notes
Open source โ- feat(browser): Add
http.redirect_countattribute tobrowser.redirectspan (#15943) - feat(core): Add
consoleLoggingIntegrationfor logs (#15955) - feat(core): Don't truncate error messages (#15818)
- feat(nextjs): Add release injection in Turbopack (#15958)
- feat(nextjs): Record
turbopackas tag (#15928) - feat(nuxt): Base decision on source maps upload only on Nuxt source map settings (#15859)
- feat(react-router): Add
sentryHandleRequest(#15787) - fix(node): Use
moduleinstead ofrequirefor CJS check (#15927) - fix(remix): Remove mentions of deprecated
ErrorBoundarywrapper (#15930) - ref(browser): Temporarily add
sentry.previous_tracespan attribute (#15957) - ref(browser/core): Move all log flushing logic into clients (#15831)
- ref(core): Improve URL parsing utilities (#15882)
Bundle size ๐ฆ
Path Size @sentry/browser 23.2 KB @sentry/browser - with treeshaking flags 23.02 KB @sentry/browser (incl. Tracing) 36.83 KB @sentry/browser (incl. Tracing, Replay) 73.99 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.39 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.66 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.22 KB @sentry/browser (incl. Feedback) 40.33 KB @sentry/browser (incl. sendFeedback) 27.83 KB @sentry/browser (incl. FeedbackAsync) 32.63 KB @sentry/react 25 KB @sentry/react (incl. Tracing) 38.75 KB @sentry/vue 27.41 KB @sentry/vue (incl. Tracing) 38.55 KB @sentry/svelte 23.23 KB CDN Bundle 24.44 KB CDN Bundle (incl. Tracing) 36.85 KB CDN Bundle (incl. Tracing, Replay) 71.87 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.07 KB CDN Bundle - uncompressed 71.24 KB CDN Bundle (incl. Tracing) - uncompressed 108.94 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.23 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.8 KB @sentry/nextjs (client) 40.06 KB @sentry/sveltekit (client) 37.26 KB @sentry/node 142.88 KB @sentry/node - without tracing 96.08 KB @sentry/aws-serverless 120.43 KB Release notes
Open source โ- feat(browser): Add
http.redirect_countattribute tobrowser.redirectspan (#15943) - feat(core): Add
consoleLoggingIntegrationfor logs (#15955) - feat(core): Don't truncate error messages (#15818)
- feat(core): Emit debug log when transport execution fails (#16009)
- feat(nextjs): Add release injection in Turbopack (#15958)
- feat(nextjs): Record
turbopackas tag (#15928) - feat(nuxt): Base decision on source maps upload only on Nuxt source map settings (#15859)
- feat(react-router): Add
sentryHandleRequest(#15787) - fix(node): Use
moduleinstead ofrequirefor CJS check (#15927) - fix(remix): Remove mentions of deprecated
ErrorBoundarywrapper (#15930) - ref(browser): Temporarily add
sentry.previous_tracespan attribute (#15957) - ref(browser/core): Move all log flushing logic into clients (#15831)
- ref(core): Improve URL parsing utilities (#15882)
- feat(browser): Add
- 9.10.128 Mar 2025
Release notes
Open source โ- fix: Correct @sentry-internal/feedback docs to match the code (#15874)
- deps: Bump bundler plugins to version
3.2.4(#15909)
Bundle size ๐ฆ
Path Size @sentry/browser 23.08 KB @sentry/browser - with treeshaking flags 22.88 KB @sentry/browser (incl. Tracing) 36.49 KB @sentry/browser (incl. Tracing, Replay) 73.65 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.3 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.87 KB @sentry/browser (incl. Feedback) 40.21 KB @sentry/browser (incl. sendFeedback) 27.71 KB @sentry/browser (incl. FeedbackAsync) 32.5 KB @sentry/react 24.86 KB @sentry/react (incl. Tracing) 38.39 KB @sentry/vue 27.3 KB @sentry/vue (incl. Tracing) 38.18 KB @sentry/svelte 23.12 KB CDN Bundle 24.33 KB CDN Bundle (incl. Tracing) 36.51 KB CDN Bundle (incl. Tracing, Replay) 71.53 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.71 KB CDN Bundle - uncompressed 70.93 KB CDN Bundle (incl. Tracing) - uncompressed 108.11 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.4 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.97 KB @sentry/nextjs (client) 39.68 KB @sentry/sveltekit (client) 36.92 KB @sentry/node 142.91 KB @sentry/node - without tracing 96.12 KB @sentry/aws-serverless 120.46 KB - 9.10.027 Mar 2025
Release notes
Open source โImportant Changes
-
feat: Add support for logs
- feat(node): Add logging public APIs to Node SDKs (#15764)
- feat(core): Add support for
beforeSendLog(#15814) - feat(core): Add support for parameterizing logs (#15812)
- fix: Remove critical log severity level (#15824)
All JavaScript SDKs other than
@sentry/cloudflareand@sentry/denonow support sending logs via dedicated methods as part of Sentry's upcoming logging product.Logging is gated by an experimental option,
_experiments.enableLogs.Sentry.init({ dsn: 'PUBLIC_DSN', // `enableLogs` must be set to true to use the logging features _experiments: { enableLogs: true }, }); const { trace, debug, info, warn, error, fatal, fmt } = Sentry.logger; trace('Starting database connection', { database: 'users' }); debug('Cache miss for user', { userId: 123 }); error('Failed to process payment', { orderId: 'order_123', amount: 99.99 }); fatal('Database connection pool exhausted', { database: 'users', activeConnections: 100 }); // Structured logging via the `fmt` helper function. When you use `fmt`, the string template and parameters are sent separately so they can be queried independently in Sentry. info(fmt(`Updated profile for user ${userId}`)); warn(fmt(`Rate limit approaching for endpoint ${endpoint}. Requests: ${requests}, Limit: ${limit}`));With server-side SDKs like
@sentry/node,@sentry/bunor server-side of@sentry/nextjsor@sentry/sveltekit, you can do structured logging without needing thefmthelper function.const { info, warn } = Sentry.logger; info('User %s logged in successfully', [123]); warn('Failed to load user %s data', [123], { errorCode: 404 });To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLogoption. -
feat(browser): Add
diagnoseSdkConnectivity()function to programmatically detect possible connectivity issues (#15821)The
diagnoseSdkConnectivity()function can be used to programmatically detect possible connectivity issues with the Sentry SDK.const result = await Sentry.diagnoseSdkConnectivity();The result will be an object with the following properties:
"no-client-active": There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable": The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined: The SDK is working as expected.
-
SDK Tracing Performance Improvements for Node SDKs
- feat: Stop using
dropUndefinedKeys(#15796) - feat(node): Only add span listeners for instrumentation when used (#15802)
- ref: Avoid
dropUndefinedKeysforspanToJSONcalls (#15792) - ref: Avoid using
SentryErrorfor PromiseBuffer control flow (#15822) - ref: Stop using
dropUndefinedKeysin SpanExporter (#15794) - ref(core): Avoid using
SentryErrorfor event processing control flow (#15823) - ref(node): Avoid
dropUndefinedKeysin Node SDK init (#15797) - ref(opentelemetry): Avoid sampling work for non-root spans (#15820)
We've been hard at work making performance improvements to the Sentry Node SDKs (
@sentry/node,@sentry/aws-serverless,@sentry/nestjs, etc.). We've seen that upgrading from9.7.0to9.10.0leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements. - feat: Stop using
Other Changes
- chore(deps): Bump
rrwebto2.35.0(#15825) - deps: Bump bundler plugins to
3.2.3(#15829) - feat: Always truncate stored breadcrumb messages to 2kb (#15819)
- feat(nextjs): Disable server webpack-handling for static builds (#15751)
- fix(nuxt): Don't override Nuxt options if undefined (#15795)
Bundle size ๐ฆ
Path Size @sentry/browser 23.08 KB @sentry/browser - with treeshaking flags 22.88 KB @sentry/browser (incl. Tracing) 36.49 KB @sentry/browser (incl. Tracing, Replay) 73.65 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.3 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.87 KB @sentry/browser (incl. Feedback) 40.21 KB @sentry/browser (incl. sendFeedback) 27.71 KB @sentry/browser (incl. FeedbackAsync) 32.5 KB @sentry/react 24.86 KB @sentry/react (incl. Tracing) 38.39 KB @sentry/vue 27.3 KB @sentry/vue (incl. Tracing) 38.18 KB @sentry/svelte 23.12 KB CDN Bundle 24.33 KB CDN Bundle (incl. Tracing) 36.51 KB CDN Bundle (incl. Tracing, Replay) 71.53 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.71 KB CDN Bundle - uncompressed 70.93 KB CDN Bundle (incl. Tracing) - uncompressed 108.11 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.4 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.97 KB @sentry/nextjs (client) 39.68 KB @sentry/sveltekit (client) 36.92 KB @sentry/node 142.91 KB @sentry/node - without tracing 96.12 KB @sentry/aws-serverless 120.46 KB Release notes
Open source โImportant Changes
-
feat: Add support for logs
- feat(node): Add logging public APIs to Node SDKs (#15764)
- feat(core): Add support for
beforeSendLog(#15814) - feat(core): Add support for parameterizing logs (#15812)
- fix: Remove critical log severity level (#15824)
All JavaScript SDKs other than
@sentry/cloudflareand@sentry/denonow support sending logs via dedicated methods as part of Sentry's upcoming logging product.Logging is gated by an experimental option,
_experiments.enableLogs.Sentry.init({ dsn: 'PUBLIC_DSN', // `enableLogs` must be set to true to use the logging features _experiments: { enableLogs: true }, }); const { trace, debug, info, warn, error, fatal, fmt } = Sentry.logger; trace('Starting database connection', { database: 'users' }); debug('Cache miss for user', { userId: 123 }); error('Failed to process payment', { orderId: 'order_123', amount: 99.99 }); fatal('Database connection pool exhausted', { database: 'users', activeConnections: 100 }); // Structured logging via the `fmt` helper function. When you use `fmt`, the string template and parameters are sent separately so they can be queried independently in Sentry. info(fmt(`Updated profile for user ${userId}`)); warn(fmt(`Rate limit approaching for endpoint ${endpoint}. Requests: ${requests}, Limit: ${limit}`));With server-side SDKs like
@sentry/node,@sentry/bunor server-side of@sentry/nextjsor@sentry/sveltekit, you can do structured logging without needing thefmthelper function.const { info, warn } = Sentry.logger; info('User %s logged in successfully', [123]); warn('Failed to load user %s data', [123], { errorCode: 404 });To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLogoption. -
feat(browser): Add
diagnoseSdkConnectivity()function to programmatically detect possible connectivity issues (#15821)The
diagnoseSdkConnectivity()function can be used to programmatically detect possible connectivity issues with the Sentry SDK.const result = await Sentry.diagnoseSdkConnectivity();The result will be an object with the following properties:
"no-client-active": There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable": The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined: The SDK is working as expected.
-
SDK Tracing Performance Improvements for Node SDKs
- feat: Stop using
dropUndefinedKeys(#15796) - feat(node): Only add span listeners for instrumentation when used (#15802)
- ref: Avoid
dropUndefinedKeysforspanToJSONcalls (#15792) - ref: Avoid using
SentryErrorfor PromiseBuffer control flow (#15822) - ref: Stop using
dropUndefinedKeysin SpanExporter (#15794) - ref(core): Avoid using
SentryErrorfor event processing control flow (#15823) - ref(node): Avoid
dropUndefinedKeysin Node SDK init (#15797) - ref(opentelemetry): Avoid sampling work for non-root spans (#15820)
We've been hard at work making performance improvements to the Sentry Node SDKs (
@sentry/node,@sentry/aws-serverless,@sentry/nestjs, etc.). We've seen that upgrading from9.7.0to9.10.0leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements. - feat: Stop using
Other Changes
-
- 9.9.024 Mar 2025
Release notes
Open source โImportant Changes
-
feat(nextjs): Support
instrumentation-client.ts(#15705)Next.js recently added a feature to support client-side (browser) instrumentation via the
experimental.clientInstrumentationHookflag and theinstrumentation-client.tsfile.To be forwards compatible, the Sentry Next.js SDK will now pick up
instrumentation-client.tsfiles even on older Next.js versions and add them to your client bundles. It is suggested that you either rename yoursentry.client.config.tsfile toinstrumentation-client.ts, or if you already happen to have ainstrumentation-client.tsfile move the contents ofsentry.client.config.tstoinstrumentation-client.ts. -
feat(browser): Add
previous_tracespan links (#15569)The
@sentry/browserSDK and SDKs based on@sentry/browsernow emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option inbrowserTracingIntegration():Sentry.init({ dsn: 'your-dsn-here' integrations: [ Sentry.browserTracingIntegration({ // Available settings: // - 'in-memory' (default): Stores previous trace information in memory // - 'session-storage': Stores previous trace information in the browser's `sessionStorage` // - 'off': Disable storing and sending previous trace information linkPreviousTrace: 'in-memory', }), ], }); -
feat(browser): Add
logger.Xmethods to browser SDK (#15763)For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated
Sentry.init({ dsn: 'your-dsn-here', _experiments: { enableLogs: true, // This is required to use the logging features }, }); Sentry.logger.info('This is a trace message', { userId: 123 }); // See PR for better documentationPlease note that the logs product is still in early access. See the link above for more information.
Other Changes
- feat(browser): Attach host as part of error message to "Failed to fetch" errors (#15729)
- feat(core): Add
parseStringToURLmethod (#15768) - feat(core): Optimize
dropUndefinedKeys(#15760) - feat(node): Add fastify
shouldHandleError(#15771) - fix(nuxt): Delete no longer needed Nitro 'close' hook (#15790)
- perf(nestjs): Remove usage of
addNonEnumerableProperty(#15766) - ref: Avoid some usage of
dropUndefinedKeys()(#15757) - ref: Remove some usages of
dropUndefinedKeys()(#15781) - ref(nextjs): Fix Next.js vercel-edge runtime package information (#15789)
Bundle size ๐ฆ
Path Size @sentry/browser 23.21 KB @sentry/browser - with treeshaking flags 23.01 KB @sentry/browser (incl. Tracing) 36.62 KB @sentry/browser (incl. Tracing, Replay) 73.79 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.42 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91 KB @sentry/browser (incl. Feedback) 40.34 KB @sentry/browser (incl. sendFeedback) 27.85 KB @sentry/browser (incl. FeedbackAsync) 32.63 KB @sentry/react 25 KB @sentry/react (incl. Tracing) 38.52 KB @sentry/vue 27.44 KB @sentry/vue (incl. Tracing) 38.3 KB @sentry/svelte 23.25 KB CDN Bundle 24.43 KB CDN Bundle (incl. Tracing) 36.63 KB CDN Bundle (incl. Tracing, Replay) 71.62 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.83 KB CDN Bundle - uncompressed 71.39 KB CDN Bundle (incl. Tracing) - uncompressed 108.59 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.84 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.41 KB @sentry/nextjs (client) 39.81 KB @sentry/sveltekit (client) 37.03 KB @sentry/node 142.61 KB @sentry/node - without tracing 96 KB @sentry/aws-serverless 120.36 KB Release notes
Open source โImportant Changes
-
feat(nextjs): Support
instrumentation-client.ts(#15705)Next.js recently added a feature to support client-side (browser) instrumentation via a
instrumentation-client.tsfile.To be forwards compatible, the Sentry Next.js SDK will now pick up
instrumentation-client.tsfiles even on older Next.js versions and add them to your client bundles. It is suggested that you either rename yoursentry.client.config.tsfile toinstrumentation-client.ts, or if you already happen to have ainstrumentation-client.tsfile move the contents ofsentry.client.config.tstoinstrumentation-client.ts. -
feat(browser): Add
previous_tracespan links (#15569)The
@sentry/browserSDK and SDKs based on@sentry/browsernow emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option inbrowserTracingIntegration():Sentry.init({ dsn: 'your-dsn-here' integrations: [ Sentry.browserTracingIntegration({ // Available settings: // - 'in-memory' (default): Stores previous trace information in memory // - 'session-storage': Stores previous trace information in the browser's `sessionStorage` // - 'off': Disable storing and sending previous trace information linkPreviousTrace: 'in-memory', }), ], }); -
feat(browser): Add
logger.Xmethods to browser SDK (#15763)For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated methods.
Sentry.init({ dsn: 'your-dsn-here', _experiments: { enableLogs: true, // This is required to use the logging features }, }); Sentry.logger.info('This is a trace message', { userId: 123 }); // See PR for better documentationPlease note that the logs product is still in early access. See the link above for more information.
Other Changes
- feat(browser): Attach host as part of error message to "Failed to fetch" errors (#15729)
- feat(core): Add
parseStringToURLmethod (#15768) - feat(core): Optimize
dropUndefinedKeys(#15760) - feat(node): Add fastify
shouldHandleError(#15771) - fix(nuxt): Delete no longer needed Nitro 'close' hook (#15790)
- perf(nestjs): Remove usage of
addNonEnumerableProperty(#15766) - ref: Avoid some usage of
dropUndefinedKeys()(#15757) - ref: Remove some usages of
dropUndefinedKeys()(#15781) - ref(nextjs): Fix Next.js vercel-edge runtime package information (#15789)
-
- 9.8.021 Mar 2025
Release notes
Open source โ- feat(node): Implement new continuous profiling API spec (#15635)
- feat(profiling): Add platform to chunk envelope (#15758)
- feat(react): Export captureReactException method (#15746)
- fix(node): Check for
res.endbefore passing to Proxy (#15776) - perf(core): Add short-circuits to
eventFiltersintegration (#15752) - perf(node): Short circuit flushing on Vercel only for Vercel (#15734)
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 23.11 KB @sentry/browser (incl. Tracing) 36.34 KB @sentry/browser (incl. Tracing, Replay) 73.51 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.94 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.15 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.71 KB @sentry/browser (incl. Feedback) 40.43 KB @sentry/browser (incl. sendFeedback) 27.94 KB @sentry/browser (incl. FeedbackAsync) 32.73 KB @sentry/react 25.1 KB @sentry/react (incl. Tracing) 38.26 KB @sentry/vue 27.53 KB @sentry/vue (incl. Tracing) 38.04 KB @sentry/svelte 23.33 KB CDN Bundle 24.52 KB CDN Bundle (incl. Tracing) 36.38 KB CDN Bundle (incl. Tracing, Replay) 71.41 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.61 KB CDN Bundle - uncompressed 71.68 KB CDN Bundle (incl. Tracing) - uncompressed 108.06 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.32 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.88 KB @sentry/nextjs (client) 39.56 KB @sentry/sveltekit (client) 36.76 KB @sentry/node 142.65 KB @sentry/node - without tracing 96.04 KB @sentry/aws-serverless 120.41 KB Release notes
Open source โ- feat(node): Implement new continuous profiling API spec (#15635)
- feat(profiling): Add platform to chunk envelope (#15758)
- feat(react): Export captureReactException method (#15746)
- fix(node): Check for
res.endbefore passing to Proxy (#15776) - perf(core): Add short-circuits to
eventFiltersintegration (#15752) - perf(node): Short circuit flushing on Vercel only for Vercel (#15734)
- 9.7.020 Mar 2025
Release notes
Open source โ- feat(core): Add
captureLogmethod (#15717) - feat(remix/cloudflare): Export
sentryHandleError(#15726) - fix(node): Always flush on Vercel before Lambda freeze (#15602)
- fix(node): Ensure incoming traces are propagated without HttpInstrumentation (#15732)
- fix(node): Use
fatallevel for unhandled rejections instrictmode (#15720) - fix(nuxt): Delete Nuxt server template injection (#15749)
Bundle size ๐ฆ
Path Size @sentry/browser 23.28 KB @sentry/browser - with treeshaking flags 23.09 KB @sentry/browser (incl. Tracing) 36.33 KB @sentry/browser (incl. Tracing, Replay) 73.5 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.93 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.13 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.69 KB @sentry/browser (incl. Feedback) 40.42 KB @sentry/browser (incl. sendFeedback) 27.91 KB @sentry/browser (incl. FeedbackAsync) 32.7 KB @sentry/react 25.08 KB @sentry/react (incl. Tracing) 38.23 KB @sentry/vue 27.52 KB @sentry/vue (incl. Tracing) 38.02 KB @sentry/svelte 23.3 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 36.37 KB CDN Bundle (incl. Tracing, Replay) 71.39 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.57 KB CDN Bundle - uncompressed 71.56 KB CDN Bundle (incl. Tracing) - uncompressed 107.94 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.2 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.77 KB @sentry/nextjs (client) 39.52 KB @sentry/sveltekit (client) 36.73 KB @sentry/node 142.62 KB @sentry/node - without tracing 96.01 KB @sentry/aws-serverless 120.37 KB Release notes
Open source โ- feat(core): Add
captureLogmethod (#15717) - feat(remix/cloudflare): Export
sentryHandleError(#15726) - fix(node): Always flush on Vercel before Lambda freeze (#15602)
- fix(node): Ensure incoming traces are propagated without HttpInstrumentation (#15732)
- fix(node): Use
fatallevel for unhandled rejections instrictmode (#15720) - fix(nuxt): Delete Nuxt server template injection (#15749)
- feat(core): Add
- 9.7.0-alpha.019 Mar 2025pre-release
Release notes
Open source โThis is an alpha release that includes experimental features which are subject to breaking changes.
- fix(node): Ensure httpIntegration propagates traces #15735
- feat(browser): Attach top-level domain to "Failed to fetch" errors #15729
Bundle size ๐ฆ
Path Size @sentry/browser 23.26 KB @sentry/browser - with treeshaking flags 23.07 KB @sentry/browser (incl. Tracing) 36.32 KB @sentry/browser (incl. Tracing, Replay) 73.5 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.92 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.13 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.68 KB @sentry/browser (incl. Feedback) 40.4 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.68 KB @sentry/react 25.07 KB @sentry/react (incl. Tracing) 38.21 KB @sentry/vue 27.51 KB @sentry/vue (incl. Tracing) 38.01 KB @sentry/svelte 23.29 KB CDN Bundle 24.48 KB CDN Bundle (incl. Tracing) 36.36 KB CDN Bundle (incl. Tracing, Replay) 71.38 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.56 KB CDN Bundle - uncompressed 71.45 KB CDN Bundle (incl. Tracing) - uncompressed 107.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.09 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.66 KB @sentry/nextjs (client) 39.48 KB @sentry/sveltekit (client) 36.72 KB @sentry/node 142.8 KB @sentry/node - without tracing 96.15 KB @sentry/aws-serverless 120.54 KB - 9.6.119 Mar 2025
Release notes
Open source โ- feat(deps): bump @prisma/instrumentation from 6.4.1 to 6.5.0 (#15714)
- feat(deps): bump @sentry/cli from 2.42.2 to 2.42.3 (#15711)
- fix(nextjs): Re-patch router if it is overridden by Next.js (#15721)
- fix(nuxt): Add Nitro Rollup plugin to inject Sentry server config (#15710)
- chore(deps): Bump rollup to 4.35.0 (#15651)
Bundle size ๐ฆ
Path Size @sentry/browser 23.15 KB @sentry/browser - with treeshaking flags 22.94 KB @sentry/browser (incl. Tracing) 36.21 KB @sentry/browser (incl. Tracing, Replay) 73.39 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.81 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.01 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.57 KB @sentry/browser (incl. Feedback) 40.3 KB @sentry/browser (incl. sendFeedback) 27.79 KB @sentry/browser (incl. FeedbackAsync) 32.58 KB @sentry/react 24.97 KB @sentry/react (incl. Tracing) 38.1 KB @sentry/vue 27.4 KB @sentry/vue (incl. Tracing) 37.9 KB @sentry/svelte 23.18 KB CDN Bundle 24.36 KB CDN Bundle (incl. Tracing) 36.26 KB CDN Bundle (incl. Tracing, Replay) 71.27 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.45 KB CDN Bundle - uncompressed 71.19 KB CDN Bundle (incl. Tracing) - uncompressed 107.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.83 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.39 KB @sentry/nextjs (client) 39.38 KB @sentry/sveltekit (client) 36.63 KB @sentry/node 142.29 KB @sentry/node - without tracing 95.71 KB @sentry/aws-serverless 120.06 KB Release notes
Open source โ- feat(deps): bump @prisma/instrumentation from 6.4.1 to 6.5.0 (#15714)
- feat(deps): bump @sentry/cli from 2.42.2 to 2.42.3 (#15711)
- fix(nextjs): Re-patch router if it is overridden by Next.js (#15721)
- fix(nuxt): Add Nitro Rollup plugin to inject Sentry server config (#15710)
- chore(deps): Bump rollup to 4.35.0 (#15651)
- 9.6.017 Mar 2025
Release notes
Open source โImportant Changes
-
feat(tanstackstart): Add
@sentry/tanstackstart-reactpackage and make@sentry/tanstackstartpackage a utility package (#15629)Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the
@sentry/tanstackstartSDK package was renamed to@sentry/tanstackstart-reactto reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.
Other Changes
- feat(astro): Accept all vite-plugin options (#15638)
- feat(deps): bump @sentry/webpack-plugin from 3.2.1 to 3.2.2 (#15627)
- feat(tanstackstart): Refine initial API (#15574)
- fix(core): Ensure
fillonly patches functions (#15632) - fix(nextjs): Consider
pageExtensionswhen looking for instrumentation file (#15701) - fix(remix): Null-check
options(#15610) - fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (#15578)
- fix(sveltekit): Guard process variable (#15605)
Work in this release was contributed by @angelikatyborska and @nwalters512. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.15 KB @sentry/browser - with treeshaking flags 22.94 KB @sentry/browser (incl. Tracing) 36.21 KB @sentry/browser (incl. Tracing, Replay) 73.39 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.8 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.01 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.57 KB @sentry/browser (incl. Feedback) 40.3 KB @sentry/browser (incl. sendFeedback) 27.79 KB @sentry/browser (incl. FeedbackAsync) 32.58 KB @sentry/react 24.97 KB @sentry/react (incl. Tracing) 38.1 KB @sentry/vue 27.4 KB @sentry/vue (incl. Tracing) 37.9 KB @sentry/svelte 23.18 KB CDN Bundle 24.36 KB CDN Bundle (incl. Tracing) 36.26 KB CDN Bundle (incl. Tracing, Replay) 71.27 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.45 KB CDN Bundle - uncompressed 71.19 KB CDN Bundle (incl. Tracing) - uncompressed 107.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.84 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.4 KB @sentry/nextjs (client) 39.27 KB @sentry/sveltekit (client) 36.63 KB @sentry/node 142.15 KB @sentry/node - without tracing 95.58 KB @sentry/aws-serverless 119.92 KB Release notes
Open source โImportant Changes
-
feat(tanstackstart): Add
@sentry/tanstackstart-reactpackage and make@sentry/tanstackstartpackage a utility package (#15629)Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the
@sentry/tanstackstartSDK package was renamed to@sentry/tanstackstart-reactto reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.
Other Changes
- feat(astro): Accept all vite-plugin options (#15638)
- feat(deps): bump @sentry/webpack-plugin from 3.2.1 to 3.2.2 (#15627)
- feat(tanstackstart): Refine initial API (#15574)
- fix(core): Ensure
fillonly patches functions (#15632) - fix(nextjs): Consider
pageExtensionswhen looking for instrumentation file (#15701) - fix(remix): Null-check
options(#15610) - fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (#15578)
- fix(sveltekit): Guard process variable (#15605)
Work in this release was contributed by @angelikatyborska and @nwalters512. Thank you for your contributions!
-
- 9.6.0-alpha.06 Mar 2025pre-release
Release notes
Open source โThis is an alpha release that includes experimental functionality for the new logs API in Sentry. All experimental features are subject to breaking changes.
- feat(logs): Add experimental user-callable logging methods (#15442)
Logging is gated by an experimental option,
_experiments.enableLogs.Sentry.init({ _experiments: { // Enable logs to be sent to Sentry. enableLogs: true, }, });These API are exposed in the
Sentry._experiment_lognamespace. In the future the_experiment_lognamespace will be removed and logging functions will be moved into a more stable namespace.There are functions for each of the logging severity levels
fatal,error,warn,info,debug,trace. There is also alogfunction that is an alias toinfo.Sentry._experiment_log.info('Adding item to cart', { item: 'sneakers' }); Sentry._experiment_log.warn('User performed invalid operation', { userId: '23423874', operation: 'open-file' });If you want to do structured logging, you'll need to use the
fmthelper exposed in theSentry._experiment_lognamespace.const { fmt } = Sentry._experiment_log; Sentry._experiment_log.info(fmt`user ${username} just bought ${item}!`);SDKs that support the Alpha Logging APIs:
@sentry/astro@sentry/aws-serverless@sentry/browser@sentry/bun@sentry/cloudflare@sentry/core@sentry/deno@sentry/ember@sentry/gatsby@sentry/google-cloud-serverless@sentry/nestjs@sentry/nextjs@sentry/node@sentry/nuxt@sentry/react@sentry/remix@sentry/solid@sentry/solidstart@sentry/svelte@sentry/sveltekit@sentry/vercel-edge@sentry/vue
Bundle size ๐ฆ
Path Size @sentry/browser 23.82 KB @sentry/browser - with treeshaking flags 23.63 KB @sentry/browser (incl. Tracing) 36.82 KB @sentry/browser (incl. Tracing, Replay) 73.98 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.42 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.63 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.17 KB @sentry/browser (incl. Feedback) 40.97 KB @sentry/browser (incl. sendFeedback) 28.46 KB @sentry/browser (incl. FeedbackAsync) 33.24 KB @sentry/react 25.61 KB @sentry/react (incl. Tracing) 38.72 KB @sentry/vue 28.03 KB @sentry/vue (incl. Tracing) 38.54 KB @sentry/svelte 23.85 KB CDN Bundle 24.36 KB CDN Bundle (incl. Tracing) 36.25 KB CDN Bundle (incl. Tracing, Replay) 71.27 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.44 KB CDN Bundle - uncompressed 71.15 KB CDN Bundle (incl. Tracing) - uncompressed 107.53 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.8 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.36 KB @sentry/nextjs (client) 39.87 KB @sentry/sveltekit (client) 37.24 KB @sentry/node 142.83 KB @sentry/node - without tracing 96.26 KB @sentry/aws-serverless 120.59 KB - 9.5.06 Mar 2025
Release notes
Open source โImportant Changes
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.
- Revert "feat(feedback) Allowing annotation via highlighting & masking (#15484)" (#15609)
Other Changes
- Add cloudflare adapter detection and path generation (#15603)
- deps(nextjs): Bump rollup to
4.34.9(#15589) - feat(bun): Automatically add performance integrations (#15586)
- feat(replay): Bump rrweb to 2.34.0 (#15580)
- fix(browser): Call original function on early return from patched history API (#15576)
- fix(nestjs): Copy metadata in custom decorators (#15598)
- fix(react-router): Fix config type import (#15583)
- fix(remix): Use correct types export for
@sentry/remix/cloudflare(#15599) - fix(vue): Attach Pinia state only once per event (#15588)
Work in this release was contributed by @msurdi-a8c, @namoscato, and @rileyg98. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.14 KB @sentry/browser - with treeshaking flags 22.93 KB @sentry/browser (incl. Tracing) 36.2 KB @sentry/browser (incl. Tracing, Replay) 73.38 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.79 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.56 KB @sentry/browser (incl. Feedback) 40.29 KB @sentry/browser (incl. sendFeedback) 27.78 KB @sentry/browser (incl. FeedbackAsync) 32.57 KB @sentry/react 24.96 KB @sentry/react (incl. Tracing) 38.09 KB @sentry/vue 27.38 KB @sentry/vue (incl. Tracing) 37.89 KB @sentry/svelte 23.17 KB CDN Bundle 24.35 KB CDN Bundle (incl. Tracing) 36.25 KB CDN Bundle (incl. Tracing, Replay) 71.26 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.43 KB CDN Bundle - uncompressed 71.14 KB CDN Bundle (incl. Tracing) - uncompressed 107.52 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.79 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.36 KB @sentry/nextjs (client) 39.26 KB @sentry/sveltekit (client) 36.62 KB @sentry/node 142.14 KB @sentry/node - without tracing 95.57 KB @sentry/aws-serverless 119.92 KB Release notes
Open source โImportant Changes
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.
- Revert "feat(feedback) Allowing annotation via highlighting & masking (#15484)" (#15609)
Other Changes
- Add cloudflare adapter detection and path generation (#15603)
- deps(nextjs): Bump rollup to
4.34.9(#15589) - feat(bun): Automatically add performance integrations (#15586)
- feat(replay): Bump rrweb to 2.34.0 (#15580)
- fix(browser): Call original function on early return from patched history API (#15576)
- fix(nestjs): Copy metadata in custom decorators (#15598)
- fix(react-router): Fix config type import (#15583)
- fix(remix): Use correct types export for
@sentry/remix/cloudflare(#15599) - fix(vue): Attach Pinia state only once per event (#15588)
Work in this release was contributed by @msurdi-a8c, @namoscato, and @rileyg98. Thank you for your contributions!
- 9.5.0-alpha.05 Mar 2025pre-release
Release notes
Open source โThis is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the browser and core SDKs.
- feat(logs): Add experimental user-callable logging methods (#15442)
Logging is gated by an experimental option,
_experiments.enableLogs.Sentry.init({ _experiments: { enableLogs: true, }, });These API are exposed in the
Sentry._experiment_lognamespace.On a high level, there are functions for each of the logging severity levels
fatal,error,warn,info,debug,trace. There is also alogfunction that is an alias toinfo.Sentry._experiment_log.info('Adding item to cart', { item: 'sneakers' });If you want to do structured logging, you'll need to use the
fmthelper exposed in theSentry._experiment_lognamespace.const { fmt } = Sentry._experiment_log; Sentry._experiment_log.info(fmt`user ${username} just bought ${item}!`);Bundle size ๐ฆ
Path Size @sentry/browser 23.72 KB @sentry/browser - with treeshaking flags 23.54 KB @sentry/browser (incl. Tracing) 36.74 KB @sentry/browser (incl. Tracing, Replay) 73.93 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.36 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.47 KB @sentry/browser (incl. Feedback) 40.25 KB @sentry/browser (incl. sendFeedback) 28.36 KB @sentry/browser (incl. FeedbackAsync) 33.13 KB @sentry/react 25.54 KB @sentry/react (incl. Tracing) 38.69 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 38.47 KB @sentry/svelte 23.76 KB CDN Bundle 24.36 KB CDN Bundle (incl. Tracing) 36.25 KB CDN Bundle (incl. Tracing, Replay) 71.27 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.42 KB CDN Bundle - uncompressed 71.15 KB CDN Bundle (incl. Tracing) - uncompressed 107.53 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.8 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.33 KB @sentry/nextjs (client) 39.85 KB @sentry/sveltekit (client) 37.17 KB @sentry/node 142.78 KB @sentry/node - without tracing 96.21 KB @sentry/aws-serverless 120.53 KB - 9.4.05 Mar 2025
Release notes
Open source โ- feat(core): Add types for logs protocol and envelope (#15530)
- feat(deps): Bump
@sentry/clifrom 2.41.1 to 2.42.2 (#15510) - feat(deps): Bump
@sentry/webpack-pluginfrom 3.1.2 to 3.2.1 (#15512) - feat(feedback) Allowing annotation via highlighting & masking (#15484)
- feat(nextjs): Add
use clientdirective to client SDK entrypoints (#15575) - feat(nextjs): Allow silencing of instrumentation warning (#15555)
- feat(sveltekit): Ensure
AsyncLocalStorageasync context strategy is used in Cloudflare Pages (#15557) - fix(cloudflare): Make
@cloudflare/workers-typesan optional peer dependency (#15554) - fix(core): Don't reverse values in event filters (#15584)
- fix(core): Handle normalization of null prototypes correctly (#15556)
- fix(nextjs): Only warn on missing
onRequestErrorin version 15 (#15553) - fix(node): Allow for
undefinedtransport to be passed in (#15560) - fix(wasm): Fix wasm integration stacktrace parsing for filename (#15572)
- perf(node): Store normalized request for processing (#15570)
Bundle size ๐ฆ
Path Size @sentry/browser 23.13 KB @sentry/browser - with treeshaking flags 22.92 KB @sentry/browser (incl. Tracing) 36.2 KB @sentry/browser (incl. Tracing, Replay) 73.38 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.79 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.99 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.91 KB @sentry/browser (incl. Feedback) 39.66 KB @sentry/browser (incl. sendFeedback) 27.76 KB @sentry/browser (incl. FeedbackAsync) 32.54 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 38.08 KB @sentry/vue 27.38 KB @sentry/vue (incl. Tracing) 37.89 KB @sentry/svelte 23.17 KB CDN Bundle 24.34 KB CDN Bundle (incl. Tracing) 36.24 KB CDN Bundle (incl. Tracing, Replay) 71.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.41 KB CDN Bundle - uncompressed 71.12 KB CDN Bundle (incl. Tracing) - uncompressed 107.51 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.31 KB @sentry/nextjs (client) 39.25 KB @sentry/sveltekit (client) 36.61 KB @sentry/node 142.14 KB @sentry/node - without tracing 95.57 KB @sentry/aws-serverless 119.92 KB Release notes
Open source โ- feat(core): Add types for logs protocol and envelope (#15530)
- feat(deps): Bump
@sentry/clifrom 2.41.1 to 2.42.2 (#15510) - feat(deps): Bump
@sentry/webpack-pluginfrom 3.1.2 to 3.2.1 (#15512) - feat(feedback) Allowing annotation via highlighting & masking (#15484)
- feat(nextjs): Add
use clientdirective to client SDK entrypoints (#15575) - feat(nextjs): Allow silencing of instrumentation warning (#15555)
- feat(sveltekit): Ensure
AsyncLocalStorageasync context strategy is used in Cloudflare Pages (#15557) - fix(cloudflare): Make
@cloudflare/workers-typesan optional peer dependency (#15554) - fix(core): Don't reverse values in event filters (#15584)
- fix(core): Handle normalization of null prototypes correctly (#15556)
- fix(nextjs): Only warn on missing
onRequestErrorin version 15 (#15553) - fix(node): Allow for
undefinedtransport to be passed in (#15560) - fix(wasm): Fix wasm integration stacktrace parsing for filename (#15572)
- perf(node): Store normalized request for processing (#15570)
- 9.3.028 Feb 2025
Release notes
Open source โImportant Changes
With this release we're publishing two new SDKs in experimental alpha stage:
- feat(tanstackstart): Add TanStack Start SDK (#15523)
For details please refer to the README
- feat(react-router): Add React Router SDK (#15524)
For details please refer to the README
- feat(remix): Add support for Hydrogen (#15450)
This PR adds support for Shopify Hydrogen applications running on MiniOxygen runtime.
Other Changes
- feat(core): Add
forceTransactionto trpc middleware options (#15519) - feat(core): Default filter unactionable error (#15527)
- feat(core): Rename
inboundFiltersIntegrationtoeventFiltersIntegration(#15434) - feat(deps): bump @prisma/instrumentation from 6.2.1 to 6.4.1 (#15480)
- feat(react-router): Add build-time config (#15406)
- feat(replay): Bump rrweb to 2.33.0 (#15514)
- fix(core): Fix
allowUrlsanddenyUrlsfor linked and aggregate exceptions (#15521) - fix(nextjs): Don't capture devmode server-action redirect errors (#15485)
- fix(nextjs): warn about missing onRequestError handler #15488)
- fix(nextjs): Prevent wrong culprit from showing up for clientside error events #15475)
- fix(nuxt): Ignore 300-400 status codes on app errors in Nuxt (#15473)
- fix(react): Add support for cross-usage of React Router instrumentations (#15283)
- fix(sveltekit): Guard
processcheck when flushing events (#15516)
Work in this release was contributed by @GerryWilko and @leoambio. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.12 KB @sentry/browser - with treeshaking flags 22.91 KB @sentry/browser (incl. Tracing) 36.18 KB @sentry/browser (incl. Tracing, Replay) 73.36 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.78 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.98 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.54 KB @sentry/browser (incl. Feedback) 40.27 KB @sentry/browser (incl. sendFeedback) 27.75 KB @sentry/browser (incl. FeedbackAsync) 32.55 KB @sentry/react 24.94 KB @sentry/react (incl. Tracing) 38.07 KB @sentry/vue 27.36 KB @sentry/vue (incl. Tracing) 37.87 KB @sentry/svelte 23.16 KB CDN Bundle 24.33 KB CDN Bundle (incl. Tracing) 36.22 KB CDN Bundle (incl. Tracing, Replay) 71.24 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.41 KB CDN Bundle - uncompressed 71.09 KB CDN Bundle (incl. Tracing) - uncompressed 107.48 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.75 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.31 KB @sentry/nextjs (client) 39.24 KB @sentry/sveltekit (client) 36.6 KB @sentry/node 142.12 KB @sentry/node - without tracing 95.55 KB @sentry/aws-serverless 119.9 KB Release notes
Open source โImportant Changes
With this release we're publishing two new SDKs in experimental alpha stage:
- feat(tanstackstart): Add TanStack Start SDK (#15523)
For details please refer to the README
- feat(react-router): Add React Router SDK (#15524)
For details please refer to the README
- feat(remix): Add support for Hydrogen (#15450)
This PR adds support for Shopify Hydrogen applications running on MiniOxygen runtime.
Other Changes
- feat(core): Add
forceTransactionto trpc middleware options (#15519) - feat(core): Default filter unactionable error (#15527)
- feat(core): Rename
inboundFiltersIntegrationtoeventFiltersIntegration(#15434) - feat(deps): bump @prisma/instrumentation from 6.2.1 to 6.4.1 (#15480)
- feat(react-router): Add build-time config (#15406)
- feat(replay): Bump rrweb to 2.33.0 (#15514)
- fix(core): Fix
allowUrlsanddenyUrlsfor linked and aggregate exceptions (#15521) - fix(nextjs): Don't capture devmode server-action redirect errors (#15485)
- fix(nextjs): warn about missing onRequestError handler #15488)
- fix(nextjs): Prevent wrong culprit from showing up for clientside error events #15475)
- fix(nuxt): Ignore 300-400 status codes on app errors in Nuxt (#15473)
- fix(react): Add support for cross-usage of React Router instrumentations (#15283)
- fix(sveltekit): Guard
processcheck when flushing events (#15516)
Work in this release was contributed by @GerryWilko and @leoambio. Thank you for your contributions!
- 9.2.024 Feb 2025
Release notes
Open source โImportant Changes
- feat(node): Support Express v5 (#15380)
This release adds full tracing support for Express v5, and improves tracing support for Nest.js 11 (which uses Express v5) in the Nest.js SDK.
- feat(sveltekit): Add Support for Cloudflare (#14672)
This release adds support for deploying SvelteKit applications to Cloudflare Pages. A docs update with updated instructions will follow shortly. Until then, you can give this a try by setting up the SvelteKit SDK as usual and then following the instructions outlined in the PR.
Thank you @SG60 for contributing this feature!
Other Changes
- feat(core): Add
addLink(s)to Sentry span (#15452) - feat(core): Add links to span options (#15453)
- feat(deps): Bump @sentry/webpack-plugin from 2.22.7 to 3.1.2 (#15328)
- feat(feedback): Disable Feedback submit & cancel buttons while submitting (#15408)
- feat(nextjs): Add experimental flag to not strip origin information from different origin stack frames (#15418)
- feat(nuxt): Add
enableNitroErrorHandlerto server options (#15444) - feat(opentelemetry): Add
addLink(s)to span (#15387) - feat(opentelemetry): Add
linksto span options (#15403) - feat(replay): Expose rrweb recordCrossOriginIframes under _experiments (#14916)
- fix(browser): Ensure that
performance.measurespans have a positive duration (#15415) - fix(bun): Includes correct sdk metadata (#15459)
- fix(core): Add Google
gmoerror to Inbound Filters (#15432) - fix(core): Ensure
http.clientspan descriptions don't contain query params or fragments (#15404) - fix(core): Filter out unactionable Facebook Mobile browser error (#15430)
- fix(nestjs): Pin dependency on
@opentelemetry/instrumentation(#15419) - fix(nuxt): Only use filename with file extension from command (#15445)
- fix(nuxt): Use
SentryNuxtServerOptionstype for server init (#15441) - fix(sveltekit): Avoid loading vite config to determine source maps setting (#15440)
- ref(profiling-node): Bump chunk interval to 60s (#15361)
Work in this release was contributed by @6farer, @dgavranic and @SG60. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.05 KB @sentry/browser - with treeshaking flags 22.84 KB @sentry/browser (incl. Tracing) 36.13 KB @sentry/browser (incl. Tracing, Replay) 73.14 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.6 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.39 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.34 KB @sentry/browser (incl. Feedback) 40.2 KB @sentry/browser (incl. sendFeedback) 27.68 KB @sentry/browser (incl. FeedbackAsync) 32.48 KB @sentry/react 24.87 KB @sentry/react (incl. Tracing) 38.01 KB @sentry/vue 27.29 KB @sentry/vue (incl. Tracing) 37.81 KB @sentry/svelte 23.09 KB CDN Bundle 24.25 KB CDN Bundle (incl. Tracing) 36.15 KB CDN Bundle (incl. Tracing, Replay) 71 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.17 KB CDN Bundle - uncompressed 70.91 KB CDN Bundle (incl. Tracing) - uncompressed 107.29 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.57 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.13 KB @sentry/nextjs (client) 39.16 KB @sentry/sveltekit (client) 36.54 KB @sentry/node 129.25 KB @sentry/node - without tracing 98.03 KB @sentry/aws-serverless 107.45 KB Release notes
Open source โImportant Changes
- feat(node): Support Express v5 (#15380)
This release adds full tracing support for Express v5, and improves tracing support for Nest.js 11 (which uses Express v5) in the Nest.js SDK.
- feat(sveltekit): Add Support for Cloudflare (#14672)
This release adds support for deploying SvelteKit applications to Cloudflare Pages. A docs update with updated instructions will follow shortly. Until then, you can give this a try by setting up the SvelteKit SDK as usual and then following the instructions outlined in the PR.
Thank you @SG60 for contributing this feature!
Other Changes
- feat(core): Add
addLink(s)to Sentry span (#15452) - feat(core): Add links to span options (#15453)
- feat(deps): Bump @sentry/webpack-plugin from 2.22.7 to 3.1.2 (#15328)
- feat(feedback): Disable Feedback submit & cancel buttons while submitting (#15408)
- feat(nextjs): Add experimental flag to not strip origin information from different origin stack frames (#15418)
- feat(nuxt): Add
enableNitroErrorHandlerto server options (#15444) - feat(opentelemetry): Add
addLink(s)to span (#15387) - feat(opentelemetry): Add
linksto span options (#15403) - feat(replay): Expose rrweb recordCrossOriginIframes under _experiments (#14916)
- fix(browser): Ensure that
performance.measurespans have a positive duration (#15415) - fix(bun): Includes correct sdk metadata (#15459)
- fix(core): Add Google
gmoerror to Inbound Filters (#15432) - fix(core): Ensure
http.clientspan descriptions don't contain query params or fragments (#15404) - fix(core): Filter out unactionable Facebook Mobile browser error (#15430)
- fix(nestjs): Pin dependency on
@opentelemetry/instrumentation(#15419) - fix(nuxt): Only use filename with file extension from command (#15445)
- fix(nuxt): Use
SentryNuxtServerOptionstype for server init (#15441) - fix(sveltekit): Avoid loading vite config to determine source maps setting (#15440)
- ref(profiling-node): Bump chunk interval to 60s (#15361)
Work in this release was contributed by @6farer, @dgavranic and @SG60. Thank you for your contributions!
- 9.2.0-beta.021 Feb 2025pre-release
Release notes
Open source โThis is a beta release that replaces the user feedback screenshot cropping and annotating capabilities with the highlight and hide annotation boxes.
- feat(feedback): Revamp of user feedback screenshot editing (#15424)
Bundle size ๐ฆ
Path Size @sentry/browser 23.06 KB @sentry/browser - with treeshaking flags 22.84 KB @sentry/browser (incl. Tracing) 36.08 KB @sentry/browser (incl. Tracing, Replay) 73.09 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.55 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.34 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.7 KB @sentry/browser (incl. Feedback) 39.63 KB @sentry/browser (incl. sendFeedback) 27.68 KB @sentry/browser (incl. FeedbackAsync) 32.48 KB @sentry/react 24.88 KB @sentry/react (incl. Tracing) 37.96 KB @sentry/vue 27.24 KB @sentry/vue (incl. Tracing) 37.77 KB @sentry/svelte 23.09 KB CDN Bundle 24.26 KB CDN Bundle (incl. Tracing) 36.1 KB CDN Bundle (incl. Tracing, Replay) 70.95 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.11 KB CDN Bundle - uncompressed 70.92 KB CDN Bundle (incl. Tracing) - uncompressed 107.18 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.46 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.02 KB @sentry/nextjs (client) 38.95 KB @sentry/sveltekit (client) 36.48 KB @sentry/node 129.29 KB @sentry/node - without tracing 98.06 KB @sentry/aws-serverless 107.49 KB - 9.2.0-alpha.126 Feb 2025pre-release
Release notes
Open source โAlpha release of User Feedback's new annotation editor that allows you to highlight (or redact) specific parts of a screenshot.
- feat(feedback): Allowing annotation via highlighting & masking (#15484)
Bundle size ๐ฆ
Path Size @sentry/browser 23.64 KB @sentry/browser - with treeshaking flags 23.47 KB @sentry/browser (incl. Tracing) 36.67 KB @sentry/browser (incl. Tracing, Replay) 73.83 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.27 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.47 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.39 KB @sentry/browser (incl. Feedback) 40.16 KB @sentry/browser (incl. sendFeedback) 28.27 KB @sentry/browser (incl. FeedbackAsync) 33.05 KB @sentry/react 25.47 KB @sentry/react (incl. Tracing) 38.61 KB @sentry/vue 27.88 KB @sentry/vue (incl. Tracing) 38.38 KB @sentry/svelte 23.68 KB CDN Bundle 24.78 KB CDN Bundle (incl. Tracing) 36.68 KB CDN Bundle (incl. Tracing, Replay) 71.68 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.88 KB CDN Bundle - uncompressed 72.38 KB CDN Bundle (incl. Tracing) - uncompressed 108.76 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.01 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.56 KB @sentry/nextjs (client) 39.78 KB @sentry/sveltekit (client) 37.1 KB @sentry/node 142.72 KB @sentry/node - without tracing 96.14 KB @sentry/aws-serverless 120.47 KB - 9.2.0-alpha.025 Feb 2025pre-release
Release notes
Open source โThis is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the browser and core SDKs.
- feat(logs): Add experimental user-callable logging methods (#15442)
Logging is gated by an experimental option,
_experiments.enableLogs.Sentry.init({ _experiments: { enableLogs: true, }, });These API are exposed in the
Sentry._experiment_lognamespace.On the high level, there are functions for each of the logging severity levels
critical,fatal,error,warn,info,debug,trace. These functions are tagged template functions, so they use a special string template syntax that we use to parameterize functions accordingly.Sentry._experiment_log.info`user ${username} just bought ${item}!`;If you want more custom usage, we also expose a
captureLogmethod that allows you to pass custom attributes, but it's less easy to use than the tagged template functions.Sentry._experiment_log.captureLog('error', 'Hello world!', { 'user.id': 123 });Bundle size ๐ฆ
Path Size @sentry/browser 23.64 KB @sentry/browser - with treeshaking flags 23.47 KB @sentry/browser (incl. Tracing) 36.67 KB @sentry/browser (incl. Tracing, Replay) 73.83 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.27 KB @sentry/browser (incl. Tracing, Replay with Canvas) 78.47 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.04 KB @sentry/browser (incl. Feedback) 40.79 KB @sentry/browser (incl. sendFeedback) 28.27 KB @sentry/browser (incl. FeedbackAsync) 33.07 KB @sentry/react 25.47 KB @sentry/react (incl. Tracing) 38.61 KB @sentry/vue 27.88 KB @sentry/vue (incl. Tracing) 38.38 KB @sentry/svelte 23.68 KB CDN Bundle 24.78 KB CDN Bundle (incl. Tracing) 36.68 KB CDN Bundle (incl. Tracing, Replay) 71.68 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.88 KB CDN Bundle - uncompressed 72.38 KB CDN Bundle (incl. Tracing) - uncompressed 108.76 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.01 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.59 KB @sentry/nextjs (client) 39.78 KB @sentry/sveltekit (client) 37.1 KB @sentry/node 142.72 KB @sentry/node - without tracing 96.14 KB @sentry/aws-serverless 120.47 KB - 9.1.1-alpha.019 Feb 2025pre-release
Release notes
Open source โThis is an alpha release with version 2.32.0 of the rrweb package.
Bundle size ๐ฆ
Path Size @sentry/browser 23.06 KB @sentry/browser - with treeshaking flags 22.85 KB @sentry/browser (incl. Tracing) 36.08 KB @sentry/browser (incl. Tracing, Replay) 73.24 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.67 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.85 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.43 KB @sentry/browser (incl. Feedback) 40.21 KB @sentry/browser (incl. sendFeedback) 27.68 KB @sentry/browser (incl. FeedbackAsync) 32.49 KB @sentry/react 24.88 KB @sentry/react (incl. Tracing) 37.96 KB @sentry/vue 27.24 KB @sentry/vue (incl. Tracing) 37.77 KB @sentry/svelte 23.1 KB CDN Bundle 24.26 KB CDN Bundle (incl. Tracing) 36.1 KB CDN Bundle (incl. Tracing, Replay) 71.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) 76.28 KB CDN Bundle - uncompressed 70.92 KB CDN Bundle (incl. Tracing) - uncompressed 107.18 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 218.44 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231 KB @sentry/nextjs (client) 38.95 KB @sentry/sveltekit (client) 36.49 KB @sentry/node 127.76 KB @sentry/node - without tracing 98.05 KB @sentry/aws-serverless 107.48 KB - 9.1.013 Feb 2025
Release notes
Open source โ- feat(browser): Add
graphqlClientIntegration(#13783) - feat(core): Allow for nested trpc context (#15379)
- feat(core): Create types and utilities for span links (#15375)
- feat(deps): bump @opentelemetry/instrumentation-pg from 0.50.0 to 0.51.0 (#15273)
- feat(node): Extract Sentry-specific node-fetch instrumentation (#15231)
- feat(vue): Support Pinia v3 (#15383)
- fix(sveltekit): Avoid request body double read errors (#15368)
- fix(sveltekit): Avoid top-level
viteimport (#15371)
Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 22.95 KB @sentry/browser - with treeshaking flags 22.73 KB @sentry/browser (incl. Tracing) 35.88 KB @sentry/browser (incl. Tracing, Replay) 72.88 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.38 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.13 KB @sentry/browser (incl. Tracing, Replay, Feedback) 90.04 KB @sentry/browser (incl. Feedback) 40.06 KB @sentry/browser (incl. sendFeedback) 27.58 KB @sentry/browser (incl. FeedbackAsync) 32.38 KB @sentry/react 24.78 KB @sentry/react (incl. Tracing) 37.78 KB @sentry/vue 27.14 KB @sentry/vue (incl. Tracing) 37.59 KB @sentry/svelte 22.99 KB CDN Bundle 24.17 KB CDN Bundle (incl. Tracing) 35.92 KB CDN Bundle (incl. Tracing, Replay) 70.75 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.91 KB CDN Bundle - uncompressed 70.64 KB CDN Bundle (incl. Tracing) - uncompressed 106.73 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.95 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.51 KB @sentry/nextjs (client) 38.75 KB @sentry/sveltekit (client) 36.32 KB @sentry/node 127.6 KB @sentry/node - without tracing 97.9 KB @sentry/aws-serverless 107.34 KB Release notes
Open source โ- feat(browser): Add
graphqlClientIntegration(#13783) - feat(core): Allow for nested trpc context (#15379)
- feat(core): Create types and utilities for span links (#15375)
- feat(deps): bump @opentelemetry/instrumentation-pg from 0.50.0 to 0.51.0 (#15273)
- feat(node): Extract Sentry-specific node-fetch instrumentation (#15231)
- feat(vue): Support Pinia v3 (#15383)
- fix(sveltekit): Avoid request body double read errors (#15368)
- fix(sveltekit): Avoid top-level
viteimport (#15371)
Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!
- feat(browser): Add
- 9.0.111 Feb 2025
Release notes
Open source โBundle size ๐ฆ
Path Size @sentry/browser 22.9 KB @sentry/browser - with treeshaking flags 22.69 KB @sentry/browser (incl. Tracing) 35.77 KB @sentry/browser (incl. Tracing, Replay) 72.65 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.13 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.9 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.64 KB @sentry/browser (incl. Feedback) 39.86 KB @sentry/browser (incl. sendFeedback) 27.53 KB @sentry/browser (incl. FeedbackAsync) 32.31 KB @sentry/react 24.74 KB @sentry/react (incl. Tracing) 37.67 KB @sentry/vue 27.09 KB @sentry/vue (incl. Tracing) 37.47 KB @sentry/svelte 22.94 KB CDN Bundle 24.13 KB CDN Bundle (incl. Tracing) 35.84 KB CDN Bundle (incl. Tracing, Replay) 70.55 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.69 KB CDN Bundle - uncompressed 70.59 KB CDN Bundle (incl. Tracing) - uncompressed 106.46 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.52 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.09 KB @sentry/nextjs (client) 38.63 KB @sentry/sveltekit (client) 36.2 KB @sentry/node 156.33 KB @sentry/node - without tracing 97.31 KB @sentry/aws-serverless 106.82 KB - 9.0.010 Feb 2025
Release notes
Open source โVersion
9.0.0marks a major release of the Sentry JavaScript SDKs containing breaking changes. The goal of this release is to trim down unused and potentially confusing APIs, prepare the SDKs for future framework versions to build deeper instrumentation, and remove old polyfills to reduce bundle size.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/
A comprehensive migration guide outlining all changes for all the frameworks can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
Breaking Changes
- doc(deno)!: Make Deno v2 the minimum supported version (#15085)
- feat!: Bump typescript to
~5.0.0(#14758) - feat!: Drop
nitro-utilspackage (#14998) - feat!: Only collect ip addresses with
sendDefaultPii: true(#15084) - feat!: Remove
autoSessionTrackingoption (#14802) - feat!: Remove
enableTracing(#15078) - feat!: Remove
getCurrentHub(),Hub, andgetCurrentHubShim()(#15122) - feat!: Remove
spanIdfrom propagation context (#14733) - feat!: Remove deprecated and unused code (#15077)
- feat!: Remove metrics API from the JS SDK (#14745)
- feat!: Require Node
>=18as minimum supported version (#14749) - feat(astro)!: Respect user-specified source map setting (#14941)
- feat(browser)!: Remove
captureUserFeedbackmethod (#14820) - feat(build)!: Drop pre-ES2020 polyfills (#14882)
- feat(core)!: Add
normalizedRequesttosamplingContext(#14902) - feat(core)!: Always use session from isolation scope (#14860)
- feat(core)!: Pass root spans to
beforeSendSpanand disallow returningnull(#14831) - feat(core)!: Remove
BAGGAGE_HEADER_NAMEexport (#14785) - feat(core)!: Remove
TransactionNamingSchemetype (#14865) - feat(core)!: Remove
addOpenTelemetryInstrumentationmethod (#14792) - feat(core)!: Remove
arrayifymethod (#14782) - feat(core)!: Remove
debugIntegrationandsessionTimingIntegration(#14747) - feat(core)!: Remove
flattenmethod (#14784) - feat(core)!: Remove
getDomElementmethod (#14797) - feat(core)!: Remove
makeFifoCachemethod (#14786) - feat(core)!: Remove
memoBuilderexport &WeakSetfallback (#14859) - feat(core)!: Remove
transactionContextfromsamplingContext(#14904) - feat(core)!: Remove
urlEncodemethod (#14783) - feat(core)!: Remove deprecated
Requesttype (#14858) - feat(core)!: Remove deprecated request data methods (#14896)
- feat(core)!: Remove standalone
Clientinterface & deprecateBaseClient(#14800) - feat(core)!: Remove validSeverityLevels export (#14765)
- feat(core)!: Stop accepting
eventas argument forrecordDroppedEvent(#14999) - feat(core)!: Stop setting user in
requestDataIntegration(#14898) - feat(core)!: Type sdkProcessingMetadata more strictly (#14855)
- feat(core)!: Update
hasTracingEnabledto consider empty trace config (#14857) - feat(core)!: Update
requestDataIntegrationhandling (#14806) - feat(deno)!: Remove deno prepack (#14829)
- feat(ember)!: Officially drop support for ember
<=3.x(#15032) - feat(nestjs)!: Move
nestIntegrationinto nest sdk and removesetupNestErrorHandler(#14751) - feat(nestjs)!: Remove
@WithSentrydecorator (#14762) - feat(nestjs)!: Remove
SentryService(#14759) - feat(nextjs)!: Don't rely on Next.js Build ID for release names (#14939)
- feat(nextjs)!: Remove
experimental_captureRequestError(#14607) - feat(nextjs)!: Respect user-provided source map generation settings (#14956)
- feat(node)!: Add support for Prisma v6 and drop v5 support (#15120)
- feat(node)!: Avoid http spans by default for custom OTEL setups (#14678)
- feat(node)!: Collect request sessions via HTTP instrumentation (#14658)
- feat(node)!: Remove
processThreadBreadcrumbIntegration(#14666) - feat(node)!: Remove fine grained
registerEsmLoaderHooks(#15002) - feat(opentelemetry)!: Exclusively pass root spans through sampling pipeline (#14951)
- feat(pinia)!: Include state of all stores in breadcrumb (#15312)
- feat(react)!: Raise minimum supported TanStack Router version to
1.63.0(#15030) - feat(react)!: Remove deprecated
getNumberOfUrlSegmentsmethod (#14744) - feat(react)!: Remove deprecated react router methods (#14743)
- feat(react)!: Update
ErrorBoundarycomponentStacktype (#14742) - feat(remix)!: Drop support for Remix v1 (#14988)
- feat(remix)!: Remove
autoInstrumentRemixoption (#15074) - feat(solidstart)!: Default to
--importsetup and addautoInjectServerSentry(#14862) - feat(solidstart)!: No longer export
sentrySolidStartVite(#15143) - feat(solidstart)!: Respect user-provided source map setting (#14979)
- feat(svelte)!: Disable component update tracking by default (#15265)
- feat(sveltekit)!: Drop support for SvelteKit @1.x (#15037)
- feat(sveltekit)!: Remove
fetchProxyScriptNonceoption (#15123) - feat(sveltekit)!: Respect user-provided source map generation settings (#14886)
- feat(utils)!: Remove
@sentry/utilspackage (#14830) - feat(vue)!: Remove configuring Vue tracing options anywhere else other than through the
vueIntegration'stracingOptionsoption (#14856) - feat(vue/nuxt)!: No longer create
"update"spans for component tracking by default (#14602) - fix(node)!: Fix name of
vercelAIIntegrationtoVercelAI(#15298) - fix(vue)!: Remove
logErrorfromvueIntegration(#14958) - ref!: Don't polyfill optional chaining and nullish coalescing (#14603)
- ref(core)!: Cleanup internal types, including
ReportDialogOptions(#14861) - ref(core)!: Mark exceptions from
captureConsoleIntegrationashandled: trueby default (#14734) - ref(core)!: Move
shutdownTimeoutoption type from core to node (#15217) - ref(core)!: Remove
Scopetype interface in favor of usingScopeclass (#14721) - ref(core)!: Remove backwards compatible SentryCarrier type (#14697)
Other Changes
- chore(browser): Export ipAddress helpers for use in other SDKs (#15079)
- deps(node): Bump
import-in-the-middleto1.12.0(#14796) - feat(aws): Rename AWS lambda layer name to
SentryNodeServerlessSDKv9(#14927) - feat(aws-serverless): Upgrade OTEL deps (#15091)
- feat(browser): Set
user.ip_addressexplicitly to{{auto}}(#15008) - feat(core): Add
inheritOrSampleWithhelper totraceSampler(#15277) - feat(core): Emit client reports for unsampled root spans on span start (#14936)
- feat(core): Rename
hasTracingEnabledtohasSpansEnabled(#15309) - feat(core): Streamline
SpanJSONtype (#14693) - feat(deno): Don't bundle
@sentry/deno(#15014) - feat(deno): Don't publish to
deno.land(#15016) - feat(deno): Stop inlining types from core (#14729)
- feat(deps): Bump @opentelemetry/instrumentation-amqplib from 0.45.0 to 0.46.0 (#14835)
- feat(deps): Bump @opentelemetry/instrumentation-aws-lambda from 0.49.0 to 0.50.0 (#14833)
- feat(deps): Bump @opentelemetry/instrumentation-express from 0.46.0 to 0.47.0 (#14834)
- feat(deps): Bump @opentelemetry/instrumentation-mysql2 from 0.44.0 to 0.45.0 (#14836)
- feat(deps): Bump @opentelemetry/propagation-utils from 0.30.14 to 0.30.15 (#14832)
- feat(deps): bump @opentelemetry/context-async-hooks from 1.29.0 to 1.30.0 (#14869)
- feat(deps): bump @opentelemetry/instrumentation-generic-pool from 0.42.0 to 0.43.0 (#14870)
- feat(deps): bump @opentelemetry/instrumentation-knex from 0.43.0 to 0.44.0 (#14872)
- feat(deps): bump @opentelemetry/instrumentation-mongodb from 0.50.0 to 0.51.0 (#14871)
- feat(deps): bump @opentelemetry/instrumentation-tedious from 0.17.0 to 0.18.0 (#14868)
- feat(deps): bump @sentry/cli from 2.39.1 to 2.41.1 (#15173)
- feat(flags): Add Statsig browser integration (#15319)
- feat(gatsby): Preserve user-provided source map settings (#15006)
- feat(nestjs): Remove
SentryTracingInterceptor,SentryGlobalGraphQLFilter,SentryGlobalGenericFilter(#14761) - feat(nextjs): Directly forward
sourcemaps.disableto webpack plugin (#15109) - feat(node): Add
processSessionIntegration(#15081) - feat(node): Add missing
vercelAIIntegrationexport (#15318) - feat(node): Capture exceptions from
worker_threads(#15105) - feat(nuxt): Add enabled to disable Sentry module (#15337)
- feat(nuxt): add
silent,errorHandler,releasetoSourceMapsOptions(#15246) - feat(profiling-node): Use
@sentry-internal/node-cpu-profiler(#15208) - feat(replay): Update fflate to 0.8.2 (#14867)
- feat(solidstart): Add
autoInjectServerSentry: 'experimental_dynamic-import(#14863) - feat(sveltekit): Only inject fetch proxy script for SvelteKit < 2.16.0 (#15126)
- feat(user feedback): Adds draw tool for UF screenshot annotations (#15062)
- feat(user feedback): Adds toolbar for cropping and annotating (#15282)
- feat: Avoid class fields all-together (#14887)
- feat: Only emit
__esModuleproperties in CJS modules when there is a default export (#15018) - feat: Pass
parentSampleRatetotracesSampler(#15024) - feat: Propagate and use a sampling random (#14989)
- fix(browser): Remove
browserPerformanceTimeOriginside-effects (#14025) - fix(core): Ensure debugIds are applied to all exceptions in an event (#14881)
- fix(core): Fork scope if custom scope is passed to
startSpanManual(#14901) - fix(core): Fork scope if custom scope is passed to
startSpan(#14900) - fix(core): Only fall back to
sendDefaultPiifor IP collection inrequestDataIntegration(#15125) - fix(nextjs): Flush with
waitUntilincaptureRequestError(#15146) - fix(nextjs): Use batched devserver symbolication endpoint (#15335)
- fix(node): Don't leak
__spanproperty into breadcrumbs (#14798) - fix(node): Fix sample rand propagation for negative sampling decisions (#15045)
- fix(node): Missing
releasefrom ANR sessions (#15138) - fix(node): Set the correct fallback URL fields for outgoing https requests if they are not defined (#15316)
- fix(nuxt): Detect Azure Function runtime for flushing with timeout (#15288)
- fix(react): From location can be undefined in Tanstack Router Instrumentation (#15235)
- fix(react): Import default for hoistNonReactStatics (#15238)
- fix(react): Support lazy-loaded routes and components. (#15039)
- fix(solidstart): Do not copy release-injection map file (#15302)
- ref(browser): Improve active span handling for
browserTracingIntegration(#14959) - ref(browser): Improve setting of propagation scope for navigation spans (#15108)
- ref(browser): Skip browser extension warning in non-debug builds (#15310)
- ref(browser): Update
supportsHistorycheck & history usage (#14696) - ref(core): Ensure non-recording root spans have frozen DSC (#14964)
- ref(core): Log debug message when capturing error events (#14701)
- ref(core): Move log message about invalid sample rate (#15215)
- ref(node): Streamline check for adding performance integrations (#15021)
- ref(react): Adapt tanstack router type (#15241)
- ref(svelte): Remove SvelteKit detection (#15313)
- ref(sveltekit): Clean up sub-request check (#15251)
Work in this release was contributed by @aloisklink, @arturovt, @aryanvdesh, @benjick, @chris-basebone, @davidturissini, @GrizliK1988, @jahands, @jrandolf, @kunal-511, @maximepvrt, @maxmaxme, @mstrokin, @nathankleyn, @nwalters512, @tannerlinsley, @tjhiggins, and @Zen-cronic. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 22.9 KB @sentry/browser - with treeshaking flags 22.69 KB @sentry/browser (incl. Tracing) 35.77 KB @sentry/browser (incl. Tracing, Replay) 72.58 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.05 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.56 KB @sentry/browser (incl. Feedback) 39.84 KB @sentry/browser (incl. sendFeedback) 27.53 KB @sentry/browser (incl. FeedbackAsync) 32.31 KB @sentry/react 24.73 KB @sentry/react (incl. Tracing) 37.66 KB @sentry/vue 27.09 KB @sentry/vue (incl. Tracing) 37.47 KB @sentry/svelte 22.94 KB CDN Bundle 24.13 KB CDN Bundle (incl. Tracing) 35.84 KB CDN Bundle (incl. Tracing, Replay) 70.48 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.62 KB CDN Bundle - uncompressed 70.59 KB CDN Bundle (incl. Tracing) - uncompressed 106.46 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.32 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.89 KB @sentry/nextjs (client) 38.63 KB @sentry/sveltekit (client) 36.2 KB @sentry/node 156.33 KB @sentry/node - without tracing 97.31 KB @sentry/aws-serverless 106.82 KB Release notes
Open source โVersion
9.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to trim down on unused and potentially confusing APIs, prepare the SDKs for future framework versions to build deeper instrumentation, and remove old polyfills to reduce the packages' size.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/
A comprehensive migration guide outlining all changes for all the frameworks can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
Breaking Changes
- doc(deno)!: Make Deno v2 the minimum supported version (#15085)
- feat!: Bump typescript to
~5.0.0(#14758) - feat!: Drop
nitro-utilspackage (#14998) - feat!: Only collect ip addresses with
sendDefaultPii: true(#15084) - feat!: Remove
autoSessionTrackingoption (#14802) - feat!: Remove
enableTracing(#15078) - feat!: Remove
getCurrentHub(),Hub, andgetCurrentHubShim()(#15122) - feat!: Remove
spanIdfrom propagation context (#14733) - feat!: Remove deprecated and unused code (#15077)
- feat!: Remove metrics API from the JS SDK (#14745)
- feat!: Require Node
>=18as minimum supported version (#14749) - feat(astro)!: Respect user-specified source map setting (#14941)
- feat(browser)!: Remove
captureUserFeedbackmethod (#14820) - feat(build)!: Drop pre-ES2020 polyfills (#14882)
- feat(core)!: Add
normalizedRequesttosamplingContext(#14902) - feat(core)!: Always use session from isolation scope (#14860)
- feat(core)!: Pass root spans to
beforeSendSpanand disallow returningnull(#14831) - feat(core)!: Remove
BAGGAGE_HEADER_NAMEexport (#14785) - feat(core)!: Remove
TransactionNamingSchemetype (#14865) - feat(core)!: Remove
addOpenTelemetryInstrumentationmethod (#14792) - feat(core)!: Remove
arrayifymethod (#14782) - feat(core)!: Remove
debugIntegrationandsessionTimingIntegration(#14747) - feat(core)!: Remove
flattenmethod (#14784) - feat(core)!: Remove
getDomElementmethod (#14797) - feat(core)!: Remove
makeFifoCachemethod (#14786) - feat(core)!: Remove
memoBuilderexport &WeakSetfallback (#14859) - feat(core)!: Remove
transactionContextfromsamplingContext(#14904) - feat(core)!: Remove
urlEncodemethod (#14783) - feat(core)!: Remove deprecated
Requesttype (#14858) - feat(core)!: Remove deprecated request data methods (#14896)
- feat(core)!: Remove standalone
Clientinterface & deprecateBaseClient(#14800) - feat(core)!: Remove validSeverityLevels export (#14765)
- feat(core)!: Stop accepting
eventas argument forrecordDroppedEvent(#14999) - feat(core)!: Stop setting user in
requestDataIntegration(#14898) - feat(core)!: Type sdkProcessingMetadata more strictly (#14855)
- feat(core)!: Update
hasTracingEnabledto consider empty trace config (#14857) - feat(core)!: Update
requestDataIntegrationhandling (#14806) - feat(deno)!: Remove deno prepack (#14829)
- feat(ember)!: Officially drop support for ember
<=3.x(#15032) - feat(nestjs)!: Move
nestIntegrationinto nest sdk and removesetupNestErrorHandler(#14751) - feat(nestjs)!: Remove
@WithSentrydecorator (#14762) - feat(nestjs)!: Remove
SentryService(#14759) - feat(nextjs)!: Don't rely on Next.js Build ID for release names (#14939)
- feat(nextjs)!: Remove
experimental_captureRequestError(#14607) - feat(nextjs)!: Respect user-provided source map generation settings (#14956)
- feat(node)!: Add support for Prisma v6 and drop v5 support (#15120)
- feat(node)!: Avoid http spans by default for custom OTEL setups (#14678)
- feat(node)!: Collect request sessions via HTTP instrumentation (#14658)
- feat(node)!: Remove
processThreadBreadcrumbIntegration(#14666) - feat(node)!: Remove fine grained
registerEsmLoaderHooks(#15002) - feat(opentelemetry)!: Exclusively pass root spans through sampling pipeline (#14951)
- feat(pinia)!: Include state of all stores in breadcrumb (#15312)
- feat(react)!: Raise minimum supported TanStack Router version to
1.63.0(#15030) - feat(react)!: Remove deprecated
getNumberOfUrlSegmentsmethod (#14744) - feat(react)!: Remove deprecated react router methods (#14743)
- feat(react)!: Update
ErrorBoundarycomponentStacktype (#14742) - feat(remix)!: Drop support for Remix v1 (#14988)
- feat(remix)!: Remove
autoInstrumentRemixoption (#15074) - feat(solidstart)!: Default to
--importsetup and addautoInjectServerSentry(#14862) - feat(solidstart)!: No longer export
sentrySolidStartVite(#15143) - feat(solidstart)!: Respect user-provided source map setting (#14979)
- feat(svelte)!: Disable component update tracking by default (#15265)
- feat(sveltekit)!: Drop support for SvelteKit @1.x (#15037)
- feat(sveltekit)!: Remove
fetchProxyScriptNonceoption (#15123) - feat(sveltekit)!: Respect user-provided source map generation settings (#14886)
- feat(utils)!: Remove
@sentry/utilspackage (#14830) - feat(vue)!: Remove configuring Vue tracing options anywhere else other than through the
vueIntegration'stracingOptionsoption (#14856) - feat(vue/nuxt)!: No longer create
"update"spans for component tracking by default (#14602) - fix(node)!: Fix name of
vercelAIIntegrationtoVercelAI(#15298) - fix(vue)!: Remove
logErrorfromvueIntegration(#14958) - ref!: Don't polyfill optional chaining and nullish coalescing (#14603)
- ref(core)!: Cleanup internal types, including
ReportDialogOptions(#14861) - ref(core)!: Mark exceptions from
captureConsoleIntegrationashandled: trueby default (#14734) - ref(core)!: Move
shutdownTimeoutoption type from core to node (#15217) - ref(core)!: Remove
Scopetype interface in favor of usingScopeclass (#14721) - ref(core)!: Remove backwards compatible SentryCarrier type (#14697)
Other Changes
- chore(browser): Export ipAddress helpers for use in other SDKs (#15079)
- deps(node): Bump
import-in-the-middleto1.12.0(#14796) - feat(aws): Rename AWS lambda layer name to
SentryNodeServerlessSDKv9(#14927) - feat(aws-serverless): Upgrade OTEL deps (#15091)
- feat(browser): Set
user.ip_addressexplicitly to{{auto}}(#15008) - feat(core): Add
inheritOrSampleWithhelper totraceSampler(#15277) - feat(core): Emit client reports for unsampled root spans on span start (#14936)
- feat(core): Rename
hasTracingEnabledtohasSpansEnabled(#15309) - feat(core): Streamline
SpanJSONtype (#14693) - feat(deno): Don't bundle
@sentry/deno(#15014) - feat(deno): Don't publish to
deno.land(#15016) - feat(deno): Stop inlining types from core (#14729)
- feat(deps): Bump @opentelemetry/instrumentation-amqplib from 0.45.0 to 0.46.0 (#14835)
- feat(deps): Bump @opentelemetry/instrumentation-aws-lambda from 0.49.0 to 0.50.0 (#14833)
- feat(deps): Bump @opentelemetry/instrumentation-express from 0.46.0 to 0.47.0 (#14834)
- feat(deps): Bump @opentelemetry/instrumentation-mysql2 from 0.44.0 to 0.45.0 (#14836)
- feat(deps): Bump @opentelemetry/propagation-utils from 0.30.14 to 0.30.15 (#14832)
- feat(deps): bump @opentelemetry/context-async-hooks from 1.29.0 to 1.30.0 (#14869)
- feat(deps): bump @opentelemetry/instrumentation-generic-pool from 0.42.0 to 0.43.0 (#14870)
- feat(deps): bump @opentelemetry/instrumentation-knex from 0.43.0 to 0.44.0 (#14872)
- feat(deps): bump @opentelemetry/instrumentation-mongodb from 0.50.0 to 0.51.0 (#14871)
- feat(deps): bump @opentelemetry/instrumentation-tedious from 0.17.0 to 0.18.0 (#14868)
- feat(deps): bump @sentry/cli from 2.39.1 to 2.41.1 (#15173)
- feat(flags): Add Statsig browser integration (#15319)
- feat(gatsby): Preserve user-provided source map settings (#15006)
- feat(nestjs): Remove
SentryTracingInterceptor,SentryGlobalGraphQLFilter,SentryGlobalGenericFilter(#14761) - feat(nextjs): Directly forward
sourcemaps.disableto webpack plugin (#15109) - feat(node): Add
processSessionIntegration(#15081) - feat(node): Add missing
vercelAIIntegrationexport (#15318) - feat(node): Capture exceptions from
worker_threads(#15105) - feat(nuxt): Add enabled to disable Sentry module (#15337)
- feat(nuxt): add
silent,errorHandler,releasetoSourceMapsOptions(#15246) - feat(profiling-node): Use
@sentry-internal/node-cpu-profiler(#15208) - feat(replay): Update fflate to 0.8.2 (#14867)
- feat(solidstart): Add
autoInjectServerSentry: 'experimental_dynamic-import(#14863) - feat(sveltekit): Only inject fetch proxy script for SvelteKit < 2.16.0 (#15126)
- feat(user feedback): Adds draw tool for UF screenshot annotations (#15062)
- feat(user feedback): Adds toolbar for cropping and annotating (#15282)
- feat: Avoid class fields all-together (#14887)
- feat: Only emit
__esModuleproperties in CJS modules when there is a default export (#15018) - feat: Pass
parentSampleRatetotracesSampler(#15024) - feat: Propagate and use a sampling random (#14989)
- fix(browser): Remove
browserPerformanceTimeOriginside-effects (#14025) - fix(core): Ensure debugIds are applied to all exceptions in an event (#14881)
- fix(core): Fork scope if custom scope is passed to
startSpanManual(#14901) - fix(core): Fork scope if custom scope is passed to
startSpan(#14900) - fix(core): Only fall back to
sendDefaultPiifor IP collection inrequestDataIntegration(#15125) - fix(nextjs): Flush with
waitUntilincaptureRequestError(#15146) - fix(nextjs): Use batched devserver symbolication endpoint (#15335)
- fix(node): Don't leak
__spanproperty into breadcrumbs (#14798) - fix(node): Fix sample rand propagation for negative sampling decisions (#15045)
- fix(node): Missing
releasefrom ANR sessions (#15138) - fix(node): Set the correct fallback URL fields for outgoing https requests if they are not defined (#15316)
- fix(nuxt): Detect Azure Function runtime for flushing with timeout (#15288)
- fix(react): From location can be undefined in Tanstack Router Instrumentation (#15235)
- fix(react): Import default for hoistNonReactStatics (#15238)
- fix(react): Support lazy-loaded routes and components. (#15039)
- fix(solidstart): Do not copy release-injection map file (#15302)
- ref(browser): Improve active span handling for
browserTracingIntegration(#14959) - ref(browser): Improve setting of propagation scope for navigation spans (#15108)
- ref(browser): Skip browser extension warning in non-debug builds (#15310)
- ref(browser): Update
supportsHistorycheck & history usage (#14696) - ref(core): Ensure non-recording root spans have frozen DSC (#14964)
- ref(core): Log debug message when capturing error events (#14701)
- ref(core): Move log message about invalid sample rate (#15215)
- ref(node): Streamline check for adding performance integrations (#15021)
- ref(react): Adapt tanstack router type (#15241)
- ref(svelte): Remove SvelteKit detection (#15313)
- ref(sveltekit): Clean up sub-request check (#15251)
Work in this release was contributed by @aloisklink, @arturovt, @aryanvdesh, @benjick, @chris-basebone, @davidturissini, @GrizliK1988, @jahands, @jrandolf, @kunal-511, @maximepvrt, @maxmaxme, @mstrokin, @nathankleyn, @nwalters512, @tannerlinsley, @tjhiggins, and @Zen-cronic. Thank you for your contributions!
- 9.0.0-alpha.26 Feb 2025pre-release
Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.2. Please note that the migration guide is work in progress and subject to change.Bundle size ๐ฆ
Path Size @sentry/browser 22.9 KB @sentry/browser - with treeshaking flags 22.69 KB @sentry/browser (incl. Tracing) 35.77 KB @sentry/browser (incl. Tracing, Replay) 72.58 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.05 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.82 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.56 KB @sentry/browser (incl. Feedback) 39.84 KB @sentry/browser (incl. sendFeedback) 27.53 KB @sentry/browser (incl. FeedbackAsync) 32.31 KB @sentry/react 24.73 KB @sentry/react (incl. Tracing) 37.66 KB @sentry/vue 27.09 KB @sentry/vue (incl. Tracing) 37.47 KB @sentry/svelte 22.94 KB CDN Bundle 24.13 KB CDN Bundle (incl. Tracing) 35.84 KB CDN Bundle (incl. Tracing, Replay) 70.48 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.62 KB CDN Bundle - uncompressed 70.58 KB CDN Bundle (incl. Tracing) - uncompressed 106.46 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.31 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.88 KB @sentry/nextjs (client) 38.63 KB @sentry/sveltekit (client) 36.2 KB @sentry/node 156.58 KB @sentry/node - without tracing 97.58 KB @sentry/aws-serverless 107.07 KB Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.2. Please note that the migration guide is work in progress and subject to change. - 9.0.0-alpha.13 Feb 2025pre-release
Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.1. Please note that the migration guide is work in progress and subject to change.Bundle size ๐ฆ
Path Size @sentry/browser 22.94 KB @sentry/browser - with treeshaking flags 22.8 KB @sentry/browser (incl. Tracing) 35.78 KB @sentry/browser (incl. Tracing, Replay) 72.57 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.33 KB @sentry/browser (incl. Feedback) 39.63 KB @sentry/browser (incl. sendFeedback) 27.58 KB @sentry/browser (incl. FeedbackAsync) 32.35 KB @sentry/react 24.76 KB @sentry/react (incl. Tracing) 37.66 KB @sentry/vue 27.11 KB @sentry/vue (incl. Tracing) 37.49 KB @sentry/svelte 23.06 KB CDN Bundle 24.23 KB CDN Bundle (incl. Tracing) 35.91 KB CDN Bundle (incl. Tracing, Replay) 70.56 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.69 KB CDN Bundle - uncompressed 70.83 KB CDN Bundle (incl. Tracing) - uncompressed 106.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.42 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.99 KB @sentry/nextjs (client) 38.63 KB @sentry/sveltekit (client) 36.29 KB @sentry/node 156.51 KB @sentry/node - without tracing 97.56 KB @sentry/aws-serverless 107.07 KB Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.1. Please note that the migration guide is work in progress and subject to change. - 9.0.0-alpha.022 Jan 2025pre-release
Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.0. Please note that the migration guide is work in progress and subject to change.Bundle size ๐ฆ
Path Size @sentry/browser 23.03 KB @sentry/browser - with treeshaking flags 22.92 KB @sentry/browser (incl. Tracing) 35.76 KB @sentry/browser (incl. Tracing, Replay) 72.54 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.09 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.8 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.29 KB @sentry/browser (incl. Feedback) 39.71 KB @sentry/browser (incl. sendFeedback) 27.66 KB @sentry/browser (incl. FeedbackAsync) 32.44 KB @sentry/react 25.7 KB @sentry/react (incl. Tracing) 38.53 KB @sentry/vue 27.13 KB @sentry/vue (incl. Tracing) 37.48 KB @sentry/svelte 23.15 KB CDN Bundle 24.25 KB CDN Bundle (incl. Tracing) 35.89 KB CDN Bundle (incl. Tracing, Replay) 70.51 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.65 KB CDN Bundle - uncompressed 70.87 KB CDN Bundle (incl. Tracing) - uncompressed 106.5 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 217.36 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.92 KB @sentry/nextjs (client) 38.63 KB @sentry/sveltekit (client) 36.27 KB @sentry/node 156.36 KB @sentry/node - without tracing 97.44 KB @sentry/aws-serverless 106.9 KB Release notes
Open source โThis is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
9.0.0-alpha.0. Please note that the migration guide is work in progress and subject to change. - 8.55.228 Apr 2026
- 8.55.125 Mar 2026
- 8.55.012 Feb 2025
Release notes
Open source โImportant Changes
- chore(ci/v8): Switch lambda layer name to
SentryNodeServerlessSDKv8(#15351)
The
SentryNodeServerlessSDKAWS Lambda Layer will stop receiving updates. If you intend to stay onv8and receive updates useSentryNodeServerlessSDKv8instead.Other Changes
- feat(flags/v8): add Statsig browser integration (#15347)
- feat(v8/node): Add missing
vercelAIIntegrationexport (#15339) - feat(v8/nuxt): Add
enabledto disable Sentry module (#15337) (#15381) - feat(v8/vue): Support Pinia v3 (#15384)
- fix(astro): Add vue to
registerEsmLoaderHooks(#15352) - fix(react/v8): Support lazy-loaded routes and components (#15281)
- fix(v8/nuxt): Detect Azure Function runtime for flushing with timeout (#15297)
- fix(v8/solidstart): Do not copy release-injection map file (#15304)
- fix(v8/svelte): Guard component tracking
beforeUpdatecall (#15262)
Work in this release was contributed by @aryanvdesh. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.3 KB @sentry/browser - with treeshaking flags 23.17 KB @sentry/browser (incl. Tracing) 35.9 KB @sentry/browser (incl. Tracing, Replay) 73.27 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.71 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.5 KB @sentry/browser (incl. Feedback) 39.51 KB @sentry/browser (incl. sendFeedback) 27.91 KB @sentry/browser (incl. FeedbackAsync) 32.71 KB @sentry/react 25.98 KB @sentry/react (incl. Tracing) 38.71 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 37.75 KB @sentry/svelte 23.46 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.6 KB CDN Bundle (incl. Tracing, Replay) 72.9 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.23 KB CDN Bundle - uncompressed 71.92 KB CDN Bundle (incl. Tracing) - uncompressed 111.52 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.88 KB @sentry/nextjs (client) 38.96 KB @sentry/sveltekit (client) 36.4 KB @sentry/node 162.85 KB @sentry/node - without tracing 99.14 KB @sentry/aws-serverless 131.23 KB - chore(ci/v8): Switch lambda layer name to
- 8.54.03 Feb 2025
Release notes
Open source โ- feat(v8/deps): Upgrade all OpenTelemetry dependencies (#15098)
- fix(node/v8): Add compatibility layer for Prisma v5 (#15210)
Work in this release was contributed by @nwalters512. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.3 KB @sentry/browser - with treeshaking flags 23.17 KB @sentry/browser (incl. Tracing) 35.9 KB @sentry/browser (incl. Tracing, Replay) 73.27 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.71 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.5 KB @sentry/browser (incl. Feedback) 39.51 KB @sentry/browser (incl. sendFeedback) 27.91 KB @sentry/browser (incl. FeedbackAsync) 32.71 KB @sentry/react 25.98 KB @sentry/react (incl. Tracing) 38.71 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 37.75 KB @sentry/svelte 23.46 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.6 KB CDN Bundle (incl. Tracing, Replay) 72.9 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.23 KB CDN Bundle - uncompressed 71.92 KB CDN Bundle (incl. Tracing) - uncompressed 111.52 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.88 KB @sentry/nextjs (client) 38.96 KB @sentry/sveltekit (client) 36.4 KB @sentry/node 162.85 KB @sentry/node - without tracing 99.14 KB @sentry/aws-serverless 131.23 KB - 8.53.031 Jan 2025
Release notes
Open source โ- feat(v8/nuxt): Add
urltoSourcemapsUploadOptions(#15202) - fix(v8/react):
fromLocationcan be undefined in Tanstack Router Instrumentation (#15237)
Work in this release was contributed by @tannerlinsley. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.3 KB @sentry/browser - with treeshaking flags 23.17 KB @sentry/browser (incl. Tracing) 35.9 KB @sentry/browser (incl. Tracing, Replay) 73.27 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.71 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.5 KB @sentry/browser (incl. Feedback) 39.51 KB @sentry/browser (incl. sendFeedback) 27.91 KB @sentry/browser (incl. FeedbackAsync) 32.71 KB @sentry/react 25.98 KB @sentry/react (incl. Tracing) 38.71 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 37.75 KB @sentry/svelte 23.46 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.6 KB CDN Bundle (incl. Tracing, Replay) 72.9 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.23 KB CDN Bundle - uncompressed 71.92 KB CDN Bundle (incl. Tracing) - uncompressed 111.52 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.88 KB @sentry/nextjs (client) 38.96 KB @sentry/sveltekit (client) 36.4 KB @sentry/node 162.84 KB @sentry/node - without tracing 99.15 KB @sentry/aws-serverless 126.67 KB - feat(v8/nuxt): Add
- 8.52.130 Jan 2025
Release notes
Open source โ- fix(v8/nextjs): Fix nextjs build warning (#15226)
- ref(v8/browser): Add protocol attributes to resource spans #15224
- ref(v8/core): Don't set
this.nametonew.target.prototype.constructor.name(#15222)
Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.3 KB @sentry/browser - with treeshaking flags 23.17 KB @sentry/browser (incl. Tracing) 35.9 KB @sentry/browser (incl. Tracing, Replay) 73.27 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.71 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.5 KB @sentry/browser (incl. Feedback) 39.51 KB @sentry/browser (incl. sendFeedback) 27.91 KB @sentry/browser (incl. FeedbackAsync) 32.71 KB @sentry/react 25.98 KB @sentry/react (incl. Tracing) 38.71 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 37.75 KB @sentry/svelte 23.46 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.6 KB CDN Bundle (incl. Tracing, Replay) 72.9 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.23 KB CDN Bundle - uncompressed 71.92 KB CDN Bundle (incl. Tracing) - uncompressed 111.52 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.88 KB @sentry/nextjs (client) 38.96 KB @sentry/sveltekit (client) 36.4 KB @sentry/node 162.84 KB @sentry/node - without tracing 99.15 KB @sentry/aws-serverless 126.67 KB - 8.52.028 Jan 2025
Release notes
Open source โImportant Changes
- feat(solidstart): Add
withSentrywrapper for SolidStart config (#15135)
To enable the SolidStart SDK, wrap your SolidStart Config with
withSentry. ThesentrySolidStartViteplugin is now automatically added bywithSentryand you can pass the Sentry build-time options like this:import { defineConfig } from '@solidjs/start/config'; import { withSentry } from '@sentry/solidstart'; export default defineConfig( withSentry( { /* Your SolidStart config options... */ }, { // Options for setting up source maps org: process.env.SENTRY_ORG, project: process.env.SENTRY_PROJECT, authToken: process.env.SENTRY_AUTH_TOKEN, }, ), );With the
withSentrywrapper, the Sentry server config should not be added to thepublicdirectory anymore. Add the Sentry server config insrc/instrument.server.ts. Then, the server config will be placed inside the server build output asinstrument.server.mjs.Now, there are two options to set up the SDK:
- (recommended) Provide an
--importCLI flag to the start command like this (path depends on your server setup):node --import ./.output/server/instrument.server.mjs .output/server/index.mjs - Add
autoInjectServerSentry: 'top-level-import'and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)withSentry( { /* Your SolidStart config options... */ }, { // Optional: Install Sentry with a top-level import autoInjectServerSentry: 'top-level-import', }, );
Other Changes
- feat(v8/core): Add client outcomes for breadcrumbs buffer (#15149)
- feat(v8/core): Improve error formatting in ZodErrors integration (#15155)
- fix(v8/bun): Ensure instrumentation of
Bun.servesurvives a server reload (#15157) - fix(v8/core): Pass
moduleintoloadModule(#15139) (#15166)
Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.32 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 35.88 KB @sentry/browser (incl. Tracing, Replay) 73.23 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.7 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.54 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.47 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.94 KB @sentry/browser (incl. FeedbackAsync) 32.73 KB @sentry/react 26 KB @sentry/react (incl. Tracing) 38.71 KB @sentry/vue 27.6 KB @sentry/vue (incl. Tracing) 37.74 KB @sentry/svelte 23.49 KB CDN Bundle 24.52 KB CDN Bundle (incl. Tracing) 37.59 KB CDN Bundle (incl. Tracing, Replay) 72.87 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.24 KB CDN Bundle - uncompressed 72.01 KB CDN Bundle (incl. Tracing) - uncompressed 111.51 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.76 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.86 KB @sentry/nextjs (client) 38.96 KB @sentry/sveltekit (client) 36.39 KB @sentry/node 162.87 KB @sentry/node - without tracing 99.18 KB @sentry/aws-serverless 126.69 KB - feat(solidstart): Add
- 8.51.022 Jan 2025
Release notes
Open source โImportant Changes
-
feat(v8/node): Add
prismaInstrumentationoption to Prisma integration as escape hatch for all Prisma versions (#15128)This release adds a compatibility API to add support for Prisma version 6. To capture performance data for Prisma version 6:
-
Install the
@prisma/instrumentationpackage on version 6. -
Pass a
new PrismaInstrumentation()instance as exported from@prisma/instrumentationto theprismaInstrumentationoption:import { PrismaInstrumentation } from '@prisma/instrumentation'; Sentry.init({ integrations: [ prismaIntegration({ // Override the default instrumentation that Sentry uses prismaInstrumentation: new PrismaInstrumentation(), }), ], });The passed instrumentation instance will override the default instrumentation instance the integration would use, while the
prismaIntegrationwill still ensure data compatibility for the various Prisma versions. -
Remove the
previewFeatures = ["tracing"]option from the client generator block of your Prisma schema.
-
Other Changes
- feat(v8/browser): Add
multiplexedtransport.jsCDN bundle (#15046) - feat(v8/browser): Add Unleash integration (#14948)
- feat(v8/deno): Deprecate Deno SDK as published on deno.land (#15121)
- feat(v8/sveltekit): Deprecate
fetchProxyScriptNonceoption (#15011) - fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
- fix(v8/core):
fatalevents should set session as crashed (#15073) - fix(v8/node/nestjs): Use method on current fastify request (#15104)
Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 23.17 KB @sentry/browser (incl. Tracing) 35.85 KB @sentry/browser (incl. Tracing, Replay) 73.2 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.66 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.51 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.44 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.9 KB @sentry/browser (incl. FeedbackAsync) 32.7 KB @sentry/react 25.97 KB @sentry/react (incl. Tracing) 38.68 KB @sentry/vue 27.57 KB @sentry/vue (incl. Tracing) 37.71 KB @sentry/svelte 23.46 KB CDN Bundle 24.5 KB CDN Bundle (incl. Tracing) 37.56 KB CDN Bundle (incl. Tracing, Replay) 72.85 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.21 KB CDN Bundle - uncompressed 71.94 KB CDN Bundle (incl. Tracing) - uncompressed 111.44 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.69 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.79 KB @sentry/nextjs (client) 38.93 KB @sentry/sveltekit (client) 36.36 KB @sentry/node 162.83 KB @sentry/node - without tracing 99.14 KB @sentry/aws-serverless 126.65 KB -
- 8.50.015 Jan 2025
Release notes
Open source โ- feat(v8/react): Add support for React Router
createMemoryRouter(#14985)
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.85 KB @sentry/browser (incl. Tracing, Replay) 73.19 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.58 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.5 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.43 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.69 KB @sentry/react 25.97 KB @sentry/react (incl. Tracing) 38.67 KB @sentry/vue 27.57 KB @sentry/vue (incl. Tracing) 37.71 KB @sentry/svelte 23.45 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.56 KB CDN Bundle (incl. Tracing, Replay) 72.84 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.2 KB CDN Bundle - uncompressed 71.93 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.68 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB @sentry/nextjs (client) 38.92 KB @sentry/sveltekit (client) 36.35 KB @sentry/node 162.82 KB @sentry/node - without tracing 98.95 KB @sentry/aws-serverless 126.65 KB - feat(v8/react): Add support for React Router
- 8.49.015 Jan 2025
Release notes
Open source โ- feat(v8/browser): Flush offline queue on flush and browser online event (#14969)
- feat(v8/react): Add a
handledprop to ErrorBoundary (#14978) - fix(profiling/v8): Don't put
require,__filenameand__dirnameon global object (#14952) - fix(v8/node): Enforce that ContextLines integration does not leave open file handles (#14997)
- fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers (#14944)
- fix(v8/sveltekit): Ensure source maps deletion is called after source maโฆ (#14963)
- fix(v8/vue): Re-throw error when no errorHandler exists (#14943)
Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.85 KB @sentry/browser (incl. Tracing, Replay) 73.19 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.58 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.5 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.44 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.69 KB @sentry/react 25.97 KB @sentry/react (incl. Tracing) 38.67 KB @sentry/vue 27.57 KB @sentry/vue (incl. Tracing) 37.71 KB @sentry/svelte 23.45 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.56 KB CDN Bundle (incl. Tracing, Replay) 72.84 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.2 KB CDN Bundle - uncompressed 71.93 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.68 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB @sentry/nextjs (client) 38.92 KB @sentry/sveltekit (client) 36.36 KB @sentry/node 162.82 KB @sentry/node - without tracing 98.95 KB @sentry/aws-serverless 126.65 KB - 8.48.07 Jan 2025
Release notes
Open source โDeprecations
-
feat(v8/core): Deprecate
getDomElementmethod (#14799)Deprecates
getDomElement. There is no replacement.
Other changes
- fix(nestjs/v8): Use correct main/module path in package.json (#14791)
- fix(v8/core): Use consistent
continueTraceimplementation in core (#14819) - fix(v8/node): Correctly resolve debug IDs for ANR events with custom appRoot (#14823)
- fix(v8/node): Ensure
NODE_OPTIONSis not passed to worker threads (#14825) - fix(v8/angular): Fall back to element
tagNamewhen name is not provided toTraceDirective(#14828) - fix(aws-lambda): Remove version suffix from lambda layer (#14843)
- fix(v8/node): Ensure express requests are properly handled (#14851)
- feat(v8/node): Add
openTelemetrySpanProcessorsoption (#14853) - fix(v8/react): Use
Setas theallRoutescontainer. (#14878) (#14884) - fix(v8/react): Improve handling of routes nested under path="/" (#14897)
- feat(v8/core): Add
normalizedRequesttosamplingContext(#14903) - fix(v8/feedback): Avoid lazy loading code for
syncFeedbackIntegration(#14918)
Work in this release was contributed by @arturovt. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.85 KB @sentry/browser (incl. Tracing, Replay) 73.09 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.48 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.4 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.34 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.69 KB @sentry/react 25.96 KB @sentry/react (incl. Tracing) 38.66 KB @sentry/vue 27.56 KB @sentry/vue (incl. Tracing) 37.69 KB @sentry/svelte 23.45 KB CDN Bundle 24.49 KB CDN Bundle (incl. Tracing) 37.56 KB CDN Bundle (incl. Tracing, Replay) 72.75 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.11 KB CDN Bundle - uncompressed 71.93 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.5 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.6 KB @sentry/nextjs (client) 38.92 KB @sentry/sveltekit (client) 36.36 KB @sentry/node 162.8 KB @sentry/node - without tracing 98.94 KB @sentry/aws-serverless 126.63 KB -
- 8.47.018 Dec 2024
Release notes
Open source โ- feat(v8/core): Add
updateSpanNamehelper function (#14736) - feat(v8/node): Do not overwrite prisma
db.systemin newer Prisma versions (#14772) - feat(v8/node/deps): Bump @prisma/instrumentation from 5.19.1 to 5.22.0 (#14755)
- feat(v8/replay): Mask srcdoc iframe contents per default (#14779)
- ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)
Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.81 KB @sentry/browser (incl. Tracing, Replay) 73.06 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.45 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.37 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.85 KB @sentry/browser (incl. Feedback) 40.04 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.68 KB @sentry/react 25.96 KB @sentry/react (incl. Tracing) 38.64 KB @sentry/vue 27.52 KB @sentry/vue (incl. Tracing) 37.67 KB @sentry/svelte 23.45 KB CDN Bundle 24.47 KB CDN Bundle (incl. Tracing) 37.51 KB CDN Bundle (incl. Tracing, Replay) 72.71 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.1 KB CDN Bundle - uncompressed 71.85 KB CDN Bundle (incl. Tracing) - uncompressed 111.23 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.3 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.52 KB @sentry/nextjs (client) 38.9 KB @sentry/sveltekit (client) 36.32 KB @sentry/node 162.7 KB @sentry/node - without tracing 98.87 KB @sentry/aws-serverless 126.53 KB - feat(v8/core): Add
- 8.46.017 Dec 2024
Release notes
Open source โ- feat: Allow capture of more than 1 ANR event [v8] (#14713)
- feat(node): Detect Railway release name [v8] (#14714)
- fix: Normalise ANR debug image file paths if appRoot was supplied [v8] (#14709)
- fix(nuxt): Remove build config from tsconfig (#14737)
Work in this release was contributed by @conor-ob. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.79 KB @sentry/browser (incl. Tracing, Replay) 73.01 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB @sentry/browser (incl. Feedback) 40.04 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.68 KB @sentry/react 25.96 KB @sentry/react (incl. Tracing) 38.6 KB @sentry/vue 27.49 KB @sentry/vue (incl. Tracing) 37.63 KB @sentry/svelte 23.45 KB CDN Bundle 24.43 KB CDN Bundle (incl. Tracing) 37.46 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB CDN Bundle - uncompressed 71.74 KB CDN Bundle (incl. Tracing) - uncompressed 111.05 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB @sentry/nextjs (client) 38.88 KB @sentry/sveltekit (client) 36.29 KB @sentry/node 162.53 KB @sentry/node - without tracing 98.72 KB @sentry/aws-serverless 126.4 KB - 8.45.116 Dec 2024
Release notes
Open source โ- fix(feedback): Return when the
sendFeedbackpromise resolves (#14683)
Work in this release was contributed by @antonis. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.79 KB @sentry/browser (incl. Tracing, Replay) 73.01 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB @sentry/browser (incl. Feedback) 40.04 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.68 KB @sentry/react 25.96 KB @sentry/react (incl. Tracing) 38.6 KB @sentry/vue 27.49 KB @sentry/vue (incl. Tracing) 37.63 KB @sentry/svelte 23.45 KB CDN Bundle 24.43 KB CDN Bundle (incl. Tracing) 37.46 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB CDN Bundle - uncompressed 71.74 KB CDN Bundle (incl. Tracing) - uncompressed 111.05 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB @sentry/nextjs (client) 38.88 KB @sentry/sveltekit (client) 36.29 KB @sentry/node 162.52 KB @sentry/node - without tracing 98.71 KB @sentry/aws-serverless 126.39 KB - fix(feedback): Return when the
- 8.45.013 Dec 2024
Release notes
Open source โ- feat(core): Add
handledoption tocaptureConsoleIntegration(#14664) - feat(browser): Attach virtual stack traces to
HttpClientevents (#14515) - feat(replay): Upgrade rrweb packages to 2.31.0 (#14689)
- fix(aws-serverless): Remove v8 layer as it overwrites the current layer for docs (#14679)
- fix(browser): Mark stack trace from
captureMessagewithattachStacktrace: trueas synthetic (#14668) - fix(core): Mark stack trace from
captureMessagewithattatchStackTrace: trueas synthetic (#14670) - fix(core): Set
levelin server runtimecaptureException(#10587) - fix(profiling-node): Guard invocation of native profiling methods (#14676)
- fix(nuxt): Inline nitro-utils function (#14680)
- fix(profiling-node): Ensure profileId is added to transaction event (#14681)
- fix(react): Add React Router Descendant Routes support (#14304)
- fix: Disable ANR and Local Variables if debugger is enabled via CLI args (#14643)
Work in this release was contributed by @anonrig and @Zih0. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.29 KB @sentry/browser - with treeshaking flags 21.96 KB @sentry/browser (incl. Tracing) 35.79 KB @sentry/browser (incl. Tracing, Replay) 73.01 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB @sentry/browser (incl. Feedback) 40.04 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.69 KB @sentry/react 25.96 KB @sentry/react (incl. Tracing) 38.6 KB @sentry/vue 27.49 KB @sentry/vue (incl. Tracing) 37.63 KB @sentry/svelte 23.45 KB CDN Bundle 24.43 KB CDN Bundle (incl. Tracing) 37.46 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB CDN Bundle - uncompressed 71.74 KB CDN Bundle (incl. Tracing) - uncompressed 111.05 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB @sentry/nextjs (client) 38.89 KB @sentry/sveltekit (client) 36.29 KB @sentry/node 162.52 KB @sentry/node - without tracing 98.71 KB @sentry/aws-serverless 126.38 KB - feat(core): Add
- 8.44.012 Dec 2024
Release notes
Open source โDeprecations
-
feat: Deprecate
autoSessionTracking(#14640)Deprecates
autoSessionTracking. To enable session tracking, it is recommended to unsetautoSessionTrackingand ensure that either, in browser environments thebrowserSessionIntegrationis added, or in server environments thehttpIntegrationis added.To disable session tracking, it is recommended to unset
autoSessionTrackingand to remove thebrowserSessionIntegrationin browser environments, or in server environments configure thehttpIntegrationwith thetrackIncomingRequestsAsSessionsoption set tofalse.
Other Changes
- feat: Reword log message around unsent spans (#14641)
- feat(opentelemetry): Set
responsecontext for http.server spans (#14634) - fix(google-cloud-serverless): Update homepage link in package.json (#14411)
- fix(nuxt): Add unbuild config to not fail on warn (#14662)
Work in this release was contributed by @robinvw1. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.27 KB @sentry/browser - with treeshaking flags 21.94 KB @sentry/browser (incl. Tracing) 35.77 KB @sentry/browser (incl. Tracing, Replay) 73 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.4 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.31 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.8 KB @sentry/browser (incl. Feedback) 40.02 KB @sentry/browser (incl. sendFeedback) 27.88 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.94 KB @sentry/react (incl. Tracing) 38.59 KB @sentry/vue 27.47 KB @sentry/vue (incl. Tracing) 37.61 KB @sentry/svelte 23.43 KB CDN Bundle 24.41 KB CDN Bundle (incl. Tracing) 37.43 KB CDN Bundle (incl. Tracing, Replay) 72.62 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.98 KB CDN Bundle - uncompressed 71.69 KB CDN Bundle (incl. Tracing) - uncompressed 110.99 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.06 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.28 KB @sentry/nextjs (client) 38.88 KB @sentry/sveltekit (client) 36.27 KB @sentry/node 162.4 KB @sentry/node - without tracing 98.57 KB @sentry/aws-serverless 126.28 KB -
- 8.43.010 Dec 2024
Release notes
Open source โImportant Changes
-
feat(nuxt): Add option autoInjectServerSentry (no default import()) (#14553)
Using the dynamic
import()as the default behavior for initializing the SDK on the server-side did not work for every project. The default behavior of the SDK has been changed, and you now need to use the--importflag to initialize Sentry on the server-side to leverage full functionality.Example with
--import:node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjsIn case you are not able to use the
--importflag, you can enable auto-injecting Sentry in thenuxt.config.ts(comes with limitations):sentry: { autoInjectServerSentry: 'top-level-import', // or 'experimental_dynamic-import' }, -
feat(browser): Adds LaunchDarkly and OpenFeature integrations (#14207)
Adds browser SDK integrations for tracking feature flag evaluations through the LaunchDarkly JS SDK and OpenFeature Web SDK:
import * as Sentry from '@sentry/browser'; Sentry.init({ integrations: [ // Track LaunchDarkly feature flags Sentry.launchDarklyIntegration(), // Track OpenFeature feature flags Sentry.openFeatureIntegration(), ], });- Read more about the Feature Flags feature in Sentry.
- Read more about the LaunchDarkly SDK Integration.
- Read more about the OpenFeature SDK Integration.
-
feat(browser): Add
featureFlagsIntegrationfor custom tracking of flag evaluations (#14582)Adds a browser integration to manually track feature flags with an API. Feature flags are attached to subsequent error events:
import * as Sentry from '@sentry/browser'; const featureFlagsIntegrationInstance = Sentry.featureFlagsIntegration(); Sentry.init({ // Initialize the SDK with the feature flag integration integrations: [featureFlagsIntegrationInstance], }); // Manually track a feature flag featureFlagsIntegrationInstance.addFeatureFlag('my-feature', true); -
feat(astro): Add Astro 5 support (#14613)
With this release, the Sentry Astro SDK officially supports Astro 5.
Deprecations
-
feat(nextjs): Deprecate typedef for
hideSourceMaps(#14594)The functionality of
hideSourceMapswas removed in version 8 but was forgotten to be deprecated and removed. It will be completely removed in the next major version. -
feat(core): Deprecate APIs around
RequestSessions (#14566)The APIs around
RequestSessions are mostly used internally. Going forward the SDK will not expose concepts aroundRequestSessions. Instead, functionality around server-side Release Health will be managed in integrations.
Other Changes
- feat(browser): Add
browserSessionIntegration(#14551) - feat(core): Add
raw_securityenvelope types (#14562) - feat(deps): Bump @opentelemetry/instrumentation from 0.55.0 to 0.56.0 (#14625)
- feat(deps): Bump @sentry/cli from 2.38.2 to 2.39.1 (#14626)
- feat(deps): Bump @sentry/rollup-plugin from 2.22.6 to 2.22.7 (#14622)
- feat(deps): Bump @sentry/webpack-plugin from 2.22.6 to 2.22.7 (#14623)
- feat(nestjs): Add fastify support (#14549)
- feat(node): Add @vercel/ai instrumentation (#13892)
- feat(node): Add
disableAnrDetectionForCallbackfunction (#14359) - feat(node): Add
trackIncomingRequestsAsSessionsoption to http integration (#14567) - feat(nuxt): Add option
autoInjectServerSentry(no defaultimport()) (#14553) - feat(nuxt): Add warning when Netlify or Vercel build is discovered (#13868)
- feat(nuxt): Improve serverless event flushing and scope isolation (#14605)
- feat(opentelemetry): Stop looking at propagation context for span creation (#14481)
- feat(opentelemetry): Update OpenTelemetry dependencies to
^1.29.0(#14590) - feat(opentelemetry): Update OpenTelemetry dependencies to
1.28.0(#14547) - feat(replay): Upgrade rrweb packages to 2.30.0 (#14597)
- fix(core): Decode
filenameandmodulestack frame properties in Node stack parser (#14544) - fix(core): Filter out unactionable CEFSharp promise rejection error by default (#14595)
- fix(nextjs): Don't show warning about devtool option (#14552)
- fix(nextjs): Only apply tracing metadata to data fetcher data when data is an object (#14575)
- fix(node): Guard against invalid
maxSpanWaitDurationvalues (#14632) - fix(react): Match routes with
parseSearchoption in TanStack Router instrumentation (#14328) - fix(sveltekit): Fix git SHA not being picked up for release (#14540)
- fix(types): Fix generic exports with default (#14576)
Work in this release was contributed by @lsmurray. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.27 KB @sentry/browser - with treeshaking flags 21.94 KB @sentry/browser (incl. Tracing) 35.75 KB @sentry/browser (incl. Tracing, Replay) 72.98 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.38 KB @sentry/browser (incl. Tracing, Replay with Canvas) 77.29 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.78 KB @sentry/browser (incl. Feedback) 40.02 KB @sentry/browser (incl. sendFeedback) 27.88 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.94 KB @sentry/react (incl. Tracing) 38.58 KB @sentry/vue 27.47 KB @sentry/vue (incl. Tracing) 37.59 KB @sentry/svelte 23.43 KB CDN Bundle 24.41 KB CDN Bundle (incl. Tracing) 37.4 KB CDN Bundle (incl. Tracing, Replay) 72.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.96 KB CDN Bundle - uncompressed 71.69 KB CDN Bundle (incl. Tracing) - uncompressed 110.97 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.04 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.26 KB @sentry/nextjs (client) 38.86 KB @sentry/sveltekit (client) 36.26 KB @sentry/node 162.34 KB @sentry/node - without tracing 98.53 KB @sentry/aws-serverless 126.23 KB -
- 8.42.02 Dec 2024
Release notes
Open source โImportant Changes
-
feat(react): React Router v7 support (library) (#14513)
This release adds support for React Router v7 (library mode). Check out the docs on how to set up the integration: Sentry React Router v7 Integration Docs
Deprecations
-
feat: Warn about source-map generation (#14533)
In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application. Currently, the implementation varies a lot between different SDKs and can be difficult to understand. Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off. Additionally, if we end up enabling source maps, we will emit a log message that we did so.
With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.
-
feat(nuxt): Deprecate
tracingOptionsin favor ofvueIntegration(#14530)Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:
- In
Sentry.init() - Inside
tracingOptionsinSentry.init()
For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported
vueIntegration()and itstracingOptionsoption to configure tracing options in the Nuxt SDK:// sentry.client.config.ts import * as Sentry from '@sentry/nuxt'; Sentry.init({ // ... integrations: [ Sentry.vueIntegration({ tracingOptions: { trackComponents: true, }, }), ], }); - In
Other Changes
- feat(browser-utils): Update
web-vitalsto v4.2.4 (#14439) - feat(nuxt): Expose
vueIntegration(#14526) - fix(feedback): Handle css correctly in screenshot mode (#14535)
Bundle size ๐ฆ
Path Size @sentry/browser 23.1 KB @sentry/browser - with treeshaking flags 21.84 KB @sentry/browser (incl. Tracing) 35.61 KB @sentry/browser (incl. Tracing, Replay) 72.47 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.96 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.79 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.28 KB @sentry/browser (incl. Feedback) 39.86 KB @sentry/browser (incl. sendFeedback) 27.72 KB @sentry/browser (incl. FeedbackAsync) 32.53 KB @sentry/react 25.8 KB @sentry/react (incl. Tracing) 38.49 KB @sentry/vue 27.25 KB @sentry/vue (incl. Tracing) 37.38 KB @sentry/svelte 23.25 KB CDN Bundle 24.32 KB CDN Bundle (incl. Tracing) 37.29 KB CDN Bundle (incl. Tracing, Replay) 72.15 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.49 KB CDN Bundle - uncompressed 71.45 KB CDN Bundle (incl. Tracing) - uncompressed 110.76 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.83 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.05 KB @sentry/nextjs (client) 38.78 KB @sentry/sveltekit (client) 36.14 KB @sentry/node 135.08 KB @sentry/node - without tracing 97.13 KB @sentry/aws-serverless 109.43 KB -
- 8.41.027 Nov 2024
Release notes
Open source โImportant Changes
-
meta(nuxt): Require minimum Nuxt v3.7.0 (#14473)
We formalized that the Nuxt SDK is at minimum compatible with Nuxt version 3.7.0 and above. Additionally, the SDK requires the implicit
nitropackdependency to satisfy version^2.10.0andofetchto satisfy^1.4.0. It is recommended to check your lock-files and manually upgrade these dependencies if they don't match the version ranges.
Deprecations
We are deprecating a few APIs which will be removed in the next major.
The following deprecations will potentially affect you:
-
feat(core): Update & deprecate
undefinedoption handling (#14450)In the next major version we will change how passing
undefinedtotracesSampleRate/tracesSampler/enableTracingwill behave.Currently, doing the following:
Sentry.init({ tracesSampleRate: undefined, });Will result in tracing being enabled (although no spans will be generated) because the
tracesSampleRatekey is present in the options object. In the next major version, this behavior will be changed so that passingundefined(or rather having atracesSampleRatekey) will result in tracing being disabled, the same as not passing the option at all. If you are currently relying onundefinedbeing passed, and and thus have tracing enabled, it is recommended to update your config to set e.g.tracesSampleRate: 0instead, which will also enable tracing in v9.The same applies to
tracesSamplerandenableTracing. -
feat(core): Log warnings when returning
nullinbeforeSendSpan(#14433)Currently, the
beforeSendSpanoption inSentry.init()allows you to drop individual spans from a trace by returningnullfrom the hook. Since this API lends itself to creating "gaps" inside traces, we decided to change how this API will work in the next major version.With the next major version the
beforeSendSpanAPI can only be used to mutate spans, but no longer to drop them. With this release the SDK will warn you if you are using this API to drop spans. Instead, it is recommended to configure instrumentation (i.e. integrations) directly to control what spans are created.Additionally, with the next major version, root spans will also be passed to
beforeSendSpan. -
feat(utils): Deprecate
@sentry/utils(#14431)With the next major version the
@sentry/utilspackage will be merged into the@sentry/corepackage. It is therefore no longer recommended to use the@sentry/utilspackage. -
feat(vue): Deprecate configuring Vue tracing options anywhere else other than through the
vueIntegration'stracingOptionsoption (#14385)Currently it is possible to configure tracing options in various places in the Sentry Vue SDK:
- In
Sentry.init() - Inside
tracingOptionsinSentry.init() - In the
vueIntegration()options - Inside
tracingOptionsin thevueIntegration()options
Because this is a bit messy and confusing to document, the only recommended way to configure tracing options going forward is through the
tracingOptionsin thevueIntegration(). The other means of configuration will be removed in the next major version of the SDK. - In
-
feat: Deprecate
registerEsmLoaderHooks.includeandregisterEsmLoaderHooks.exclude(#14486)Currently it is possible to define
registerEsmLoaderHooks.includeandregisterEsmLoaderHooks.excludeoptions inSentry.init()to only apply ESM loader hooks to a subset of modules. This API served as an escape hatch in case certain modules are incompatible with ESM loader hooks.Since this API was introduced, a way was found to only wrap modules that there exists instrumentation for (meaning a vetted list). To only wrap modules that have instrumentation, it is recommended to instead set
registerEsmLoaderHooks.onlyIncludeInstrumentedModulestotrue.Note that
onlyIncludeInstrumentedModules: truewill become the default behavior in the next major version and theregisterEsmLoaderHookswill no longer accept fine-grained options.
The following deprecations will most likely not affect you unless you are building an SDK yourself:
- feat(core): Deprecate
arrayify(#14405) - feat(core): Deprecate
flatten(#14454) - feat(core): Deprecate
urlEncode(#14406) - feat(core): Deprecate
validSeverityLevels(#14407) - feat(core/utils): Deprecate
getNumberOfUrlSegments(#14458) - feat(utils): Deprecate
memoBuilder,BAGGAGE_HEADER_NAME, andmakeFifoCache(#14434) - feat(utils/core): Deprecate
addRequestDataToEventandextractRequestData(#14430)
Other Changes
- feat: Streamline
sentry-trace,baggageand DSC handling (#14364) - feat(core): Further optimize debug ID parsing (#14365)
- feat(node): Add
openTelemetryInstrumentationsoption (#14484) - feat(nuxt): Add filter for not found source maps (devtools) (#14437)
- feat(nuxt): Only delete public source maps (#14438)
- fix(nextjs): Don't report
NEXT_REDIRECTfrom browser (#14440) - perf(opentelemetry): Bucket spans for cleanup (#14154)
Work in this release was contributed by @NEKOYASAN and @fmorett. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.12 KB @sentry/browser - with treeshaking flags 21.84 KB @sentry/browser (incl. Tracing) 35.53 KB @sentry/browser (incl. Tracing, Replay) 72.44 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.81 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.76 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.21 KB @sentry/browser (incl. Feedback) 39.86 KB @sentry/browser (incl. sendFeedback) 27.73 KB @sentry/browser (incl. FeedbackAsync) 32.53 KB @sentry/react 25.8 KB @sentry/react (incl. Tracing) 38.36 KB @sentry/vue 27.28 KB @sentry/vue (incl. Tracing) 37.33 KB @sentry/svelte 23.27 KB CDN Bundle 24.29 KB CDN Bundle (incl. Tracing) 37.17 KB CDN Bundle (incl. Tracing, Replay) 72.06 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.41 KB CDN Bundle - uncompressed 71.37 KB CDN Bundle (incl. Tracing) - uncompressed 110.4 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.47 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.69 KB @sentry/nextjs (client) 38.68 KB @sentry/sveltekit (client) 36.05 KB @sentry/node 135.06 KB @sentry/node - without tracing 96.89 KB @sentry/aws-serverless 107.09 KB -
- 8.41.0-beta.125 Nov 2024pre-release
Release notes
Open source โ- feat: Add LaunchDarkly and OpenFeature integrations for beta testing
Bundle size ๐ฆ
Path Size @sentry/browser 23.17 KB @sentry/browser - with treeshaking flags 21.87 KB @sentry/browser (incl. Tracing) 35.57 KB @sentry/browser (incl. Tracing, Replay) 72.48 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.8 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.79 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.24 KB @sentry/browser (incl. Feedback) 39.9 KB @sentry/browser (incl. sendFeedback) 27.78 KB @sentry/browser (incl. FeedbackAsync) 32.57 KB @sentry/react 25.86 KB @sentry/react (incl. Tracing) 38.44 KB @sentry/vue 27.34 KB @sentry/vue (incl. Tracing) 37.39 KB @sentry/svelte 23.33 KB CDN Bundle 24.34 KB CDN Bundle (incl. Tracing) 37.13 KB CDN Bundle (incl. Tracing, Replay) 72.03 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.38 KB CDN Bundle - uncompressed 71.53 KB CDN Bundle (incl. Tracing) - uncompressed 110.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.41 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.63 KB @sentry/nextjs (client) 38.77 KB @sentry/sveltekit (client) 36.08 KB @sentry/node 134.8 KB @sentry/node - without tracing 96.65 KB @sentry/aws-serverless 106.85 KB - 8.41.0-beta.021 Nov 2024pre-release
Release notes
Open source โ- feat: Add LaunchDarkly and OpenFeature integrations for beta testing
Bundle size ๐ฆ
Path Size @sentry/browser 22.92 KB @sentry/browser - with treeshaking flags 21.62 KB @sentry/browser (incl. Tracing) 35.51 KB @sentry/browser (incl. Tracing, Replay) 72.2 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.5 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.5 KB @sentry/browser (incl. Tracing, Replay, Feedback) 88.98 KB @sentry/browser (incl. Feedback) 39.66 KB @sentry/browser (incl. sendFeedback) 27.56 KB @sentry/browser (incl. FeedbackAsync) 32.36 KB @sentry/react 25.63 KB @sentry/react (incl. Tracing) 38.37 KB @sentry/vue 27.09 KB @sentry/vue (incl. Tracing) 37.32 KB @sentry/svelte 23.08 KB CDN Bundle 24.09 KB CDN Bundle (incl. Tracing) 37.08 KB CDN Bundle (incl. Tracing, Replay) 71.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.13 KB CDN Bundle - uncompressed 71.05 KB CDN Bundle (incl. Tracing) - uncompressed 110.4 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.93 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.14 KB @sentry/nextjs (client) 38.48 KB @sentry/sveltekit (client) 36.02 KB @sentry/node 134.55 KB @sentry/node - without tracing 96.39 KB @sentry/aws-serverless 106.63 KB - 8.40.022 Nov 2024
Release notes
Open source โImportant Changes
-
feat(angular): Support Angular 19 (#14398)
The
@sentry/angularSDK can now be used with Angular 19. If you're upgrading to the new Angular version, you might want to migrate from the now deprecatedAPP_INITIALIZERtoken toprovideAppInitializer. In this case, change the SentryTraceServiceinitialization inapp.config.ts:// Angular 18 export const appConfig: ApplicationConfig = { providers: [ // other providers { provide: TraceService, deps: [Router], }, { provide: APP_INITIALIZER, useFactory: () => () => {}, deps: [TraceService], multi: true, }, ], }; // Angular 19 export const appConfig: ApplicationConfig = { providers: [ // other providers { provide: TraceService, deps: [Router], }, provideAppInitializer(() => { inject(TraceService); }), ], }; -
feat(core): Deprecate
debugIntegrationandsessionTimingIntegration(#14363)The
debugIntegrationwas deprecated and will be removed in the next major version of the SDK. To log outgoing events, use Hook Options (beforeSend,beforeSendTransaction, ...).The
sessionTimingIntegrationwas deprecated and will be removed in the next major version of the SDK. To capture session durations alongside events, use Context (Sentry.setContext()). -
feat(nestjs): Deprecate
@WithSentryin favor of@SentryExceptionCaptured(#14323)The
@WithSentrydecorator was deprecated. Use@SentryExceptionCapturedinstead. This is a simple renaming and functionality stays identical. -
feat(nestjs): Deprecate
SentryTracingInterceptor,SentryService,SentryGlobalGenericFilter,SentryGlobalGraphQLFilter(#14371)The
SentryTracingInterceptorwas deprecated. If you are using@sentry/nestjsyou can safely remove any references to theSentryTracingInterceptor. If you are using another package migrate to@sentry/nestjsand remove theSentryTracingInterceptorafterwards.The
SentryServicewas deprecated and its functionality was added toSentry.init. If you are using@sentry/nestjsyou can safely remove any references to theSentryService. If you are using another package migrate to@sentry/nestjsand remove theSentryServiceafterwards.The
SentryGlobalGenericFilterwas deprecated. Use theSentryGlobalFilterinstead which is a drop-in replacement.The
SentryGlobalGraphQLFilterwas deprecated. Use theSentryGlobalFilterinstead which is a drop-in replacement. -
feat(node): Deprecate
nestIntegrationandsetupNestErrorHandlerin favor of using@sentry/nestjs(#14374)The
nestIntegrationandsetupNestErrorHandlerfunctions from@sentry/nodewere deprecated and will be removed in the next major version of the SDK. If you're using@sentry/nodein a NestJS application, we recommend switching to our new dedicated@sentry/nestjspackage.
Other Changes
- feat(browser): Send additional LCP timing info (#14372)
- feat(replay): Clear event buffer when full and in buffer mode (#14078)
- feat(core): Ensure
normalizedRequestonsdkProcessingMetadatais merged (#14315) - feat(core): Hoist everything from
@sentry/utilsinto@sentry/core(#14382) - fix(core): Do not throw when trying to fill readonly properties (#14402)
- fix(feedback): Fix
__selfand__sourceattributes on feedback nodes (#14356) - fix(feedback): Fix non-wrapping form title (#14355)
- fix(nextjs): Update check for not found navigation error (#14378)
Bundle size ๐ฆ
Path Size @sentry/browser 22.88 KB @sentry/browser - with treeshaking flags 21.57 KB @sentry/browser (incl. Tracing) 35.46 KB @sentry/browser (incl. Tracing, Replay) 72.22 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.53 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.52 KB @sentry/browser (incl. Tracing, Replay, Feedback) 89.02 KB @sentry/browser (incl. Feedback) 39.63 KB @sentry/browser (incl. sendFeedback) 27.51 KB @sentry/browser (incl. FeedbackAsync) 32.32 KB @sentry/react 25.58 KB @sentry/react (incl. Tracing) 38.32 KB @sentry/vue 27.04 KB @sentry/vue (incl. Tracing) 37.27 KB @sentry/svelte 23.03 KB CDN Bundle 24.04 KB CDN Bundle (incl. Tracing) 37.02 KB CDN Bundle (incl. Tracing, Replay) 71.81 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.16 KB CDN Bundle - uncompressed 70.9 KB CDN Bundle (incl. Tracing) - uncompressed 110.25 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.05 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.27 KB @sentry/nextjs (client) 38.42 KB @sentry/sveltekit (client) 35.97 KB @sentry/node 134.48 KB @sentry/node - without tracing 96.32 KB @sentry/aws-serverless 106.57 KB -