New
v1.0.0
- Improvements
- Handle disconnects with
handle_disconnect/2in the robot module. See docs for details. - Responders are now
GenServers.
- Handle disconnects with
- Backwards Incompatible Changes
- The
userfield onHedwig.Messageis now aHedwig.Userstruct. This should aid in consistency across adapters. after_connect/1is nowhandle_connect/1. See the docs for details.- Adapters should now call
Hedwig.Robot.handle_in/2rather thanhandle_messagefor incoming messages. See the docs for details. Hedwig.Registryhas been removed. Alternatives are outlined in the README.GreatSuccessandShipItresponders have been moved in theexamplesdirectory and no longer shipped with Hedwig.
- The
Docs: https://hexdocs.pm/hedwig/1.0.0/readme.html