@sentry-internal/browser-utils
Advanced tools
Changelog
8.0.0-beta.1
This is the first beta release of Sentry JavaScript SDK v8. With this release, there are no more planned breaking changes for the v8 cycle.
Read the in-depth migration guide to find out how to address any breaking changes in your code. All
deprecations from the v7 cycle, with the exception of getCurrentHub()
, have been removed and can no longer be used in
v8.
The Sentry JavaScript SDK v8 now supports Node.js 14.8.0 or higher. This applies to @sentry/node
and all of our
node-based server-side sdks (@sentry/nextjs
, @sentry/remix
, etc.).
The browser SDKs now require ES2018+ compatible browsers. New minimum browser versions:
For more details, please see the version support section in migration guide.
The following packages will no longer be published
Changelog
Important Changes since v8.0.0-alpha.9
Because execution context isolation in browser environments does not work reliably, we deciced to keep a flat span hierarchy by default in v8.
addTracingExtensions
(#11579)Instead of calling Sentry.addTracingExtensions()
if you want to use performance in a browser SDK without using
browserTracingIntegration()
, you should now call Sentry.registerSpanErrorInstrumentation()
.
suppressTracing
(#11468)You can use the new suppressTracing
API to ensure a given callback will not generate any spans:
return Sentry.suppressTracing(() => {
// Ensure this fetch call does not generate a span
return fetch('/my-url');
});
import
and loader
(#11498)We renamed the loader hooks for better clarity:
Changelog
8.0.0-alpha.8
This is a partially broken release and was superseded by version 8.0.0-alpha.9
.