chore(deps): update JavaScript SDK to v9.39.0#3085
Merged
Conversation
bruno-garcia
force-pushed
the
deps/flutter/scripts/update-js.sh/9.39.0
branch
from
July 16, 2025 13:20
47b29a0 to
8103163
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3085 +/- ##
==========================================
+ Coverage 87.77% 89.23% +1.46%
==========================================
Files 287 97 -190
Lines 9751 3522 -6229
==========================================
- Hits 8559 3143 -5416
+ Misses 1192 379 -813 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bruno-garcia
force-pushed
the
deps/flutter/scripts/update-js.sh/9.39.0
branch
from
July 16, 2025 13:56
8103163 to
2882a46
Compare
buenaflor
approved these changes
Jul 16, 2025
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps flutter/scripts/update-js.sh from 9.5.0 to 9.39.0.
Auto-generated by a dependency updater.
Changelog
9.39.0
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!
9.38.0
Important Changes
This release publishes the
sentry/node-nativeSDK.Other Changes
debugto replacelogger(#16906)nextHopProtocolwhen adding resource spans (#16900)9.37.0
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!
9.36.0
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
eventLoopBlockIntegrationfromsentry/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!
9.35.0
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!
9.34.0
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
9.33.0
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!
9.32.0
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!
9.31.0
Important Changes
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable
/monitoringendpoint.scope&clienttogetTraceData(#16633)Adds the ability to pass custom
scopeandclientparameters to thegetTraceDatafunction, providing more flexibility when generating trace data for distributed tracing.Other Changes
x-forwarded-hostandx-forwarded-protoheaders (#16687)sentry/opentelemetrydependency (#16677)sentry/pino-transport(#16652)safeJoinusage in console logging integration (#16658)CloudEventtype compatible (#16661)instrumentation-client.jsfile (#16637)9.30.0
vercelAiIntegrationwhenaimodule is detected (#16565)modulesIntegrationworks in more environments (#16566)sendDefaultPii(#16527)9.29.0
Important Changes
web-vitalsto 5.0.2 (#16492)This release upgrades the
web-vitalslibrary to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.Other Changes
onErrorusage (#16547)vercelAiIntegration(#16551)ignoreLayersTypeoption to koa integration (#16553)suppressTracingdoes not leak when async (#16545)9.28.1
Work in this release was contributed by eltigerchino. Thank you for your contribution!
9.28.0
Important Changes
TracingInterceptor(#16501)With this change we stop creating spans for
TracingInterceptoras this interceptor only serves as an internal helper and adds noise for the user.This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
vercelAIIntegrationfromsentry/node(#16496)Work in this release was contributed by agrattan0820. Thank you for your contribution!
9.27.0
ReactRouterServerintegration (#16470)9.26.0
sentry/react(#16465)9.25.1
9.25.0
Important Changes
markandmeasurespans (#16443)This release adds an option to
browserTracingIntegrationthat lets you ignoremarkandmeasurespans created from theperformance.mark(...)andperformance.measure(...)browser APIs:Other Changes
includeServerNameoption (#16442)sentry/nuxtexternal (#16444)9.24.0
Important Changes
sentry/angularpeer dependencies to add Angular 20 support (#16414)This release adds support for Angular 20 to the Sentry Angular SDK
sentry/angular.Other Changes
unregisterOriginalCallbacksoption tobrowserApiErrorsIntegration(#16412)9.23.0
Important changes
Adds an option to opt out of certain
resource.*spans viaignoreResourceSpans.For example, to opt out of
resource.scriptspans:Other changes
isEnabledfrom all SDKs (#16405)init()(#16354)captureLog(#16352)_INTERNAL_captureSerializedLog(#16387)static/chunks/main-*files forwidenClientFileUpload(#16406)browserTracingIntegrationcode tosetuphook (#16386)sentry/nuxtas external in Rollup (#16407)withScopekeeps span active &_getTraceInfoFromScopeworks (#16385)Work in this release was contributed by Xenossolitarius. Thank you for your contribution!
9.22.0
Important changes
This is a revert of a feature introduced in
9.20.0with #16240. This feature was causing crashes in firefox, so we are reverting it. We will re-enable this functionality in the future after fixing the crash.Other changes
ServerBuildargument and return (#16336)9.21.0
fastify/otel(#16328)OnEventdecorators (#16306)clientexports toserverandcloudflareentries (#16341)Work in this release was contributed by phthhieu. Thank you for your contribution!
9.20.0
Important changes
The SDK now automatically collects details passed to
performance.measureoptions.Other changes
maxIncomingRequestBodySize(#16225)aria-label(#16192)next.routeattribute on root spans (#16297)orgIdoption toinitand DSC (sentry-org_idin baggage) (#16305)9.19.0
opentelemetry-instrumentation-remix(#16145)cancelledreason (#16277)fastify/otelfork to direct url to allow installing without git (#16287)Work in this release was contributed by sidx1024. Thank you for your contribution!
9.18.0
Important changes
We now also publish profiling binaries for Node 24.
Other changes
import-in-the-middleto1.13.1(#16260)consoleLoggingIntegrationfrom vercel edge sdk (#16228)fastify/oteldependency with pinned Otel v1 deps (#16256)9.17.0
fastify/otel(#15542)9.16.1
9.16.0
Important changes
Add a new plugin
makeConfigInjectorPluginwithin our existing vite plugin that updates the global vite config with sentry optionsThis PR implements consistent sampling across traces as outlined in (#15754)
This PR introduces a new
instrumentDurableObjectWithSentrymethod to the SDK, which instruments durable objects. We capture both traces and errors automatically.Prisma integration is enabled by default, it should work for both ESM and CJS.
Adds client-side instrumentation for react router's
HydratedRouter. To enable it, simply replacebrowserTracingIntegration()withreactRouterTracingIntegration()in your client-side init call.When running your application in ESM mode, there have been scenarios that resulted in the
http/httpsemitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now.
While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The
ignoreOutgoingRequestsoption ofhttpIntegrationreceives theRequestOptionsas second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:Other changes
SENTRY_RELEASEfromenv(#16201)http.serverspans with 404 status by default (#16205)removeFromDom()from throwing (#16030)9.15.0
Important Changes
wrapMcpServerWithSentryfrom server packages (#16127)Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.
Adds a best effort mechanism to associate handler spans for
resource,toolandpromptwith the incoming message requests instead of the outgoing SSE response.Other Changes
aiESM patching (#16152)module.register(#16125)unstable_sentryVitePluginOptionscorrectly (#16156)Work in this release was contributed by AntoineDuComptoirDesPharmacies. Thank you for your contribution!
9.14.0
Important Changes
This PR adds Supabase integration to
sentry/core, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.SentryGlobalFilter(#16066)This PR adds better RPC exception handling to
sentry/nestjs, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type inSentryGlobalFilterto improve reliability in hybrid applications.This PR adds trace propagation to
sentry/react-routerby providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.Other Changes
9.13.0
Important Changes
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like
sentry/nestjs). The Logging APIs in the Sentry SDK are still experimental and subject to change.feat(core): Add
wrapMcpServerWithSentryto instrument MCP servers frommodelcontextprotocol/sdk(#16032)The Sentry SDK now supports instrumenting MCP servers from the
modelcontextprotocol/sdkpackage. Compatible with versions^1.9.0of themodelcontextprotocol/sdkpackage.feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to
sentry/cloudflareandsentry/nextjsEdge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs.feat(bun): Support new
Bun.serveAPIs (#16035)Bun
1.2.6and above have a newBun.serveAPI, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.Thanks to Jarred-Sumner for helping us get this supported!
Other Changes
browserTracingIntegration(#16042)beforeSendLogafter we process log (#16019)unstable_sentryVitePluginOptionsto cli instance (#16033)9.12.0
Important Changes
feat(feedback): Implement highlighting and hiding controls for screenshots (#15951)
The Sentry SDK now supports highlighting and hiding controls for screenshots in user feedback reports. This functionality is enabled by default.
feat(node): Add
ignoreIncomingRequestBodycallback tohttpIntegration(#15959)The
httpIntegrationnow supports an optionalignoreIncomingRequestBodycallback that can be used to skip capturing the body of incoming requests.The
ignoreIncomingRequestBodycallback receives the URL of the request and should returntrueif the body should be ignored.Logging Improvements
Sentry is adding support for structured logging. In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
Other Changes
onRequestSpanStarthook to browser tracing integration (#15979)captureRouterTransitionStarthook for capturing navigations (#15981)http.request.prefetch: trueattribute (#15980)clientInstrumentationHook(#15992)SENTRY_DEBUGenv variable (#15972)authTokentype tostring(#15985)Work in this release was contributed by Page- and Fryuni. Thank you for your contributions!
9.11.0
http.redirect_countattribute tobrowser.redirectspan (#15943)consoleLoggingIntegrationfor logs (#15955)turbopackas tag (#15928)sentryHandleRequest(#15787)moduleinstead ofrequirefor CJS check (#15927)ErrorBoundarywrapper (#15930)sentry.previous_tracespan attribute (#15957)9.10.1
3.2.4(#15909)9.10.0
Important Changes
feat: Add support for logs
beforeSendLog(#15814)All JavaScript SDKs other than
sentry/cloudflareandsentry/denonow support sending logs via dedicated methods as part of Sentry's upcoming logging product.Logging is gated by an experimental option,
_experiments.enableLogs.With server-side SDKs like
sentry/node,sentry/bunor server-side ofsentry/nextjsorsentry/sveltekit, you can do structured logging without needing thefmthelper function.To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLogoption.feat(browser): Add
diagnoseSdkConnectivity()function to programmatically detect possible connectivity issues (#15821)The
diagnoseSdkConnectivity()function can be used to programmatically detect possible connectivity issues with the Sentry SDK.The result will be an object with the following properties:
"no-client-active": There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable": The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined: The SDK is working as expected.SDK Tracing Performance Improvements for Node SDKs
dropUndefinedKeys(#15796)dropUndefinedKeysforspanToJSONcalls (#15792)SentryErrorfor PromiseBuffer control flow (#15822)dropUndefinedKeysin SpanExporter (#15794)SentryErrorfor event processing control flow (#15823)dropUndefinedKeysin Node SDK init (#15797)We've been hard at work making performance improvements to the Sentry Node SDKs (
sentry/node,sentry/aws-serverless,sentry/nestjs, etc.). We've seen that upgrading from9.7.0to9.10.0leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements.Other Changes
rrwebto2.35.0(#15825)