ChangeLog

  1Version 0.8.0:
  22017-08-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
  3    * New parsers/serialisers:
  4        - iq:version (XEP-0092) has been added.
  5        - Finally implement extension serialisation in disco.
  6    * Breaking changes:
  7        - Wrap even more elements into their own type, in jingle,
  8          jingle_ft, roster, message.
  9        - Split loose enums into multiple structs where it makes sense,
 10          such as for IBB, StanzaId, Receipts.
 11        - Split disco query and answer elements into their own struct,
 12          to enforce more guarantees on both.
 13    * Improvements:
 14        - Use Vec::into_iter() more to avoid references and clones.
 15        - Make data_forms propagate a media_element error.
 16        - Document more of disco, roster, chatstates.
 17        - Use the minidom feature of jid, for IntoAttributeValue.
 18        - Add a component feature, changing the default namespace to
 19          jabber:component:accept.
 20        - Add support for indicating ranged transfers in jingle_ft.
 21
 22Version 0.7.1:
 232017-07-24  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 24    * Hotfixes:
 25        - Stub out blake2 support, since the blake2 crate broke its API
 26          between their 0.6.0 and 0.6.1 releases
 27
 28Version 0.7.0:
 292017-07-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 30    * New parsers/serialisers:
 31        - Jingle Message Initialisation (XEP-0353) was added.
 32        - The disco#items query (XEP-0030) is now supported, in
 33          addition to the existing disco#info one.
 34    * Breaking changes:
 35        - Replaced many type aliases with proper wrapping structs.
 36        - Split Disco into a query and a result part, since they have
 37          very different constraints.
 38        - Split IqPayload in three to avoid parsing queries as results
 39          for example.
 40    * Improvements:
 41        - Use TryFrom from the try_from crate, thus removing the
 42          dependency on nightly!
 43        - Always implement From instead of Into, the latter is
 44          generated anyway.
 45        - Add helpers to construct your Presence stanza.
 46
 47Version 0.6.0:
 482017-06-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 49    * New parsers/serialisers:
 50        - In-Band Registration (XEP-0077) was added.
 51        - Multi-User Chat (XEP-0045) got expanded a lot, thanks pep.!
 52    * Breaking changes:
 53        - Added wrappers for Strings used as identifiers, to add type
 54          safety.
 55        - Use chronos DateTime for JingleFTs date element.
 56        - Use Jid for JingleS5Bs jid attribute.
 57    * Improvements:
 58        - Use more macros for common tasks.
 59        - Add a constructor for Message and Presence.
 60        - Implement std::fmt::Display and std::error::Error on our
 61          error type.
 62        - Fix DataForms serialisation.
 63        - Fix roster group serialisation.
 64        - Update libraries, notably chrono whose version 0.3.1 got
 65          yanked.
 66
 67Version 0.5.0:
 682017-06-11  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 69    * New parsers/serialisers:
 70        - Implementation of the roster management protocol defined in
 71          RFC 6121 §2.
 72        - Implementation of PubSub events (except collections).
 73        - Early implementation of MUC.
 74    * Breaking changes:
 75        - Rename presence enums to make them easier to use.
 76    * Improvements:
 77        - Make hashes comparable and hashable.
 78        - Make data forms embeddable easily into minidom
 79          Element::builder.
 80
 81Version 0.4.0:
 822017-05-28  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 83    * Incompatible changes:
 84        - Receipts now make the id optional, as per the specification.
 85        - Hashes now expose their raw binary value, instead of staying
 86          base64-encoded.
 87        - Parse dates (XEP-0082) in delayed delivery (XEP-0203) and
 88          last user interaction (XEP-0319), using the chrono crate.
 89    * Improvements:
 90        - Removal of most of the remaining clones, the only ones left
 91          are due to minidom not exposing a draining iterator over the
 92          children.
 93        - Finish to parse all of the attributes using get_attr!().
 94        - More attribute checks.
 95        - Split more parsers into one parser per element.
 96        - Rely on minidom 0.4.3 to serialise more standard types
 97          automatically.
 98        - Implement forgotten serialisation for data forms (XEP-0004).
 99        - Implement legacy capabilities (XEP-0115) for compatibility
100          with older software.
101
102Version 0.3.0:
1032017-05-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
104    * Big changes:
105        - All parsers and serialisers now consume their argument, this
106          makes the API way more efficient, but you will have to clone
107          before passing your structs in it if you want to keep them.
108        - Payloads of stanzas are not parsed automatically anymore, to
109          let applications which want to forward them as-is do so more
110          easily.  Parsing now always succeeds on unknown payloads, it
111          just puts them into an Unknown value containing the existing
112          minidom Element.
113    * New parsers/serialisers:
114        - Last User Interaction in Presence, XEP-0319.
115    * Improved parsers/serialisers:
116        - Message now supports subject, bodies and threads as per
117          RFC 6121 §5.2.
118        - Replace most attribute reads with a nice macro.
119        - Use enums for more enum-like things, for example Algo in
120          Hash, or FieldType in DataForm.
121        - Wire up stanza-id and origin-id to MessagePayload.
122        - Wire up MAM elements to message and iq payloads.
123        - Changes in the RSM API.
124        - Add support for more data forms elements, but still not the
125          complete set.
126        - Thanks to minidom 0.3.1, check for explicitly disallowed
127          extra attributes in some elements.
128    * Crate updates:
129        - minidom 0.4.1
130
131Version 0.2.0:
1322017-05-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
133    * New parsers/serialisers:
134        - Stanza error, as per RFC 6120 §8.3.
135        - Jingle SOCKS5 Transport, XEP-0260.
136    * Incompatible changes:
137        - Parsers and serialisers now all implement TryFrom<Element>
138          and Into<Element>, instead of the old parse_* and serialise_*
139          functions.
140        - Presence has got an overhaul, it now hosts show, statuses and
141          priority in its struct.  The status module has also been
142          dropped.
143        - Message now supports multiple bodies, each in a different
144          language.  The body module has also been dropped.
145        - Iq now gets a proper StanzaError when the type is error.
146        - Fix bogus Jingle payload, which was requiring both
147          description and transport.
148    * Crate updates:
149        - minidom 0.3.0
150
151Version 0.1.0:
1522017-04-29  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
153    * Implement many extensions.