Packages

ws

8.23.0 · 12 Nov 2026MIT425.8M / weekRepositorynpmAtom feed

Upgrading ws From 0.5.0 to 8.23.0

143 releases in betweennotes for 131

Other targets from 0.5.0Newest 0.x0.8.1Clears its 2 advisories1.1.1
  1. 0.5.0yours
  2. 0.6.0major
  3. 5 releases
  4. 0.7.0major
  5. 2 releases
  6. 0.8.0major
  7. 1 release
  8. 1.0.0major
  9. 1.0.1security
  10. 5 releases
  11. 1.1.5security
  12. 2.0.0major
  13. 10 releases
  14. 3.0.0major
  15. 3 releases
  16. 3.3.1security
  17. 2 releases
  18. 4.0.0major
  19. 1 release
  20. 5.0.0major
  21. 11 releases
  22. 6.0.0major
  23. 13 releases
  24. 7.0.0major
  25. 17 releases
  26. 7.4.6security
  27. 15 releases
  28. 8.0.0major
  29. 27 releases
  30. 8.17.1security
  31. 7 releases
  32. 8.21.0security
  33. 6 releases
  34. 8.23.0target
57+
changes to make
2
advisories fixed
59+
new
124+
fixes

Counted from 131 of 143 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.5.0

  • Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

    8.23.0
  • Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

    8.21.0
  • The vulnerability was responsibly disclosed and fixed by Nadav Magier.

    8.21.0
  • Fixed a DoS vulnerability (#2231).

    8.17.1
  • The vulnerability was reported by Ryan LaPointe in #2230.

    8.17.1
  • Fixed a ReDoS vulnerability (00c425ec).

    7.4.6
  • The vulnerability was responsibly disclosed along with a fix in private by

    7.4.6
  • Fixed a DoS vulnerability (c4fe466).

    3.3.1
  • The vulnerability has been privately reported by Nick Starke and

    3.3.1
  • Fixed a DoS vulnerability (f8fdcd4).

    1.1.5

Release by release

  1. 8.23.0

    Security fix12 Nov 20261 new · 8 fixes
    • Security

      Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

    • New

      Introduced the maxPendingAutoPongs option (ace7248f).

    • Fixed
    • Fixed
  2. 8.22.2

    8 Nov 20262 fixes
    • Fixed

      The userinfo of the URL is now percent-decoded (#2352).

    • Fixed

      The WebSocket constructor no longer mutates http: or https: url.URL objects (#2353).

  3. 8.22.1

    31 Oct 20261 fix
    • Fixed

      The path of IPC URLs is no longer truncated at : (#2344).

  4. 8.22.0

    26 Sep 20261 new · 1 fix
    • New

      Introduced the protocols option (8b918b01).

    • Fixed

      Calling websocket.close() with invalid arguments no longer transitions the state to WebSocket.CLOSING (#2337).

  5. 8.21.3

    7 Aug 20261 fix
    • Fixed

      The server now correctly rejects permessage-deflate offers if the incoming client_max_window_bits parameter value is smaller than its configured clientMaxWindowBits (e97a20ea).

  6. 8.21.2

    3 Aug 20261 fix
    • Fixed

      Fixed a test for [CITGM] (2eb3be0b).

  7. 8.21.1

    14 Jul 20262 fixes
    • Fixed

      Empty fragments are now counted toward the limit (a2f4e7c0).

    • Fixed

      The default values of the maxBufferedChunks and maxFragments options have been reduced (f197ac65).

  8. 8.21.0

    Security fix22 May 20261 new
    • Security

      Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

    • Security

      The vulnerability was responsibly disclosed and fixed by Nadav Magier.

    • New

      Introduced the maxBufferedChunks and maxFragments options (2b2abd45).

11 other lines we could not sort, mostly version bumps
  • [http.websocketMask()] and [http.websocketUnmask()] are now used instead of the bufferutil variants when available (2ab3d3e5).

    8.22.1
  • Sender.frame() no longer returns empty chunks (85319a72).

    8.22.1
  • The default value of the allowSynchronousEvents option has been changed to true (#2221).

    8.17.0
  • The allowMultipleEventsPerMicrotask option has been renamed to allowSynchronousEvents (4ed7fe58).

    8.15.1
  • At most one event per microtask is now emitted (#2160).

    8.14.0
  • [buffer.isUtf8()] is now used instead of utf-8-validate if available (42d79f60).

    8.12.0
  • To improve performance, strings sent via websocket.ping(), websocket.pong(), and websocket.send() are no longer converted to Buffers if the data does not need to be masked (#2000).

    8.4.1
  • Removed istanbul coverage folder from npm package (fac50ac).

    1.1.4
  • 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')

    1.0.0

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.