Releases: uNetworking/uWebSockets.js
v19.0.0
v18.14.0
v18.13.0
v18.12.0
v18.11.0
Apple Silicon confirmed working
ARM64 ("Apple Silicon") binaries confirmed to be working on (native) Node.js 15 under macOS Big Sur. Thanks to the excellent GitHub Actions, we could provide native support for this new platform on day 1, without ever needing to buy any Apple hardware. That's a win for the environment, as buying new crap you don't need is a bad habit.
- Fixes package.json version mismatch of previous release
v18.10.0
Improved argument checking
There has been a few cases where the library would segfault on invalid arguments passed (wrong type, invalid number of arguments, etc). This situation has been improved with better checks and explicit exceptions. There are still cases that needs better checking but the most common cases have been fixed.
New exceptions include "Passed callback is not a function." and "Function requires at least X arguments.".
v18.9.0
ARM64 macOS 11 ("Apple Silicon")
It is now possible to successfully build binaries for ARM64 macOS using GitHub Actions, and this is exactly what this release does. These binaries are entirely untested since, well, nobody has an ARM64 Mac and I don't think Node.js runs on it yet. In any case - this is good preparation for the future.
- It should mean no difference to Intel macOS users unless something has regressed - please report any issue with this release regarding macOS.
- If you happen to have an ARM64 Mac; please test this if you can!
v18.8.0
Node.js 15
Binaries are now built for every Node.js release from 10 up to 15. There is still no support for "Apple Silicon" (ARM64) since GitHub Actions cannot build for it, yet. That support will come in the future. Some of these old binaries will (probably) be culled in future releases to shrink the size of an install.
v18.7.0
Multipart & URI query parsing, proper WorkerThreads
- Adds a multipart parser,
uWS.getParts(body, contentType)
that parses at least 160x faster thanparse-multipart
given 120kb input. - Adds
req.getQuery(key)
for fetching the URI decoded URI query. Executes 400x faster than decodeURIComponent, so make sure you use this whenever you can. - Fixes graceful shutdown of WorkerThreads - no longer will the process fail on libuv assertions when exiting cleanly from a worker thread.
- Bumped ABI required on macOS - you'll need macOS Mojave or newer from now on.
- Fixed a pedantic CodeQL alert - we are ranked flawless A+ now.
- Updates to latest uWS.