dependabot npm(deps): bump @sentry/node from 8.40.0 to 8.41.0
Bumps @sentry/node from 8.40.0 to 8.41.0.
Release notes
Sourced from @sentry/node
's releases.
8.41.0
Important Changes
meta(nuxt): Require minimum Nuxt v3.7.0 (#14473)
We formalized that the Nuxt SDK is at minimum compatible with Nuxt version 3.7.0 and above. Additionally, the SDK requires the implicit
nitropack
dependency to satisfy version^2.10.0
andofetch
to satisfy^1.4.0
. It is recommended to check your lock-files and manually upgrade these dependencies if they don't match the version ranges.Deprecations
We are deprecating a few APIs which will be removed in the next major.
The following deprecations will potentially affect you:
feat(core): Update & deprecate
undefined
option handling (#14450)In the next major version we will change how passing
undefined
totracesSampleRate
/tracesSampler
/enableTracing
will behave.Currently, doing the following:
Sentry.init({ tracesSampleRate: undefined, });
Will result in tracing being enabled (although no spans will be generated) because the
tracesSampleRate
key is present in the options object. In the next major version, this behavior will be changed so that passingundefined
(or rather having atracesSampleRate
key) will result in tracing being disabled, the same as not passing the option at all. If you are currently relying onundefined
being passed, and and thus have tracing enabled, it is recommended to update your config to set e.g.tracesSampleRate: 0
instead, which will also enable tracing in v9.The same applies to
tracesSampler
andenableTracing
.feat(core): Log warnings when returning
null
inbeforeSendSpan
(#14433)Currently, the
beforeSendSpan
option inSentry.init()
allows you to drop individual spans from a trace by returningnull
from the hook. Since this API lends itself to creating "gaps" inside traces, we decided to change how this API will work in the next major version.With the next major version the
beforeSendSpan
API can only be used to mutate spans, but no longer to drop them. With this release the SDK will warn you if you are using this API to drop spans. Instead, it is recommended to configure instrumentation (i.e. integrations) directly to control what spans are created.Additionally, with the next major version, root spans will also be passed to
beforeSendSpan
.feat(utils): Deprecate
@sentry/utils
(#14431)With the next major version the
@sentry/utils
package will be merged into the@sentry/core
package. It is therefore no longer recommended to use the@sentry/utils
package.feat(vue): Deprecate configuring Vue tracing options anywhere else other than through the
vueIntegration
'stracingOptions
option (#14385)
... (truncated)
Changelog
Sourced from @sentry/node
's changelog.
8.41.0
Important Changes
meta(nuxt): Require minimum Nuxt v3.7.0 (#14473)
We formalized that the Nuxt SDK is at minimum compatible with Nuxt version 3.7.0 and above. Additionally, the SDK requires the implicit
nitropack
dependency to satisfy version^2.6.1
andofetch
to satisfy^1.3.3
. It is recommended to check your lock-files and manually upgrade these dependencies if they don't match the version ranges.Deprecations
We are deprecating a few APIs which will be removed in the next major.
The following deprecations will potentially affect you:
feat(core): Update & deprecate
undefined
option handling (#14450)In the next major version we will change how passing
undefined
totracesSampleRate
/tracesSampler
/enableTracing
will behave.Currently, doing the following:
Sentry.init({ tracesSampleRate: undefined, });
Will result in tracing being enabled (although no spans will be generated) because the
tracesSampleRate
key is present in the options object. In the next major version, this behavior will be changed so that passingundefined
(or rather having atracesSampleRate
key) will result in tracing being disabled, the same as not passing the option at all. If you are currently relying onundefined
being passed, and and thus have tracing enabled, it is recommended to update your config to set e.g.tracesSampleRate: 0
instead, which will also enable tracing in v9.The same applies to
tracesSampler
andenableTracing
.feat(core): Log warnings when returning
null
inbeforeSendSpan
(#14433)Currently, the
beforeSendSpan
option inSentry.init()
allows you to drop individual spans from a trace by returningnull
from the hook. Since this API lends itself to creating "gaps" inside traces, we decided to change how this API will work in the next major version.With the next major version the
beforeSendSpan
API can only be used to mutate spans, but no longer to drop them. With this release the SDK will warn you if you are using this API to drop spans. Instead, it is recommended to configure instrumentation (i.e. integrations) directly to control what spans are created.Additionally, with the next major version, root spans will also be passed to
beforeSendSpan
.feat(utils): Deprecate
@sentry/utils
(#14431)With the next major version the
@sentry/utils
package will be merged into the@sentry/core
package. It is therefore no longer recommended to use the@sentry/utils
package.
... (truncated)
Commits
-
df843cc
release: 8.41.0 -
470d4ec
Merge pull request #14502 from getsentry/prepare-release/8.41.0 -
f7289c4
meta(changelog): Update changelog for 8.41.0 -
a4138e9
perf(opentelemetry): Bucket spans for cleanup (#14154) -
3e7969f
feat: DeprecateregisterEsmLoaderHooks.include
and `registerEsmLoaderHooks.... -
1e0cb04
ref(core): Do not check baggage validity (#14479) -
de65590
feat(core): Further optimize debug ID parsing (#14365) -
09a31d1
feat(node): AddopenTelemetryInstrumentations
option (#14484) -
23e3783
meta(nuxt): Require minimum Nuxt v3.7.0 (#14473) -
973ef9c
chore: Add GHSA entry for nuxt e2e test (#14490) - Additional commits viewable in compare view