GeezerVison is showing github.com — Common Server Options: create shared type · Issue #25570 · getsentry/sentry-javascript
Common Server Options: create shared type #25570
Description
Add ServerRequestOptions. Make each runtime options type extend it, with Omit for gaps. Add the BUGBOT rule. Type-only, no runtime behavior change.
For Node and Bun: ignoreRequestBody request type (Node, Bun node:http). Narrow the parameter to RequestOptions & HttpIncomingMessage. This is not a break: a tsc check showed that callbacks typed with RequestOptions, and untyped callbacks that read req.path, both still compile. Users get the real IncomingMessage fields. A comment marks the RequestOptions half as deprecated, for removal in v12. The as cast in packages/node/src/integrations/http/httpServerIntegration.ts:91 goes away.
Activity
linear-code commented on Oct 20, 2026
added 7 commits that reference this issue
on Oct 21, 2026This issue will close once commit b8ffd22 is merged into the 'develop' branch.b8ffd22 This issue will close once commit 80afcb3 is merged into the 'develop' branch.80afcb3 This issue will close once commit 32fc3b4 is merged into the 'develop' branch.32fc3b4 This issue will close once commit eeb2691 is merged into the 'develop' branch.eeb2691 This issue will close once commit 5f1c026 is merged into the 'develop' branch.5f1c026 This issue will close once commit 03f5ea4 is merged into the 'develop' branch.03f5ea4 This issue will close once commit 685d415 is merged into the 'develop' branch.685d415 added a commit that references this issue
on Oct 23, 2026This issue will close once commit bb32a5c is merged into the 'develop' branch.bb32a5c github-actions commented on Oct 28, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25579, which was included in the 11.10.0 release.
Metadata
Metadata
Development
No branches or pull requestsIssue actions