Skip to content

Releases: websockets/ws

6.1.2

17 Nov 20:07
Compare
Choose a tag to compare

Bug fixes

  • Restored compatibility with Node.js < 6.13.0 (26436e0).

6.1.1

17 Nov 07:10
Compare
Choose a tag to compare

Bug fixes

  • Queued messages to send are now discarded if the permessage-deflate is enabled
    and the socket closes prematurely (#1464, #1471).

6.1.0

05 Oct 06:50
Compare
Choose a tag to compare

Features

  • The WebSocket server now emits a 'close' event when the server
    closes (#1453).

6.0.0

21 Jul 13:34
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for Node.js 4 (d73885c).
  • Added a shim that throws an error when used if the package is bundled for the
    browser (#1345).
  • Added a maxPayload option on the client. Defaults to 100 MiB (#1402).
  • Dropped support for the memLevel and level options. Use
    zlibDeflateOptions instead. (80e2002).

5.2.2

11 Jul 19:51
Compare
Choose a tag to compare

Bug fixes

5.2.1

23 Jun 16:02
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug that could prevent buffered data from being processed under
    certain circumstances (6046a28).

5.2.0

21 May 19:16
Compare
Choose a tag to compare

Features

  • Added ability to specify custom headers when rejecting the handshake (#1379).

5.1.1

02 Apr 13:21
Compare
Choose a tag to compare

Bug fixes

5.1.0

19 Mar 17:24
Compare
Choose a tag to compare

Features

  • The address argument of the WebSocket constructor can now be a URL
    instance (#1329).
  • The options argument of the WebSocket constructor now accepts any TLS
    option that is also accepted by https.request() (#1332).

5.0.0

06 Mar 14:13
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for Node.js < 4.5.0 (#1313).
  • The connection is no longer closed if the server does not agree to any of
    the client's requested subprotocols (#1312).
  • net.Socket errors are no longer re-emitted (a4050db).

Features

  • Read backpressure is now properly handled when permessage-deflate is enabled
    (#1302).