Releases: h3js/srvx
Releases · h3js/srvx
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)
❤️ Contributors
v0.9.8
🚀 Enhancements
🩹 Fixes
- node: Don't fire abort signal on normal request completion (#153)
❤️ Contributors
- Pooya Parsa (@pi0)
- Abdelrahman Awad (@logaretm)
- Alpheus (@alpheusmtx)
- David Citron (@dcitron)
v0.9.7
v0.9.6
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
🚀 Enhancements
fetchNodeHandlerandtoWebHandler(#125)- Improved
toNodeHandler/toFetchHandler(#130) - Implement
Symbol.hasInstancefor all super classes (529b11b)
🔥 Performance
🩹 Fixes
- node: Trigger abort signal when body read is done (#122)
- node, deno: Use flatten headers only for node (#129)
- node: Catch uncaught response stream error (#135)
- node: Lowercase req header keys when iterating (6adeb8e)
💅 Refactors
⚠️ Use ESM imports for node entry (#126)⚠️ Avoid splittingSet-Cookievalue (#127)- node:
⚠️ Reimplement fast headers based on raw headers (#133) - node:
⚠️ Hide some internals (e93b29c)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
- Hiroshi Ogawa (@hi-ogawa)
- Wei Wang (@onlywei)
- Manuel Schiller (@schiller-manuel)
