Ws Versions Save

Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

8.17.0

1 month ago

Features

  • The WebSocket constructor now accepts the createConnection option (#2219).

Other notable changes

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

This is a breaking change in a patch release. The assumption is that the option is not widely used.

8.16.0

5 months ago

Features

  • Added the autoPong option (01ba54ed).

8.15.1

5 months ago

Notable changes

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

This is a breaking change in a patch release that could have been avoided with an alias, but the renamed option was added only 3 days ago, so hopefully it hasn't already been widely used.

8.15.0

5 months ago

Features

  • Added the allowMultipleEventsPerMicrotask option (93e3552e).

8.14.2

8 months ago

Bug fixes

  • Fixed an issue that allowed errors thrown by failed assertions to be swallowed when running tests (7f4e1a75).

8.14.1

8 months ago

Bug fixes

  • Improved the reliability of two tests for CITGM (fd3c64cb).

8.14.0

8 months ago

Features

  • The WebSocket constructor now accepts HTTP(S) URLs (#2162).
  • The socket argument of server.handleUpgrade() can now be a generic Duplex stream (#2165).

Other notable changes

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

8.13.0

1 year ago

Features

  • Added the finishRequest option to support late addition of headers (#2123).

8.12.1

1 year ago

Bug fixes

  • Added browser condition to package.json (#2118).

8.12.0

1 year ago

Features

  • Added support for utf-8-validate@6 (ff63bba3).

Other notable changes

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