@sentry/core
Advanced tools
Changelog
7.101.0
Hub
constructor (#10584)getReplay
utility function (#10510)exports
field to package.json
(#10569)Changelog
7.100.1
This release contains build fixes for profiling-node.
Changelog
7.100.0
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.
browserTracingIntegration()
(#10353)BrowserTracing
integration (#10493)browserProfilingIntegration
(#10438)bunServerIntegration()
(#10439)browserTracingIntegration
(#10397)reactRouterV3BrowserTracingIntegration
for react router v3 (#10489)reactRouterV4/V5BrowserTracingIntegration
for react router v4 & v5 (#10488)reactRouterV6BrowserTracingIntegration
for react router v6 & v6.4 (#10491)browserTracingIntegration
(#10442)WinterCGFetch
with winterCGFetchIntegration
(#10436)continueTrace
(#10301)new VueIntegration()
(#10440)browserTracingIntegration()
(#10477)browserTracingIntegration()
(#10450)@sentry/profiling-node
has been ported into the monorepo. Future development for it will happen here!
setHttpStatus
from all packages (#10475)Sentry
namespace (#10452)name
& attributes
to tracesSampler
(#10426)system-ui
to start of font family (#10464)rrweb
to 2.10.0 (#10445)propagationContextFromHeaders
(#10313)startSpan
, startSpanManual
and startInactiveSpan
pick up the scopes at time of creation instead of
termination (#10492)require
call to import Undici (#10388)Changelog
7.99.0
This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno
. For
more details please look at our
migration guide.
Span.setHttpStatus
in favor of setHttpStatus
(#10268)spanStatusfromHttpCode
in favour of getSpanStatusFromHttpCode
(#10361)StartSpanOptions.origin
in favour of passing attribute (#10274)@sentry/node
re-exports (#10396)afterAllSetup
hook for integrations (#10345)startSpan()
can handle spans that require parent (#10386)startSpan
APIs (#10300)@sentry/node
functions (#10385, #10391)@sentry/node
re-exports (#10390)@sentry/node
re-exports (#10392)browserTracingIntegration
(#10351)afterAllSetup
is called when using addIntegration()
(#10372)spanToTraceContext
function from span utils (#10364)FunctionToString
integration use SETUP_CLIENTS weakmap (#10358)Work in this release contributed by @AleshaOleg. Thank you for your contribution!
Changelog
7.98.0
This release primarily fixes some type declaration errors:
IntegrationIndex
type (#10337)Changelog
7.97.0
Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from 7.96.0
.
stripBasename
option for React Router 6 (#10314)Changelog
7.96.0
Note: This release was incomplete. Not all Sentry SDK packages were released for this version. Please upgrade to 7.98.0 directly.
This release includes some deprecations for integrations in @sentry/browser
and frontend framework SDKs
(@sentry/react
, @sentry/vue
, etc.). Please take a look at our
migration guide for more details.
This release fixes an issue with the Web Vitals integration where LCP and CLS were not being captured correctly,
increasing capture rate by 10-30% for some apps. LCP and CLS capturing issues were introduced with version 7.75.0
.
node-cron
types and add test (#10315)Work in this release contributed by @Shubhdeep12. Thank you for your contribution!
Changelog
7.95.0
This release includes some deprecations in preparation for v8.
Most notably, it deprecates the Replay
& Feedback
classes in favor of a functional replacement:
import * as Sentry from '@sentry/browser';
Sentry.init({
integrations: [
// Instead of
new Sentry.Replay(),
new Sentry.Feedback(),
// Use the functional replacement:
Sentry.replayIntegration(),
Sentry.feedbackIntegration(),
],
});
Span.origin
in favor of sentry.origin
attribute (#10260)Span.parentSpanId
(#10244)isInitialized()
to replace checking via getClient
(#10296)Replay
, ReplayCanvas
, Feedback
classes (#10270)Wasm
integration class (#10230)parameterize
function available through browser and node API (#10085)addOrUpdateIntegration
(#10263)Work in this release contributed by @AleshaOleg. Thank you for your contribution!
Changelog
7.94.0
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our migration guide.
finish
on Span
interface in favour of end
(#10161)getCurrentHub()
(#10200)hub.bindClient()
& makeMain()
(#10188)Span.instrumenter
(#10139)Span.isSuccess()
in favor of reading span status (#10213)Span.op
in favor of op attribute (#10189)Span.spanRecorder
(#10199)Span.status
(#10208)Span.transaction
in favor of getRootSpan
(#10134)Transaction.instrumenter
(#10162)Transaction.setMeasurement
in favor of setMeasurement
(#10182)Integrations.X
(#10198)Hub
(#10124)setName
declarations on Transaction
and Span
(#10164)startTimestamp
& endTimestamp
(#10192)hub.bindClient()
and makeMain()
(#10118)op
on Span
interface (#10217)Transaction
integration (#10178)We have added a new ReplayCanvas
integration (#10112), which you can add to capture the contents of canvas elements
with Replay.
Just add it in addition to the regular replay integration:
Sentry.init({
integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
});
client.getIntegrationByName()
(#10130)client.init()
to replace client.setupIntegrations()
(#10118)withActiveSpan
(#10195)withIsolationScope
(#10141)setUser
, setTags
, setExtras
, setTag
, setExtra
, and setContext
to isolation
scope (#10163)withActiveSpan
(#10194)SerializedEvent
interface (pre v8) (#10240)http.status_code
is always a string (#10177)process.argv[1]
being undefined (#10155)fetch
init headers over fetch
input headers (#10176)