Update dependency @sentry/node to v10.30.0
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @sentry/node (source) | 10.22.0 -> 10.30.0 |
Release Notes
getsentry/sentry-javascript (@sentry/node)
v10.30.0
- feat(nextjs): Deprecate Webpack top-level options (#18343)
- feat(node): Capture scope when event loop blocked (#18040)
- fix(aws-serverless): Remove hyphens from AWS-lambda origins (#18353)
- fix(core): Parse method from Request object in fetch (#18453)
- fix(react): Add transaction name guards for rapid lazy-route navigations (#18346)
Internal Changes
- chore(ci): Fix double issue creation for unreferenced MRs (#18442)
- chore(deps): bump next from 15.5.4 to 15.5.7 in /dev-packages/e2e-tests/test-applications/nextjs-15 (#18411)
- chore(deps): bump next from 15.5.4 to 15.5.7 in /dev-packages/e2e-tests/test-applications/nextjs-15-intl (#18400)
- chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#18399)
- chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents (#18427)
- chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#18439)
- chore(publish): Fix publish order for
@sentry/types(#18429) - ci(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0 (#18362)
v10.29.0
Important Changes
- feat(solid|solidstart): Bump accepted @solidjs/router range (#18395)
We expanded the supported version range for @solidjs/router to include 0.14.x and 0.15.x versions.
Other Changes
- fix(logs): Add support for
msgin pino integration (#18389) - fix(node): Include system message in anthropic-ai messages span (#18332)
- fix(tracing): Add missing attributes in vercel-ai spans (#18333)
Internal Changes
v10.28.0
Important Changes
- feat(core): Make
matcherparameter optional inmakeMultiplexedTransport(#10798)
The matcher parameter in makeMultiplexedTransport is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.
Before:
import { makeFetchTransport, makeMultiplexedTransport } from '@​sentry/browser';
const EXTRA_KEY = 'ROUTE_TO';
const transport = makeMultiplexedTransport(makeFetchTransport, args => {
const event = args.getEvent();
if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) {
return event.extra[EXTRA_KEY];
}
return [];
});
Sentry.init({
transport,
// ... other options
});
// Capture events with routing info
Sentry.captureException(error, {
extra: {
[EXTRA_KEY]: [
{ dsn: 'https://key1@​sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@​sentry.io/project2' },
],
},
});
After:
import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@​sentry/browser';
// Just pass the transport generator - the default matcher handles the rest!
Sentry.init({
transport: makeMultiplexedTransport(makeFetchTransport),
// ... other options
});
// Capture events with routing info using the exported constant
Sentry.captureException(error, {
extra: {
[MULTIPLEXED_TRANSPORT_EXTRA_KEY]: [
{ dsn: 'https://key1@​sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@​sentry.io/project2' },
],
},
});
The default matcher looks for routing information in event.extra[MULTIPLEXED_TRANSPORT_EXTRA_KEY]. You can still provide a custom matcher function for advanced use cases.
- feat(nextjs): Support cacheComponents on turbopack (#18304)
This release adds support for cacheComponents on turbopack builds. We are working on adding support for this feature in webpack builds as well.
Other Changes
- feat: Publish AWS Lambda Layer for Node 24 (#18327)
- feat(browser): Expose langchain instrumentation (#18342)
- feat(browser): Expose langgraph instrumentation (#18345)
- feat(cloudflare): Allow specifying a custom fetch in Cloudflare transport options (#18335)
- feat(core): Add
isolateTraceoption toSentry.withMonitor()(#18079) - feat(deps): bump @sentry/webpack-plugin from 4.3.0 to 4.6.1 (#18272)
- feat(nextjs): Add cloudflare
waitUntildetection (#18336) - feat(node): Add LangChain v1 support (#18306)
- feat(remix): Add parameterized transaction naming for routes (#17951)
- fix(cloudflare): Keep http root span alive until streaming responses are consumed (#18087)
- fix(cloudflare): Wait for async events to finish (#18334)
- fix(core):
continueTracedoesn't propagate given trace ID if active span exists (#18328) - fix(node-core): Handle custom scope in log messages without parameters (#18322)
- fix(opentelemetry): Ensure Sentry spans don't leak when tracing is disabled (#18337)
- fix(react-router): Use underscores in trace origin values (#18351)
- chore(tanstackstart-react): Export custom inits from tanstackstart-react (#18369)
- chore(tanstackstart-react)!: Remove empty placeholder implementations (#18338)
Internal Changes
- chore: Allow URLs as issue (#18372)
- chore(changelog): Add entry for #18304 (#18329)
- chore(ci): Add action to track all MRs as issues (#18363)
- chore(github): Adjust
BUGBOT.mdrules to flag invalid op and origin values during review (#18352) - ci: Add action to create issue on gitflow merge conflicts (#18319)
- ci(deps): bump actions/checkout from 5 to 6 (#18268)
- ci(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#18361)
- test(cloudflare): Add typechecks for cloudflare-worker e2e test (#18321)
v10.27.0
Important Changes
-
feat(deps): Bump OpenTelemetry (#18239)
- Bump @opentelemetry/context-async-hooks from ^2.1.0 to ^2.2.0
- Bump @opentelemetry/core from ^2.1.0 to ^2.2.0
- Bump @opentelemetry/resources from ^2.1.0 to ^2.2.0
- Bump @opentelemetry/sdk-trace-base from ^2.1.0 to ^2.2.0
- Bump @opentelemetry/sdk-trace-node from ^2.1.0 to ^2.2.0
- Bump @opentelemetry/instrumentation from 0.204.0 to 0.208.0
- Bump @opentelemetry/instrumentation-amqplib from 0.51.0 to 0.55.0
- Bump @opentelemetry/instrumentation-aws-sdk from 0.59.0 to 0.64.0
- Bump @opentelemetry/instrumentation-connect from 0.48.0 to 0.52.0
- Bump @opentelemetry/instrumentation-dataloader from 0.22.0 to 0.26.0
- Bump @opentelemetry/instrumentation-express from 0.53.0 to 0.57.0
- Bump @opentelemetry/instrumentation-fs from 0.24.0 to 0.28.0
- Bump @opentelemetry/instrumentation-generic-pool from 0.48.0 to 0.52.0
- Bump @opentelemetry/instrumentation-graphql from 0.52.0 to 0.56.0
- Bump @opentelemetry/instrumentation-hapi from 0.51.0 to 0.55.0
- Bump @opentelemetry/instrumentation-http from 0.204.0 to 0.208.0
- Bump @opentelemetry/instrumentation-ioredis from 0.52.0 to 0.56.0
- Bump @opentelemetry/instrumentation-kafkajs from 0.14.0 to 0.18.0
- Bump @opentelemetry/instrumentation-knex from 0.49.0 to 0.53.0
- Bump @opentelemetry/instrumentation-koa from 0.52.0 to 0.57.0
- Bump @opentelemetry/instrumentation-lru-memoizer from 0.49.0 to 0.53.0
- Bump @opentelemetry/instrumentation-mongodb from 0.57.0 to 0.61.0
- Bump @opentelemetry/instrumentation-mongoose from 0.51.0 to 0.55.0
- Bump @opentelemetry/instrumentation-mysql from 0.50.0 to 0.54.0
- Bump @opentelemetry/instrumentation-mysql2 from 0.51.0 to 0.55.0
- Bump @opentelemetry/instrumentation-nestjs-core from 0.50.0 to 0.55.0
- Bump @opentelemetry/instrumentation-pg from 0.57.0 to 0.61.0
- Bump @opentelemetry/instrumentation-redis from 0.53.0 to 0.57.0
- Bump @opentelemetry/instrumentation-tedious from 0.23.0 to 0.27.0
- Bump @opentelemetry/instrumentation-undici from 0.15.0 to 0.19.0
- Bump @prisma/instrumentation from 6.15.0 to 6.19.0
-
feat(browserprofiling): Add
manualmode and deprecate old profiling (#18189)Adds the
manuallifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually withSentry.uiProfiler.startProfiler()andSentry.uiProfiler.stopProfiler(). The previous transaction-based profiling is withprofilesSampleRateis now deprecated in favor of the new UI Profiling withprofileSessionSampleRate.
Other Changes
- feat(core): Add
gibibyteandpebibytetoInformationUnittype (#18241) - feat(core): Add scope attribute APIs (#18165)
- feat(core): Re-add
_experiments.enableLogsoption (#18299) - feat(core): Use
maxValueLengthon error messages (#18301) - feat(deps): bump @sentry/bundler-plugin-core from 4.3.0 to 4.6.1 (#18273)
- feat(deps): bump @sentry/cli from 2.56.0 to 2.58.2 (#18271)
- feat(node): Add tracing support for AzureOpenAI (#18281)
- feat(node): Fix local variables capturing for out-of-app frames (#18245)
- fix(core): Add a PromiseBuffer for incoming events on the client (#18120)
- fix(core): Always redact content of sensitive headers regardless of
sendDefaultPii(#18311) - fix(metrics): Update return type of
beforeSendMetric(#18261) - fix(nextjs): universal random tunnel path support (#18257)
- ref(react): Add more guarding against wildcards in lazy route transactions (#18155)
- chore(deps): bump glob from 11.0.1 to 11.1.0 in /packages/react-router (#18243)
Internal Changes
- build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#18038) - chore: Add `bump_otel_instrumentations` cursor command (#18253) - chore: Add external contributor to CHANGELOG.md (#18297) - chore: Add external contributor to CHANGELOG.md (#18300) - chore: Do not update opentelemetry (#18254) - chore(angular): Add Angular 21 Support (#18274) - chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro (#18259) - chore(dev-deps): Update some dev dependencies (#17816) - ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 (#17825) - ci(deps): bump actions/setup-node from 4 to 6 (#18077) - ci(deps): bump actions/upload-artifact from 4 to 5 (#18075) - ci(deps): bump github/codeql-action from 3 to 4 (#18076) - doc(sveltekit): Update documentation link for SvelteKit guide (#18298) - test(e2e): Fix astro config in test app (#18282) - test(nextjs): Remove debug logs from e2e test (#18250)Work in this release was contributed by @bignoncedric and @adam-kov. Thank you for your contributions!
v10.26.0
Important Changes
- feat(core): Instrument LangGraph Agent (#18114)
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
Sentry.init({
dsn: '__DSN__',
sendDefaultPii: false, // Even with PII disabled globally
integrations: [
Sentry.langGraphIntegration({
recordInputs: true, // Force recording input messages
recordOutputs: true, // Force recording response text
}),
],
});
- feat(cloudflare/vercel-edge): Add manual instrumentation for LangGraph (#18112)
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling instrumentLangGraph:
import * as Sentry from '@​sentry/cloudflare'; // or '@​sentry/vercel-edge'
import { StateGraph, START, END, MessagesAnnotation } from '@​langchain/langgraph';
// Create and instrument the graph
const graph = new StateGraph(MessagesAnnotation)
.addNode('agent', agentFn)
.addEdge(START, 'agent')
.addEdge('agent', END);
Sentry.instrumentLangGraph(graph, {
recordInputs: true,
recordOutputs: true,
});
const compiled = graph.compile({ name: 'weather_assistant' });
await compiled.invoke({
messages: [{ role: 'user', content: 'What is the weather in SF?' }],
});
- feat(node): Add OpenAI SDK v6 support (#18244)
Other Changes
- feat(core): Support OpenAI embeddings API (#18224)
- feat(browser-utils): bump web-vitals to 5.1.0 (#18091)
- feat(core): Support truncation for LangChain integration request messages (#18157)
- feat(metrics): Add default
server.addressattribute on server runtimes (#18242) - feat(nextjs): Add URL to server-side transaction events (#18230)
- feat(node-core): Add mechanism to prevent wrapping ai providers multiple times(#17972)
- feat(replay): Bump limit for minReplayDuration (#18190)
- fix(browser): Add
okstatus to successfulidleSpans (#18139) - fix(core): Check
fetchsupport with data URL (#18225) - fix(core): Decrease number of Sentry stack frames for messages from
captureConsoleIntegration(#18096) - fix(core): Emit processed metric (#18222)
- fix(core): Ensure logs past
MAX_LOG_BUFFER_SIZEare not swallowed (#18207) - fix(core): Ensure metrics past
MAX_METRIC_BUFFER_SIZEare not swallowed (#18212) - fix(core): Fix logs and metrics flush timeout starvation with continuous logging (#18211)
- fix(core): Flatten gen_ai.request.available_tools in google-genai (#18194)
- fix(core): Stringify available tools sent from vercelai (#18197)
- fix(core/vue): Detect and skip normalizing Vue
VNodeobjects with highnormalizeDepth(#18206) - fix(nextjs): Avoid wrapping middleware files when in standalone mode (#18172)
- fix(nextjs): Drop meta trace tags if rendered page is ISR (#18192)
- fix(nextjs): Respect PORT variable for dev error symbolication (#18227)
- fix(nextjs): use LRU map instead of map for ISR route cache (#18234)
- fix(node):
tracingChannelexport missing in older node versions (#18191) - fix(node): Fix Spotlight configuration precedence to match specification (#18195)
- fix(react): Prevent navigation span leaks for consecutive navigations (#18098)
- ref(react-router): Deprecate ErrorBoundary exports (#18208)
Internal Changes
- chore: Fix missing changelog quote we use for attribution placement (#18237)
- chore: move tip about prioritizing issues (#18071)
- chore(e2e): Pin
@embroider/addon-shimto 1.10.0 for the e2e ember-embroider (#18173) - chore(react-router): Fix casing on deprecation notices (#18221)
- chore(test): Use correct
testTimeoutfield in bundler-tests vitest config - chore(e2e): Bump zod in e2e tests (#18251)
- test(browser-integration): Fix incorrect tag value assertions (#18162)
- test(profiling): Add test utils to validate Profile Chunk envelope (#18170)
- ref(e2e-ember): Remove
@embroider/addon-shimoverride (#18180) - ref(browser): Move trace lifecycle listeners to class function (#18231)
- ref(browserprofiling): Move and rename profiler class to UIProfiler (#18187)
- ref(core): Move ai integrations from utils to tracing (#18185)
- ref(core): Optimize
Scope.setTagbundle size and adjust test (#18182)
v10.25.0
- feat(browser): Include Spotlight in development bundles (#18078)
- feat(cloudflare): Add metrics exports (#18147)
- feat(core): Truncate request string inputs in OpenAI integration (#18136)
- feat(metrics): Add missing metric node exports (#18149)
- feat(node): Add
maxCacheKeyLengthto Redis integration (remove truncation) (#18045) - feat(vercel-edge): Add metrics export (#18148)
- fix(core): Only consider exception mechanism when updating session status from event with exceptions (#18137)
- ref(browser): Remove truncation when not needed (#18051)
Internal Changes
- chore(build): Fix incorrect versions after merge (#18154)
v10.24.0
Important Changes
-
feat(metrics): Add top level option
enableMetricsandbeforeSendMetric(#18088)This MR moves
enableMetricsandbeforeSendMetricout of the_experimentsoptions. The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics viaenableMetrics: false. Metric options within_experimentsgot deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
Other Changes
- feat(aws): Add
SENTRY_LAYER_EXTENSIONto configure using the lambda layer extension via env variables (#18101) - feat(core): Include all exception object keys instead of truncating (#18044)
- feat(metrics)!: Update types (#17907)
- feat(replay): ignore
background-imagewhenblockAllMediais enabled (#18019) - fix(nextjs): Delete css map files (#18131)
- fix(nextjs): Stop accessing sync props in template (#18113)
Internal Changes
v10.23.0
- feat(core): Send
user-agentheader with envelope requests in server SDKs (#17929) - feat(browser): Limit transport buffer size (#18046)
- feat(core): Remove default value of
maxValueLength: 250(#18043) - feat(react-router): Align options with shared build time options type (#18014)
- fix(browser-utils): cache element names for INP (#18052)
- fix(browser): Capture unhandled rejection errors for web worker integration (#18054)
- fix(cloudflare): Ensure types for cloudflare handlers (#18064)
- fix(nextjs): Update proxy template wrapping (#18086)
- fix(nuxt): Added top-level fallback exports (#18083)
- fix(nuxt): check for H3 error cause before re-capturing (#18035)
- fix(replay): Linked errors not resetting session id (#17854)
- fix(tracemetrics): Bump metrics buffer to 1k (#18039)
- fix(vue): Make
optionsparameter optional onattachErrorHandler(#18072) - ref(core): Set span status
internal_errorinstead ofunknown_error(#17909)
Internal Changes
- fix(tests): un-override nitro dep version for nuxt-3 test (#18056)
- fix(e2e): Add p-map override to fix React Router 7 test builds (#18068)
- feat: Add a note to save changes before starting (#17987)
- test(browser): Add test for INP target name after navigation or DOM changes (#18033)
- chore: Add external contributor to CHANGELOG.md (#18032)
- chore(aws-serverless): Fix typo in timeout warning function name (#18031)
- chore(browser): upgrade fake-indexeddb to v6 (#17975)
- chore(tests): pass test flags through to the test command (#18062)
Work in this release was contributed by @hanseo0507. Thank you for your contribution!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.