Skip to content

v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@crussell52 crussell52 released this 05 Oct 20:01
· 16 commits to master since this release

Breaking Changes:

  • clientId is now treated a string instead of an int. (It is still a number, but this is an implementation detail which should not be relied upon).
  • connectionClose Server event has been dropped (listen to exposed socket instead)
  • close event(s) are now closed to distinguish from the close event many core I/O elements use.

New:

  • A custom transcoder can now be provided. This allows for specialized encoded/decoded of messages when
    JSON just won't do. (#1)
  • Added Example for high-throughput/noisy client implementation.

Enhancements:

  • Greatly expanded docs -- especially the API docs (always more work to do here!)
  • More specific errors in some send failure cases
  • Clarified event api
  • Improved handling of abrupt disconnects. What can't be handled is now documented.
  • Underlying net.Socket is now exposed to give applications direct access to socket events when
    they matter.