Skip to content

@lpinca lpinca released this Jul 8, 2019 · 1 commit to master since this release

Features

  • Added utility to wrap a WebSocket in a Duplex stream (#1589).

Bug fixes

  • Reverted "[minor] Remove unneeded if statement" (dbacf58, #1591).
Assets 2

@lpinca lpinca released this Jun 17, 2019 · 8 commits to master since this release

Bug fixes

  • Added ability to disable sending the SNI extension (#1587).
Assets 2

@lpinca lpinca released this Apr 30, 2019 · 17 commits to master since this release

Breaking changes

  • Dropped support for Node.js 6 (1e6999b).
  • Dropped support for url.Url instances in the WebSocket constructor
    (692d7b4).
  • The behavior of WebSocket#{p{i,o}ng,send}() has changed when the
    readyState attribute is not OPEN (#1532)
    • If the readyState attribute is CONNECTING, an exception is thrown.
    • If the readyState attribute is CLOSING or CLOSED
      • The bufferedAmount attribute is increased by the length of the data
        argument in bytes.
      • If provided, the callback function is called with an error.
      • No exception is thrown even if the callback function is not provided.
Assets 2

@lpinca lpinca released this Mar 27, 2019 · 40 commits to master since this release

Bug fixes

  • Fixed a bug that, under certain circumstances, prevented the close timer from
    being set (aa1dcd5).
Assets 2

@lpinca lpinca released this Mar 6, 2019 · 54 commits to master since this release

Features

  • Added ability to follow redirects (#1490).

Bug fixes

  • The opening handshake is now aborted if the Sec-WebSocket-Key header field
    value is invalid (160af45).
Assets 2

@lpinca lpinca released this Feb 16, 2019 · 68 commits to master since this release

Bug fixes

  • Fixed an issue that caused the Host header to always include a port (#1510).
Assets 2

@lpinca lpinca released this Jan 24, 2019 · 76 commits to master since this release

Bug fixes

  • Fixed a bug that, under certain circumstances, prevented the close frame from
    being parsed (#1494).
Assets 2

@lpinca lpinca released this Nov 17, 2018 · 91 commits to master since this release

Bug fixes

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

@lpinca lpinca released this Nov 17, 2018 · 97 commits to master since this release

Bug fixes

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

@lpinca lpinca released this Oct 5, 2018 · 112 commits to master since this release

Features

  • The WebSocket server now emits a 'close' event when the server
    closes (#1453).
Assets 2
You can’t perform that action at this time.