npm @sentry/browser 8.26.0

latest releases: 7.120.0, 8.39.0-dev.0, 8.38.0...
3 months ago

Important Changes

  • feat(node): Add fsInstrumentation (#13291)

    This release adds fsIntegration, an integration that instruments the fs API to the Sentry Node SDK. The
    integration creates spans with naming patterns of fs.readFile, fs.unlink, and so on.

    This integration is not enabled by default and needs to be registered in your Sentry.init call. You can configure
    via options whether to include path arguments or error messages as span attributes when an fs call fails:

    Sentry.init({
      integrations: [
        Sentry.fsIntegration({
          recordFilePaths: true,
          recordErrorMessagesAsSpanAttributes: true,
        }),
      ],
    });

    WARNING: This integration may add significant overhead to your application. Especially in scenarios with a lot of
    file I/O, like for example when running a framework dev server, including this integration can massively slow down
    your application.

Other Changes

  • feat(browser): Add spotlightBrowser integration (#13263)

  • feat(browser): Allow sentry in safari extension background page (#13209)

  • feat(browser): Send CLS as standalone span (experimental) (#13056)

  • feat(core): Add OpenTelemetry-specific getTraceData implementation (#13281)

  • feat(nextjs): Always add browserTracingIntegration (#13324)

  • feat(nextjs): Always transmit trace data to the client (#13337)

  • feat(nextjs): export SentryBuildOptions (#13296)

  • feat(nextjs): Update experimental_captureRequestError to reflect RequestInfo.path change in Next.js canary
    (#13344)

  • feat(nuxt): Always add tracing meta tags (#13273)

  • feat(nuxt): Set transaction name for server error (#13292)

  • feat(replay): Add a replay-specific logger (#13256)

  • feat(sveltekit): Add bundle size optimizations to plugin options (#13318)

  • feat(sveltekit): Always add browserTracingIntegration (#13322)

  • feat(tracing): Make long animation frames opt-out (#13255)

  • fix(astro): Correctly extract request data (#13315)

  • fix(astro): Only track access request headers in dynamic page requests (#13306)

  • fix(nuxt): Add import line for disabled autoImport (#13342)

  • fix(nuxt): Add vue to excludeEsmLoaderHooks array (#13346)

  • fix(opentelemetry): Do not overwrite http span name if kind is internal (#13282)

  • fix(remix): Ensure origin is correctly set for remix server spans (#13305)

Work in this release was contributed by @MonstraG, @undead-voron and @Zen-cronic. Thank you for your contributions!

Don't miss a new browser release

NewReleases is sending notifications on new releases.