New
Version 0.4.0
Breaking Changes
send_frame/2is now synchronous and returns an error when connection is opening or closing.
Enhancements
- Added debug printing for the
:sysmodule. - Rework
Conn.newto accept other protocols. - Added an
InvalidFrameErrorfor frames unrecognized byFrame.encode_frame. - Go through the disconnect cycle when there's an error while with the
{:reply, frame, state}callback response. - Send a close frame with the close code
1011when there is an unexpected error. (Like anExceptionin the middle of a callback) - Add a more specific error when the
:websockexapplication hasn't been started yet. - Added a
:nameoptions for local registration.
Bug Fixes
- Fix a couple of places where the call stack wasn't being properly tail-call optimized.