chore(deps): bump @sentry/node from 10.76.2 to 11.6.0
Bumps @sentry/node from 10.76.2 to 11.6.0.
Release notes
Sourced from @sentry/node's releases.
11.6.0
Important Changes
feat(nextjs): Add
@sentry/nextjs/cloudflare(#24998)The new
@sentry/nextjs/cloudflareentry point exportswithSentryfor the Worker entry of a Next.js app on Cloudflare Workers, for example.open-next/worker.jsof OpenNext. It iswithSentryof@sentry/cloudflarewith the Next.js server handling added, so a Next.js app on Workers gets the same spans as on Node.js.import * as Sentry from '@sentry/nextjs/cloudflare'; import handler from './.open-next/worker.js';
export default Sentry.withSentry(
env => ({
dsn: env.SENTRY_DSN,
tracesSampleRate: 1.0,
}),
handler,
);
feat(server-utils): Add instrumentation for pi-durable (#24993)
The new
piDurableIntegrationtraces agents built with pi-durable: each run, with its model requests and tool calls.fix(core): Correct sleep clock drift on telemetry timestamps (#23054)
When a device sleeps, the
performance.now()clock of the browser stops. Before this change, timestamps of spans and other telemetry recorded after the sleep could be too early. The SDK now detects this drift and corrects its time origin, also for spans created from performance entries. Span end times are now computed from theperformance.now()duration since the span start, like in OpenTelemetry (#24903).Other Changes
- feat(cloudflare): Skip spans for the pi_ tables of PiHarness (#25028)
- feat(remix): Propagate the server trace to Remix 3 page loads (#25145)
- feat(server-utils): Map Mastra classifier evaluations to gen_ai.evaluate spans (#25044)
- feat(server-utils): Record LangChain TypeSafeClassifier runs as gen_ai.evaluate spans (#25120)
- fix(browser): Check for clock drift on page lifecycle events (#25091)
- fix(core): Exclude attachments from internal exception events (#25160)
- fix(effect): Convert Effect span times to the Sentry clock (#24972)
- fix(effect): Detect HTTP spans named after the request method (#25159)
- fix(node): Register Vercel keep-alive listeners once (#25146)
- fix(replay): Place CLS and INP web vitals at the right time (#24990)
- fix(server-utils): Record LangGraph span I/O for non-MessagesAnnotation state (#23315)
- fix(sveltekit): Upload source maps with SvelteKit 3 (#25139)
... (truncated)
Changelog
Sourced from @sentry/node's changelog.
11.6.0
Important Changes
feat(nextjs): Add
@sentry/nextjs/cloudflare(#24998)The new
@sentry/nextjs/cloudflareentry point exportswithSentryfor the Worker entry of a Next.js app on Cloudflare Workers, for example.open-next/worker.jsof OpenNext. It iswithSentryof@sentry/cloudflarewith the Next.js server handling added, so a Next.js app on Workers gets the same spans as on Node.js.import * as Sentry from '@sentry/nextjs/cloudflare'; import handler from './.open-next/worker.js';
export default Sentry.withSentry(
env => ({
dsn: env.SENTRY_DSN,
tracesSampleRate: 1.0,
}),
handler,
);
feat(server-utils): Add instrumentation for pi-durable (#24993)
The new
piDurableIntegrationtraces agents built with pi-durable: each run, with its model requests and tool calls.fix(core): Correct sleep clock drift on telemetry timestamps (#23054)
When a device sleeps, the
performance.now()clock of the browser stops. Before this change, timestamps of spans and other telemetry recorded after the sleep could be too early. The SDK now detects this drift and corrects its time origin, also for spans created from performance entries. Span end times are now computed from theperformance.now()duration since the span start, like in OpenTelemetry (#24903).Other Changes
- feat(cloudflare): Skip spans for the pi_ tables of PiHarness (#25028)
- feat(remix): Propagate the server trace to Remix 3 page loads (#25145)
- feat(server-utils): Map Mastra classifier evaluations to gen_ai.evaluate spans (#25044)
- feat(server-utils): Record LangChain TypeSafeClassifier runs as gen_ai.evaluate spans (#25120)
- fix(browser): Check for clock drift on page lifecycle events (#25091)
- fix(core): Exclude attachments from internal exception events (#25160)
- fix(effect): Convert Effect span times to the Sentry clock (#24972)
- fix(effect): Detect HTTP spans named after the request method (#25159)
- fix(node): Register Vercel keep-alive listeners once (#25146)
- fix(replay): Place CLS and INP web vitals at the right time (#24990)
- fix(server-utils): Record LangGraph span I/O for non-MessagesAnnotation state (#23315)
- fix(sveltekit): Upload source maps with SvelteKit 3 (#25139)
... (truncated)
Commits
3c0c830release: 11.6.013743e9Merge pull request #25184 from getsentry/prepare-release/11.6.03605c50chore(size-limit): Bump@sentry/nodesize limits53ae996meta(changelog): Update changelog for 11.6.0e99e6e1feat(remix): Propagate the server trace to Remix 3 page loads (#25145)2fdcb23test(e2e): Add Mastra Jev classifier test to node-mastra (#25115)5bb9a68feat(server-utils): Map Mastra classifier evaluations to gen_ai.evaluate span...221dd86test(e2e): Add a cloudflare-pi-durable end-to-end application (#25022)966e1fffeat(cloudflare): Skip spans for the pi_ tables of PiHarness (#25028)b70f6bbtest(e2e): Add a node-pi-durable end-to-end application (#24994)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Bumps @sentry/node from 10.76.2 to 11.6.0, a major version with a raised Node engine requirement and new transitive dependencies.
Migration
- New minimum Node version is
>=20.19.0; the project already requires>=22.18.0, so no action needed. - The old optional OpenTelemetry peer dependencies (
@opentelemetry/core,@opentelemetry/instrumentation,@opentelemetry/sdk-trace-base) are no longer required. - Adds
@sentry/bundler-pluginsandoxc-parseras new transitive dependencies. - Telemetry timestamps are now corrected for device sleep clock drift, which changes span start/end time computation.