Skip to content

feat(nestjs): Trace WebSocket messages on Nest 12 - #26768

Merged
chargome merged 25 commits into
developfrom
fix/nestjs-websocket-tracing-interceptor
Nov 27, 2026
Merged

chargome merged 25 commits into
developfrom
fix/nestjs-websocket-tracing-interceptor

Conversation

@chargome

@chargome chargome commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

On Nest 12+, the tracing interceptor creates a websocket span per WebSocket message, named WS <namespace> <pattern>, each in its own trace.

Why

Takes over #24862 from @faizansaiyed123 (commits kept). Nest only applies global interceptors to gateways from v12 on, so the e2e app moved to Nest 12. Stacked on #26775.

Closes: #13810

@chargome chargome self-assigned this Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 6738fb4 (PR test merge using develop at 6e0b633)

Against: 6e0b633 (develop) · base run #68162

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.54 kB - -
@sentry/browser - with treeshaking flags 28.73 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.6 kB - -
@sentry/browser (incl. Tracing) 53.66 kB - -
@sentry/browser (incl. Tracing Core) 40.58 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 53.66 kB - -
@sentry/browser (incl. Tracing, Profiling) 56.56 kB - -
@sentry/browser (incl. Tracing, Replay) 93.59 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 82.38 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 98.45 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 111.39 kB - -
@sentry/browser (incl. Feedback) 48.4 kB - -
@sentry/browser (incl. sendFeedback) 31.11 kB - -
@sentry/browser (incl. FeedbackAsync) 36.16 kB - -
@sentry/browser (incl. Metrics) 31.86 kB - -
@sentry/browser (incl. Logs) 32.13 kB - -
@sentry/browser (incl. Metrics & Logs) 32.8 kB - -
@sentry/react 32.56 kB - -
@sentry/react (incl. Tracing) 56.37 kB - -
@sentry/vue 38.74 kB - -
@sentry/vue (incl. Tracing) 56.67 kB - -
@sentry/svelte 30.57 kB - -
@sentry/effect (client) 42.22 kB - -
@sentry/effect (client, incl. Tracing) 54.96 kB - -
@sentry/effect (client, incl. Tracing, Logs, Metrics) 66.31 kB - -
@sentry/remix (Remix 3 client bundle) 59.39 kB - -
CDN Bundle 32.38 kB - -
CDN Bundle (incl. Tracing) 54.04 kB - -
CDN Bundle (incl. Logs, Metrics) 35.13 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 56.5 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 76.08 kB - -
CDN Bundle (incl. Tracing, Replay) 91.84 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 94.37 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.31 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.78 kB - -
CDN Bundle - uncompressed 94.56 kB - -
CDN Bundle (incl. Tracing) - uncompressed 159.84 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 102.9 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 167.47 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.29 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 280.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 287.9 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 299.83 kB - -
@sentry/nextjs (client) 60.08 kB - -
@sentry/sveltekit (client) 55.02 kB - -
@sentry/core/server 45.83 kB - -
@sentry/core/browser 14.46 kB - -
@sentry/node 157.38 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.45 kB - -
@sentry/node - without tracing 89.79 kB - -
@sentry/node - without channel injection 146.36 kB +0.01% +2 B 🔺
@sentry/aws-serverless 100.42 kB - -
@sentry/cloudflare (withSentry) - minified 211.94 kB - -
@sentry/cloudflare (withSentry) 491.72 kB - -
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 214.88 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 237.18 kB - -

View base workflow run

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 2 not successful, 66 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Failing after 1m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E cloudflare-agent Test (optional) Successful in 48s Details
✅ CI: Optional E2E Tests / E2E astro-7 (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E express-5 (deno) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable (latest) Test (optional) Successful in 48s Details
✅ CI: Optional E2E Tests / E2E cloudflare-think Test (optional) Successful in 55s Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-without-tracing-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E express-5 (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (cloudflare) Test (optional) Successful in 39s Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (bun) Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E cloudflare-think (ai v6) Test (optional) Successful in 56s Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable Test (optional) Successful in 49s Details
✅ CI: Optional E2E Tests / E2E cloudflare-flue-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E deno (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (deno) Test (optional) Successful in 57s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E cloudflare-mastra Test (optional) Successful in 49s Details
✅ CI: Optional E2E Tests / E2E express-5 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (latest) Test (optional) Successful in 46s Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel (cloudflare) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 27s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E react-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E node-eve (orchestrion) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-eve (0.x) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (kv-cache) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps enabled by Sentry) Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E solid-2-ssr (cloudflare) Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (cloudflare) Test (optional) Successful in 39s Details
✅ CI: Optional E2E Tests / E2E node-eve Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-14-supabase Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E node-mastra Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (development) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 50s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 (MCP SDK OpenTelemetry) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-flue Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-cloudflare Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (no upload) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E node-mastra (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions (latest) Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E solidstart-2-tunnel Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E node-eve (content off) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-flue (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E nuxt-4-sourcemaps (Vite server) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (latest) Test (optional) Successful in 4m Details
✅ CI: Optional E2E Tests / E2E vue-3 (no Options API) Test (optional) Successful in 49s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 37s Details

@chargome
chargome force-pushed the fix/nestjs-websocket-tracing-interceptor branch from 928368a to 8308354 Compare November 23, 2026 14:38
@chargome
chargome changed the base branch from develop to fix/nestjs-duplicate-tracing-interceptor November 23, 2026 14:38
@chargome

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@chargome
chargome marked this pull request as ready for review November 24, 2026 05:51
@chargome
chargome force-pushed the fix/nestjs-websocket-tracing-interceptor branch from d7d97c1 to fa826fa Compare November 24, 2026 06:31

@nicohrubec nicohrubec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks for taking this over! I have a few comments/questions and this should probably be marked as feat?

Comment thread packages/nestjs/src/helpers.ts Resolved
Comment thread packages/nestjs/src/setup.ts Resolved
}

const namespace = hasDynamicNamespace(context) ? undefined : client?.nsp?.name;
const transactionName = namespace ? `WS ${namespace} ${pattern}` : `WS ${pattern}`;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there is nothing in conventions about span names for websocket stuff, should we add this before we merge this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, we'll follow up with a websocket span name in conventions separately.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice thanks. then let's wait for feedback there and then I'll stamp this seems good to go otherwise from my side

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aye aye

@chargome chargome changed the title fix(nestjs): Trace WebSocket interceptor contexts feat(nestjs): Trace WebSocket messages on Nest 12 Nov 24, 2026
@chargome

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread packages/nestjs/src/observable.ts Resolved
@chargome

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 8a07dec. Configure here.

Base automatically changed from fix/nestjs-duplicate-tracing-interceptor to develop November 26, 2026 13:55
chargome added a commit that referenced this pull request Nov 26, 2026
## What

`SentryModule.forRoot()` no longer registers `SentryTracingInterceptor`
a second time, so it runs once per request instead of twice.

## Why

The interceptor is already a provider in the static `@Module()`
metadata, and Nest merges that with what `forRoot()` returns. Split out
from #26768 since it affects all apps.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
faizansaiyed123 and others added 20 commits November 26, 2026 14:55
Co-Authored-By: OpenAI/ChatGPT GPT-6 <codex@openai.com>
Co-Authored-By: OpenAI/ChatGPT GPT-6 <codex@openai.com>
Mark WebSocket spans as failed when an observer object has no error handler,
since RxJS ignores positional callbacks in that case. Skip expected errors
(WsException, HttpException) the same way SentryGlobalFilter does, and drop
the Socket.IO namespace from span names for regex or function namespaces,
which otherwise resolve to the concrete child namespace and blow up
cardinality.

Move instrumentObservable and its types into src/helpers.ts so the setup
types build no longer emits integrations/*.d.ts into the package root. The
e2e test asserts the op literal because the test app does not depend on
@sentry/conventions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WebSocket message spans inherited the trace of their long-lived connection, so
unrelated messages landed in one trace. With Socket.IO's polling transport they
also became children of the HTTP request that delivered them instead of
segments. Start each message span in a new trace.

Fall back to the @SubscribeMessage metadata when getPattern() is missing
(Nest 8 and 9), and re-enter the interceptor's isolation scope on subscribe
instead of forking another one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nest only applies global interceptors to WebSocket gateways from v12 on, so
SentryTracingInterceptor never sees gateway messages on Nest 8 to 11. Move the
nestjs-websockets app to Nest 12 (ESM, like nestjs-12) and drop the getPattern()
fallback, which only mattered for Nest 8 and 9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a build tsconfig, nest build also compiled tests/ and emitted to dist/src, so the
ESM start script could not find dist/instrument.js.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Splits the observer wrapping into named functions with comments on the
non-obvious parts, imports Observable directly instead of re-exporting it,
and drops unit tests the WebSocket e2e app already covers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Socket spans

Follows the WebSocket span convention from getsentry/sentry-conventions#836, whose name
and description templates are built from these attributes. Dynamic namespaces stay unset
so the concrete child namespace doesn't end up in descriptions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chargome
chargome force-pushed the fix/nestjs-websocket-tracing-interceptor branch from 8a07dec to ee66890 Compare November 26, 2026 13:55
chargome added a commit to getsentry/sentry-conventions that referenced this pull request Nov 27, 2026
* feat(attributes): Add WebSocket span name convention

Add a span name convention for the websocket op, built from the namespace
(messaging.destination.name) and the event name. Add
messaging.websocket.event.name to hold the event or message pattern,
since no messaging attribute covers it.

Requested in getsentry/sentry-javascript#26768, which names NestJS
WebSocket spans WS <namespace> <pattern>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ref(attributes): Generalize messaging.websocket.event.name brief

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ref(attributes): Move WebSocket attributes to websocket namespace

messaging.* is meant for queues and topics, and a WebSocket namespace is not
a broker entity. Use websocket.namespace and websocket.event.name instead and
move the span name convention to model/name/websocket.json. Span names stay
WS <namespace> <event>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(descriptions): Add span description rule for websocket op

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@chargome
chargome merged commit 2d7dce2 into develop Nov 27, 2026
70 checks passed
@chargome
chargome deleted the fix/nestjs-websocket-tracing-interceptor branch November 27, 2026 15:20
elrincondehiro pushed a commit to elrincondehiro/web-ecommerce that referenced this pull request Dec 2, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update |
|---|---|---|---|---|---|
| [@axe-core/playwright](https://github.com/dequelabs/axe-core-npm) | [`4.14.0` → `4.14.1`](https://renovatebot.com/diffs/npm/@axe-core%2fplaywright/4.14.0/4.14.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@axe-core%2fplaywright/4.14.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@axe-core%2fplaywright/4.14.0/4.14.1?slim=true) | devDependencies | patch |
| [@react-email/ui](https://github.com/resend/react-email) ([source](https://github.com/resend/react-email/tree/HEAD/packages/ui)) | [`6.11.16` → `6.11.17`](https://renovatebot.com/diffs/npm/@react-email%2fui/6.11.16/6.11.17) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@react-email%2fui/6.11.17?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-email%2fui/6.11.16/6.11.17?slim=true) | devDependencies | patch |
| [@rokmohar/medusa-plugin-meilisearch](https://github.com/rokmohar/medusa-plugin-meilisearch) | [`2.4.0` → `2.5.0`](https://renovatebot.com/diffs/npm/@rokmohar%2fmedusa-plugin-meilisearch/2.4.0/2.5.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rokmohar%2fmedusa-plugin-meilisearch/2.5.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rokmohar%2fmedusa-plugin-meilisearch/2.4.0/2.5.0?slim=true) | dependencies | minor |
| [@sentry/node](https://github.com/getsentry/sentry-javascript/tree/master/packages/node) ([source](https://github.com/getsentry/sentry-javascript)) | [`11.16.0` → `11.20.0`](https://renovatebot.com/diffs/npm/@sentry%2fnode/11.16.0/11.20.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fnode/11.20.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fnode/11.16.0/11.20.0?slim=true) | dependencies | minor |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`24.19.2` → `24.19.4`](https://renovatebot.com/diffs/npm/@types%2fnode/24.19.2/24.19.4) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/24.19.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/24.19.2/24.19.4?slim=true) | devDependencies | patch |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.3.31` → `18.3.32`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.31/18.3.32) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.32?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.31/18.3.32?slim=true) | devDependencies | patch |
| bugsink/bugsink | `2.6.3` → `2.7.1` | ![age](https://developer.mend.io/api/mc/badges/age/docker/bugsink%2fbugsink/2.7.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/bugsink%2fbugsink/2.6.3/2.7.1?slim=true) |  | minor |
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`10.15.0` → `10.16.0`](https://renovatebot.com/diffs/npm/eslint/10.15.0/10.16.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/10.16.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/10.15.0/10.16.0?slim=true) | dependencies | minor |
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`10.15.0` → `10.16.0`](https://renovatebot.com/diffs/npm/eslint/10.15.0/10.16.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/10.16.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/10.15.0/10.16.0?slim=true) | devDependencies | minor |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | [`10.1.8` → `10.1.9`](https://renovatebot.com/diffs/npm/eslint-config-prettier/10.1.8/10.1.9) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-prettier/10.1.9?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-prettier/10.1.8/10.1.9?slim=true) | dependencies | patch |
| [eslint-plugin-astro](https://ota-meshi.github.io/eslint-plugin-astro/) ([source](https://github.com/ota-meshi/eslint-plugin-astro)) | [`3.2.1` → `3.2.3`](https://renovatebot.com/diffs/npm/eslint-plugin-astro/3.2.1/3.2.3) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-astro/3.2.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-astro/3.2.1/3.2.3?slim=true) | dependencies | patch |
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm/tree/HEAD/pnpm/npm/pnpm)) | [`12.21.0` → `12.23.0`](https://renovatebot.com/diffs/npm/pnpm/12.21.0/12.23.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/12.23.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/12.21.0/12.23.0?slim=true) | packageManager | minor |
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm/tree/HEAD/pnpm/npm/pnpm)) | [`12.21.0` → `12.23.0`](https://renovatebot.com/diffs/npm/pnpm/12.21.0/12.23.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/12.23.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/12.21.0/12.23.0?slim=true) | engines | minor |
| [react-email](https://github.com/resend/react-email) ([source](https://github.com/resend/react-email/tree/HEAD/packages/react-email)) | [`6.11.16` → `6.11.17`](https://renovatebot.com/diffs/npm/react-email/6.11.16/6.11.17) | ![age](https://developer.mend.io/api/mc/badges/age/npm/react-email/6.11.17?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-email/6.11.16/6.11.17?slim=true) | dependencies | patch |
| [redis](https://hub.docker.com/_/redis) ([source](https://github.com/redis/docker-library-redis)) | `8.10.3-alpine` → `8.12.0-alpine` | ![age](https://developer.mend.io/api/mc/badges/age/docker/redis/8.12.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/redis/8.10.3/8.12.0?slim=true) | service | minor |
| [redis](https://hub.docker.com/_/redis) ([source](https://github.com/redis/docker-library-redis)) | `8.10.3-alpine` → `8.12.0-alpine` | ![age](https://developer.mend.io/api/mc/badges/age/docker/redis/8.12.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/redis/8.10.3/8.12.0?slim=true) |  | minor |
| [renovate/renovate](https://renovatebot.com) ([source](https://github.com/renovatebot/renovate)) | [`44.258.0` → `44.264.1`](https://octochangelog.com/compare?repo=renovatebot%2Frenovate&from=44.258.0&to=44.264.1) | ![age](https://developer.mend.io/api/mc/badges/age/docker/renovate%2frenovate/44.264.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/renovate%2frenovate/44.258.0/44.264.1?slim=true) | container | minor |
| [resend](https://github.com/resend/resend-node) | [`6.39.0` → `6.41.0`](https://renovatebot.com/diffs/npm/resend/6.39.0/6.41.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/resend/6.41.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/resend/6.39.0/6.41.0?slim=true) | dependencies | minor |
| [sharp](https://sharp.pixelplumbing.com) ([source](https://github.com/lovell/sharp), [changelog](https://github.com/lovell/sharp/blob/main/docs/src/content/docs/changelog.md)) | [`0.35.5` → `0.35.6`](https://renovatebot.com/diffs/npm/sharp/0.35.5/0.35.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/sharp/0.35.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sharp/0.35.5/0.35.6?slim=true) | dependencies | patch |
| stripe/stripe-cli | `v1.55.14` → `v1.55.15` | ![age](https://developer.mend.io/api/mc/badges/age/docker/stripe%2fstripe-cli/v1.55.15?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/stripe%2fstripe-cli/v1.55.14/v1.55.15?slim=true) |  | patch |
| [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)) | [`8.73.0` → `8.74.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.73.0/8.74.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/typescript-eslint/8.74.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript-eslint/8.73.0/8.74.0?slim=true) | dependencies | minor |
| [undici@>=8.0.0 <8.12.2](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`8.13.1` → `8.14.0`](https://renovatebot.com/diffs/npm/undici/8.13.1/8.14.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/undici/8.14.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/8.13.1/8.14.0?slim=true) | pnpm-workspace.overrides | minor |
| [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.1` → `5.1.2`](https://renovatebot.com/diffs/npm/vitest/5.1.1/5.1.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/5.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/5.1.1/5.1.2?slim=true) | devDependencies | patch |

---

### Release Notes

<details>
<summary>dequelabs/axe-core-npm (@&#8203;axe-core/playwright)</summary>

### [`v4.14.1`](https://github.com/dequelabs/axe-core-npm/blob/HEAD/CHANGELOG.md#4141-2026-11-19)

[Compare Source](https://github.com/dequelabs/axe-core-npm/compare/v4.14.0...v4.14.1)

##### Bug Fixes

- **cli:** restore bin paths and lint published package tarballs ([#&#8203;1467](https://github.com/dequelabs/axe-core-npm/issues/1467)) ([839553f](https://github.com/dequelabs/axe-core-npm/commit/839553f276f251051509229146d6339a2a232214)), closes [#&#8203;1430](https://github.com/dequelabs/axe-core-npm/issues/1430) [#&#8203;1430](https://github.com/dequelabs/axe-core-npm/issues/1430) [#&#8203;1465](https://github.com/dequelabs/axe-core-npm/issues/1465)
- respect iframes: false when finding frames to test ([#&#8203;1485](https://github.com/dequelabs/axe-core-npm/issues/1485)) ([910faef](https://github.com/dequelabs/axe-core-npm/commit/910faef981c8be117137fe866d756091da85c85f)), closes [#&#8203;1483](https://github.com/dequelabs/axe-core-npm/issues/1483)
- skip frames that cannot run scripts instead of hanging ([#&#8203;1478](https://github.com/dequelabs/axe-core-npm/issues/1478)) ([794589b](https://github.com/dequelabs/axe-core-npm/commit/794589bda678dcc8d7d9d4246240f5d816e5613c)), closes [#&#8203;1469](https://github.com/dequelabs/axe-core-npm/issues/1469)
- update axe-core to v4.14.1 ([#&#8203;1509](https://github.com/dequelabs/axe-core-npm/issues/1509)) ([826915a](https://github.com/dequelabs/axe-core-npm/commit/826915ad803d569f51fb754bb0597a00b23ac8ea)), closes [#&#8203;1508](https://github.com/dequelabs/axe-core-npm/issues/1508)

</details>

<details>
<summary>resend/react-email (@&#8203;react-email/ui)</summary>

### [`v6.11.17`](https://github.com/resend/react-email/blob/HEAD/packages/ui/CHANGELOG.md#61117)

[Compare Source](https://github.com/resend/react-email/compare/@react-email/ui@6.11.16...@react-email/ui@6.11.17)

</details>

<details>
<summary>rokmohar/medusa-plugin-meilisearch (@&#8203;rokmohar/medusa-plugin-meilisearch)</summary>

### [`v2.5.0`](https://github.com/rokmohar/medusa-plugin-meilisearch/blob/HEAD/CHANGELOG.md#250---2026-11-24)

[Compare Source](https://github.com/rokmohar/medusa-plugin-meilisearch/compare/v2.4.0...v2.5.0)

##### Changed

- Supports Medusa 2.23: peer dependencies move to `~2.23.0`, `@medusajs/ui` to `^4.3.0`, React and React DOM to
  `^19.3.1`, and `@tanstack/react-query` to `^5.107.1`.
- The admin extension is built with Medusa 2.23's React 19 and Vite 8 admin bundler.
- The Meilisearch JS client moves to `^0.63.0`.
- Development dependencies updated to their latest versions compatible with Medusa 2.23.

</details>

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/node)</summary>

### [`v11.20.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#11200)

[Compare Source](https://github.com/getsentry/sentry-javascript/compare/11.19.0...11.20.0)

##### Important Changes

- **feat(nestjs): Trace WebSocket messages on Nest 12 ([#&#8203;26768](https://github.com/getsentry/sentry-javascript/pull/26768))**

On Nest 12 and newer, the SDK now creates a `websocket` span for each WebSocket message a gateway handles, named `WS <namespace> <pattern>`. Each message starts its own trace.

##### Other Changes

- feat(bundler-plugins): Add the call-site rewriter core ([#&#8203;26101](https://github.com/getsentry/sentry-javascript/pull/26101))
- feat(core): Add experimental minification-independent function fingerprint ([#&#8203;26840](https://github.com/getsentry/sentry-javascript/pull/26840))
- feat(core): Report library functions in integration options without a fingerprint ([#&#8203;26898](https://github.com/getsentry/sentry-javascript/pull/26898))
- fix(core): Clear pending idle span timers when the span ends ([#&#8203;26938](https://github.com/getsentry/sentry-javascript/pull/26938))
- fix(nestjs): Register SentryTracingInterceptor only once ([#&#8203;26775](https://github.com/getsentry/sentry-javascript/pull/26775))
- fix(nuxt): Avoid duplicate spans when Nitro tracing channels are on ([#&#8203;26928](https://github.com/getsentry/sentry-javascript/pull/26928))
- fix(server-utils): Sum Vercel AI reasoning tokens onto invoke_agent spans ([#&#8203;26904](https://github.com/getsentry/sentry-javascript/pull/26904))
- fix(tanstackstart-react): Report the TanStack Start SDK name with the Cloudflare Vite plugin ([#&#8203;26925](https://github.com/getsentry/sentry-javascript/pull/26925))

<details>
  <summary><strong>Internal Changes</strong></summary>

- chore(lint): Require integrations to be created with `defineIntegration` ([#&#8203;26937](https://github.com/getsentry/sentry-javascript/pull/26937))
- docs: Add a checklist for new major releases ([#&#8203;26926](https://github.com/getsentry/sentry-javascript/pull/26926))

</details>

Work in this release was contributed by [@&#8203;faizansaiyed123](https://github.com/faizansaiyed123). Thank you for your contribution!

### [`v11.19.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#11190)

[Compare Source](https://github.com/getsentry/sentry-javascript/compare/11.18.0...11.19.0)

- docs(aws-lambda): Fix the Lambda layer link in the v11 migration guide ([#&#8203;26912](https://github.com/getsentry/sentry-javascript/pull/26912))
- feat(solid): Turn Solid 2 observe build records into spans ([#&#8203;26794](https://github.com/getsentry/sentry-javascript/pull/26794))
- fix(cloudflare): Use the release that a Sentry bundler plugin injected ([#&#8203;26914](https://github.com/getsentry/sentry-javascript/pull/26914))
- fix(cloudflare): Wrap the TanStack Start server entry only once ([#&#8203;26915](https://github.com/getsentry/sentry-javascript/pull/26915))
- fix(nextjs): Keep the default Turbopack loader runtime in `next dev` on Bun ([#&#8203;26923](https://github.com/getsentry/sentry-javascript/pull/26923))
- fix(nuxt): Filter the query string in server error events ([#&#8203;26919](https://github.com/getsentry/sentry-javascript/pull/26919))
- fix(remix): Make `npx @sentry/remix` resolve an executable again ([#&#8203;26890](https://github.com/getsentry/sentry-javascript/pull/26890))
- fix(server-utils): Make the Flue instrumentation assignable to Flue's `instrument()` ([#&#8203;26896](https://github.com/getsentry/sentry-javascript/pull/26896))
- fix(tanstackstart-react): Instrument server function middlewares in builds without Nitro ([#&#8203;26913](https://github.com/getsentry/sentry-javascript/pull/26913))

<details>
  <summary><strong>Internal Changes</strong></summary>

- chore: Add external contributor to CHANGELOG.md ([#&#8203;26918](https://github.com/getsentry/sentry-javascript/pull/26918))
- chore(ci): Raise Warden review concurrency to 12 ([#&#8203;26921](https://github.com/getsentry/sentry-javascript/pull/26921))
- fix(ci): Check out the PR base commit before planning affected projects ([#&#8203;26922](https://github.com/getsentry/sentry-javascript/pull/26922))
- fix(ci): Read remaining E2E matrices from the planning job ([#&#8203;26900](https://github.com/getsentry/sentry-javascript/pull/26900))
- perf(ci): Build SDK dependencies within CI jobs ([#&#8203;26732](https://github.com/getsentry/sentry-javascript/pull/26732))
- perf(ci): Combine metadata collection and test planning ([#&#8203;26889](https://github.com/getsentry/sentry-javascript/pull/26889))
- ref(bundler-plugins): Pass the SDK's source map deletion through one internal option ([#&#8203;26903](https://github.com/getsentry/sentry-javascript/pull/26903))
- test(e2e): Make Bun, Deno and Cloudflare framework variants required ([#&#8203;26887](https://github.com/getsentry/sentry-javascript/pull/26887))
- test(e2e): Run hapi-21 on Bun and Deno ([#&#8203;26872](https://github.com/getsentry/sentry-javascript/pull/26872))
- test(nuxt): Add baseline span tree E2E tests ([#&#8203;26885](https://github.com/getsentry/sentry-javascript/pull/26885))

</details>

Work in this release was contributed by [@&#8203;Caf3z1n](https://github.com/Caf3z1n). Thank you for your contribution!

### [`v11.18.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#11180)

[Compare Source](https://github.com/getsentry/sentry-javascript/compare/11.17.0...11.18.0)

##### Important Changes

- **feat(effect)!: Rename exports and add layers for tracing and logs ([#&#8203;26731](https://github.com/getsentry/sentry-javascript/pull/26731))**

  The `@sentry/effect` exports now use Effect's naming style, and tracing and logs are now layers, so the setup is the same for Effect v3 and v4. The old names are removed.

  - `effectLayer` is now `layer`.
  - `SentryEffectTracer` is now `layerTracer`. It replaces `Layer.setTracer(SentryEffectTracer)` (Effect v3) and `Layer.succeed(Tracer.Tracer, SentryEffectTracer)` (Effect v4).
  - `SentryEffectLogger` is now `layerLogger`. It replaces `Logger.replace(Logger.defaultLogger, SentryEffectLogger)` (Effect v3) and `Logger.layer([SentryEffectLogger])` (Effect v4). It keeps the loggers in place, so Effect still logs to the console.
  - `SentryEffectMetricsLayer` is now `layerMetrics`.
  - `SentryEffectExternalSpanLayer` is now `layerExternalSpan`.

  ```ts
  const SentryLayer = Layer.mergeAll(
    Sentry.layer({ dsn: '__DSN__', tracesSampleRate: 1.0 }),
    Sentry.layerTracer,
    Sentry.layerLogger,
    Sentry.layerMetrics,
  );
  ```

##### Other Changes

- chore(deps): Bump rrweb to 2.47.0 ([#&#8203;26837](https://github.com/getsentry/sentry-javascript/pull/26837), [#&#8203;26883](https://github.com/getsentry/sentry-javascript/pull/26883))
- feat(astro): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26334](https://github.com/getsentry/sentry-javascript/pull/26334))
- feat(astro): Use the Bun and Deno integrations when Astro runs on Bun or Deno ([#&#8203;26844](https://github.com/getsentry/sentry-javascript/pull/26844))
- feat(cloudflare): Send the trace to the browser in a Server-Timing header ([#&#8203;26774](https://github.com/getsentry/sentry-javascript/pull/26774))
- feat(core): Report a browser runtime in SDK config ([#&#8203;26834](https://github.com/getsentry/sentry-javascript/pull/26834))
- feat(core): Share the source map option warnings with the SDKs ([#&#8203;26626](https://github.com/getsentry/sentry-javascript/pull/26626))
- feat(gatsby): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26333](https://github.com/getsentry/sentry-javascript/pull/26333))
- feat(hono): Support Hono 5 ([#&#8203;26813](https://github.com/getsentry/sentry-javascript/pull/26813))
- feat(nextjs): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26337](https://github.com/getsentry/sentry-javascript/pull/26337))
- feat(nitro): Add the orchestrion plugin to the server build ([#&#8203;26799](https://github.com/getsentry/sentry-javascript/pull/26799))
- feat(nitro): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26584](https://github.com/getsentry/sentry-javascript/pull/26584))
- feat(node): Improve module detection in `modulesIntegration` ([#&#8203;26637](https://github.com/getsentry/sentry-javascript/pull/26637))
- feat(nuxt): Capture errors caught by `<NuxtErrorBoundary>` during SSR ([#&#8203;26815](https://github.com/getsentry/sentry-javascript/pull/26815))
- feat(nuxt): Set up Cloudflare from `sentry.cloudflare.config.ts` ([#&#8203;26754](https://github.com/getsentry/sentry-javascript/pull/26754))
- feat(nuxt): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26338](https://github.com/getsentry/sentry-javascript/pull/26338))
- feat(server-utils): Instrument the Vercel AI experimental_extract channel event ([#&#8203;26777](https://github.com/getsentry/sentry-javascript/pull/26777))
- feat(server-utils): normalize Vercel AI `gen_ai.extract` spans ([#&#8203;26831](https://github.com/getsentry/sentry-javascript/pull/26831))
- feat(solid): Continue the server trace in the pageload on Cloudflare Workers ([#&#8203;26791](https://github.com/getsentry/sentry-javascript/pull/26791))
- feat(solidstart): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26335](https://github.com/getsentry/sentry-javascript/pull/26335))
- feat(tanstackstart-react): Support `sourcemaps.upload`, `injectDebugIds` and `delete` ([#&#8203;26336](https://github.com/getsentry/sentry-javascript/pull/26336))
- fix: Warn about conflicting source map options that the SDKs apply themselves ([#&#8203;26787](https://github.com/getsentry/sentry-javascript/pull/26787))
- fix(astro): Report the Astro SDK name with the Cloudflare Vite plugin ([#&#8203;26848](https://github.com/getsentry/sentry-javascript/pull/26848))
- fix(bundler-plugins): Use forward slashes in rewritten source map sources ([#&#8203;26792](https://github.com/getsentry/sentry-javascript/pull/26792))
- fix(cloudflare): wrap Worker entrypoints reached through ctx.exports ([#&#8203;26739](https://github.com/getsentry/sentry-javascript/pull/26739))
- fix(core): Exclude environment from SDK configuration reports ([#&#8203;26835](https://github.com/getsentry/sentry-javascript/pull/26835))
- fix(core): Report non-finite numbers and initialScope values as placeholders in SDK config ([#&#8203;26838](https://github.com/getsentry/sentry-javascript/pull/26838))
- fix(deno): Fill module and trim trailing context line in stack frames ([#&#8203;26641](https://github.com/getsentry/sentry-javascript/pull/26641))
- fix(effect): Report a failure once when the Sentry layer is provided twice ([#&#8203;26734](https://github.com/getsentry/sentry-javascript/pull/26734))
- fix(feedback): Rename `*.css.ts` style modules to `*.styles.ts` ([#&#8203;26842](https://github.com/getsentry/sentry-javascript/pull/26842))
- fix(feedback): Render feedback widget without innerHTML for Trusted Types ([#&#8203;26707](https://github.com/getsentry/sentry-javascript/pull/26707))
- fix(hono): Skip middleware spans for Hono 5 error and not-found handlers ([#&#8203;26827](https://github.com/getsentry/sentry-javascript/pull/26827))
- fix(langchain): Record finish reasons for the OpenAI Responses API ([#&#8203;26800](https://github.com/getsentry/sentry-javascript/pull/26800))
- fix(nextjs, remix, sveltekit, gatsby): Don't turn on source maps without upload credentials ([#&#8203;26841](https://github.com/getsentry/sentry-javascript/pull/26841))
- fix(nuxt): Ignore build output spans with span streaming ([#&#8203;26781](https://github.com/getsentry/sentry-javascript/pull/26781))
- fix(nuxt): Percent-encode public file paths for the span filter ([#&#8203;26817](https://github.com/getsentry/sentry-javascript/pull/26817))
- fix(remix, tanstackstart-react): Let a user's `filesToDeleteAfterUpload` replace the SDK's deletion ([#&#8203;26821](https://github.com/getsentry/sentry-javascript/pull/26821))
- fix(server-utils): Skip MongoDB statement serialization when the span is not recorded ([#&#8203;26826](https://github.com/getsentry/sentry-javascript/pull/26826))
- fix(solidstart): Ignore build output spans with span streaming ([#&#8203;26782](https://github.com/getsentry/sentry-javascript/pull/26782))

<details>
  <summary><strong>Internal Changes</strong></summary>

- chore: Add external contributor to CHANGELOG.md ([#&#8203;26857](https://github.com/getsentry/sentry-javascript/pull/26857))
- chore: Keep Bugbot rule notes next to the code ([#&#8203;26875](https://github.com/getsentry/sentry-javascript/pull/26875))
- chore(deps): Bump `@sentry/conventions` to 0.36.0 ([#&#8203;26796](https://github.com/getsentry/sentry-javascript/pull/26796))
- chore(e2e): Bump non-critical e2e test app dependencies ([#&#8203;26797](https://github.com/getsentry/sentry-javascript/pull/26797))
- chore(lint): Forbid non-null assertions in SDK source ([#&#8203;26856](https://github.com/getsentry/sentry-javascript/pull/26856))
- chore(lint): Move mechanical Bugbot rules to lint and the test runner ([#&#8203;26854](https://github.com/getsentry/sentry-javascript/pull/26854))
- chore(lint): Point no-unguarded-span-apis message back at @&#8203;sentry/core/browser ([#&#8203;26876](https://github.com/getsentry/sentry-javascript/pull/26876))
- chore(lint): Require a DEBUG_BUILD gate on debug logs in browser-facing code ([#&#8203;26861](https://github.com/getsentry/sentry-javascript/pull/26861))
- ci: Key Playwright browser cache by runner architecture ([#&#8203;26833](https://github.com/getsentry/sentry-javascript/pull/26833))
- ci: Run repo script tests ([#&#8203;26832](https://github.com/getsentry/sentry-javascript/pull/26832))
- ci(e2e): Only give secrets to E2E test apps that need them ([#&#8203;26869](https://github.com/getsentry/sentry-javascript/pull/26869))
- ci(size-limit): Simplify the size-limit action ([#&#8203;26778](https://github.com/getsentry/sentry-javascript/pull/26778))
- fix(test): Stop waiting for a port when a scenario exits ([#&#8203;26846](https://github.com/getsentry/sentry-javascript/pull/26846))
- perf(ci): Build Lambda layers within E2E jobs ([#&#8203;26804](https://github.com/getsentry/sentry-javascript/pull/26804))
- perf(ci): Separate Next.js cacheComponents production and development tests ([#&#8203;26830](https://github.com/getsentry/sentry-javascript/pull/26830))
- perf(ci): Split large integration suites and use six Deno shards ([#&#8203;26802](https://github.com/getsentry/sentry-javascript/pull/26802))
- perf(ci): Use four workers for Next.js E2E tests ([#&#8203;26763](https://github.com/getsentry/sentry-javascript/pull/26763))
- perf(ci): Use three WebKit browser integration shards ([#&#8203;26829](https://github.com/getsentry/sentry-javascript/pull/26829))
- ref(core): Drop the internal prefix from tunnel exports ([#&#8203;26746](https://github.com/getsentry/sentry-javascript/pull/26746))
- ref(core): Drop unused internal exports and rename log/metric capture helpers ([#&#8203;26744](https://github.com/getsentry/sentry-javascript/pull/26744))
- test(bundler-plugins): Cover source map upload for file names with glob characters ([#&#8203;26862](https://github.com/getsentry/sentry-javascript/pull/26862))
- test(e2e): Add Hono 5 E2E app ([#&#8203;26814](https://github.com/getsentry/sentry-javascript/pull/26814))
- test(e2e): Isolate the react-router-7 instrumentation double-instrumentation check ([#&#8203;26886](https://github.com/getsentry/sentry-javascript/pull/26886))
- test(e2e): Run astro-6 on Bun, Deno and Cloudflare ([#&#8203;26845](https://github.com/getsentry/sentry-javascript/pull/26845))
- test(e2e): Run fastify-5 on Bun and Deno ([#&#8203;26828](https://github.com/getsentry/sentry-javascript/pull/26828))
- test(e2e): Run nuxt-5 on Bun, Deno and Cloudflare ([#&#8203;26756](https://github.com/getsentry/sentry-javascript/pull/26756))
- test(e2e): Set up the nuxt-4 Cloudflare variant from `sentry.cloudflare.config.ts` ([#&#8203;26755](https://github.com/getsentry/sentry-javascript/pull/26755))
- test(e2e): Shard the nextjs-16 canary webpack job ([#&#8203;26853](https://github.com/getsentry/sentry-javascript/pull/26853))
- test(node): Check docker-compose healthchecks in a static test ([#&#8203;26884](https://github.com/getsentry/sentry-javascript/pull/26884))
- test(solid): Check sentryVitePlugin with the Solid 2 server build ([#&#8203;26789](https://github.com/getsentry/sentry-javascript/pull/26789))

</details>

Work in this release was contributed by [@&#8203;pranav514](https://github.com/pranav514). Thank you for your contribution!

### [`v11.17.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#11170)

[Compare Source](https://github.com/getsentry/sentry-javascript/compare/11.16.0...11.17.0)

##### Important Changes

- **feat(browser): Report LCP and INP subparts on web vital spans ([#&#8203;25914](https://github.com/getsentry/sentry-javascript/pull/25914))**

  LCP spans now carry `browser.web_vital.lcp.resource_load_delay`, `browser.web_vital.lcp.resource_load_duration` and `browser.web_vital.lcp.element_render_delay`. INP spans now carry `browser.web_vital.inp.input_delay`, `browser.web_vital.inp.processing_duration` and `browser.web_vital.inp.presentation_delay`. This shows which phase made an LCP or INP slow.

- **feat(core): Gate URL fragments behind `urlQueryParams` ([#&#8203;26753](https://github.com/getsentry/sentry-javascript/pull/26753))**

  The `urlQueryParams` option now also applies to URL fragments, since OAuth redirects and hash routing can put tokens there. `key=value` pairs in a fragment are filtered like query params, and the fragment is dropped when `urlQueryParams` is off. This covers `url.full`, `url.fragment`, `request.url` and breadcrumbs. Plain anchors and hash route paths (`#details`, `#/settings`) are kept as-is.

- **feat(core): Enrich MCP SDK spans instead of duplicating them ([#&#8203;26309](https://github.com/getsentry/sentry-javascript/pull/26309))**

  When the MCP SDK (`@modelcontextprotocol/server`) starts its own OpenTelemetry span for an MCP message and that span reaches Sentry, Sentry now adds its MCP attributes to that span instead of starting a second one. This span is a child of the surrounding span, such as `http.server`, not its own transaction. Without the MCP SDK's OpenTelemetry tracing, nothing changes.

- **feat(node): Add ClickHouse instrumentation ([#&#8203;26211](https://github.com/getsentry/sentry-javascript/pull/26211))**

  The new `clickhouseIntegration` creates database spans for `@clickhouse/client` and `@clickhouse/client-web`. It is exported from `@sentry/node`, `@sentry/cloudflare` and the other server SDKs.

- **feat(react-router, remix): Support `sourcemaps.upload`, `injectDebugIds` and `delete`**

  `@sentry/react-router` and `@sentry/remix` now accept the `sourcemaps.upload`, `sourcemaps.injectDebugIds` and `sourcemaps.delete` options. In React Router, source maps you turned on yourself are no longer deleted unless you set `delete: true`, and `release.create: false` is now respected.

  Related PRs: [#&#8203;26607](https://github.com/getsentry/sentry-javascript/pull/26607), [#&#8203;26332](https://github.com/getsentry/sentry-javascript/pull/26332)

##### Other Changes

- feat(core): Add sentry.kind, url.path and url.scheme to fetch and XHR spans ([#&#8203;26638](https://github.com/getsentry/sentry-javascript/pull/26638))
- feat(core): Record integration options in `defineIntegration` ([#&#8203;26779](https://github.com/getsentry/sentry-javascript/pull/26779))
- feat(core): Report user-set integrations and their options in SDK config ([#&#8203;26708](https://github.com/getsentry/sentry-javascript/pull/26708))
- feat(deno): Align deno with node & run integration suites with [@&#8203;sentry/deno](https://github.com/sentry/deno) ([#&#8203;26595](https://github.com/getsentry/sentry-javascript/pull/26595))
- feat(nitro): Add `@sentry/nitro/import` entry ([#&#8203;26757](https://github.com/getsentry/sentry-javascript/pull/26757))
- feat(server-utils): Add onSpanStart/onSpanEnd hooks to the LangChain and LangGraph integrations ([#&#8203;26629](https://github.com/getsentry/sentry-javascript/pull/26629))
- feat(server-utils): Skip Fastify hook spans on unsampled requests ([#&#8203;26711](https://github.com/getsentry/sentry-javascript/pull/26711))
- feat(solid): Support Solid 2 on Cloudflare Workers ([#&#8203;26741](https://github.com/getsentry/sentry-javascript/pull/26741))
- fix(astro): Only inject the server release in builds ([#&#8203;26725](https://github.com/getsentry/sentry-javascript/pull/26725))
- fix(bundler-plugins): Fall back to local git history when setting commits ([#&#8203;26760](https://github.com/getsentry/sentry-javascript/pull/26760))
- fix(bundler-plugins): Honor release.vcsRemote when associating commits ([#&#8203;26748](https://github.com/getsentry/sentry-javascript/pull/26748))
- fix(cloudflare): Do not load a second copy of [@&#8203;sentry/core](https://github.com/sentry/core) in Workers ([#&#8203;26568](https://github.com/getsentry/sentry-javascript/pull/26568))
- fix(core): Create DSC locally when receiving an incoming trace without DSC ([#&#8203;25934](https://github.com/getsentry/sentry-javascript/pull/25934))
- fix(core): Exclude dist from SDK configuration reports ([#&#8203;26702](https://github.com/getsentry/sentry-javascript/pull/26702))
- fix(core): Exclude DSN from SDK configuration reports ([#&#8203;26677](https://github.com/getsentry/sentry-javascript/pull/26677))
- fix(core): Exclude release from SDK configuration reports ([#&#8203;26701](https://github.com/getsentry/sentry-javascript/pull/26701))
- fix(effect): Stop bundling all of Effect with the error reporter ([#&#8203;26730](https://github.com/getsentry/sentry-javascript/pull/26730))
- fix(react): Change resetError to a function type property ([#&#8203;26717](https://github.com/getsentry/sentry-javascript/pull/26717))
- fix(replay): Do not report dead clicks after a bfcache restore ([#&#8203;26704](https://github.com/getsentry/sentry-javascript/pull/26704))
- fix(server-utils): Keep pi-durable 1.6 runs from faulting ([#&#8203;26718](https://github.com/getsentry/sentry-javascript/pull/26718))
- fix(server-utils): Read Express mount paths from the router 2.3 layer ([#&#8203;26729](https://github.com/getsentry/sentry-javascript/pull/26729))
- fix(server-utils): Trace pi-durable tool calls made by other tools ([#&#8203;26719](https://github.com/getsentry/sentry-javascript/pull/26719))
- ref(core): Make isClientClosed and warnIfClientIsActive public, drop getActiveClient ([#&#8203;26745](https://github.com/getsentry/sentry-javascript/pull/26745))

<details>
  <summary> <strong>Internal Changes</strong> </summary>

- chore(deps): Bump `@sentry/conventions` to 0.35.0 ([#&#8203;26721](https://github.com/getsentry/sentry-javascript/pull/26721))
- chore(size-limit): Add [@&#8203;sentry/effect](https://github.com/sentry/effect) entries ([#&#8203;26716](https://github.com/getsentry/sentry-javascript/pull/26716))
- ci: Remove the Validate PR workflow ([#&#8203;26722](https://github.com/getsentry/sentry-javascript/pull/26722))
- perf(ci): Move Bun canary integration tests to nightly CI ([#&#8203;26737](https://github.com/getsentry/sentry-javascript/pull/26737))
- perf(ci): Reuse integration dependency installs within test workers ([#&#8203;26720](https://github.com/getsentry/sentry-javascript/pull/26720))
- perf(ci): Run focused tests for Next.js release injection ([#&#8203;26735](https://github.com/getsentry/sentry-javascript/pull/26735))
- perf(ci): Shard Next.js development E2E tests ([#&#8203;26728](https://github.com/getsentry/sentry-javascript/pull/26728))
- perf(ci): Split React Router lazy-route E2E tests ([#&#8203;26769](https://github.com/getsentry/sentry-javascript/pull/26769))
- perf(ci): Use four workers for Nuxt E2E tests ([#&#8203;26765](https://github.com/getsentry/sentry-javascript/pull/26765))
- perf(ci): Use four workers for React Router E2E tests ([#&#8203;26772](https://github.com/getsentry/sentry-javascript/pull/26772))
- perf(ci): Use four workers for SvelteKit E2E tests ([#&#8203;26770](https://github.com/getsentry/sentry-javascript/pull/26770))
- test(browser-integration-tests): Fix flaky replay errorsInSession and bfcache tests ([#&#8203;26750](https://github.com/getsentry/sentry-javascript/pull/26750))
- test(deno): Remove orchestrion suites that the Node suites cover ([#&#8203;26640](https://github.com/getsentry/sentry-javascript/pull/26640))
- test(deno): Run more Node suites on Deno with runtime-aware expectations ([#&#8203;26643](https://github.com/getsentry/sentry-javascript/pull/26643))
- test(e2e): Expect gen_ai message parts for image decisions in node-openai-decisions ([#&#8203;26752](https://github.com/getsentry/sentry-javascript/pull/26752))
- test(e2e): Run express-5 on Bun, Deno and Cloudflare ([#&#8203;26561](https://github.com/getsentry/sentry-javascript/pull/26561))
- test(e2e): Use a Workers AI model that still exists in cloudflare-workers-send-to-sentry ([#&#8203;26751](https://github.com/getsentry/sentry-javascript/pull/26751))
- test(hono): Check the SDK info of each entry in its real runtime ([#&#8203;26712](https://github.com/getsentry/sentry-javascript/pull/26712))
- test(nextjs): Split navigation E2E tests for better shard distribution ([#&#8203;26727](https://github.com/getsentry/sentry-javascript/pull/26727))
- test(node): Reuse filesystem integration test servers ([#&#8203;26492](https://github.com/getsentry/sentry-javascript/pull/26492))
- test(node): Reuse Hono, Hapi, Koa and Fastify test servers ([#&#8203;26491](https://github.com/getsentry/sentry-javascript/pull/26491))

</details>

Work in this release was contributed by [@&#8203;adityareddy-dev](https://github.com/adityareddy-dev), [@&#8203;wolfgang42](https://github.com/wolfgang42), and [@&#8203;JonasBa](https://github.com/JonasBa). Thank you for your contributions!

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

### [`v10.16.0`](https://github.com/eslint/eslint/releases/tag/v10.16.0)

[Compare Source](https://github.com/eslint/eslint/compare/v10.15.0...v10.16.0)

#### Features

- [`7fff57a`](https://github.com/eslint/eslint/commit/7fff57a48b472ca12981997cd57bbb381feb970c) feat: add suggestions to `no-new-native-nonconstructor` ([#&#8203;21576](https://github.com/eslint/eslint/issues/21576)) (Pixel)
- [`14e3533`](https://github.com/eslint/eslint/commit/14e35339d568f8ec86ca10f726fc1d8c1b9e5658) feat: suggest comparing with both `null` and `undefined` in `eqeqeq` ([#&#8203;21577](https://github.com/eslint/eslint/issues/21577)) (Pixel)
- [`0e2a431`](https://github.com/eslint/eslint/commit/0e2a43144ede45e690732110462ee196b25c46e6) feat: handle `TSImportEqualsDeclaration` type imports in `no-shadow` ([#&#8203;21564](https://github.com/eslint/eslint/issues/21564)) (Lê Văn Xuân Hoàn)
- [`a6b2c6d`](https://github.com/eslint/eslint/commit/a6b2c6d5c16fe30075f40838e0ef0f9cb34d9f38) feat: add suggestions to `no-eq-null` ([#&#8203;21512](https://github.com/eslint/eslint/issues/21512)) (Pixel)

#### Bug Fixes

- [`0b43c2d`](https://github.com/eslint/eslint/commit/0b43c2dcf9081cd43c3924255c5b461c34dfc5c7) fix: update dependency [@&#8203;eslint/config-array](https://github.com/eslint/config-array) to ^0.23.7 ([#&#8203;21598](https://github.com/eslint/eslint/issues/21598)) (renovate\[bot])
- [`f692882`](https://github.com/eslint/eslint/commit/f6928820463d65d48ee09ada432e367f2acd700b) fix: handle trailing commas in no-unused-vars suggestions ([#&#8203;21570](https://github.com/eslint/eslint/issues/21570)) (Lê Văn Xuân Hoàn)
- [`622db83`](https://github.com/eslint/eslint/commit/622db83a9f9405141a42b7e4e734648cf6e62ec1) fix: add `ESLint.CalculatedConfig` type for `calculateConfigForFile()` ([#&#8203;21483](https://github.com/eslint/eslint/issues/21483)) (Pixel)
- [`0d401e5`](https://github.com/eslint/eslint/commit/0d401e51592f321cbab315a1ed1e9cfeddf17a1f) fix: handle heritage and qualified types in `no-use-before-define` ([#&#8203;21536](https://github.com/eslint/eslint/issues/21536)) (Lê Văn Xuân Hoàn)
- [`b377b08`](https://github.com/eslint/eslint/commit/b377b08f95646ac450551a5b73486ab95b9b09cf) fix: handle circular references when formatting config errors ([#&#8203;21569](https://github.com/eslint/eslint/issues/21569)) (Lê Văn Xuân Hoàn)
- [`4820790`](https://github.com/eslint/eslint/commit/48207902fccd37450823b8fd07736d84449ec8e7) fix: handle TS assertions on callees in `no-invalid-this` ([#&#8203;21540](https://github.com/eslint/eslint/issues/21540)) (Nitin Kumar)
- [`9fe69d8`](https://github.com/eslint/eslint/commit/9fe69d886fbecd2dc41d2a77f5553154660cb231) fix: skip type parameters in `getOpeningParenOfParams` ([#&#8203;21531](https://github.com/eslint/eslint/issues/21531)) (Lê Văn Xuân Hoàn)

#### Documentation

- [`1429546`](https://github.com/eslint/eslint/commit/1429546afcaae2321cc47df90ba7024958c2d46b) docs: fix typo in Node.js API documentation ([#&#8203;21594](https://github.com/eslint/eslint/issues/21594)) (Pixel)
- [`85d4d49`](https://github.com/eslint/eslint/commit/85d4d49dad059435f4d497cfbf2360897902e67a) docs: Update README (GitHub Actions Bot)
- [`6942d2f`](https://github.com/eslint/eslint/commit/6942d2f326ec0271bf42ebf2d728e5a203b79397) docs: Add Project Leads description ([#&#8203;21559](https://github.com/eslint/eslint/issues/21559)) (Nicholas C. Zakas)
- [`4c76138`](https://github.com/eslint/eslint/commit/4c76138b507998dff639db8b4db65eac31296c0c) docs: Update README (GitHub Actions Bot)

#### Chores

- [`42c9929`](https://github.com/eslint/eslint/commit/42c99292ce3dc1e94c60a2eaa237fe1029351bc3) chore: update github/codeql-action action to v4.39.4 ([#&#8203;21597](https://github.com/eslint/eslint/issues/21597)) (renovate\[bot])
- [`079529c`](https://github.com/eslint/eslint/commit/079529c39f82b920ba0c39d875ffb067d573fc0e) test: cover `SourceCode#getLoc()` and `getRange()` ([#&#8203;21595](https://github.com/eslint/eslint/issues/21595)) (electrohyun)
- [`65e8b2f`](https://github.com/eslint/eslint/commit/65e8b2fbb0bbf0d46c699d4c427aafda3de2ee0a) chore: remove obsolete markdownlint directives ([#&#8203;21588](https://github.com/eslint/eslint/issues/21588)) (lumir)
- [`9292b2f`](https://github.com/eslint/eslint/commit/9292b2f2fc42fb3955b4b56a9850837b7241bff6) chore: use spaces for YAML indentation in .editorconfig ([#&#8203;21591](https://github.com/eslint/eslint/issues/21591)) (electrohyun)
- [`5716b3f`](https://github.com/eslint/eslint/commit/5716b3fdc07a60f83b4812c4faa745dd05948367) chore: update ecosystem plugins ([#&#8203;21579](https://github.com/eslint/eslint/issues/21579)) (ESLint Bot)
- [`1501e8a`](https://github.com/eslint/eslint/commit/1501e8aca6aa36c913677ad2aec7bbc942da541c) ci: add `@eslint/shell` in ecosystem tests and types integration ([#&#8203;21516](https://github.com/eslint/eslint/issues/21516)) (lumir)
- [`e0148e3`](https://github.com/eslint/eslint/commit/e0148e30da6662318c5643f2230830af8407b2aa) chore: update dependency prettier to v3.10.1 ([#&#8203;21571](https://github.com/eslint/eslint/issues/21571)) (renovate\[bot])
- [`2102699`](https://github.com/eslint/eslint/commit/21026992e3520869b31ca4500905665942bb2cf0) chore: update dependency prettier to v3.10.0 ([#&#8203;21567](https://github.com/eslint/eslint/issues/21567)) (renovate\[bot])
- [`494f4e8`](https://github.com/eslint/eslint/commit/494f4e8f4b5f3579db2d4c01a3e61607888d7084) chore: update ecosystem plugins ([#&#8203;21566](https://github.com/eslint/eslint/issues/21566)) (ESLint Bot)
- [`97efadd`](https://github.com/eslint/eslint/commit/97efadd5eff8e3eb673f8746f7bb3ba2f3941251) ci: bump peter-evans/create-pull-request from 8.1.1 to 8.1.3 ([#&#8203;21551](https://github.com/eslint/eslint/issues/21551)) (dependabot\[bot])

</details>

<details>
<summary>prettier/eslint-config-prettier (eslint-config-prettier)</summary>

### [`v10.1.9`](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#1019)

[Compare Source](https://github.com/prettier/eslint-config-prettier/compare/v10.1.8...v10.1.9)

##### Patch Changes

- [#&#8203;382](https://github.com/prettier/eslint-config-prettier/pull/382) [`976eede`](https://github.com/prettier/eslint-config-prettier/commit/976eede6260db6b3c674813f3b87db6010c50daf) Thanks [@&#8203;CEXpp](https://github.com/CEXpp)! - Disable `@stylistic/list-style` because it conflicts with Prettier.

</details>

<details>
<summary>ota-meshi/eslint-plugin-astro (eslint-plugin-astro)</summary>

### [`v3.2.3`](https://github.com/ota-meshi/eslint-plugin-astro/blob/HEAD/CHANGELOG.md#323)

[Compare Source](https://github.com/ota-meshi/eslint-plugin-astro/compare/v3.2.2...v3.2.3)

##### Patch Changes

- [#&#8203;658](https://github.com/ota-meshi/eslint-plugin-astro/pull/658) [`17e6378`](https://github.com/ota-meshi/eslint-plugin-astro/commit/17e6378f7dcf6b2d9039e4fd85c3b4511f659780) Thanks [@&#8203;bardrop](https://github.com/bardrop)! - Fix `astro/prefer-object-class-list` autofix dropping the outer condition of nested ternaries.

### [`v3.2.2`](https://github.com/ota-meshi/eslint-plugin-astro/blob/HEAD/CHANGELOG.md#322)

[Compare Source](https://github.com/ota-meshi/eslint-plugin-astro/compare/v3.2.1...v3.2.2)

##### Patch Changes

- [#&#8203;654](https://github.com/ota-meshi/eslint-plugin-astro/pull/654) [`c4fdb84`](https://github.com/ota-meshi/eslint-plugin-astro/commit/c4fdb8456a56a1ff87bad352c575a340ace7af59) Thanks [@&#8203;bardrop](https://github.com/bardrop)! - Fix `astro/no-unused-css-selector` skipping indented `<style lang="sass">` blocks with sass 1.106.0 and later.

</details>

<details>
<summary>pnpm/pnpm (pnpm)</summary>

### [`v12.23.0`](https://github.com/pnpm/pnpm/releases/tag/v12.23.0): pnpm 12.23

[Compare Source](https://github.com/pnpm/pnpm/compare/v12.22.0...v12.23.0)

This release adds `pnpm edit`, `pnpm catalog migrate`, and `pnpm link --hard`, and moves deprecation warnings into the install summary. Platform variants are removed, so packages that publish them need to move to `optionalDependencies`. It also carries security fixes: pnpm no longer reads `otp` from config files, and it sends registry credentials only over HTTPS.

##### Minor Changes

##### Packing and publishing

- Removed platform variants. A package version has one archive again.

  pnpm no longer reads `publishConfig.variants` or the `variant` field of `package.json`. `pnpm pack --variant` and the `--upload-variant`, `--variant-integrity` and `--no-variants` options of `pnpm publish` are gone. pnpr no longer accepts variant archives with a version or serves them at `<name>@<version>/variants/<tag>`.

  To ship builds for several platforms, publish each as its own package and list them in `optionalDependencies`. A frozen install of a lockfile that records the variants of a registry package fails with `ERR_PNPM_BROKEN_LOCKFILE`. Run `pnpm install` to resolve the lockfile again.

- `pnpm pack` and `pnpm publish` now fail if a package that is not private lists a private workspace package in `dependencies`. A private package is never published, so the published package could not be installed. `devDependencies`, `optionalDependencies`, `peerDependencies`, and bundled dependencies are still allowed [#&#8203;2321](https://github.com/pnpm/pnpm/issues/2321).

- `pnpm publish` now supports `--new-version <version>`, which sets the version in `package.json` before publishing. With `--recursive`, every selected workspace package is set to the new version [#&#8203;2168](https://github.com/pnpm/pnpm/issues/2168).

- `pnpm pack --json` now reports the `package.json` that goes into the tarball, with `publishConfig` and the other publish-time changes applied. Run `pnpm pack --dry-run --json` to preview it without writing a tarball. A dry run still runs `prepack` and `prepare`, unless `--ignore-scripts` is passed.

- `pnpm pack` and `pnpm publish` now add a workspace-root `COPYING` file to a workspace package that has no license file. A `COPYING` file at the package root now counts as the package's license, so the workspace-root `LICENSE` is no longer added next to it.

- Added the `versioning.includePrivatePackages` setting. Set it to `false` to leave private packages out of `pnpm change` [#&#8203;13813](https://github.com/pnpm/pnpm/issues/13813).

##### Managing dependencies

- Added the `pnpm edit` command to open an installed package directory in an editor.

- Added `pnpm catalog migrate`, which moves dependency specifiers into the default catalog and replaces them in the workspace projects' `package.json` files with `catalog:`. A dependency moves only when every project declares it with the same specifier. The command lists the dependencies it leaves unchanged [#&#8203;7072](https://github.com/pnpm/pnpm/issues/7072).

- Added a `--hard` option to `pnpm link`. With `--hard`, pnpm saves the linked package with the `file:` protocol, so its files are hard linked into `node_modules` and its dependencies and peer dependencies resolve from your project. `pnpm unlink` removes these links too [#&#8203;9895](https://github.com/pnpm/pnpm/issues/9895).

- `pnpm remove` now accepts glob patterns and `!` exclusions in dependency selectors, such as `pnpm remove "eslint-*" "!eslint-plugin-import"` [#&#8203;13546](https://github.com/pnpm/pnpm/issues/13546).

- When pnpm updates a `package.json5`, it now changes only the values that changed. Comments, quotes, number formats, and layout elsewhere in the file stay as written. New keys and strings use the quote style of the file.

- `nodeLinker` accepts object settings for isolated and hoisted installs. Linker-specific hoisting options can be configured alongside the selected linker.

##### Updating dependencies

- `pnpm update --latest <pkg>` now moves the override that pins the named dependency [#&#8203;8701](https://github.com/pnpm/pnpm/issues/8701). `pnpm update --interactive --latest` does the same for every selected dependency. An override keeps its own range shape: a pin on an exact version lands on the new exact version, and `^` stays `^`. When pnpm cannot update the governing override automatically, the update prints a warning naming it.

- `pnpm update` now accepts `--tag <tag>`. The flag updates the matched dependencies to the version behind the given dist-tag and rewrites the ranges in `package.json`, the way `--latest` updates to the `latest` tag. It also works with `--interactive` and with global updates [#&#8203;3534](https://github.com/pnpm/pnpm/issues/3534).

- With `trustPolicy: no-downgrade`, `pnpm update --interactive` shows a `Trust` column with the trust evidence of each offered registry dependency [#&#8203;8889](https://github.com/pnpm/pnpm/issues/8889). The list also offers only versions the trust policy accepts, so it matches what the update installs.

- `pnpm update --interactive --long` shows the homepage or repository URL of each package. The URL column is hidden without `--long`.

##### Release age and build settings

- Added the `referenceTime` setting. `minimumReleaseAge` and `trustPolicyIgnoreAfter` count back from this RFC 3339 time, both when pnpm resolves versions and when it verifies a lockfile. Set it in `pnpm-workspace.yaml` or with `PNPM_CONFIG_REFERENCE_TIME`.

- Added the `--minimum-release-age` and `--minimum-release-age-exclude` options to `pnpm install`, `pnpm add`, `pnpm update`, and `pnpm dlx`. They set `minimumReleaseAge` and `minimumReleaseAgeExclude` for a single run without editing a config file [#&#8203;11224](https://github.com/pnpm/pnpm/issues/11224).

- `pnpm audit --fix` accepts `--no-add-release-age-exclusions`, which applies the fixes without adding entries to `minimumReleaseAgeExclude`.

- `--allow-build` now accepts a comma-separated list of packages, so `pnpm add foo bar --allow-build=foo,bar` is the same as passing `--allow-build=foo --allow-build=bar` [#&#8203;9560](https://github.com/pnpm/pnpm/pull/9560).

##### Install output

- Deprecation warnings moved into the install summary and only name the packages the install added. A deprecated dependency added by the install is marked `deprecated` on its summary line, with the version that is not deprecated when there is one. Deprecated subdependencies the install added are listed right after the summary. Deprecated packages that were already installed are reported as one count, such as `3 deprecated packages are still installed`.

- In a workspace, the install summary now lists the direct dependency changes of every project, not only of the project pnpm runs in. Each change is listed once, followed by the projects that made it, unless only the current project did. A project's first install lists only deprecated or outdated dependencies and the ones the command added [#&#8203;6481](https://github.com/pnpm/pnpm/issues/6481).

- `pnpm install` now warns when an entry in `overrides` matches no dependency, in a single line such as `2 overrides matched no dependency: foo, parent>child`. Only the overrides declared in the workspace are checked. Overrides added by a config dependency or an `updateConfig` hook are not. Set `warnUnusedOverrides: false` to turn the warning off [#&#8203;10315](https://github.com/pnpm/pnpm/issues/10315).

- `pnpm install` now shows lockfile verification progress while the supply-chain check runs. The final pass or failure line reports how many entries were checked.

##### Setup and diagnostics

- `pnpm doctor` now checks the environment that lifecycle scripts run in. It lists the `node` executables on `PATH` and warns about broken ones. It reports the shell that runs scripts. A new check runs a package's executable from a script, both in a temporary project and in the current project. If that script fails, the report includes the error and, outside Windows, a trace of the executable's shim that shows how it looked up and started `node` [#&#8203;16308](https://github.com/pnpm/pnpm/issues/16308).

- `pnpm self-update`, `pnpm setup`, and the "Install method" check of `pnpm doctor` now warn when another `pnpm` on `PATH` would run in place of the one pnpm installed. The warning names that copy. If pnpm recognizes how it was installed (npm, Homebrew, Corepack, Volta, or Scoop), the warning also gives the command that removes it.

- Set `PNPM_CONFIG_HOME` to choose the directory containing `config.yaml` and `auth.ini`. Global configuration commands read and write files in this directory. A non-empty value takes precedence over `XDG_CONFIG_HOME` and the platform defaults.

- pnpm now provides a prebuilt binary for Linux on LoongArch (loong64) with glibc.

- A failed `devEngines.runtime` or `engines.runtime` check now reports the reason in its error code. A runtime that is not installed fails with `ERR_PNPM_RUNTIME_NOT_FOUND`. A runtime entry without a version range fails with `ERR_PNPM_MISSING_RUNTIME_VERSION_RANGE`, and one with an invalid range fails with `ERR_PNPM_INVALID_RUNTIME_VERSION_RANGE`. An installed version that does not satisfy the range still fails with `ERR_PNPM_BAD_RUNTIME_VERSION`.

- `pnpm view <pkg>` now prints the registry it read the metadata from at the end of the summary [#&#8203;11394](https://github.com/pnpm/pnpm/pull/11394).

##### Patch Changes

##### Security

- `otp` is no longer read from any config file. Pass `--otp` on the command line, or set `PNPM_CONFIG_OTP`. A `pnpm-workspace.yaml` or a global `config.yaml` that carries `otp` is ignored, with a warning naming those two channels. `pnpm config set otp` fails with `ERR_PNPM_CONFIG_SET_NOT_A_FILE_SETTING`.

  This closes a way to leak a secret. A repository could write `otp: ${NPM_TOKEN}` beside its own `registry:`, and `pnpm publish` sent that environment variable to the registry the same file named, in the `npm-otp` header of its first request [#&#8203;13542](https://github.com/pnpm/pnpm/issues/13542).

- pnpm now sends registry credentials only over HTTPS or loopback HTTP, both for tarball downloads and for requests to `pnprServer`. Tarball and package metadata requests respect registry credential paths on redirects. A failed tarball request can no longer pin its redirect destination in the lockfile.

- `pnpm install` now rejects local filesystem dependencies (`file:`, `link:`, and path-based `workspace:` specifiers) declared by non-local packages with `ERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED`. Relative `file:` dependencies inside a package's own archive and local dependencies configured by the workspace through `overrides`, `packageExtensions`, or `.pnpmfile.cjs` continue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.

- `pnpm install` and `pnpm install --frozen-lockfile` now enforce `blockExoticSubdeps` against entries in `pnpm-lock.yaml`. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even with `blockExoticSubdeps: true`.

- `pnpm install` with `pnprServer` now rejects registry-keyed lockfile entries whose resolution uses a non-registry source with `ERR_PNPM_RESOLUTION_SHAPE_MISMATCH`. The `pnpr` lockfile verification and resolution endpoints enforce the same check before accepting or caching a lockfile.

- `pnpm dlx`, `pnx`, and `pnpm create` now ignore local configuration in the working directory. This covers `.pnpmfile.cjs` hooks, proxy and TLS settings in the project `.npmrc`, and execution, layout, and resolution settings in a local `pnpm-workspace.yaml`, including `pnpmfile`, `globalPnpmfile`, `configDependencies`, `scriptShell`, `cacheDir`, `storeDir`, and `ignoreScripts`. Settings from the user's global `config.yaml`, such as `blockExoticSubdeps`, `cacheDir`, and `storeDir`, remain active.

- Global commands (`--global`, `-g`) no longer load `.pnpmfile.cjs`, `pnpm-workspace.yaml`, or `.npmrc` from the current working directory. `pnpm why -g` now inspects globally installed packages.

- `pnpm config get` refuses to print protected auth settings. `pnpm config list` hides TLS private keys and inline proxy credentials. `pnpm config set --global tokenHelper` writes to `auth.ini`, and setting a project-level `tokenHelper` fails.

  TLS file paths in `.npmrc` and `auth.ini` resolve relative to the file that declares them. Project `.npmrc` files skip TLS file paths containing environment variables.

- When the `pnpm` package downloads its native binary on first run, it now handles registry credentials the way pnpm does:

  - Credentials configured for a registry path, such as `//registry.example.com/org-a/npm/:_authToken`, are sent only to that path. They were sent to any path on the same host.
  - It reads the registry and credentials from the global `auth.ini`, where `pnpm login` writes them, and from the `_auth` setting of the global `config.yaml`.
  - A `${NPM_TOKEN?}` placeholder in `.npmrc` expands to the variable. It expanded to an empty value, so the download was sent without credentials.

- Matching a glob that repeats a wildcard, such as `+(*)z` in the workspace `packages` patterns, no longer hangs on long paths. The bundled picomatch is patched for a [security advisory](https://github.com/advisories/GHSA-fc5q-39xc-vjpf).

- `pnpm pack` and `pnpm publish` now reject `publishConfig.directory` values that use an absolute path or `..` segments outside the package directory.

- The `pnpm` binary no longer depends on `chrono`, which RustSec reports as unmaintained in RUSTSEC-2026-0543.

##### Installing packages

- `pnpm install` now adds a new workspace package that has no dependencies to the `importers` of `pnpm-lock.yaml` [#&#8203;18189](https://github.com/pnpm/pnpm/issues/18189).

- With `enableGlobalVirtualStore` on, `require.extensions` hooks run again for `require()` calls from a module compiled from a string, such as the module Next.js uses to load `next.config.ts`. A required `.ts` file skipped the registered TypeScript hook. A required `.json` file was parsed as JavaScript [#&#8203;18261](https://github.com/pnpm/pnpm/issues/18261).

- On Windows, when the project is on a network share, `pnpm install` now links dependencies in `node_modules` with the kind of link that can be opened on that share. It tries a junction first and a symlink second. If neither can be opened, the install fails with advice.

- On Windows, concurrent installs that link the same dependency no longer leave an `.ignored_<name>` entry next to the link in the global virtual store.

- `pnpm install` now fails with `ERR_PNPM_UNSUPPORTED_PROTOCOL` when a `file:` dependency that is not a workspace project uses a `catalog:` specifier. Injected workspace projects still resolve their `catalog:` dependencies.

- A `link:` or relative-path dependency of a local directory dependency now resolves from that directory. In any other package, such as a local tarball, it resolves from the lockfile directory. Both used to resolve from the importing project's directory [pnpm/tasks#319](https://github.com/pnpm/tasks/issues/319).

  Two workspace projects that declare the same injected relative-path dependency, such as `../child`, no longer share the directory the first one resolved.

- `pnpm install` now links a workspace package for a `workspace:` range that combines `^`, `~`, or `*` with other ranges, such as `workspace:^ || ^2.0.0`.

- Fixed `pnpm install` keeping a runtime binary for the previous platform after a change to `supportedArchitectures` with the global virtual store disabled.

- The `nodeVersion` setting no longer changes the global virtual store directory names or the side-effects cache keys. These follow the Node.js runtime that pnpm installs for the project, then the `node` on `PATH`. `pnpm licenses` and `pnpm store status` now find packages that an install with `nodeVersion` placed in the global virtual store.

- Fixed package maps resolving workspace and linked packages to the wrong directory when a path contains `#`, `?`, or `%`.

- `pnpm install` and `pnpm peers check` no longer report a `catalog:` peer of an injected workspace package as unmet when the installed version matches the catalog entry [#&#8203;10279](https://github.com/pnpm/pnpm/issues/10279).

- The peer dependency check now reads the version of an injected workspace package from its `package.json`. `pnpm install` with `strictPeerDependencies: true` and `pnpm peers check` no longer report such a peer as unmet with a `file:` version.

- With `sharedWorkspaceLockfile: false`, `pnpm install` now reports missing peers of linked workspace packages, as `pnpm peers check` does.

- `peerDependencyRules.allowedVersions` now accepts a parent version range that contains `>`, such as `"foo@>=1.0.0>bar": "1"`.

- Fixed `nodeLinker: hoisted` installs in a workspace where the directory of one project is inside the directory of another. A dependency of the inner project could resolve to the version in the outer project's `node_modules`. pnpm now keeps the inner project's dependency in its own `node_modules` when the outer project holds another version.

- With `nodeLinker: hoisted`, pnpm now finds the agent skills of a dependency whose directory is shared with another peer variant of the same package version.

- `pnpm install` with `pnprServer` set now handles more workspace settings:

  - It applies `injectWorkspacePackages`, `dedupeInjectedDeps`, `ignoredOptionalDependencies`, and `dependenciesMeta`. Projects that use them no longer fail with `ERR_PNPM_OUTDATED_LOCKFILE` or `ERR_PNPM_LOCKFILE_CONFIG_MISMATCH`.
  - `pnpm install --update-checksums` refreshes the integrity checksums in the lockfile.
  - It enforces `minimumReleaseAgeStrict` and adds fallback versions to `minimumReleaseAgeExclude` when strict mode is off.
  - It resolves locally when the project declares `file:`, `link:`, or local path dependencies, or when `blockExoticSubdeps` is `false`. `pnpr` also rejects local filesystem dependency specifiers on `/-/pnpr/v0/resolve`.

- When an overrides entry requests a version that does not exist on the registry, `pnpm install` now names that override entry in the error. If the entry's selector has a version range, such as `foo@^1`, the error also shows the latest published version in that range.

- `pnpm add` run from a workspace package directory that has no `package.json` yet now suggests creating one with `pnpm init` [#&#8203;11345](https://github.com/pnpm/pnpm/issues/11345).

- The install summary now shows "(X is available)" after a direct dependency whose `latest` version on the registry is newer than the one installed. The note appears when the install resolved that dependency against registry metadata.

- Approving the `minimumReleaseAge` prompt no longer reprints the list of packages it just showed. pnpm now confirms with one line that says how many entries it added to `minimumReleaseAge…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand SentryTracingInterceptor to ws context

3 participants