@sentry/hub
Advanced tools
Changelog
7.112.2
browserTracingIntegration
(#11765)Changelog
7.112.1
Changelog
7.112.0
Instead of installing @sentry/integrations
, you can now import the pluggable integrations directly from your SDK
package:
// Before
import * as Sentry fromv '@sentry/browser';
import { dedupeIntegration } from '@sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
Note that only the functional integrations (e.g. xxxIntegration()
) are re-exported.
Changelog
7.111.0
server.address
to browser http.client
spans (#11663)browserTracingIntegration
(#11647)Changelog
7.110.1
tunnelRoute
matching logic for hybrid cloud (#11577)Changelog
7.110.0
You can now use a interactionsSampleRate
to control the sample rate of INP spans. interactionsSampleRate
is applied
on top of the global tracesSampleRate
. Therefore if interactionsSampleRate
is 0.5
and tracesSampleRate
is 0.1
,
then the actual sample rate for interactions is 0.05
.
Sentry.init({
tracesSampleRate: 0.1,
integrations: [
Sentry.browserTracingIntegration({
interactionsSampleRate: 0.5,
}),
],
});
This release deprecates the Hub
class, as well as the addRequestDataToTransaction
method. The trpcMiddleware
method is no longer on the Handlers
export, but instead is a standalone export.
Please see the detailed Migration docs on how to migrate to the new APIs.
trpcMiddleware
(#11389)Hub
class (#11528)Hub
interface (#11530)addRequestDataToTransaction
(#11368)OPTIONS
and HEAD
request. (#11485)statsd
to metric_bucket
(#11505)Changelog
7.109.0
This release deprecates some exports from the @sentry/replay
package. These exports have been moved to the browser SDK
(or related framework SDKs like @sentry/react
).
rrweb
to 2.12.0 (#11317)@sentry/replay
exports (#11242)Work in this release contributed by @soerface. Thank you for your contribution!
Changelog
7.108.0
This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with 7.95.0
. It
also fixes some bugs with Interaction to First Paint (INP) instrumentation. This may impact your Sentry Performance
Score calculation.
ResizeObserver
and googletag
default filters (#11210)cron
(#11225)sampled
type on Transaction
(#11146)Work in this release contributed by @quisido and @joshkel. Thank you for your contributions!
Changelog
7.107.0
This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the enableInp
option in
the deprecated BrowserTracing
integration for backwards compatibility.
handled
value in ErrorBoundary depending on fallback [v7] (#11037)Changelog
7.106.1
createReduxEnhancer
on server (#11010)