Skip to content

ref(core)!: Remove deprecated patchExpressModule(options) signature - #23175

Merged
nicohrubec merged 1 commit into
developfrom
nh/remove-deprecated-patchexpressmoduleoptions-signature
Aug 10, 2026
Merged

nicohrubec merged 1 commit into
developfrom
nh/remove-deprecated-patchexpressmoduleoptions-signature

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Removes the deprecated single-argument patchExpressModule(options) signature in favour of patchExpressModule(moduleExports, getOptions). Already documented in the v11 migration guide.

Fixes #22361

Remove the legacy single-argument `patchExpressModule(options)` overload
and its deprecation handling. Callers must use
`patchExpressModule(moduleExports, getOptions)`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.35 kB - -
@sentry/browser - with treeshaking flags 28.52 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.85 kB - -
@sentry/browser (incl. Tracing) 49.1 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 49.13 kB - -
@sentry/browser (incl. Tracing, Profiling) 53.9 kB - -
@sentry/browser (incl. Tracing, Replay) 88.45 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.82 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 93.15 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.84 kB - -
@sentry/browser (incl. Feedback) 47.69 kB - -
@sentry/browser (incl. sendFeedback) 35.18 kB - -
@sentry/browser (incl. FeedbackAsync) 40.33 kB - -
@sentry/browser (incl. Metrics) 31.43 kB - -
@sentry/browser (incl. Logs) 31.66 kB - -
@sentry/browser (incl. Metrics & Logs) 32.34 kB - -
@sentry/react 32.14 kB - -
@sentry/react (incl. Tracing) 51.29 kB - -
@sentry/vue 35.45 kB - -
@sentry/vue (incl. Tracing) 51.07 kB - -
@sentry/svelte 30.38 kB - -
CDN Bundle 32.32 kB - -
CDN Bundle (incl. Tracing) 49.65 kB - -
CDN Bundle (incl. Logs, Metrics) 33.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.94 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 87.17 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.45 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 93.05 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.3 kB - -
CDN Bundle - uncompressed 95.83 kB - -
CDN Bundle (incl. Tracing) - uncompressed 148.93 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.42 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.91 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.34 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 268.18 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.15 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 281.88 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.83 kB - -
@sentry/nextjs (client) 53.84 kB - -
@sentry/sveltekit (client) 49.48 kB - -
@sentry/core/server 65.72 kB -0.14% -86 B 🔽
@sentry/core/browser 52.04 kB - -
@sentry/node 119.48 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 83.46 kB +0.01% +1 B 🔺
@sentry/aws-serverless 92.76 kB - -
@sentry/cloudflare (withSentry) - minified 214.91 kB - -
@sentry/cloudflare (withSentry) 530.62 kB - -

View base workflow run

@nicohrubec
nicohrubec marked this pull request as ready for review August 10, 2026 07:25
@nicohrubec
nicohrubec merged commit 8af5293 into develop Aug 10, 2026
530 of 532 checks passed
@nicohrubec
nicohrubec deleted the nh/remove-deprecated-patchexpressmoduleoptions-signature branch August 10, 2026 07:45
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.

Remove deprecated patchExpressModule(options) signature

2 participants