ChangeLog

  1Version 0.10.0:
  22018-03-01  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
  3    * New parsers/serialisers:
  4        - Added <stream:stream>, SASL and bind (RFC6120) parsers.
  5        - Added a WebSocket <open/> (RFC7395) implementation.
  6        - Added a Jabber Component <handshake/> (XEP-0114).
  7        - Added support for User Nickname (XEP-0172).
  8        - Added support for Stream Management (XEP-0198).
  9        - Added support for Bookmarks (XEP-0048).
 10        - Publish-Subscribe (XEP-0060) now supports requests in
 11          addition to events.
 12    * Breaking changes:
 13        - Switch from std::error to failure to report better errors.
 14        - Bump to minidom 0.9.1, and reexport minidom::Element.
 15    * Improvements:
 16        - Add getters for the best body and subject in message, to make
 17          it easier to determine which one the user wants based on
 18          their language preferences.
 19        - Add constructors and setters for most Jingle elements, to
 20          ease their creation.
 21        - Add constructors for hash, MUC item, iq and more.
 22        - Use more macros to simplify and factorise the code.
 23        - Use traits to define iq payloads.
 24        - Document more modules.
 25
 26Version 0.9.0:
 272017-10-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 28    * New parsers/serialisers:
 29        - Blocking Command (XEP-0191) has been added.
 30        - Date and Time Profiles (XEP-0082) has been added, replacing
 31          ad-hoc use of chrono in various places.
 32        - User Mood (XEP-0107) has been added.
 33    * Breaking changes:
 34        - Fix subscription="none" not being the default.
 35        - Add more type safety to pubsub#event.
 36        - Reuse Jingles ContentId type in JingleFT.
 37        - Import the disposition attribute values in Jingle.
 38    * Improvements:
 39        - Refactor a good part of the code using macros.
 40        - Simplify the parsing code wherever it makes sense.
 41        - Check for children ordering in disco#info result.
 42        - Finish implementation of <received/>, <checksum/> and
 43          <range/> in JingleFT.
 44        - Correctly serialise <ping/>, and test it.
 45
 46Version 0.8.0:
 472017-08-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 48    * New parsers/serialisers:
 49        - iq:version (XEP-0092) has been added.
 50        - Finally implement extension serialisation in disco.
 51    * Breaking changes:
 52        - Wrap even more elements into their own type, in jingle,
 53          jingle_ft, roster, message.
 54        - Split loose enums into multiple structs where it makes sense,
 55          such as for IBB, StanzaId, Receipts.
 56        - Split disco query and answer elements into their own struct,
 57          to enforce more guarantees on both.
 58    * Improvements:
 59        - Use Vec::into_iter() more to avoid references and clones.
 60        - Make data_forms propagate a media_element error.
 61        - Document more of disco, roster, chatstates.
 62        - Use the minidom feature of jid, for IntoAttributeValue.
 63        - Add a component feature, changing the default namespace to
 64          jabber:component:accept.
 65        - Add support for indicating ranged transfers in jingle_ft.
 66
 67Version 0.7.1:
 682017-07-24  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 69    * Hotfixes:
 70        - Stub out blake2 support, since the blake2 crate broke its API
 71          between their 0.6.0 and 0.6.1 releases
 72
 73Version 0.7.0:
 742017-07-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 75    * New parsers/serialisers:
 76        - Jingle Message Initialisation (XEP-0353) was added.
 77        - The disco#items query (XEP-0030) is now supported, in
 78          addition to the existing disco#info one.
 79    * Breaking changes:
 80        - Replaced many type aliases with proper wrapping structs.
 81        - Split Disco into a query and a result part, since they have
 82          very different constraints.
 83        - Split IqPayload in three to avoid parsing queries as results
 84          for example.
 85    * Improvements:
 86        - Use TryFrom from the try_from crate, thus removing the
 87          dependency on nightly!
 88        - Always implement From instead of Into, the latter is
 89          generated anyway.
 90        - Add helpers to construct your Presence stanza.
 91
 92Version 0.6.0:
 932017-06-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 94    * New parsers/serialisers:
 95        - In-Band Registration (XEP-0077) was added.
 96        - Multi-User Chat (XEP-0045) got expanded a lot, thanks pep.!
 97    * Breaking changes:
 98        - Added wrappers for Strings used as identifiers, to add type
 99          safety.
100        - Use chronos DateTime for JingleFTs date element.
101        - Use Jid for JingleS5Bs jid attribute.
102    * Improvements:
103        - Use more macros for common tasks.
104        - Add a constructor for Message and Presence.
105        - Implement std::fmt::Display and std::error::Error on our
106          error type.
107        - Fix DataForms serialisation.
108        - Fix roster group serialisation.
109        - Update libraries, notably chrono whose version 0.3.1 got
110          yanked.
111
112Version 0.5.0:
1132017-06-11  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
114    * New parsers/serialisers:
115        - Implementation of the roster management protocol defined in
116          RFC 6121 §2.
117        - Implementation of PubSub events (except collections).
118        - Early implementation of MUC.
119    * Breaking changes:
120        - Rename presence enums to make them easier to use.
121    * Improvements:
122        - Make hashes comparable and hashable.
123        - Make data forms embeddable easily into minidom
124          Element::builder.
125
126Version 0.4.0:
1272017-05-28  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
128    * Incompatible changes:
129        - Receipts now make the id optional, as per the specification.
130        - Hashes now expose their raw binary value, instead of staying
131          base64-encoded.
132        - Parse dates (XEP-0082) in delayed delivery (XEP-0203) and
133          last user interaction (XEP-0319), using the chrono crate.
134    * Improvements:
135        - Removal of most of the remaining clones, the only ones left
136          are due to minidom not exposing a draining iterator over the
137          children.
138        - Finish to parse all of the attributes using get_attr!().
139        - More attribute checks.
140        - Split more parsers into one parser per element.
141        - Rely on minidom 0.4.3 to serialise more standard types
142          automatically.
143        - Implement forgotten serialisation for data forms (XEP-0004).
144        - Implement legacy capabilities (XEP-0115) for compatibility
145          with older software.
146
147Version 0.3.0:
1482017-05-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
149    * Big changes:
150        - All parsers and serialisers now consume their argument, this
151          makes the API way more efficient, but you will have to clone
152          before passing your structs in it if you want to keep them.
153        - Payloads of stanzas are not parsed automatically anymore, to
154          let applications which want to forward them as-is do so more
155          easily.  Parsing now always succeeds on unknown payloads, it
156          just puts them into an Unknown value containing the existing
157          minidom Element.
158    * New parsers/serialisers:
159        - Last User Interaction in Presence, XEP-0319.
160    * Improved parsers/serialisers:
161        - Message now supports subject, bodies and threads as per
162          RFC 6121 §5.2.
163        - Replace most attribute reads with a nice macro.
164        - Use enums for more enum-like things, for example Algo in
165          Hash, or FieldType in DataForm.
166        - Wire up stanza-id and origin-id to MessagePayload.
167        - Wire up MAM elements to message and iq payloads.
168        - Changes in the RSM API.
169        - Add support for more data forms elements, but still not the
170          complete set.
171        - Thanks to minidom 0.3.1, check for explicitly disallowed
172          extra attributes in some elements.
173    * Crate updates:
174        - minidom 0.4.1
175
176Version 0.2.0:
1772017-05-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
178    * New parsers/serialisers:
179        - Stanza error, as per RFC 6120 §8.3.
180        - Jingle SOCKS5 Transport, XEP-0260.
181    * Incompatible changes:
182        - Parsers and serialisers now all implement TryFrom<Element>
183          and Into<Element>, instead of the old parse_* and serialise_*
184          functions.
185        - Presence has got an overhaul, it now hosts show, statuses and
186          priority in its struct.  The status module has also been
187          dropped.
188        - Message now supports multiple bodies, each in a different
189          language.  The body module has also been dropped.
190        - Iq now gets a proper StanzaError when the type is error.
191        - Fix bogus Jingle payload, which was requiring both
192          description and transport.
193    * Crate updates:
194        - minidom 0.3.0
195
196Version 0.1.0:
1972017-04-29  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
198    * Implement many extensions.