chore(deps): Update dependency @sentry/node to v11 #189
No reviewers
Labels
No labels
dependencies
major
security-pin
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
trails-cool/trails!189
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/sentry-node-11.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^10.65.0→^11.0.0Release Notes
getsentry/sentry-javascript (@sentry/node)
v11.0.0Compare Source
Version
11.0.0marks a major release of the Sentry JavaScript SDKs containing breaking changes.The goal of this release is to be better compatible with OpenTelemetry, make our integrations work across Node.js, Cloudflare, Bun and Deno through run-time and build-time instrumentation, and make span streaming and more permissive data collection the default.
How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 10 to version 11. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/
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
All SDKs
--require(#22513)http.*span attributes (#23574)net.span attributes (#23301)skipOpenTelemetrySetupwithenableOpenTelemetrySetup(#23199)http.targetspan attribute (#23575)>=20.19.0as minimum supported version (#22558)handlerspan op for terminal request handlers (#22871)middlewarespan op for web-server middleware (#22852)functionop for framework functions (#23047)honoIntegration(#22480)AI integrations
@sentry/server-utils(#22954)@sentry/server-utils(#22959)@sentry/server-utils(#22962)@sentry/server-utils(#22953)@sentry/server-utils(#22964)@sentry/server-utils(#22960)@sentry/angular
routerspan op for frontend routers (#23086)ui.mountandfunctionspan ops for tracing decorators (#22667)@sentry/astro
sourceMapsUploadOptionsbuild option (#23630)@sentry/aws-serverless
nodejs18.xfrom the Lambda layer runtimes (#23155)disableAwsContextPropagationoption (#23170)faas.invocation_idandcloud.resource_id(#24384)startTraceoption andtryPatchHandler(#23219)function.awsspan op for Lambda invocations (#22677)queueSpan OP for AWS SQS & SNS messaging (#23757)@sentry/browser
profilesSampleRate(#23220)performance.{mark,measure}spans into newuserTimingSpansIntegration(#22554)interactionsIntegration(#23295)bfcacheIntegrationtobfcacheMetricsIntegration(#23776)browser.navigation.typeexactly as web-vitals does (#24479)unhandledinstead ofcrashedfor unhandled errors (#22475)page(#21245)browser.paintspan op for paint entries (#22673)trackFetchStreamPerformanceflag (#23172)navigationStartfallback andpagehidelisteners (#21293)beforeSpanEndcallback in favor ofbeforeIdleSpanEndhook (#22818)@sentry/bundler-plugins
webpack5entry point (#24455)@sentry/cloudflare
functionspan op for cron, email and workflow steps (#22703)instrumentD1WithSentryexport (#23153)SentryTracerProviderfor OpenTelemetry interop (#23300)@sentry/core
spanfromScopeData(#23225)attachStacktraceto true (#22572)genAIdefaults to collect it by default (#22706)dataCollection.httpBodies(#22834)beforeSendSpancompatible with streamed spans by default (#22643)tracePropagationTargetsmatching case-insensitive (#23534)enableMetricsoption (#23321)enableTruncationflag and all AI integrations truncation logic (#23045)endTimestampfromSentrySpanArguments(#23269)kindfor spans, move tosentry.kindattribute (#22528)queryParamsin favor ofurlQueryParams(#22711)scope.clear()method (#23230)sendDefaultPiiin favor ofdataCollection(#22918)sentry.sdk_meta.gen_ai.input.messages.original_lengthattribute (#22516)streamGenAiSpansflag (#22495)_experiments.enableLogsoption (#22808)inboundFiltersIntegration(#23008)instrumentLangGraph(#22485)StreamedSpanJSONfromspanToJSON(#23238)url.full,url.fragmentandurl.query(#22547)rpcspan op for tRPC spans (#22914)routerspan op for backend router layers (#23088)enableLogsoption (#23319)attributesin sampling context required (#24153)attributesrequired onScopeData(#23277)getComponentNameto browser-utils (#23716)getLocationHrefexport from core (#23717)startIdleSpanfrom server exports (#23420)supportsDOMError,supportsHistory,supportsReportingObserverexports (#23718)supportsNativeFetchexport (#23719)addAutoIpAddressToUserexport (#23174)htmlTreeAsStringfrom core (#23715)patchExpressModule(options)signature (#23175)spanOriginargument frominstrumentFetchRequest(#23177)enableMetrics/beforeSendMetricflags (#23276)gen_ai.request.available_toolstogen_ai.tool.definitions(#22820)gen_ai.systemtogen_ai.provider.name(#22814)gen_ai.tool.inputtogen_ai.tool.call.arguments(#22821)gen_ai.tool.outputtogen_ai.tool.call.result(#22822)code.*andfs_errorspan attributes (#23401)gen_ai.tool.typespan attribute (#22824)tracePropagationvspropagateTraceoption names (#23649)@sentry/deno
@sentry/ember
routerspan op for frontend routers (#23086)functionandui.taskspan ops for route hooks and runloop (#22669)'ui.ember.component.render'toui.render(#23587)@sentry/feedback
@sentry/google-cloud-serverless
function.gcpop for GCP functions (#23050)grpcspan op for GCP gRPC calls (#22666)http.clientspan op for GCP HTTP requests (#22660)@sentry/nestjs
functionspan op for setup & lifecycle handlers (#22897)@sentry/nextjs
vercel-prefix from default environment and deploys (#24197)middlewarespan op for Next.js middleware (#22674)withSentryConfigto@sentry/nextjs/config(#23628)@sentry/nitro
@sentry/node
profilesSampleRateandprofilesSampler) (#23216)shouldHandleErrorfromsetupExpressErrorHandler(#23732)<3.21.0(#22752)init,preloadentry points andpreloadOpenTelemetry(#23074)db.queryanddbspan ops for Redis (#22690)@sentry/node-coreback into@sentry/node(#22418)@opentelemetry/instrumentationdependency (#22843)prismaInstrumentationoption (#22898)setupFastifyErrorHandler(#23460)@sentry/nuxt
sourceMapsUploadOptionsmodule option (#22875)@sentry/opentelemetry
setupEventContextTrace(#23226).prefetchsuffix from inferred HTTP span ops (#23094)faas.trigger(#23053)SentrySpanProcessor&SentrySampler(#22557)contexts.otel.resource(#23013)OpenTelemetrySpanContext(#23285)setOpenTelemetryContextAsyncContextStrategy()(#22586)@sentry/profiling-node
prune-profiler-binariesbin script (#23104)@sentry/react
ui.*ops for component lifecycles (#23085)url.path.params.<key>attribute (#23506)@sentry/react-router
@sentry/react-router/vite(#23509)@sentry/remix
@sentry/remix/vite(#23989)@sentry/server-utils
routerspan op for backend router layers (#23088)queue.*span ops for messaging spans (#23042)otlpIntegrationtoopenTelemetryIntegration(#23938)cachespans (#23933)ai.*andgen_ai.promptattributes (#23410)db.*span attributes (#23408)net.*span attributes on db and messaging spans (#23422)koa.nameon Koa spans (#24420)function.gcpop for firebase function spans (#23022)@sentry/solidstart
@sentry/svelte
ui.*ops for component lifecycles (#23085)@sentry/sveltekit
routerspan op for frontend routers (#23086)sourceMapsUploadOptionsVite plugin option (#22874)sentrySvelteKitoff the runtime entry to@sentry/sveltekit/vite(#23247)@sentry/tanstackstart-react
@sentry/tanstackstartutility package (#22427)@sentry/types
@sentry/types(#23073)@sentry/vercel-edge
@sentry/vue
ui.*ops for component lifecycles (#23085)Other Changes
browserrequest timing span names (#24602)uispan names (#24578)browser.navigation.typeon the pageload span (#24509)sentry.is_localhoston every streamed span (#24597)@OnEventfunction span name (#24588)functionspans (#24567)functionspans (#24568)url.fullandurl.pathattributes tohttp.serverspans (#22496)TraceMethodspan name and preserve description (#24239)function.awsspan names (#24072)bfcacheIntegration(#22397)bunHttpServerIntegration(#22870)maxRequestBodySize(#24233)@sentry/bundler-plugins(#22392)functionspan names and preserve span descriptions (#24246)CollectBehaviorshorthand fordataCollection.httpHeaders(#24336)afterEnvelopeandflushTraceSpansclient hooks (#23136)filterUrlQueryutil (#23060)refsfield toScopefor non-serialized references (#23236)safeCallbackhelper for isolating user-provided callbacks (#23760)dataCollection.queuesoption (#24087)getActiveSpan(#23222)okin transaction mode (#22521)beforeSendTransactionandignoreTransactionsand log warnings if used with streaming (#22908)forceTransactionoption inStartSpanOptions(#23821)cache.*span names (#23830)sentry.opattribute to samplers (#23354)callback_errorclient reports for throwing user callbacks (#23903)getActiveSpaninstead of_getSpanFromScopefor logs & metrics (#23223)maxRequestBodySizeto capture HTTP bodies (#22912)function.gcpspan names (#24060).query()handlers (#23283)code.function.nameattribute tofunctionspans for description inference (#24305)functionspan names (#24319)functionspan names for server components (#24333)use cachefunctions (#24302)eveConversationHook()to link eve sessions as Sentry conversations (#24247)getInstrumentedModuleNames()(#24254)expressIntegration(#23464)ignoreStatusCodesin http integrations (#23973)nuxt devon Nitro v3 (Nuxt 5) (#23644)@sentry/react/react-routerentry with automatic React Router hooks (#24014)functionspan names (#24323)dbspan op for generic-pool acquire spans (#23213)otlpIntegrationto connect Sentry to an existing OpenTelemetry setup (#23099)prime,clearandclearAll(#23212)function.gcpspan names for firebase functions (#24069)setAsyncLocalStorageAsyncContextStrategy(#22889)code.function.nameattribute to solid-startfunctionspans (#24316)functionspans (#24341)dataCollection.userInfofortrackClientIp(#24091)timeOrigin(#23502)dataCollection.httpHeaders.requestinhttpContextIntegration(#23025)onFCPand rebase FP againstactivationStart(#23032)runtimeoption (#24487)node:httpinbunHttpServerIntegration(#24584)faas.queueop on queue consumer spans (#22664)dataCollection.urlQueryParamstourl.fullandurl.query(#23061)beforeSendSpancallback throws (#22836)url.fullon request data and navigate errors (#23143)supabaseIntegrationfrom ending spans twice (#24126)function(#24263)routerService.recognize()against unrecognizable URLs (#24120)silentto the SDK's own build logs (#23621)tracesSamplerfor edge middleware root spans (#22232)[lng]locale routes and prefer narrower routes over catch-alls (#23520)NodeClientcon… (#24293)#imports/serverinaddMiddlewareImports()(#24150)moduleSideEffectsin Nuxt 5 / Nitro 3 (#24309)require()of JSON working on Deno (#24412)db.query.text(#24089)resolveIdoptions in the orchestrion Rollup plugin (#24286)gen_ai.tool.definitionsondataCollection.genAI.inputs(#24088)db.query.summary(#23853)event.platform(#24241)includefrom RequestData (#22906)spanStreamingIntegrationtree-shakeable via__SENTRY_TRACING__flag (#22835)ignoreSentryInternalFrames(#23200)messages.countTokensin Anthropic AI (#23205)models.retrieve/models.getin Anthropic AI (#23206)Internal Changes
sideEffects: falseexternals (#23674)getPerformanceIntegrations(#24533)no-unfiltered-url-attributesrule (#23144)sentry.previous_traceTODOs to v12 (#24392)attribution.sessionUrlto false for claude code (#24021)_trackNavigatorTODO to v12 (#24385)getClientusage when avoidable (#23135)@sentry/conventionsto 0.19.0 (#23161)@sentry/conventionsto 0.20.0 (#23544)@solidjs/routerto v1 in solidstart test apps (#23164)@sentry/bundler-pluginsinto the aws-serverless lambda test app (#23159)nextfrom 14.2.35 to 15.5.21 (#22629)lint:typesto packages (#23578)injectChannelSubscribers(#23033)@nuxt/kit(#23303)enableLogsandenableMetrics(#23617)db.query.textin the v11beforeSendSpanexample (#23957)@sentry/coreentrypoint split (#23990)@sentry/core(#23006)httpHeadersshape indataCollectionbaseline (#23169)withSentryRouting(#24012)@sentry/conventionsto 0.23.0 (#24321)sanitizeSqlQueryWithSummaryhelper and DB bugbot rule (#24244)@opentelemetry/coredependency (#23044)spanToJSONcallers tospanToStreamedSpanJSON(#23237)forceTransaction: trueusages (#23756)ui.from@sentry/conventions/op(#23565).orchestrion.from span origins (#22722)find-upwith a local package.json lookup (#24112)suppressTracingimplementation (#22574)@sentry/conventionsfor gen_ai attributes (#22552)stringifyhelper for AI span attribute serialization (#22828)isSentryRequestSpanfrom opentelemetry package (#22583)applyOtelComaptibilityAttributes(#23197)OpenTelemetryServerRuntimeOptionstype (#23228)wrapClient(#22576)sentry.graphql.operationfrom conventions (#22582)GenAiOptions(#23250)@sentry/server-utils& remove/orchestrionentrypoint (#23459)messaging.destination_kindfrom conventions (#24418)addVercelAiProcessorsand Vercel AI OTel span processing (#23384)otelpart from span origins (#23627)*InstrumentedMethodtypes (#23284)anthropicIntegrationtoanthropicAIIntegration(#23357)kafkajsIntegrationtokafkaIntegration(#23358)mongodbIntegrationtomongoIntegration(#23359)openaiIntegrationtoopenAIIntegration(#23356)vercelAiIntegrationtovercelAIIntegration(#23360)isReadableStreambetween AI instrumentations (#24417)redisIntegration(#23353)tracingChannelImporttransform (#23075)test-utils/cli(#24279)enableDedupeoption (#23210)cause(#23244)sendDefaultPiiin unit tests (#22913)astro-7-staticE2E app (#24075)create-remix-app-v2-staticE2E app (#24057)nestjs-11-staticE2E app (#24095)collectSpanNamesUntilSegmentinto@sentry-internal/test-utils(#24073)denoE2E test app to span streaming (#24002)node-otel-without-tracingtest app (#22832)collectStreamedSpansUntilSegmentin the create-remix-app-v2 db specs (#24092)use cachefunctions (#24301)routespan source in nextjs-orpc e2e tests (#23537)isOrchestrionEnabledhelper (#23435)Work in this release was contributed by @AG0708, @AI-DEV-BOT, @aklkv, @Andarist, @atharv-sys32, @birkskyum, @chiliec, @davidmurdoch, @Dextheking1, @eddie333016, @hafzism, @halillusion, @ihsraham, @JealousGx, @JosephDoUrden, @Jxxunnn, @kamilogorek, @lux-in-tenebris-lucet, @matthewbjones, @mcbbugu, @mkly, @mohd-akram, @msnelling, @nehaprasad-dev, @oesnuj, @psang39, @psh4607, @RealBhupesh, @rytkhs, @suhailopensource, @thijsw, @trinitiwowka, @Tyagiquamar, @wittachai-as, @yashschandra, and @zkasuran. Thank you for your contributions!
Configuration
📅 Schedule: (in timezone Europe/Copenhagen)
🚦 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 has been generated by Mend Renovate CLI.
95e9e0357af4da2d03dbf4da2d03db2f0e3fa512