@sentry-internal/replay
Advanced tools
Changelog
8.0.0-beta.6
This beta release contains various bugfixes and improvements for the v8 beta cycle.
tunnel
support to multiplexed transport (#11806)spanToBaggageHeader
utility (#11881)http.client
spans (#11879)captureFeedback
method (#11428)ioredis
(#11856)Changelog
8.0.0-beta.5
This beta release contains various bugfixes and improvements for the v8 beta cycle.
We now officially support Svelte 5.
Starting with this version, spans for outgoing fetch/xhr requests will be captured even if no pageload/navigation span is ongoing. This means that you will be able to have a more complete trace, especially for web applications that make a lot of HTTP requests on longer lived pages.
transactionName
to isolation scope for requests (#11786)startInactiveSpan
(#11788)trace
envelope header to span envelope (#11699)start*Span
APIs (#11696)withMonitor
callback in withIsolationScope
(#11797)transactionName
to isolation scope for Next.js server side features (#11782)@opentelemetry/instrumentation
(#11810)wrapHandleErrorWithSentry
(#10370)formData
as action
span data. (#10836)transactionName
for Remix server features (#11784)showReportDialog
in root context (#11703)loader
, action
and documentRequest
errors (#11793)captureException()
, captureMessage()
, and
captureEvent()
(#11805)requestDataIntegration
(#11513)onlyIfParent
for recording component update spans (#11809)Changelog
8.0.0-beta.4
INP web vital support was now forward-ported to version 8. Recording of INP data is enabled by default.
The default limit of queued events to be sent was increased from 30 to 64 events. You may observe a higher memory
footprint of the SDK. You can override this limit by setting the transportOptions.bufferSize
option in
Sentry.init()
.
A maxCanvasSize
option was added to the replayCanvasIntegration
to disallow capturing of canvases larger than a
certain size. This value defaults to 1280
which will not capture canvases bigger than 1280x1280 pixels.
@opentelemetry/instrumentation-http
to 0.48.0
(#11745)@opentelemetry/api
dependency from Next.js package (#11717)lazyLoadIntegration
works in NPM mode (#11673)Changelog
8.0.0-beta.3
addOpenTelemetryInstrumentation
(#11667)A utility function addOpenTelemetryInstrumentation
was added that allows for the registration of instrumentations that
conform to the OpenTelemetry JS API without having to specify @opentelemetry/instrumentation
as a dependency.
Going forward, the Sentry trpcMiddleware
will only create spans. Previously it used to always create a transaction.
This change was made to integrate more nicely with the HTTP instrumentation added in earlier versions to avoid creating
unnecessary transactions.
Changelog
8.0.0-beta.2
propagationContext
on spanEnd
to keep trace consistentTo ensure consistency throughout a route's duration, we update the scope's propagation context when the initial page load or navigation span ends. This keeps span-specific attributes like the sampled decision and dynamic sampling context on the scope, even after the transaction has ended.
We won't assume window.dodument
is available in the browser SDKs anymore. This should prevent errors in environments
where window.document
is not available (such as web workers).
server.address
to browser http.client
spans (#11634)NodeClient
without calling init
(#11585)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
.
Changelog
8.0.0-alpha.7
This is the seventh alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
We now use OpenTelemetry under the hood to power performance monitoring and tracing in the Next.js SDK.
In v8, you cannot initialize the SDK anymore via Gatsby plugin options. Instead, you have to configure the SDK in a
sentry.config.js
file.
We also removed the automatic initialization of browserTracingIntegration
. You now have to add this integration
yourself.
scope.setSpan()
and scope.getSpan()
methods (#11051)runtime
and vercel
tags (#11291)prismaIntegration
by default (#11265)tracePropagationTargets
are respected (#11285)SentrySpanProcessor
(#11273)instrumentation.ts
) (#11266)suppressTracing
to avoid capturing otel spans (#11288)startSpan
callback throws (#11170)