This repository was archived by the owner on Sep 15, 2025. It is now read-only.
fix(deps): update dependency @sentry/node to v10 - #580
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
from
April 22, 2025 15:37
0e33cc5 to
ba044aa
Compare
|
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
3 times, most recently
from
July 28, 2025 18:47
99806b0 to
7ede0da
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
from
August 7, 2025 11:35
7ede0da to
78be6e7
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
3 times, most recently
from
August 12, 2025 17:45
aa77b81 to
a3f7bd7
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
3 times, most recently
from
August 31, 2025 09:09
75ac057 to
3247a92
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
2 times, most recently
from
September 4, 2025 17:22
ec228c1 to
cfb7de4
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-javascript-monorepo
branch
from
September 9, 2025 13:54
cfb7de4 to
512d0fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.0.0->^10.0.0Release Notes
getsentry/sentry-javascript (@sentry/node)
v10.11.0Compare Source
v10.10.0Compare Source
Important Changes
propagateTraceparentSDK option (#17509)Adds support for a new browser SDK init option,
propagateTraceparentfor attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
Adds a new experimental flag
_experimental.useRunAfterProductionCompileHooktowithSentryConfigfor automatic source maps uploads when building a Next.js app withnext build --turbopack.When set we:
Other Changes
originfor OpenAI spans & test auto instrumentation (#17519)Bundle size 📦
v10.9.0Compare Source
Important Changes
httpIntegrationhandling of incoming requests (#17371)This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.
This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the
_experimentalConfigoption of the integration - this will no longer do anything.Finally, you can still pass
instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan}options, but they are deprecated and will be removed in v11. Instead, you can use the newincomingRequestSpanHookconfiguration option if you want to adjust the incoming request span.Other Changes
sendFeedbackfrom CDN bundles (#17495)beforeStartSpanisn't overwritten (#17500)beforeStartSpan(#17501)Sentry.close()(#17499)Internal Changes
changelogscript back to package.json (#17517)Bundle size 📦
v10.8.0Compare Source
Important Changes
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)
This release makes the
@sentry/sveltekitSDK compatible with SvelteKit's native observability support introduced in SvelteKit version2.31.0.If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.
We will follow up with docs how to set up the SDK soon.
For now, If you're on SvelteKit version
2.31.0or newer, you can easily opt into the new feature:Enable experimental tracing and instrumentation support in
svelte.config.js:Move your
Sentry.init()call fromsrc/hooks.server.(js|ts)to the newinstrumentation.server.(js|ts)file:The rest of your Sentry config in
hooks.server.ts(sentryHandleandhandleErrorWithSentry) should stay the same.If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.
Thanks to the Svelte team and @elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!
Other Changes
Internal Changes
v10.7.0Compare Source
Important Changes
instrumentPrototypeMethodsoption to instrument RPC methods for DurableObjects (#17424)By default,
Sentry.instrumentDurableObjectWithSentrywill not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, setinstrumentPrototypeMethodstotrueor, if performance is a concern, a list of only the methods you want to instrument:v10.6.0Compare Source
Important Changes
This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications.
aiv5 (#17395)This release makes the Sentry
vercelAiIntegrationcompatible with version 5 of Vercelai.The Sentry Nuxt SDK is now considered stable and no longer in beta!
Other Changes
DedicatedWorkerGlobalScopeglobal object type inregisterWebWorker(#17447)isSentryRequestUrl(#17393)Internal Changes
v10.5.0Compare Source
SystemErrorcontext and remove paths from message (#17331)Internal Changes
Work in this release was contributed by @ha1fstack. Thank you for your contribution!
Bundle size 📦
v10.4.0Compare Source
Important Changes
sendDefaultPiiistrueThis release includes a fix for a behaviour change
that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically,
if
sendDefaultPiiwas set totrue.However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
Unfortunately, the change did not make it into the initial v10 version but is now applied with
10.4.0.There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set
sendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
ignoreStaticAssets(#17370)This release adds a new option to
httpIntegrationto ignore requests for static assets (e.g.favicon.xmlorrobots.txt). The option defaults totrue, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option tofalse:Other Changes
Internal Changes
Bundle size 📦
v10.3.0Compare Source
skipOpenTelemetrySetupoption (#17349)globalHandlersIntegration(#17216)handle(#17277)v10.2.0Compare Source
Important Changes
ignoreSpansoption (#17078)This release adds a new top-level
Sentry.initoption,ignoreSpans, that can be used as follows:Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
Adds support for OpenAI manual instrumentation in
@sentry/cloudflareand@sentry/vercel-edge.To instrument the OpenAI client, wrap it with
Sentry.instrumentOpenAiClientand set recording settings.The
startTraceoption is deprecated and will be removed in a future major version. If you want to disable tracing, setSENTRY_TRACES_SAMPLE_RATEto0.0. instead. As of today, the flag does not affect traces anymore.Other Changes
gen_ai.invoke_agentspans from child LLM calls (#17281)sentry.originspan attribute toSentryTraceddecorator (#17318)openaito the instrumented fn (#17320)sendBufferedReplayOrFlushwhen opening/sending feedback (#17236)v10.1.0Compare Source
diagnoseSdkConnectivitydoesn't create span (#17280)v10.0.0Compare Source
Version
10.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
Breaking Changes
BaseClient(#17071)enableLogsandbeforeSendLogexperimental options (#17063)hasTracingEnabled(#17072)_experiments.autoFlushOnFeedbackoption as default (#17220)Other Changes
SentryNodeServerlessSDKv10v10 AWS Lambda Layer (#17069)flushIfServerlessfunction (#17177)strictTraceContinuation(#16313)@sentry-internal/node-native-stacktraceto0.2.2(#17207)shouldHandleErroroption tofastifyIntegration(#16845)createSentryHandleError(#17235)fastifyIntegrationerror handler (#17208)vercelAiIntegrationhave correct trace connected (#17132)handleErrorWithSentry(#17157)Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
v9.46.0Compare Source
SystemErrorcontext and remove paths from message (#17394)Bundle size 📦
v9.45.0Compare Source
openaito the instrumented fn (#17353)Bundle size 📦
v9.44.2Compare Source
This release is publishing the AWS Lambda Layer under
SentryNodeServerlessSDKv9. The previous release9.44.1accidentally published the layer underSentryNodeServerlessSDKv10.v9.44.1Compare Source
v9.44.0Compare Source
_experiments.autoFlushOnFeedback(#17219)flushIfServerlessfunction (#17239)@sentry-internal/node-native-stacktraceto0.2.2(#17256)createSentryHandleError(#17244)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.