Update sentry-javascript monorepo to v9 (major) #449

Open
renovate[bot] wants to merge 1 commit from renovate/major-sentry-javascript-monorepo into master
renovate[bot] commented 2025-02-11 01:34:33 +01:00 (Migrated from github.com)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) ^8.55.0 -> ^9.27.0 age adoption passing confidence
@sentry/types (source) ^8.55.0 -> ^9.27.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/node)

v9.27.0

Compare Source

  • feat(node): Expand how vercel ai input/outputs can be set (#​16455)
  • feat(node): Switch to new semantic conventions for Vercel AI (#​16476)
  • feat(react-router): Add component annotation plugin (#​16472)
  • feat(react-router): Export wrappers for server loaders and actions (#​16481)
  • fix(browser): Ignore unrealistically long INP values (#​16484)
  • fix(react-router): Conditionally add ReactRouterServer integration (#​16470)

Bundle size 📦

Path Size
@​sentry/browser 23.43 KB
@​sentry/browser - with treeshaking flags 23.2 KB
@​sentry/browser (incl. Tracing) 37.46 KB
@​sentry/browser (incl. Tracing, Replay) 74.68 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.94 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB
@​sentry/browser (incl. Feedback) 39.77 KB
@​sentry/browser (incl. sendFeedback) 28.03 KB
@​sentry/browser (incl. FeedbackAsync) 32.8 KB
@​sentry/react 25.15 KB
@​sentry/react (incl. Tracing) 39.41 KB
@​sentry/vue 27.69 KB
@​sentry/vue (incl. Tracing) 39.27 KB
@​sentry/svelte 23.45 KB
CDN Bundle 24.88 KB
CDN Bundle (incl. Tracing) 37.63 KB
CDN Bundle (incl. Tracing, Replay) 72.66 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.99 KB
CDN Bundle - uncompressed 72.67 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.72 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.25 KB
@​sentry/nextjs (client) 41.03 KB
@​sentry/sveltekit (client) 37.93 KB
@​sentry/node 146.75 KB
@​sentry/node - without tracing 96.03 KB
@​sentry/aws-serverless 121.19 KB

v9.26.0

Compare Source

  • feat(react-router): Re-export functions from @sentry/react (#​16465)
  • fix(nextjs): Skip re instrumentating on generate phase of experimental build mode (#​16410)
  • fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#​16473)

v9.25.1

Compare Source

  • fix(otel): Don't ignore child spans after the root is sent (#​16416)

v9.25.0

Compare Source

Important Changes
  • feat(browser): Add option to ignore mark and measure spans (#​16443)

This release adds an option to browserTracingIntegration that lets you ignore
mark and measure spans created from the performance.mark(...) and performance.measure(...) browser APIs:

Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration({
      ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/],
    }),
  ],
});
Other Changes
  • feat(browser): Export getTraceData from the browser sdks (#​16433)
  • feat(node): Add includeServerName option (#​16442)
  • fix(nuxt): Remove setting @sentry/nuxt external (#​16444)
Bundle size 📦
Path Size
@​sentry/browser 23.43 KB
@​sentry/browser - with treeshaking flags 23.2 KB
@​sentry/browser (incl. Tracing) 37.44 KB
@​sentry/browser (incl. Tracing, Replay) 74.69 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.96 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB
@​sentry/browser (incl. Feedback) 39.77 KB
@​sentry/browser (incl. sendFeedback) 28.03 KB
@​sentry/browser (incl. FeedbackAsync) 32.8 KB
@​sentry/react 25.15 KB
@​sentry/react (incl. Tracing) 39.39 KB
@​sentry/vue 27.67 KB
@​sentry/vue (incl. Tracing) 39.24 KB
@​sentry/svelte 23.45 KB
CDN Bundle 24.88 KB
CDN Bundle (incl. Tracing) 37.62 KB
CDN Bundle (incl. Tracing, Replay) 72.64 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.93 KB
CDN Bundle - uncompressed 72.67 KB
CDN Bundle (incl. Tracing) - uncompressed 111.4 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.7 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.22 KB
@​sentry/nextjs (client) 41.02 KB
@​sentry/sveltekit (client) 37.93 KB
@​sentry/node 146.37 KB
@​sentry/node - without tracing 95.83 KB
@​sentry/aws-serverless 120.98 KB

v9.24.0

Compare Source

v9.23.0

Compare Source

Important changes
  • feat(browser): option to ignore certain resource types (#​16389)

Adds an option to opt out of certain resource.* spans via ignoreResourceSpans.

For example, to opt out of resource.script spans:

Sentry.browserTracingIntegration({
  ignoreResourceSpans: ['resource.script'],
}),
Other changes

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

v9.22.0

Compare Source

Important changes
  • Revert "feat(browser): Track measure detail as span attributes" (#​16348)

This is a revert of a feature introduced in 9.20.0 with #​16240. This feature was causing crashes in firefox, so we are reverting it. We will re-enable this functionality in the future after fixing the crash.

Other changes
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

v9.21.0

Compare Source

  • docs: Fix v7 migration link (#​14629)
  • feat(node): Vendor in @fastify/otel (#​16328)
  • fix(nestjs): Handle multiple OnEvent decorators (#​16306)
  • fix(node): Avoid creating breadcrumbs for suppressed requests (#​16285)
  • fix(remix): Add missing client exports to server and cloudflare entries (#​16341)

Work in this release was contributed by @​phthhieu. Thank you for your contribution!

Bundle size 📦

Path Size
@​sentry/browser 23.48 KB
@​sentry/browser - with treeshaking flags 23.15 KB
@​sentry/browser (incl. Tracing) 37.56 KB
@​sentry/browser (incl. Tracing, Replay) 74.79 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.98 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 79.44 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 91.27 KB
@​sentry/browser (incl. Feedback) 39.87 KB
@​sentry/browser (incl. sendFeedback) 28.11 KB
@​sentry/browser (incl. FeedbackAsync) 32.87 KB
@​sentry/react 25.21 KB
@​sentry/react (incl. Tracing) 39.49 KB
@​sentry/vue 27.77 KB
@​sentry/vue (incl. Tracing) 39.34 KB
@​sentry/svelte 23.5 KB
CDN Bundle 24.65 KB
CDN Bundle (incl. Tracing) 37.63 KB
CDN Bundle (incl. Tracing, Replay) 72.57 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.89 KB
CDN Bundle - uncompressed 71.9 KB
CDN Bundle (incl. Tracing) - uncompressed 111.35 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.18 KB
@​sentry/nextjs (client) 41.1 KB
@​sentry/sveltekit (client) 38.04 KB
@​sentry/node 145.96 KB
@​sentry/node - without tracing 95.8 KB
@​sentry/aws-serverless 120.54 KB

v9.20.0

Compare Source

Important changes
  • feat(browser): Track measure detail as span attributes (#​16240)

The SDK now automatically collects details passed to performance.measure options.

Other changes
  • feat(node): Add maxIncomingRequestBodySize (#​16225)
  • feat(react-router): Add server action instrumentation (#​16292)
  • feat(react-router): Filter manifest requests (#​16294)
  • feat(replay): Extend default list for masking with aria-label (#​16192)
  • fix(browser): Ensure pageload & navigation spans have correct data (#​16279)
  • fix(cloudflare): Account for static fields in wrapper type (#​16303)
  • fix(nextjs): Preserve next.route attribute on root spans (#​16297)
  • feat(node): Fork isolation scope in tRPC middleware (#​16296)
  • feat(core): Add orgId option to init and DSC (sentry-org_id in baggage) (#​16305)

Bundle size 📦

Path Size
@​sentry/browser 23.48 KB
@​sentry/browser - with treeshaking flags 23.15 KB
@​sentry/browser (incl. Tracing) 37.56 KB
@​sentry/browser (incl. Tracing, Replay) 74.79 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.98 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 79.44 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 91.27 KB
@​sentry/browser (incl. Feedback) 39.87 KB
@​sentry/browser (incl. sendFeedback) 28.11 KB
@​sentry/browser (incl. FeedbackAsync) 32.87 KB
@​sentry/react 25.25 KB
@​sentry/react (incl. Tracing) 39.53 KB
@​sentry/vue 27.77 KB
@​sentry/vue (incl. Tracing) 39.34 KB
@​sentry/svelte 23.5 KB
CDN Bundle 24.66 KB
CDN Bundle (incl. Tracing) 37.63 KB
CDN Bundle (incl. Tracing, Replay) 72.58 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.9 KB
CDN Bundle - uncompressed 71.95 KB
CDN Bundle (incl. Tracing) - uncompressed 111.4 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.7 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.23 KB
@​sentry/nextjs (client) 41.1 KB
@​sentry/sveltekit (client) 38.04 KB
@​sentry/node 154.45 KB
@​sentry/node - without tracing 95.77 KB
@​sentry/aws-serverless 120.52 KB

v9.19.0

Compare 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 cancelled reason (#​16277)
  • fix(node): Pin @fastify/otel fork 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

v9.18.0

Compare Source

Important changes

We now also publish profiling binaries for Node 24.

Other changes
  • deps(node): Bump import-in-the-middle to 1.13.1 (#​16260)
  • feat: Export consoleLoggingIntegration from 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/otel dependency 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

v9.17.0

Compare 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

v9.16.1

Compare Source

  • fix(core): Make sure logs get flushed in server-runtime-client (#​16222)
  • ref(node): Remove vercel flushing code that does nothing (#​16217)

v9.16.0

Compare Source

Important changes
  • feat: Create a Vite plugin that injects sentryConfig into the global config (#​16197)

Add a new plugin makeConfigInjectorPlugin within 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 instrumentDurableObjectWithSentry method 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 replace browserTracingIntegration() with reactRouterTracingIntegration() 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/https emitting 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 ignoreOutgoingRequests option of httpIntegration receives the RequestOptions as 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_RELEASE from env (#​16201)
  • feat(node): Drop http.server spans 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

v9.15.0

Compare Source

Important Changes
  • feat: Export wrapMcpServerWithSentry from 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, tool and prompt with the incoming message requests instead of the outgoing SSE response.

Other Changes
  • fix: Vercel ai ESM patching (#​16152)
  • fix(node): Update version range for module.register (#​16125)
  • fix(react-router): Spread unstable_sentryVitePluginOptions correctly (#​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 |
| ------------------------------------


Configuration

📅 Schedule: Branch creation - "before 10:00 AM" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@sentry/node](https://redirect.github.com/getsentry/sentry-javascript/tree/master/packages/node) ([source](https://redirect.github.com/getsentry/sentry-javascript)) | [`^8.55.0` -> `^9.27.0`](https://renovatebot.com/diffs/npm/@sentry%2fnode/8.55.0/9.27.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fnode/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fnode/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fnode/8.55.0/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fnode/8.55.0/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@sentry/types](https://redirect.github.com/getsentry/sentry-javascript/tree/master/packages/types) ([source](https://redirect.github.com/getsentry/sentry-javascript)) | [`^8.55.0` -> `^9.27.0`](https://renovatebot.com/diffs/npm/@sentry%2ftypes/8.55.0/9.27.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2ftypes/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2ftypes/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2ftypes/8.55.0/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2ftypes/8.55.0/9.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@&#8203;sentry/node)</summary> ### [`v9.27.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.27.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.26.0...9.27.0) - feat(node): Expand how vercel ai input/outputs can be set ([#&#8203;16455](https://redirect.github.com/getsentry/sentry-javascript/pull/16455)) - feat(node): Switch to new semantic conventions for Vercel AI ([#&#8203;16476](https://redirect.github.com/getsentry/sentry-javascript/pull/16476)) - feat(react-router): Add component annotation plugin ([#&#8203;16472](https://redirect.github.com/getsentry/sentry-javascript/pull/16472)) - feat(react-router): Export wrappers for server loaders and actions ([#&#8203;16481](https://redirect.github.com/getsentry/sentry-javascript/pull/16481)) - fix(browser): Ignore unrealistically long INP values ([#&#8203;16484](https://redirect.github.com/getsentry/sentry-javascript/pull/16484)) - fix(react-router): Conditionally add `ReactRouterServer` integration ([#&#8203;16470](https://redirect.github.com/getsentry/sentry-javascript/pull/16470)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.43 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.2 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.46 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.68 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.33 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.13 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.77 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.03 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.8 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.15 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.41 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.69 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.27 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/sentry/svelte) | 23.45 KB | | CDN Bundle | 24.88 KB | | CDN Bundle (incl. Tracing) | 37.63 KB | | CDN Bundle (incl. Tracing, Replay) | 72.66 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB | | CDN Bundle - uncompressed | 72.67 KB | | CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB | | CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 41.03 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.93 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 146.75 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 96.03 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 121.19 KB | ### [`v9.26.0`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#9260) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.25.1...9.26.0) - feat(react-router): Re-export functions from `@sentry/react` ([#&#8203;16465](https://redirect.github.com/getsentry/sentry-javascript/pull/16465)) - fix(nextjs): Skip re instrumentating on generate phase of experimental build mode ([#&#8203;16410](https://redirect.github.com/getsentry/sentry-javascript/pull/16410)) - fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash ([#&#8203;16473](https://redirect.github.com/getsentry/sentry-javascript/pull/16473)) ### [`v9.25.1`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#9251) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.25.0...9.25.1) - fix(otel): Don't ignore child spans after the root is sent ([#&#8203;16416](https://redirect.github.com/getsentry/sentry-javascript/pull/16416)) ### [`v9.25.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.25.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.24.0...9.25.0) ##### Important Changes - **feat(browser): Add option to ignore `mark` and `measure` spans ([#&#8203;16443](https://redirect.github.com/getsentry/sentry-javascript/pull/16443))** This release adds an option to `browserTracingIntegration` that lets you ignore `mark` and `measure` spans created from the `performance.mark(...)` and `performance.measure(...)` browser APIs: ```js Sentry.init({ integrations: [ Sentry.browserTracingIntegration({ ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/], }), ], }); ``` ##### Other Changes - feat(browser): Export getTraceData from the browser sdks ([#&#8203;16433](https://redirect.github.com/getsentry/sentry-javascript/pull/16433)) - feat(node): Add `includeServerName` option ([#&#8203;16442](https://redirect.github.com/getsentry/sentry-javascript/pull/16442)) - fix(nuxt): Remove setting `@sentry/nuxt` external ([#&#8203;16444](https://redirect.github.com/getsentry/sentry-javascript/pull/16444)) ##### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.43 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.2 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.44 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.69 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.33 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.13 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.77 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.03 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.8 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.15 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.39 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.67 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.24 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/sentry/svelte) | 23.45 KB | | CDN Bundle | 24.88 KB | | CDN Bundle (incl. Tracing) | 37.62 KB | | CDN Bundle (incl. Tracing, Replay) | 72.64 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB | | CDN Bundle - uncompressed | 72.67 KB | | CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB | | CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 41.02 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.93 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 146.37 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.83 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.98 KB | ### [`v9.24.0`](https://redirect.github.com/getsentry/sentry-javascript/compare/9.23.0...9.24.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.23.0...9.24.0) ### [`v9.23.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.23.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.22.0...9.23.0) ##### Important changes - **feat(browser): option to ignore certain resource types ([#&#8203;16389](https://redirect.github.com/getsentry/sentry-javascript/pull/16389))** Adds an option to opt out of certain `resource.*` spans via `ignoreResourceSpans`. For example, to opt out of `resource.script` spans: ```js Sentry.browserTracingIntegration({ ignoreResourceSpans: ['resource.script'], }), ``` ##### Other changes - feat: Export `isEnabled` from all SDKs ([#&#8203;16405](https://redirect.github.com/getsentry/sentry-javascript/pull/16405)) - feat(browser): Disable client when browser extension is detected in `init()` ([#&#8203;16354](https://redirect.github.com/getsentry/sentry-javascript/pull/16354)) - feat(core): Allow re-use of `captureLog` ([#&#8203;16352](https://redirect.github.com/getsentry/sentry-javascript/pull/16352)) - feat(core): Export `_INTERNAL_captureSerializedLog` ([#&#8203;16387](https://redirect.github.com/getsentry/sentry-javascript/pull/16387)) - feat(deps): bump [@&#8203;opentelemetry/semantic-conventions](https://redirect.github.com/opentelemetry/semantic-conventions) from 1.32.0 to 1.34.0 ([#&#8203;16393](https://redirect.github.com/getsentry/sentry-javascript/pull/16393)) - feat(deps): bump [@&#8203;prisma/instrumentation](https://redirect.github.com/prisma/instrumentation) from 6.7.0 to 6.8.2 ([#&#8203;16392](https://redirect.github.com/getsentry/sentry-javascript/pull/16392)) - feat(deps): bump [@&#8203;sentry/cli](https://redirect.github.com/sentry/cli) from 2.43.0 to 2.45.0 ([#&#8203;16395](https://redirect.github.com/getsentry/sentry-javascript/pull/16395)) - feat(deps): bump [@&#8203;sentry/webpack-plugin](https://redirect.github.com/sentry/webpack-plugin) from 3.3.1 to 3.5.0 ([#&#8203;16394](https://redirect.github.com/getsentry/sentry-javascript/pull/16394)) - feat(nextjs): Include `static/chunks/main-*` files for `widenClientFileUpload` ([#&#8203;16406](https://redirect.github.com/getsentry/sentry-javascript/pull/16406)) - feat(node): Do not add HTTP & fetch span instrumentation if tracing is disabled ([#&#8203;15730](https://redirect.github.com/getsentry/sentry-javascript/pull/15730)) - feat(nuxt): Added support for nuxt layers ([#&#8203;16372](https://redirect.github.com/getsentry/sentry-javascript/pull/16372)) - fix(browser): Ensure logs are flushed when sendClientReports=false ([#&#8203;16351](https://redirect.github.com/getsentry/sentry-javascript/pull/16351)) - fix(browser): Move `browserTracingIntegration` code to `setup` hook ([#&#8203;16386](https://redirect.github.com/getsentry/sentry-javascript/pull/16386)) - fix(cloudflare): Capture exceptions thrown in hono ([#&#8203;16355](https://redirect.github.com/getsentry/sentry-javascript/pull/16355)) - fix(node): Don't warn about Spotlight on empty NODE_ENV ([#&#8203;16381](https://redirect.github.com/getsentry/sentry-javascript/pull/16381)) - fix(node): Suppress Spotlight calls ([#&#8203;16380](https://redirect.github.com/getsentry/sentry-javascript/pull/16380)) - fix(nuxt): Add `@sentry/nuxt` as external in Rollup ([#&#8203;16407](https://redirect.github.com/getsentry/sentry-javascript/pull/16407)) - fix(opentelemetry): Ensure `withScope` keeps span active & `_getTraceInfoFromScope` works ([#&#8203;16385](https://redirect.github.com/getsentry/sentry-javascript/pull/16385)) Work in this release was contributed by [@&#8203;Xenossolitarius](https://redirect.github.com/Xenossolitarius). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.37 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.14 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.33 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.59 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.23 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.04 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.73 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.97 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.75 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.11 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.29 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.6 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.11 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.93 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.83 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 146.36 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.82 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.98 KB | ### [`v9.22.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.22.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.21.0...9.22.0) ##### Important changes - **Revert "feat(browser): Track measure detail as span attributes" ([#&#8203;16348](https://redirect.github.com/getsentry/sentry-javascript/pull/16348))** This is a revert of a feature introduced in `9.20.0` with [#&#8203;16240](https://redirect.github.com/getsentry/sentry-javascript/pull/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 [@&#8203;sentry/rollup-plugin](https://redirect.github.com/sentry/rollup-plugin) from 3.1.2 to 3.2.1 ([#&#8203;15511](https://redirect.github.com/getsentry/sentry-javascript/pull/15511)) - fix(remix): Use generic types for `ServerBuild` argument and return ([#&#8203;16336](https://redirect.github.com/getsentry/sentry-javascript/pull/16336)) ##### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.39 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.16 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.37 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.59 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.26 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.07 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.76 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.77 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.12 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.3 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.68 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.15 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.92 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.83 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 145.96 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.8 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.54 KB | ### [`v9.21.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.21.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.20.0...9.21.0) - docs: Fix v7 migration link ([#&#8203;14629](https://redirect.github.com/getsentry/sentry-javascript/pull/14629)) - feat(node): Vendor in `@fastify/otel` ([#&#8203;16328](https://redirect.github.com/getsentry/sentry-javascript/pull/16328)) - fix(nestjs): Handle multiple `OnEvent` decorators ([#&#8203;16306](https://redirect.github.com/getsentry/sentry-javascript/pull/16306)) - fix(node): Avoid creating breadcrumbs for suppressed requests ([#&#8203;16285](https://redirect.github.com/getsentry/sentry-javascript/pull/16285)) - fix(remix): Add missing `client` exports to `server` and `cloudflare` entries ([#&#8203;16341](https://redirect.github.com/getsentry/sentry-javascript/pull/16341)) Work in this release was contributed by [@&#8203;phthhieu](https://redirect.github.com/phthhieu). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.48 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.15 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.56 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.79 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.44 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.27 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.87 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.11 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.87 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.21 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.49 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.77 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.34 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 41.1 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 38.04 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 145.96 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.8 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.54 KB | ### [`v9.20.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.20.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.19.0...9.20.0) ##### Important changes - **feat(browser): Track measure detail as span attributes ([#&#8203;16240](https://redirect.github.com/getsentry/sentry-javascript/pull/16240))** The SDK now automatically collects details passed to `performance.measure` options. ##### Other changes - feat(node): Add `maxIncomingRequestBodySize` ([#&#8203;16225](https://redirect.github.com/getsentry/sentry-javascript/pull/16225)) - feat(react-router): Add server action instrumentation ([#&#8203;16292](https://redirect.github.com/getsentry/sentry-javascript/pull/16292)) - feat(react-router): Filter manifest requests ([#&#8203;16294](https://redirect.github.com/getsentry/sentry-javascript/pull/16294)) - feat(replay): Extend default list for masking with `aria-label` ([#&#8203;16192](https://redirect.github.com/getsentry/sentry-javascript/pull/16192)) - fix(browser): Ensure pageload & navigation spans have correct data ([#&#8203;16279](https://redirect.github.com/getsentry/sentry-javascript/pull/16279)) - fix(cloudflare): Account for static fields in wrapper type ([#&#8203;16303](https://redirect.github.com/getsentry/sentry-javascript/pull/16303)) - fix(nextjs): Preserve `next.route` attribute on root spans ([#&#8203;16297](https://redirect.github.com/getsentry/sentry-javascript/pull/16297)) - feat(node): Fork isolation scope in tRPC middleware ([#&#8203;16296](https://redirect.github.com/getsentry/sentry-javascript/pull/16296)) - feat(core): Add `orgId` option to `init` and DSC (`sentry-org_id` in baggage) ([#&#8203;16305](https://redirect.github.com/getsentry/sentry-javascript/pull/16305)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.48 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.15 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.56 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.79 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.44 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91.27 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.87 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.11 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.87 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.25 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.53 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.77 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.34 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 41.1 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 38.04 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 154.45 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.77 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.52 KB | ### [`v9.19.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.19.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.18.0...9.19.0) - feat(react-router): Add otel instrumentation for server requests ([#&#8203;16147](https://redirect.github.com/getsentry/sentry-javascript/pull/16147)) - feat(remix): Vendor in `opentelemetry-instrumentation-remix` ([#&#8203;16145](https://redirect.github.com/getsentry/sentry-javascript/pull/16145)) - fix(browser): Ensure spans auto-ended for navigations have `cancelled` reason ([#&#8203;16277](https://redirect.github.com/getsentry/sentry-javascript/pull/16277)) - fix(node): Pin `@fastify/otel` fork to direct url to allow installing without git ([#&#8203;16287](https://redirect.github.com/getsentry/sentry-javascript/pull/16287)) - fix(react): Handle nested parameterized routes in reactrouterv3 transaction normalization ([#&#8203;16274](https://redirect.github.com/getsentry/sentry-javascript/pull/16274)) Work in this release was contributed by [@&#8203;sidx1024](https://redirect.github.com/sidx1024). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.4 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.06 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.31 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.53 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 67.72 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.19 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 91 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.8 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.03 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.79 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.17 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.27 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.67 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.07 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.88 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.77 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 154.29 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.6 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.36 KB | ### [`v9.18.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.18.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.17.0...9.18.0) ##### Important changes - **feat: Support Node 24 ([#&#8203;16236](https://redirect.github.com/getsentry/sentry-javascript/pull/16236))** We now also publish profiling binaries for Node 24. ##### Other changes - deps(node): Bump `import-in-the-middle` to `1.13.1` ([#&#8203;16260](https://redirect.github.com/getsentry/sentry-javascript/pull/16260)) - feat: Export `consoleLoggingIntegration` from vercel edge sdk ([#&#8203;16228](https://redirect.github.com/getsentry/sentry-javascript/pull/16228)) - feat(cloudflare): Add support for email, queue, and tail handler ([#&#8203;16233](https://redirect.github.com/getsentry/sentry-javascript/pull/16233)) - feat(cloudflare): Improve http span data ([#&#8203;16232](https://redirect.github.com/getsentry/sentry-javascript/pull/16232)) - feat(nextjs): Add more attributes for generation functions ([#&#8203;16214](https://redirect.github.com/getsentry/sentry-javascript/pull/16214)) - feat(opentelemetry): Widen peer dependencies to support Otel v2 ([#&#8203;16246](https://redirect.github.com/getsentry/sentry-javascript/pull/16246)) - fix(core): Gracefully handle invalid baggage entries ([#&#8203;16257](https://redirect.github.com/getsentry/sentry-javascript/pull/16257)) - fix(node): Ensure traces are propagated without spans in Node 22+ ([#&#8203;16221](https://redirect.github.com/getsentry/sentry-javascript/pull/16221)) - fix(node): Use sentry forked `@fastify/otel` dependency with pinned Otel v1 deps ([#&#8203;16256](https://redirect.github.com/getsentry/sentry-javascript/pull/16256)) - fix(remix): Remove vendored types ([#&#8203;16218](https://redirect.github.com/getsentry/sentry-javascript/pull/16218)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.4 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.22 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.3 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.53 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 68.37 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.18 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 90.99 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.8 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 28.03 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.79 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.17 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.26 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.67 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.06 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.88 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.76 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 155.42 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 96 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 121.5 KB | ### [`v9.17.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.17.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.16.1...9.17.0) - feat(node): Migrate to `@fastify/otel` ([#&#8203;15542](https://redirect.github.com/getsentry/sentry-javascript/pull/15542)) ##### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.35 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.19 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.25 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.47 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 68.34 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.12 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 90.93 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.75 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.98 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.74 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.16 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.24 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.63 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.01 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.84 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.73 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 151.37 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 95.77 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.16 KB | ### [`v9.16.1`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#9161) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.16.0...9.16.1) - fix(core): Make sure logs get flushed in server-runtime-client ([#&#8203;16222](https://redirect.github.com/getsentry/sentry-javascript/pull/16222)) - ref(node): Remove vercel flushing code that does nothing ([#&#8203;16217](https://redirect.github.com/getsentry/sentry-javascript/pull/16217)) ### [`v9.16.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.16.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.15.0...9.16.0) ##### Important changes - **feat: Create a Vite plugin that injects sentryConfig into the global config ([#&#8203;16197](https://redirect.github.com/getsentry/sentry-javascript/pull/16197))** Add a new plugin `makeConfigInjectorPlugin` within our existing vite plugin that updates the global vite config with sentry options - **feat(browser): Add option to sample linked traces consistently ([#&#8203;16037](https://redirect.github.com/getsentry/sentry-javascript/pull/16037))** This PR implements consistent sampling across traces as outlined in ([#&#8203;15754](https://redirect.github.com/getsentry/sentry-javascript/pull/15754)) - **feat(cloudflare): Add support for durable objects ([#&#8203;16180](https://redirect.github.com/getsentry/sentry-javascript/pull/16180))** This PR introduces a new `instrumentDurableObjectWithSentry` method to the SDK, which instruments durable objects. We capture both traces and errors automatically. - **feat(node): Add Prisma integration by default ([#&#8203;16073](https://redirect.github.com/getsentry/sentry-javascript/pull/16073))** [Prisma integration](https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/prisma/) is enabled by default, it should work for both ESM and CJS. - **feat(react-router): Add client-side router instrumentation ([#&#8203;16185](https://redirect.github.com/getsentry/sentry-javascript/pull/16185))** Adds client-side instrumentation for react router's `HydratedRouter`. To enable it, simply replace `browserTracingIntegration()` with `reactRouterTracingIntegration()` in your client-side init call. - **fix(node): Avoid double-wrapping http module ([#&#8203;16177](https://redirect.github.com/getsentry/sentry-javascript/pull/16177))** When running your application in ESM mode, there have been scenarios that resulted in the `http`/`https` emitting 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 diagnostics*channel 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 `ignoreOutgoingRequests` option of `httpIntegration` receives the `RequestOptions` as 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: ```ts 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 ([#&#8203;16165](https://redirect.github.com/getsentry/sentry-javascript/pull/16165)) - feat(vercel-edge): Add logs export ([#&#8203;16166](https://redirect.github.com/getsentry/sentry-javascript/pull/16166)) - feat(cloudflare): Read `SENTRY_RELEASE` from `env` ([#&#8203;16201](https://redirect.github.com/getsentry/sentry-javascript/pull/16201)) - feat(node): Drop `http.server` spans with 404 status by default ([#&#8203;16205](https://redirect.github.com/getsentry/sentry-javascript/pull/16205)) - fix(browser): Respect manually set sentry tracing headers in XHR requests ([#&#8203;16184](https://redirect.github.com/getsentry/sentry-javascript/pull/16184)) - fix(core): Respect manually set sentry tracing headers in fetch calls ([#&#8203;16183](https://redirect.github.com/getsentry/sentry-javascript/pull/16183)) - fix(feedback): Prevent `removeFromDom()` from throwing ([#&#8203;16030](https://redirect.github.com/getsentry/sentry-javascript/pull/16030)) - fix(node): Use class constructor in docstring for winston transport ([#&#8203;16167](https://redirect.github.com/getsentry/sentry-javascript/pull/16167)) - fix(node): Fix vercel flushing logic & add test for it ([#&#8203;16208](https://redirect.github.com/getsentry/sentry-javascript/pull/16208)) - fix(node): Fix 404 route handling in express 5 ([#&#8203;16211](https://redirect.github.com/getsentry/sentry-javascript/pull/16211)) - fix(logs): Ensure logs can be flushed correctly ([#&#8203;16216](https://redirect.github.com/getsentry/sentry-javascript/pull/16216)) - ref(core): Switch to standardized log envelope ([#&#8203;16133](https://redirect.github.com/getsentry/sentry-javascript/pull/16133)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) | 23.35 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 23.19 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 37.25 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 74.47 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 68.34 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 79.12 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 90.93 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.75 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.98 KB | | [@&#8203;sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.74 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) | 25.16 KB | | [@&#8203;sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 39.24 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) | 27.63 KB | | [@&#8203;sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 39.01 KB | | [@&#8203;sentry/svelte](https://redirect.github.com/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 | | [@&#8203;sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 40.84 KB | | [@&#8203;sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 37.73 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) | 144.43 KB | | [@&#8203;sentry/node](https://redirect.github.com/sentry/node) - without tracing | 96.3 KB | | [@&#8203;sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 120.66 KB | ### [`v9.15.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.15.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/9.14.0...9.15.0) ##### Important Changes - **feat: Export `wrapMcpServerWithSentry` from server packages ([#&#8203;16127](https://redirect.github.com/getsentry/sentry-javascript/pull/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 ([#&#8203;16126](https://redirect.github.com/getsentry/sentry-javascript/pull/16126))** Adds a best effort mechanism to associate handler spans for `resource`, `tool` and `prompt` with the incoming message requests instead of the outgoing SSE response. ##### Other Changes - fix: Vercel `ai` ESM patching ([#&#8203;16152](https://redirect.github.com/getsentry/sentry-javascript/pull/16152)) - fix(node): Update version range for `module.register` ([#&#8203;16125](https://redirect.github.com/getsentry/sentry-javascript/pull/16125)) - fix(react-router): Spread `unstable_sentryVitePluginOptions` correctly ([#&#8203;16156](https://redirect.github.com/getsentry/sentry-javascript/pull/16156)) - fix(react): Fix Redux integration failing with reducer injection ([#&#8203;16106](https://redirect.github.com/getsentry/sentry-javascript/pull/16106)) - fix(remix): Add ESM-compatible exports ([#&#8203;16124](https://redirect.github.com/getsentry/sentry-javascript/pull/16124)) - fix(remix): Avoid rewrapping root loader. ([#&#8203;16136](https://redirect.github.com/getsentry/sentry-javascript/pull/16136)) Work in this release was contributed by [@&#8203;AntoineDuComptoirDesPharmacies](https://redirect.github.com/AntoineDuComptoirDesPharmacies). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ------------------------------------ </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10:00 AM" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/GizmoDevelopment/ramune-chat). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjQwLjQwLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
Commenting is not possible because the repository is archived.
No description provided.