WebSockex v0.4.0 Release Notes
Release Date: 2017-07-12 // almost 7 years ago-
๐ฅ Breaking Changes
- ๐
send_frame/2
is now synchronous and returns an error when connection is opening or closing.
โจ Enhancements
- โ Added debug printing for the
:sys
module. - Rework
Conn.new
to accept other protocols. - โ Added an
InvalidFrameError
for 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
1011
when there is an unexpected error. (Like anException
in the middle of a callback) - โ Add a more specific error when the
:websockex
application hasn't been started yet. - โ Added a
:name
options for local registration.
๐ Bug Fixes
- ๐ Fix a couple of places where the call stack wasn't being properly tail-call optimized.
- ๐