Skip to content

Releases: uNetworking/uWebSockets.js

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.

v16.5.0

21 Dec 22:22
Compare
Choose a tag to compare

WolfSSL, worker threads & cork

  • This change adds experimental WolfSSL support as alternative to Node.js's built-in OpenSSL. Contact me if you're interested, you'll need a WolfSSL license and a custom build.
  • It is now possible to scale multiple servers using Node.js worker threads, not only cluster. Example included.
  • res.experimental_cork has been renamed to cork and is now documented.
  • req.setYield was added and documented.

v16.4.0

19 Nov 18:52
Compare
Choose a tag to compare
  • Fixes timeout bug for http post

v16.3.0

18 Nov 18:55
Compare
Choose a tag to compare
  • Solves reported OpenSSL issues regarding per thread error queue
  • Fixes TypeScript documentation regarding CompressOptions

v16.2.0

08 Nov 13:16
Compare
Choose a tag to compare

Node.js 10, 11, 12, 13

  • Fixes (crash) bug when subscribing to same topic more than once per socket
  • Adds Node.js 13 support

v16.1.0

17 Oct 00:36
Compare
Choose a tag to compare

Pub/sub fixes

  • Adds App.publish for publishing to all websockets belonging to app
  • Fixes (crash) bug when publishing to topic with no subscribers

v16.0.0

09 Oct 18:41
Compare
Choose a tag to compare

Pub/sub & fuzzing

  • Updated to uWebSockets v0.16.0
    • New efficient MQTT-like pub/sub base support, optimized for latency and performance
    • Project is now continuously fuzzed by Google OSS-Fuzz under three sanitizers with a coverage of 80-90%
      • Big deal for security; most hardened release so far
  • Fixes some default WebSocket settings, defaults are now sane.

v15.11.0

09 Jun 09:42
e755288
Compare
Choose a tag to compare

Node.js 12

  • Binaries built for Node.js 10, 11 and 12.
  • Listen now takes options.
  • [Experimental] explicit corking of Http responses are now possible to boost async response performance.
  • Updated to uWS v0.15.7