Skip to content

v6.1.0

Compare
Choose a tag to compare
@jondubois jondubois released this 08 Jul 00:25
· 291 commits to master since this release
  • Fixed a bug which was causing event callbacks to always timeout with an error when the client socket's cloneData option was set to true.

Breaking change:

  • A new BadConnectionError type was added - Now, if a connection fails or is aborted, all pending events will be aborted and their callbacks will be invoked with a BadConnectionError error as the first argument.
    This will allow failed events to be handled sooner which may have implications when it comes to recovering from server crashes.