Releases: uNetworking/uWebSockets.js
Releases · uNetworking/uWebSockets.js
v18.2.0
v18.1.0
Seamless PROXY Protocol v2
The HTTP parser will automatically pick up on the presence of such a proxy (HAProxy or the like); there's no runtime configuration needed.
Adds functions
- getRemoteAddressAsText()
- getProxiedRemoteAddress()
- getProxiedRemoteAddressAsText()
v18.0.0
Upgrade events
- Update to uWS v18.0.0; adding upgrade event:
- Removes req from open event (breaking change)
- Pass data from upgrade event to open event by calling res.upgrade with the user data object
- Adds Upgrade and UpgradeAsync examples showing these features.
- Updates old examples for compatibility.
- µWebSockets and µWebSockets.js now share the same major version number.
v17.6.0
v17.5.0
v17.4.0
v17.3.0
v17.2.0
EXPERIMENTAL_FASTCALL
Adds environment variable to avoid speeding tickets, your mileage may vary:
EXPERIMENTAL_FASTCALL=1 node app.js
Enable to dynamically revert to (somewhat broken) behavior prior to v17.1.0.
Do not use unless you can prove that you really have to; most users will not trigger the case where it would make a significant difference. But I'm not your mother and you may do whatever you want to 😉
v17.1.0
Speeding ticket
- Moving from vanilla V8 function calls to Node.js wrappers results in up to 25% performance loss, but is the only true solution to the various issues reported regarding process.nextTick and debugging.
- Updates uWS to v0.17.1
- Adds WebSocket.unsubscribeAll, WebSocket.ping