Skip to content

Releases: getsentry/sentry-javascript

8.0.0-alpha.2

05 Mar 13:04
Compare
Choose a tag to compare
8.0.0-alpha.2 Pre-release
Pre-release

This alpha release fixes a build problem that prevented 8.0.0-alpha.1 from being properly released.

Important Changes

  • feat: Remove @sentry/opentelemetry-node package (#10906)

The @sentry/opentelemetry-node package has been removed. Instead, you can either use @sentry/node with built-in
OpenTelemetry support, or use @sentry/opentelemetry to manually connect Sentry with OpenTelemetry.

Removal/Refactoring of deprecated functionality

  • ref: Refactor some deprecated startSpan options (#10825)
  • feat(v8/core): remove void from transport return (#10794)
  • ref(integrations): Delete deprecated class integrations (#10887)

Other Changes

  • feat(core): Use serialized spans in transaction event (#10912)
  • feat(deps): bump @sentry/cli from 2.28.6 to 2.29.1 (#10908)
  • feat(node): Allow to configure skipOpenTelemetrySetup (#10907)
  • feat(esm): Import rather than require inspector (#10910)
  • fix(browser): Don't use chrome variable name (#10874)
  • chore(sveltekit): Fix punctuation in a console.log (#10895)
  • fix(opentelemetry): Ensure DSC propagation works correctly (#10904)
  • feat(browser): Exclude span exports from non-performance CDN bundles (#10879)
  • ref: Refactor span status handling to be OTEL compatible (#10871)
  • feat(core): Fix span scope handling & transaction setting (#10886)
  • ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)

Work in this release contributed by @harish-talview & @bfontaine. Thank you for your contributions!

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.16 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.39 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.32 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.94 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.65 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 32.65 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.01 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.02 KB
@sentry/browser - Webpack (gzipped) 22.25 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.31 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.96 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 23.83 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.15 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.01 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.03 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.94 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.68 KB
@sentry/react - Webpack (gzipped) 22.28 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.1 KB
@sentry/nextjs Client - Webpack (gzipped) 49.51 KB
@sentry-internal/feedback - Webpack (gzipped) 17.1 KB

7.105.0

04 Mar 08:54
Compare
Choose a tag to compare

Important Changes

  • feat: Ensure withActiveSpan is exported everywhere (#10877)

You can use the withActiveSpan method to ensure a certain span is the active span in a given callback. This can be
used to create a span as a child of a specific span with the startSpan API methods:

const parentSpan = Sentry.startInactiveSpan({ name: 'parent' });
if (parentSpan) {
  withActiveSpan(parentSpan, () => {
    // This will be a direct child of parentSpan
    const childSpan = Sentry.startInactiveSpan({ name: 'child' });
  });
}

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
@sentry/browser - Webpack (gzipped) 22.68 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.37 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
@sentry/react - Webpack (gzipped) 22.71 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB
@sentry/nextjs Client - Webpack (gzipped) 53.28 KB
@sentry-internal/feedback - Webpack (gzipped) 17.28 KB

7.104.0

29 Feb 23:34
Compare
Choose a tag to compare

Important Changes

  • feat(performance): create Interaction standalone spans on inp events (#10709)

This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support
is released with the upcoming 24.3.0 release of self-hosted.

To opt-in to this feature, you can use the enableInp option in the browserTracingIntegration:

Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration({
      enableInp: true,
    });
  ]
})

Other Changes

  • feat(feedback): Flush replays when feedback form opens (#10567)
  • feat(profiling-node): Expose nodeProfilingIntegration (#10864)
  • fix(profiling-node): Fix dependencies to point to current versions (#10861)
  • fix(replay): Add errorHandler for replayCanvas integration (#10796)
  • fix(utils): Only mark aggregate errors as exception groups (#10850)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
@sentry/browser - Webpack (gzipped) 22.68 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.96 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.38 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.18 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.09 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.47 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.28 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.32 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.35 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
@sentry/react - Webpack (gzipped) 22.71 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB
@sentry/nextjs Client - Webpack (gzipped) 53.28 KB
@sentry-internal/feedback - Webpack (gzipped) 17.28 KB

7.103.0

27 Feb 11:00
Compare
Choose a tag to compare

Important Changes

  • feat(core): Allow to pass forceTransaction to startSpan() APIs (#10819)

You can now pass forceTransaction: true to startSpan(), startSpanManual() and startInactiveSpan(). This allows
you to start a span that you want to be a transaction, if possible. Under the hood, the SDK will connect this span to
the running active span (if there is one), but still send the new span as a transaction to the Sentry backend, if
possible, ensuring it shows up as a transaction throughout the system.

Please note that setting this to true does not guarantee that this will be sent as a transaction, but that the SDK
will try to do so. You can enable this flag if this span is important to you and you want to ensure that you can see it
in the Sentry UI.

Other Changes

  • fix: Make breadcrumbs option optional in WinterCGFetch integration (#10792)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.54 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.76 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.7 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.38 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.73 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.64 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
@sentry/browser - Webpack (gzipped) 22.66 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.78 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.28 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.08 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.06 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.17 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.96 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.27 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.25 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.14 KB
@sentry/react - Webpack (gzipped) 22.69 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.86 KB
@sentry/nextjs Client - Webpack (gzipped) 52.05 KB
@sentry-internal/feedback - Webpack (gzipped) 17.24 KB

7.102.1

22 Feb 15:02
Compare
Choose a tag to compare
  • fix(performance): Fixes latest route name and source for interactions not updating properly on navigation (#10702)
  • fix(tracing): Guard against missing window.location (#10659)
  • ref: Make span types more robust (#10660)
  • ref(remix): Make @remix-run/router a dependency (v7) (#10779)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.54 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
@sentry/browser - Webpack (gzipped) 22.66 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB
@sentry/react - Webpack (gzipped) 22.69 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.75 KB
@sentry/nextjs Client - Webpack (gzipped) 51.95 KB
@sentry-internal/feedback - Webpack (gzipped) 17.24 KB

7.102.0

20 Feb 12:02
Compare
Choose a tag to compare
  • fix: Export session API (#10712)
  • fix(core): Fix scope capturing via captureContext function (#10737)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.5 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
@sentry/browser - Webpack (gzipped) 22.66 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB
@sentry/react - Webpack (gzipped) 22.69 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.7 KB
@sentry/nextjs Client - Webpack (gzipped) 51.89 KB
@sentry-internal/feedback - Webpack (gzipped) 17.24 KB

7.101.1

15 Feb 10:51
Compare
Choose a tag to compare

In version 7.101.0 the @sentry/hub package was missing due to a publishing issue. This release contains the package
again.

  • fix(nextjs): Remove webpack:// prefix more broadly from source map sources field (#10641)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB
@sentry/browser - Webpack (gzipped) 22.64 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB
@sentry/react - Webpack (gzipped) 22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB
@sentry/nextjs Client - Webpack (gzipped) 51.87 KB
@sentry-internal/feedback - Webpack (gzipped) 17.22 KB

7.101.0

13 Feb 14:33
Compare
Choose a tag to compare
  • feat: Export semantic attribute keys from SDK packages (#10637)
  • feat(core): Add metric summaries to spans (#10554)
  • feat(core): Deprecate the Hub constructor (#10584)
  • feat(core): Make custom tracing methods return spans & set default op (#10633)
  • feat(replay): Add getReplay utility function (#10510)
  • fix(angular-ivy): Add exports field to package.json (#10569)
  • fix(sveltekit): Avoid capturing Http 4xx errors on the client (#10571)
  • fix(sveltekit): Properly await sourcemaps flattening (#10602)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB
@sentry/browser - Webpack (gzipped) 22.64 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB
@sentry/react - Webpack (gzipped) 22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB
@sentry/nextjs Client - Webpack (gzipped) 51.87 KB
@sentry-internal/feedback - Webpack (gzipped) 17.22 KB

7.100.1

07 Feb 10:17
Compare
Choose a tag to compare

This release contains build fixes for profiling-node.

  • build(profiling-node): make sure debug build plugin is used #10534
  • build: Only run profiling e2e test if bindings have changed #10542
  • fix(feedback): Replay breadcrumb for feedback events was incorrect #10536

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.49 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.17 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB
@sentry/browser - Webpack (gzipped) 22.63 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.9 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.07 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB
@sentry/react - Webpack (gzipped) 22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.54 KB
@sentry/nextjs Client - Webpack (gzipped) 51.72 KB
@sentry-internal/feedback - Webpack (gzipped) 17.22 KB

7.100.0

06 Feb 15:52
Compare
Choose a tag to compare

Important Changes

Deprecations

This release includes some deprecations. For more details please look at our
migration guide.

The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should
now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for
you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations
for the different react-router versions:

  • reactRouterV6BrowserTracingIntegration()
  • reactRouterV5BrowserTracingIntegration()
  • reactRouterV4BrowserTracingIntegration()
  • reactRouterV3BrowserTracingIntegration()

See the
migration guide
for details.

  • feat(angular): Export custom browserTracingIntegration() (#10353)
  • feat(browser): Deprecate BrowserTracing integration (#10493)
  • feat(browser): Export browserProfilingIntegration (#10438)
  • feat(bun): Export bunServerIntegration() (#10439)
  • feat(nextjs): Add browserTracingIntegration (#10397)
  • feat(react): Add reactRouterV3BrowserTracingIntegration for react router v3 (#10489)
  • feat(react): Add reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5 (#10488)
  • feat(react): Add reactRouterV6BrowserTracingIntegration for react router v6 & v6.4 (#10491)
  • feat(remix): Add custom browserTracingIntegration (#10442)
  • feat(node): Expose functional integrations to replace classes (#10356)
  • feat(vercel-edge): Replace WinterCGFetch with winterCGFetchIntegration (#10436)
  • feat: Deprecate non-callback based continueTrace (#10301)
  • feat(vue): Deprecate new VueIntegration() (#10440)
  • feat(vue): Implement vue browserTracingIntegration() (#10477)
  • feat(sveltekit): Add custom browserTracingIntegration() (#10450)

Profiling Node

@sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!

  • pkg(profiling-node): port profiling-node repo to monorepo (#10151)

Other Changes

  • feat: Export setHttpStatus from all packages (#10475)
  • feat(bundles): Add pluggable integrations on CDN to Sentry namespace (#10452)
  • feat(core): Pass name & attributes to tracesSampler (#10426)
  • feat(feedback): Add system-ui to start of font family (#10464)
  • feat(node-experimental): Add koa integration (#10451)
  • feat(node-experimental): Update opentelemetry packages (#10456)
  • feat(node-experimental): Update tracing integrations to functional style (#10443)
  • feat(replay): Bump rrweb to 2.10.0 (#10445)
  • feat(replay): Enforce masking of credit card fields (#10472)
  • feat(utils): Add propagationContextFromHeaders (#10313)
  • fix: Make startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of
    termination (#10492)
  • fix(feedback): Fix logo color when colorScheme is "system" (#10465)
  • fix(nextjs): Do not report redirects and notFound calls as errors in server actions (#10474)
  • fix(nextjs): Fix navigation tracing on app router (#10502)
  • fix(nextjs): Apply server action data to correct isolation scope (#10514)
  • fix(node): Use normal require call to import Undici (#10388)
  • ref(nextjs): Remove internally used deprecated APIs (#10453)
  • ref(vue): use startInactiveSpan in tracing mixin (#10406)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.5 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.18 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB
@sentry/browser - Webpack (gzipped) 22.63 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.89 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.06 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB
@sentry/react - Webpack (gzipped) 22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.55 KB
@sentry/nextjs Client - Webpack (gzipped) 51.72 KB
@sentry-internal/feedback - Webpack (gzipped) 17.22 KB