Skip to content

Releases: websockets/ws

7.4.1

04 Dec 20:45
Compare
Choose a tag to compare

Bug fixes

  • Added a workaround for a double 'error' event bug in Node.js < 13 which
    caused an uncaught error during the WebSocket handshake (38d6ab3).

7.4.0

08 Nov 06:53
Compare
Choose a tag to compare

Features

  • The callback of WebSocketServer.prototype.handleUpgrade() now takes the
    client HTTP GET request as second argument (7d39f19).

Bug fixes

  • Read-only properties are now read-only (eabed8f).
  • The CONNECTING, OPEN, CLOSING, CLOSED, binaryType, bufferedAmount,
    extensions, onclose, onerror, onmessage, onopen, protocol,
    readyState, and url properties are now enumerable (2069e68).

7.3.1

05 Jul 05:30
Compare
Choose a tag to compare

Bug fixes

7.3.0

10 May 05:24
Compare
Choose a tag to compare

Features

  • WebSocket.prototype.addEventListener() now supports the once option (#1754).

7.2.5

25 Apr 10:51
Compare
Choose a tag to compare

Bug fixes

  • Fixed compatibility with Node.js master (651d662).

7.2.4

11 Apr 14:12
Compare
Choose a tag to compare

Bug fixes

7.2.3

09 Mar 17:17
Compare
Choose a tag to compare

Bug fixes

  • WebSocket#{p{i,o}ng,close}() now thow an error if the data to send is too
    large to fit in a control frame (e54f08d).

7.2.2

08 Mar 08:04
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue where calling webSocketStream.end() could cause the process
    to crash (9535702).
  • The connection is now closed if a non-masked frame is received on the server
    or a masked frame is received on the client (#1681).
  • The status code 1014 is now allowed to be used (#1682).

7.2.1

14 Dec 09:16
Compare
Choose a tag to compare

Bug fixes

  • Added bufferutil and utf-8-validate as peer dependencies (#1626).

7.2.0

19 Oct 14:35
Compare
Choose a tag to compare

Features

  • Added ability to specify the readableObjectMode option when using
    WebSocket.createWebSocketStream() (#1647).