- Improvements
- Handle disconnects with
handle_disconnect/2 in the robot module. See docs
for details.
- Responders are now
GenServers.
- Backwards Incompatible Changes
- The
user field on Hedwig.Message is now a Hedwig.User struct.
This should aid in consistency across adapters.
after_connect/1 is now handle_connect/1. See the docs for details.
- Adapters should now call
Hedwig.Robot.handle_in/2 rather than handle_message
for incoming messages. See the docs for details.
Hedwig.Registry has been removed. Alternatives are outlined in the README.
GreatSuccess and ShipIt responders have been moved in the examples
directory and no longer shipped with Hedwig.
Docs: https://hexdocs.pm/hedwig/1.0.0/readme.html