fix(deps): update dependency @sentry/node to v9 #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.2.1->^9.0.0Release Notes
getsentry/sentry-javascript (@sentry/node)
v9.43.0Compare Source
fastifyIntegrationerror handler (#17211)Bundle size 📦
v9.42.1Compare Source
globalThis(#17185)handleErrorWithSentry(#17174)Bundle size 📦
v9.42.0Compare Source
Bundle size 📦
v9.41.0Compare Source
v9.40.0Compare Source
Important Changes
This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files:
webWorkerIntegration({worker})to be used in the main threadregisterWebWorker({self})to be used in the web workerThe internal SDK
loggerexport from@sentry/corehas been deprecated in favor of thedebugexport.debugonly exposeslog,warn, anderrormethods but is otherwise identical tologger. Note that this deprecation does not affect theloggerexport from other packages (like@sentry/browseror@sentry/node) which is used for Sentry Logging.This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments:
client.chat.completions.create()- For chat-based completionsclient.responses.create()- For the responses APIOther Changes
@opentelemetry/instrumentationrange to cover0.203.0(#17043)Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
Bundle size 📦
v9.39.0Compare Source
Important Changes
afterStartPageloadSpanhook to improve spanId assignment on web vital spans (#16893)This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.
This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g.
users/123andusers/456now become becomeusers/:id).This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.
Other Changes
vercel.ai.X(#16908)disableSentryWebpackConfigflag (#17013)tracing/errors.ts(#16888)beforeSendLoginconsoleSandbox(#16968)source=route(#16984)Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
Bundle size 📦
v9.38.0Compare Source
Important Changes
This release publishes the
@sentry/node-nativeSDK.Other Changes
debugto replacelogger(#16906)nextHopProtocolwhen adding resource spans (#16900)Bundle size 📦
v9.37.0Compare Source
Important Changes
feat(nuxt): Parametrize SSR routes (#16843)
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry.
For example,
/users/123will be shown as/users/:userId()in Sentry. This will make it easier to identify patterns and make grouping easier.Other Changes
beforeStartNavigationSpanlifecycle hook (#16863)wrapRequestHandler(#16852)instrumentation-client.ts|js(#16855)redirect()calls as errors in Cloudflare (#16853)deleteSourcemapsAfterUploadjsdoc default value (#16867)Work in this release was contributed by @zachkirsch. Thank you for your contribution!
Bundle size 📦
v9.36.0Compare Source
Important Changes
This release adds a new SDK
@sentry/node-corewhich ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.Use
@sentry/node-corewhen:Use
@sentry/nodewhen:The ANR integration has been deprecated and will be removed in future versions. Use
eventLoopBlockIntegrationfrom@sentry/node-nativeinstead._experiments.ignoreMutationsoption (#16816)This replay option allows to configure a selector list of elements to not capture mutations for.
Other changes
@sentry/replay-internal(#16794)diagnoseSdkConnectivityrequest (#16840)Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
Bundle size 📦
v9.35.0Compare Source
ContextandContextstypes (#16763)eventLoopBlockIntegration(#16709)parentSpanis considered (#16776)requirefor fastify integration (#16789)@sentry/cloudflareas optional peerDependency (#16782)@Crondecorated tasks (#16792)Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for your contributions!
v9.34.0Compare Source
Important Changes
feat(nuxt): Add Cloudflare Nitro plugin (#15597)
A Nitro plugin for
@sentry/nuxtwhich initializes Sentry when deployed to Cloudflare (cloudflare-pagespreset).Remove the previous server config file:
sentry.server.config.tsAdd a plugin in
server/plugins(e.g.server/plugins/sentry-cloudflare-setup.ts)Add this code in your plugin file
or with access to
nitroApp:Other Changes
Bundle size 📦
v9.33.0Compare Source
Important Changes
vercelAiIntegrationto cloudflare & vercel-edge (#16732)The
vercelAiIntegrationis now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge.To use it, add the integration in
Sentry.initAnd enable telemetry for Vercel AI calls
The Node.js SDK now includes instrumentation for Postgres.js.
If you're on Fastify v5, you no longer need to call
setupFastifyErrorHandler. It is done automatically by the node SDK. Older versions still rely on callingsetupFastifyErrorHandler.Other Changes
waitUntil(#16681)aifrom default server external packages (#16736)Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
v9.32.0Compare Source
Important Changes
Enhances CLS (Cumulative Layout Shift) spans by adding attributes detailing the elements that caused layout shifts.
instrumentWorkflowWithSentryto instrument workflows (#16672)We've added support for Cloudflare Workflows, enabling comprehensive tracing for your workflow runs. This integration uses the workflow's instanceId as the Sentry trace_id and for sampling, linking all steps together. You'll now be able to see full traces, including retries with exponential backoff.
Adds the ability to send logs to Sentry via a pino transport.
Other Changes
errorHandleroption (#16718)CloudEventsContextcompatible withCloudEvent(#16705)false(#16695)@opentelemetry/resources(#16727)Work in this release was contributed by @flaeppe. Thank you for your contribution!
Bundle size 📦
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.