Skip to content

Releases: websockets/ws

8.8.0

09 Jun 17:21
Compare
Choose a tag to compare

Features

  • Added the WS_NO_BUFFER_UTIL and WS_NO_UTF_8_VALIDATE environment
    variables (becf237).

8.7.0

26 May 17:31
Compare
Choose a tag to compare

Features

  • Added the ability to inspect the invalid handshake requests and respond to
    them with a custom HTTP response. (6e5a5ce).

Bug fixes

  • The handshake is now aborted if the Upgrade header field value in the HTTP
    response is not a case-insensitive match for the value "websocket" (0fdcc0a).
  • The Authorization and Cookie headers are no longer sent when following an
    insecure redirect (wss: to ws:) to the same host (d68ba9e).

7.5.8

26 May 17:31
Compare
Choose a tag to compare

Bug fixes

8.6.0

01 May 19:08
Compare
Choose a tag to compare

Features

  • Added the ability to remove confidential headers on a per-redirect basis (#2030).

8.5.0

07 Feb 19:31
Compare
Choose a tag to compare

Features

  • Added the ability to use a custom WebSocket class on the server (#2007).

Bug fixes

  • When following redirects, the Authorization and Cookie headers are no
    longer sent if the redirect host is different from the original host (#2013).

7.5.7

07 Feb 19:39
Compare
Choose a tag to compare

Bug fixes

8.4.2

14 Jan 14:32
Compare
Choose a tag to compare

Bug fixes

  • Fixed a data framing issue introduced in version 8.4.1 (#2004).

8.4.1

13 Jan 20:04
Compare
Choose a tag to compare

Notable changes

  • 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.0

20 Dec 20:11
Compare
Choose a tag to compare

Features

  • Added ability to generate custom masking keys (#1990).

8.3.0

23 Nov 14:43
Compare
Choose a tag to compare

Features

  • Added ability to pause and resume a WebSocket (0a8c7a9).

Bug fixes

  • Fixed a bug that could prevent the connection from being closed cleanly when
    using the stream API (ed2b803).
  • When following redirects, an error is now emitted and not thrown if the
    redirect URL is invalid (#1980).