v0.10.0
Important
This release updates the Node.js adapter to avoid doing any global patches by default.
As a result, in some use-cases like new Request(req), you might see an error like Cannot read private member #state....
You can explicitly opt-in to previous behavior like this:
import { patchGlobalRequest } from "srvx/node";
// Fix compatibility issues with Node.js Request
patchGlobalRequest();Please refer to the docs for more info.
🩹 Fixes
- types: Split HTTP1 and HTTP2 handler types (#154)
- node: Avoid patching global request by default (#155)