hedwig v0.1.0 Release Notes
Release Date: 2015-04-01 // about 11 years ago-
๐ Bug Fixes
- Default
typefor apresencestanza is nownil - Default
typefor amessagestanza is nownormal - Feature negotiation is now handled a second time if the connection is upgraded to TLS.
- Default
๐ Improvements
- Authentication has been cleaned up and allows you to configure your preferred auth mechanism.
- Support
ANONYMOUSauth mechanism. Stanza.iq/{2,3}-iqstanzas can now be sent to a specifiedjid.Stanza.get_roster/0to fetch the client's roster.Stanza.get_vcard/1to fetch the vcard of a specifiedjid.Stanza.disco_info/1to discover features and capabilities of a server or client.Stanza.disco_items/1to discover features and capabilities of a server or client.Stanza.presence/1to allow a client to becomeunavailable.JIDnow implementsString.Chars.to_string/1protocol.ignore_from_self?option to allow stanzas to be processed for messages sent by the client. Defaults tofalse.- Clients can now be stopped cleanly. Send a message of
{:stop, reason}and the client will send anunavailablepresence and close the stream. - Stanza parsing is now more robust. Parses into appropriate structs and includes a
payloadkey for access to therawparsed data structure.
๐ Release Diff: https://github.com/scrogson/hedwig/compare/v0.0.3...v0.1.0