yarn @sentry/node 11.22.0

2 hours ago

Important Changes

  • feat(mcp): Add a feedback tool for MCP servers (#26995, #26996)

This release ships the new @sentry/mcp package. It is in beta, so it may receive breaking changes in minor releases until it is stable. Its addFeedbackTool adds a tool to your MCP server that agents can use to report when they get stuck on your tools, and createFeedbackTool creates the same tool for servers that register tools through their own catalog.

import * as Sentry from '@sentry/node';
import { McpServer } from '@modelcontextprotocol/server';
import { addFeedbackTool } from '@sentry/mcp';

const server = Sentry.wrapMcpServerWithSentry(new McpServer({ name: 'orders', version: '1.0.0' }));

addFeedbackTool(server, { serverName: 'Orders' });
  • feat(nextjs): Add deterministicPrerenders build option (#27010)

With deterministicPrerenders: true in withSentryConfig, no prerender writes its trace or start time into the HTML, so an ISR regeneration keeps the same output when the content did not change. This drops the cache_origin link and page.server_rendering.age on pageloads of prerendered pages, so it is off by default.

  • feat(nuxt): Add render spans from Nuxt tracing channels (#26940, #26942)

On Nuxt >= 4.7, the module turns on the nuxt group of Nuxt's tracingChannel option, and each page render on the server gets a renderPage or renderErrorPage span. A tracingChannel value in your Nuxt config still wins. If you set a partial object such as tracingChannel: { nuxt: true } on Nitro v3, the Nitro groups are now off unless the object turns them on.

Other Changes

  • feat(deno): Add modulesIntegration (#26689)
  • feat(server-utils): Instrument Prisma 8 firstOrThrow (#26992)
  • feat(server-utils): Record returned rows on pg and Neon query spans (#26666)
  • fix: Unref fetch and react-router timeout timers, require unref'd server timers (#26881)
  • fix(aws-serverless): Forward gzipped envelopes through the Lambda extension (#26978)
  • fix(core): Do not throw from init() when the transport creation throws (#26987)
  • fix(core): Flush client reports after event processing settles (#26619)
  • fix(core): Keep unsampled renders free of per-render cache origin meta tags (#27017)
  • fix(nextjs): Disable managed tunnel interception on Vercel (#27019)
  • fix(nextjs): Inject debug IDs during the webpack compile with the after-compile hook (#27000)
  • fix(nextjs): Keep unsampled prerenders free of per-render meta tags (#27009)
  • fix(nuxt): Prevent a stack overflow when a Cloudflare handler gets the cloudflare:workers env (#27016)
  • fix(server-utils): Do not record Workers AI extract document data (#26986)
  • fix(server-utils): Skip Fastify spans for ignored incoming requests (#27013)
Internal Changes
  • chore(deps): Bump @sentry/conventions to 0.37.0 (#26963)
  • chore(e2e): Bump non-critical e2e test app dependencies (#27004)
  • chore(lint): Require a mechanism on captureException calls in SDK code (#26880)
  • chore: Add external contributor to CHANGELOG.md (#26984)
  • ci(deps): bump anthropics/claude-code-action from 1.0.276 to 1.0.290 (#27027)
  • ci(deps): bump getsentry/craft from 3.12.0 to 3.14.1 (#27026)
  • ci(size-limit): Compare stacked PRs against their base PR (#26758)
  • feat(deps): bump cross-spawn from 7.0.6 to 7.1.2 (#27006)
  • feat(deps): bump glob from 14.0.3 to 14.0.6 (#27001)
  • feat(deps): bump http-proxy-middleware from 2.0.10 to 2.0.12 (#27031)
  • feat(deps): bump node-forge from 1.4.3 to 1.4.4 (#27032)
  • feat(deps): bump ws from 8.22.2 to 8.23.0 (#27030)
  • fix(deps): Bump @vercel/nft to 1.11.16 (#27007)
  • fix(deps): Bump react-router to 7.18.5 in hydrogen-react-router-7 e2e app (#27005)
  • fix(deps): Bump react-router to 7.18.7 (#27008)
  • perf(ci): use eight shards for Node and Bun integration tests (#26970)
  • perf(ci): use three shards for heavy browser bundles (#26969)
  • ref(cloudflare): Build the Vite auto-instrument on the rewriter core (#26102)
  • ref(server-utils): Use the conventions types for Vercel AI extract spans (#27011)
  • ref(sveltekit): Wrap load functions in place with the rewriter core (#26103)
  • ref(tanstackstart-react): Wrap middleware arrays with the rewriter core (#26104)
  • test: Add Subresource Integrity (SRI) tests for bundler plugins and SDKs (#26965)
  • test(astro): Add rolldown size-limit check for the client without tracing (#26977)
  • test(ember): Run the ember-strict-resolver e2e app on Ember 7 (#27018)

Bundle size 📦

Path Size
sha null
results null

Don't miss a new node release

NewReleases is sending notifications on new releases.