uWebSockets.js

μWebSockets for Node.js back-ends

APACHE-2.0 License

Downloads
255.8K
Stars
7.5K
Committers
42

Bot releases are visible (Hide)

uWebSockets.js - v18.4.0

Published by about 4 years ago

  • Updates uWS from v18.5.0 to v18.10.0.
  • Swaps from Integer to Number for communicating offset in streams, necessary for streams larger than 2GB.
  • Adds an experimental key/value store for efficient Worker Thread intercommunication.

See main repo for list of changes.

uWebSockets.js - v18.3.0

Published by over 4 years ago

SSL fix

Apparently SSL support was entirely non-functional in v18.2.0, as we had a minor unfixed compilation error slip through.

uWebSockets.js - v18.2.0

Published by over 4 years ago

  • Update to uWS v18.5.0
  • Update docs
uWebSockets.js - v18.1.0

Published by over 4 years ago

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()
uWebSockets.js - v18.0.0

Published by over 4 years ago

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.
uWebSockets.js - v17.6.0

Published by over 4 years ago

Update uWS to v0.17.5

uWebSockets.js - v17.5.0

Published by over 4 years ago

  • Brings latest fixes in uWS
  • Adds backpressure example
uWebSockets.js - v17.4.0

Published by over 4 years ago

Node.js 14

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

Published by over 4 years ago

Memory constrained compressors

  • Update uWS to v0.17.3
  • Adds memory constrained compressors
  • Adds ping/pong handlers
uWebSockets.js - v17.2.0

Published by over 4 years ago

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 😉

uWebSockets.js - v17.1.0

Published by over 4 years ago

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
uWebSockets.js - v17.0.0

Published by almost 5 years ago

  • Updates uWS to v0.17.0
  • Adds WebSocket.cork

See uWebSockets release for more info.

uWebSockets.js - v16.5.0

Published by almost 5 years ago

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.
uWebSockets.js - v16.4.0

Published by almost 5 years ago

  • Fixes timeout bug for http post
uWebSockets.js - v16.3.0

Published by almost 5 years ago

  • Solves reported OpenSSL issues regarding per thread error queue
  • Fixes TypeScript documentation regarding CompressOptions
uWebSockets.js - v16.2.0

Published by almost 5 years ago

Node.js 10, 11, 12, 13

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

Published by about 5 years ago

Pub/sub fixes

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

Published by about 5 years ago

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.
uWebSockets.js - v15.11.0

Published by over 5 years ago

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
uWebSockets.js - v15.10.0

Published by over 5 years ago

ARM64 builds

  • Building is now done with make or nmake without any arguments.
  • Build logic moved from hacky Makefile to standard C program.
  • AppVeyor will now build for both ARM64 and Intel x64.
  • Fixes to multiple SSLApps.
  • Updates µWS to v0.15.6.