@sentry/nextjs
Advanced tools
Changelog
8.34.0
Relevant for users of the @sentry/nextjs
package: If you have previously configured a
SENTRY_IGNORE_API_RESOLUTION_ERROR
environment variable, it is now safe to unset it.
getReplay
in replay CDN bundles
(#13881)globalThis
(#13788)requestAsyncStorageShim.js
template file
(#13928)_not-found
spans for all HTTP methods
(#13906)dataloader
instrumentation from default integrations
(#13873)replay_id
is removed from frozen DSC when stopped
(#13893)sendBufferedReplayOrFlush
to prevent cycles
(#13900)wrapServerRouteWithSentry
to respect ParamMatchers
(#13390)vercelWaitUntil
to utils (#13891)Work in this release was contributed by @trzeciak, @gurpreetatwal, @ykzts and @lizhiyao. Thank you for your contributions!
Changelog
8.33.0
headers()
, params
, searchParams
)
(#13828)Adds support for new dynamic Next.js APIs.
lru-memoizer
instrumentation
(#13796)Adds integration for lru-memoizer using @opentelemetry/instrumentation-lru-memoizer.
unstable_sentryBundlerPluginOptions
to module options
(#13811)Allows passing other options from the bundler plugins (vite and rollup) to Nuxt module options.
wrap()
only returns functions
(#13838)getTraceData
and getTraceMetaTags
if SDK is disabled
(#13760)Work in this release was contributed by @joshuajaco. Thank you for your contribution!
Changelog
8.32.0
Moves the description of navigation related browser spans into the op, e.g. browser - cache -> browser.cache and sets the description to the performanceEntry objects' names (in this context it is the URL of the page).
feat(node): Add amqplibIntegration (#13714)
feat(nestjs): Add SentryGlobalGenericFilter
and allow specifying application ref in global filter
(#13673)
Adds a SentryGlobalGenericFilter
that filters both graphql and http exceptions depending on the context.
Sets log levels in breadcrumbs for 5xx to error and 4xx to warning.
sampled
flag from dynamic sampling context in Tracing without Performance mode
(#13753)Work in this release was contributed by @Zen-cronic and @Sjoertjuh. Thank you for your contributions!
Changelog
8.31.0
dataloader
integration (#13664)This release adds a new integration for the dataloader
package. The Node
SDK (and all SDKs that depend on it) will now automatically instrument dataloader
instances. You can also add it
manually:
Sentry.init({
integrations: [Sentry.dataloaderIntegration()],
});
activationStart
timestamp to pageload span (#13658)deleteSourcemapsAfterUpload
(#13610)http.server.prefetch
op (#13600)disableInstrumentationWarnings
option (#13693)experimental_basicServerTracing
option to Nuxt module (#13643)onError
callback + other small improvements to debugging (#13721)consoleSandbox
(#13690)lazyLoadIntegration
script parent element lookup (#13717)SentryTraced
functions (#13684)Propagator.inject
(#13381)Work in this release was contributed by @KyGuy2002, @artzhookov, and @julianCast. Thank you for your contributions!
Changelog
8.30.0
kafkajs
integration (#13528)This release adds a new integration that instruments kafkajs
library with spans and traces. This integration is
automatically enabled by default, but can be included with the Sentry.kafkaIntegration()
import.
Sentry.init({
integrations: [Sentry.kafkaIntegration()],
});
@opentelemetry/instrumentation-undici
for fetch tracing (#13485)trackComponents
list matches components with or without <>
(#13543)Work in this release was contributed by @Zen-cronic and @odanado. Thank you for your contributions!