Skip to content

Releases: uNetworking/uWebSockets.js

v18.2.0

22 Jun 07:20
7b8b025
Compare
Choose a tag to compare
  • Update to uWS v18.5.0
  • Update docs

v18.1.0

08 Jun 13:43
Compare
Choose a tag to compare

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

05 Jun 16:00
Compare
Choose a tag to compare

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

20 May 17:22
Compare
Choose a tag to compare

Update uWS to v0.17.5

v17.5.0

18 May 17:50
cad0e64
Compare
Choose a tag to compare
  • Brings latest fixes in uWS
  • Adds backpressure example

v17.4.0

23 Apr 20:23
116a85f
Compare
Choose a tag to compare

Node.js 14

  • Update uWS to v0.17.4
  • Support for Node.js 10, 11, 12, 13 & 14

v17.3.0

01 Mar 00:47
f54d0b4
Compare
Choose a tag to compare

Memory constrained compressors

  • Update uWS to v0.17.3
  • Adds memory constrained compressors
  • Adds ping/pong handlers

v17.2.0

23 Feb 17:18
Compare
Choose a tag to compare

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

19 Jan 19:44
Compare
Choose a tag to compare

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

v17.0.0

10 Jan 18:36
Compare
Choose a tag to compare
  • Updates uWS to v0.17.0
  • Adds WebSocket.cork

See uWebSockets release for more info.