ChangeLog

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