ws
8.23.0 · 12 Nov 2026MIT425.8M / weekRepositorynpmAtom feed
Upgrading ws From 0.4.27 to 8.23.0
149 releases in betweennotes for 131
Counted from 131 of 149 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking8.19.0
- Breaking8.17.0
- Breaking8.15.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
Fixes 2 advisories affecting 0.4.27
- Remote Memory Disclosure in wslow · GHSA-2mhh-w6q8-5hxw
- DoS due to excessively large websocket message in wshigh · GHSA-6663-c963-2gqg
- 8.23.0
Fixed a remote memory exhaustion DoS vulnerability (ace7248f).
- 8.21.0
Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).
- 8.21.0
The vulnerability was responsibly disclosed and fixed by Nadav Magier.
- 8.17.1
Fixed a DoS vulnerability (#2231).
- 8.17.1
The vulnerability was reported by Ryan LaPointe in #2230.
- 7.4.6
Fixed a ReDoS vulnerability (00c425ec).
- 7.4.6
The vulnerability was responsibly disclosed along with a fix in private by
- 3.3.1
Fixed a DoS vulnerability (c4fe466).
- 3.3.1
The vulnerability has been privately reported by Nick Starke and
- 1.1.5
Fixed a DoS vulnerability (f8fdcd4).
Release by release
- Security
Fixed a remote memory exhaustion DoS vulnerability (ace7248f).
- New
Introduced the
maxPendingAutoPongsoption (ace7248f). - Fixed
- Fixed
- Security
- Fixed
The userinfo of the URL is now percent-decoded (#2352).
- Fixed
The
WebSocketconstructor no longer mutates http: or https:url.URLobjects (#2353).
- Fixed
- Fixed
The path of IPC URLs is no longer truncated at
:(#2344).
- Fixed
- New
Introduced the
protocolsoption (8b918b01). - Fixed
Calling
websocket.close()with invalid arguments no longer transitions the state toWebSocket.CLOSING(#2337).
- New
- Fixed
The server now correctly rejects permessage-deflate offers if the incoming
client_max_window_bitsparameter value is smaller than its configuredclientMaxWindowBits(e97a20ea).
- Fixed
- Fixed
Fixed a test for [CITGM] (2eb3be0b).
- Fixed
- Fixed
Empty fragments are now counted toward the limit (a2f4e7c0).
- Fixed
The default values of the
maxBufferedChunksandmaxFragmentsoptions have been reduced (f197ac65).
- Fixed
- Security
Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).
- Security
The vulnerability was responsibly disclosed and fixed by Nadav Magier.
- New
Introduced the
maxBufferedChunksandmaxFragmentsoptions (2b2abd45).
- Security
11 other lines we could not sort, mostly version bumps
- 8.22.1
[
http.websocketMask()] and [http.websocketUnmask()] are now used instead of thebufferutilvariants when available (2ab3d3e5). - 8.22.1
Sender.frame()no longer returns empty chunks (85319a72). - 8.17.0
The default value of the
allowSynchronousEventsoption has been changed totrue(#2221). - 8.15.1
The
allowMultipleEventsPerMicrotaskoption has been renamed toallowSynchronousEvents(4ed7fe58). - 8.14.0
At most one event per microtask is now emitted (#2160).
- 8.12.0
[
buffer.isUtf8()] is now used instead ofutf-8-validateif available (42d79f60). - 8.4.1
To improve performance, strings sent via
websocket.ping(),websocket.pong(), andwebsocket.send()are no longer converted toBuffers if the data does not need to be masked (#2000). - 1.1.4
Removed istanbul coverage folder from npm package (fac50ac).
- 1.0.0
Discontinued support for all node versions except for 0.12, 4.0 and 5.0. We should focus on the future and that will be Node 5 and ES6.
- 1.0.0
Removed the client code. It was simple wrapper that really doesn't belong in a full ledged node.js library. If you want browser support you could just conditionally import it the WebSocket server.
var WS = window.WebSocket || require('ws')
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.