You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 commentedon Oct 20, 2026
JS-3968
ref(core): Add shared `ServerRequestOptions` type across runtimes
ref(core): Add shared `ServerRequestOptions` type across runtimes