Releases: scrogson/romeo
Releases · scrogson/romeo
v0.7.0
v0.6.0
Fixed a parsing bug where stream features were sent in the same packet as the opening stream.
Diff: v0.5.0...v0.6.0
v0.5.0
v0.4.0
v0.3.0
- Backwards incompatible changes
- Removed
payload
key in favor ofxml
in theMessage
,Presence
, and
IQ
stanzas. The fullxmlel
record is now stored in thexml
key. This
allows easy access via the functions inRomeo.XML
module. - Messages generated with
Romeo.Stanza.message/3
no longer escape the body
by default.
- Removed
Diff: v0.2.0...v0.3.0
v0.2.0
- Enhancements
- [Romeo.JID] Added
user/1
which returns theuser
portion of the JID. - [Romeo.JID] Added
server/1
which returns theserver
portion of the JID. - [Romeo.JID] Added
resource/1
which returns theresource
portion of the JID. - [Romeo.JID] Added key
full
JID struct for convenient access to the full
JID. - [Romeo.Stanza] Added a clause to
to_xml/1
for%Romeo.Stanza.Message{}
. - [Romeo.XML] Added a clause to
encode!/1
to handle all stanza structs.
- [Romeo.JID] Added
- Backward incompatible changes
- [Romeo.Connection] No longer sends stanza messages to the owner process
until after the connection process has finished. - [Romeo.Connection] Stanzas sent to the owner process are now parsed into the
matching stanza struct. The message tuple has changed from
{:stanza_received, stanza}
to{:stanza, stanza}
.
- [Romeo.Connection] No longer sends stanza messages to the owner process
Diff: v0.1.0...v0.2.0
Docs: http://hexdocs.pm/romeo/0.2.0/