-
The
@sentry/utils
package has been deprecated. Import everything from@sentry/core
instead. -
Deprecated
AddRequestDataToEventOptions.transaction
. This option effectively doesn't do anything anymore, and will be removed in v9. -
Deprecated
TransactionNamingScheme
type. -
Deprecated
validSeverityLevels
. Will not be replaced. -
Deprecated
urlEncode
. No replacements. -
Deprecated
addRequestDataToEvent
. UseaddNormalizedRequestDataToEvent
instead. -
Deprecated
extractRequestData
. Instead manually extract relevant data off request. -
Deprecated
arrayify
. No replacements. -
Deprecated
memoBuilder
. No replacements. -
Deprecated
getNumberOfUrlSegments
. No replacements. -
Deprecated
BAGGAGE_HEADER_NAME
. No replacements. -
Deprecated
makeFifoCache
. No replacements.
- Deprecated
transactionNamingScheme
option inrequestDataIntegration
. - Deprecated
debugIntegration
. To log outgoing events, use Hook Options (beforeSend
,beforeSendTransaction
, ...). - Deprecated
sessionTimingIntegration
. To capture session durations alongside events, use Context (Sentry.setContext()
).
- Deprecated
@WithSentry
. Use@SentryExceptionCaptured
instead. - Deprecated
SentryTracingInterceptor
. If you are using@sentry/nestjs
you can safely remove any references to theSentryTracingInterceptor
. If you are using another package migrate to@sentry/nestjs
and remove theSentryTracingInterceptor
afterwards. - Deprecated
SentryService
. If you are using@sentry/nestjs
you can safely remove any references to theSentryService
. If you are using another package migrate to@sentry/nestjs
and remove theSentryService
afterwards. - Deprecated
SentryGlobalGenericFilter
. Use theSentryGlobalFilter
instead. TheSentryGlobalFilter
is a drop-in replacement. - Deprecated
SentryGlobalGraphQLFilter
. Use theSentryGlobalFilter
instead. TheSentryGlobalFilter
is a drop-in replacement.
- Deprecated
Request
in favor ofRequestEventData
.
-
Deprecated
tracingOptions
,trackComponents
,timeout
,hooks
options everywhere other than in thetracingOptions
option of thevueIntegration()
. These options should now be set as follows:import * as Sentry from '@sentry/vue'; Sentry.init({ integrations: [ Sentry.vueIntegration({ tracingOptions: { trackComponents: true, timeout: 1000, hooks: ['mount', 'update', 'unmount'], }, }), ], });
- Deprecated
processThreadBreadcrumbIntegration
in favor ofchildProcessIntegration
. Functionally they are the same. - Deprecated
nestIntegration
. Use the NestJS SDK (@sentry/nestjs
) instead. - Deprecated
setupNestErrorHandler
. Use the NestJS SDK (@sentry/nestjs
) instead.