v0.2.0
Pre-release
Pre-release
Breaking Changes:
clientIdis now treated astringinstead of anint. (It is still a number, but this is an implementation detail which should not be relied upon).connectionCloseServer event has been dropped (listen to exposed socket instead)closeevent(s) are nowclosedto distinguish from thecloseevent 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
sendfailure cases - Clarified event api
- Improved handling of abrupt disconnects. What can't be handled is now documented.
- Underlying
net.Socketis now exposed to give applications direct access to socket events when
they matter.