ChangeLog

  1Version NEXT:
  2DATE  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
  3    * New parsers/serialisers:
  4        - Client Certificate Management for SASL EXTERNAL (XEP-0257)
  5        - JID Prep (XEP-0328)
  6        - Client State Indication (XEP-0352)
  7        - OpenPGP for XMPP (XEP-0373)
  8        - Anonymous unique occupant identifiers for MUCs (XEP-0421)
  9    * Breaking changes:
 10        - Presence constructors now take Into<Jid> and assume Some.
 11
 12Version 0.15.0:
 132019-09-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 14    * New parsers/serialisers:
 15        - XHTML-IM (XEP-0071)
 16        - User Tune (XEP-0118)
 17        - Bits of Binary (XEP-0231)
 18        - Message Carbons (XEP-0280)
 19    * Breaking changes:
 20        - Stop reexporting TryFrom and TryInto, they are available in
 21          std::convert nowadays.
 22        - Bind has been split into BindQuery and BindResponse.
 23    * Improvements:
 24        - New DOAP file for a machine-readable description of the features.
 25        - Add various parser and formatter helpers on Hash.
 26
 27Version 0.14.0:
 282019-07-13  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>, Maxime pep Buquet <pep@bouah.net>
 29    * New parsers/serialisers:
 30        - Entity Time (XEP-0202).
 31    * Improvements:
 32        - Microblog NS (XEP-0227).
 33        - Update jid-rs dependency with jid split change (Jid, FullJid,
 34          BareJid) and reexport them.
 35        - Fix rustdoc options in Cargo.toml for docs.rs
 36    * Breaking changes:
 37        - Presence's show attribute is now Option<Show> and Show::None is no
 38          more.
 39
 40Version 0.13.1:
 412019-04-12  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 42    * Bugfixes:
 43        - Fix invalid serialisation of priority in presence.
 44        - Bump image size to u16 from u8, as per XEP-0084 version 1.1.2.
 45    * Improvements:
 46        - Drop try_from dependency, as std::convert::TryFrom got
 47          stabilised.
 48
 49Version 0.13.0:
 502019-03-20  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 51    * New parsers/serialisers:
 52        - User Avatar (XEP-0084).
 53        - Contact Addresses for XMPP Services (XEP-0157).
 54        - Jingle RTP Sessions (XEP-0167).
 55        - Jingle ICE-UDP Transport Method (XEP-0176).
 56        - Use of DTLS-SRTP in Jingle Sessions (XEP-0320).
 57    * Breaking changes:
 58        - Make 'id' required on iq, as per RFC6120 §8.1.3.
 59        - Refactor PubSub to have more type-safety.
 60        - Treat FORM_TYPE as a special case in data forms, to avoid
 61          duplicating it into a field.
 62        - Add forgotten i18n to Jingle text element.
 63    * Improvements:
 64        - Add various helpers for hash representations.
 65        - Add helpers constructors for multiple extensions (disco, caps,
 66          pubsub, stanza_error).
 67        - Use Into<String> in more constructors.
 68        - Internal change on attribute declaration in macros.
 69        - Reexport missing try_from::TryInto.
 70
 71Version 0.12.2:
 722019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 73    * Improvements:
 74        - Reexport missing util::error::Error and try_from::TryFrom.
 75
 76Version 0.12.1:
 772019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 78    * Improvements:
 79        - Reexport missing JidParseError from the jid crate.
 80
 81Version 0.12.0:
 822019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 83    * Breaking changes:
 84        - Update dependencies.
 85        - Switch to git, upstream is now available at
 86          https://gitlab.com/xmpp-rs/xmpp-parsers
 87        - Switch to Edition 2018, this removes support for rustc
 88          versions older than 1.31.
 89        - Implement support for XEP-0030 2.5rc3, relaxing the ordering
 90          of children in disco#info.
 91    * Improvements:
 92        - Test for struct size, to keep them known and avoid bloat.
 93        - Add various constructors to make the API easier to use.
 94        - Reexport Jid from the jid crate, to avoid any weird issue on
 95          using different incompatible versions of the same crate.
 96        - Add forgotten 'ask' attribute on roster item (thanks O01eg!).
 97        - Use cargo-fmt on the codebase, to lower the barrier of entry.
 98        - Add a disable-validation feature, disabling many checks
 99          xmpp-parsers is doing.  This should be used for software
100          which want to let invalid XMPP pass through instead of being
101          rejected as invalid (thanks Astro-!).
102
103Version 0.11.1:
1042018-09-20  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
105    * Improvements:
106        - Document all of the modules.
107
108Version 0.11.0:
1092018-08-03  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
110    * Breaking changes:
111        - Split Software Version (XEP-0092) into a query and response
112          elements.
113        - Split RSM (XEP-0059) into a query and response elements.
114        - Fix type safety and spec issues in RSM and MAM (XEP-0313).
115        - Remove item@node and EmptyItems from PubSub events
116          (XEP-0060).
117    * Improvements:
118        - Document many additional modules.
119        - Add the <failure/> SASL nonza, as well as the SCRAM-SHA-256
120          and the two -PLUS mechanisms.
121
122Version 0.10.0:
1232018-07-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
124    * New parsers/serialisers:
125        - Added <stream:stream>, SASL and bind (RFC6120) parsers.
126        - Added a WebSocket <open/> (RFC7395) implementation.
127        - Added a Jabber Component <handshake/> (XEP-0114).
128        - Added support for User Nickname (XEP-0172).
129        - Added support for Stream Management (XEP-0198).
130        - Added support for Bookmarks (XEP-0048).
131        - Publish-Subscribe (XEP-0060) now supports requests in
132          addition to events.
133    * Breaking changes:
134        - Switch from std::error to failure to report better errors.
135        - Bump to minidom 0.9.1, and reexport minidom::Element.
136    * Improvements:
137        - Add getters for the best body and subject in message, to make
138          it easier to determine which one the user wants based on
139          their language preferences.
140        - Add constructors and setters for most Jingle elements, to
141          ease their creation.
142        - Add constructors for hash, MUC item, iq and more.
143        - Use more macros to simplify and factorise the code.
144        - Use traits to define iq payloads.
145        - Document more modules.
146
147Version 0.9.0:
1482017-10-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
149    * New parsers/serialisers:
150        - Blocking Command (XEP-0191) has been added.
151        - Date and Time Profiles (XEP-0082) has been added, replacing
152          ad-hoc use of chrono in various places.
153        - User Mood (XEP-0107) has been added.
154    * Breaking changes:
155        - Fix subscription="none" not being the default.
156        - Add more type safety to pubsub#event.
157        - Reuse Jingles ContentId type in JingleFT.
158        - Import the disposition attribute values in Jingle.
159    * Improvements:
160        - Refactor a good part of the code using macros.
161        - Simplify the parsing code wherever it makes sense.
162        - Check for children ordering in disco#info result.
163        - Finish implementation of <received/>, <checksum/> and
164          <range/> in JingleFT.
165        - Correctly serialise <ping/>, and test it.
166
167Version 0.8.0:
1682017-08-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
169    * New parsers/serialisers:
170        - iq:version (XEP-0092) has been added.
171        - Finally implement extension serialisation in disco.
172    * Breaking changes:
173        - Wrap even more elements into their own type, in jingle,
174          jingle_ft, roster, message.
175        - Split loose enums into multiple structs where it makes sense,
176          such as for IBB, StanzaId, Receipts.
177        - Split disco query and answer elements into their own struct,
178          to enforce more guarantees on both.
179    * Improvements:
180        - Use Vec::into_iter() more to avoid references and clones.
181        - Make data_forms propagate a media_element error.
182        - Document more of disco, roster, chatstates.
183        - Use the minidom feature of jid, for IntoAttributeValue.
184        - Add a component feature, changing the default namespace to
185          jabber:component:accept.
186        - Add support for indicating ranged transfers in jingle_ft.
187
188Version 0.7.1:
1892017-07-24  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
190    * Hotfixes:
191        - Stub out blake2 support, since the blake2 crate broke its API
192          between their 0.6.0 and 0.6.1 releases
193
194Version 0.7.0:
1952017-07-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
196    * New parsers/serialisers:
197        - Jingle Message Initialisation (XEP-0353) was added.
198        - The disco#items query (XEP-0030) is now supported, in
199          addition to the existing disco#info one.
200    * Breaking changes:
201        - Replaced many type aliases with proper wrapping structs.
202        - Split Disco into a query and a result part, since they have
203          very different constraints.
204        - Split IqPayload in three to avoid parsing queries as results
205          for example.
206    * Improvements:
207        - Use TryFrom from the try_from crate, thus removing the
208          dependency on nightly!
209        - Always implement From instead of Into, the latter is
210          generated anyway.
211        - Add helpers to construct your Presence stanza.
212
213Version 0.6.0:
2142017-06-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
215    * New parsers/serialisers:
216        - In-Band Registration (XEP-0077) was added.
217        - Multi-User Chat (XEP-0045) got expanded a lot, thanks pep.!
218    * Breaking changes:
219        - Added wrappers for Strings used as identifiers, to add type
220          safety.
221        - Use chronos DateTime for JingleFTs date element.
222        - Use Jid for JingleS5Bs jid attribute.
223    * Improvements:
224        - Use more macros for common tasks.
225        - Add a constructor for Message and Presence.
226        - Implement std::fmt::Display and std::error::Error on our
227          error type.
228        - Fix DataForms serialisation.
229        - Fix roster group serialisation.
230        - Update libraries, notably chrono whose version 0.3.1 got
231          yanked.
232
233Version 0.5.0:
2342017-06-11  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
235    * New parsers/serialisers:
236        - Implementation of the roster management protocol defined in
237          RFC 6121 §2.
238        - Implementation of PubSub events (except collections).
239        - Early implementation of MUC.
240    * Breaking changes:
241        - Rename presence enums to make them easier to use.
242    * Improvements:
243        - Make hashes comparable and hashable.
244        - Make data forms embeddable easily into minidom
245          Element::builder.
246
247Version 0.4.0:
2482017-05-28  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
249    * Incompatible changes:
250        - Receipts now make the id optional, as per the specification.
251        - Hashes now expose their raw binary value, instead of staying
252          base64-encoded.
253        - Parse dates (XEP-0082) in delayed delivery (XEP-0203) and
254          last user interaction (XEP-0319), using the chrono crate.
255    * Improvements:
256        - Removal of most of the remaining clones, the only ones left
257          are due to minidom not exposing a draining iterator over the
258          children.
259        - Finish to parse all of the attributes using get_attr!().
260        - More attribute checks.
261        - Split more parsers into one parser per element.
262        - Rely on minidom 0.4.3 to serialise more standard types
263          automatically.
264        - Implement forgotten serialisation for data forms (XEP-0004).
265        - Implement legacy capabilities (XEP-0115) for compatibility
266          with older software.
267
268Version 0.3.0:
2692017-05-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
270    * Big changes:
271        - All parsers and serialisers now consume their argument, this
272          makes the API way more efficient, but you will have to clone
273          before passing your structs in it if you want to keep them.
274        - Payloads of stanzas are not parsed automatically anymore, to
275          let applications which want to forward them as-is do so more
276          easily.  Parsing now always succeeds on unknown payloads, it
277          just puts them into an Unknown value containing the existing
278          minidom Element.
279    * New parsers/serialisers:
280        - Last User Interaction in Presence, XEP-0319.
281    * Improved parsers/serialisers:
282        - Message now supports subject, bodies and threads as per
283          RFC 6121 §5.2.
284        - Replace most attribute reads with a nice macro.
285        - Use enums for more enum-like things, for example Algo in
286          Hash, or FieldType in DataForm.
287        - Wire up stanza-id and origin-id to MessagePayload.
288        - Wire up MAM elements to message and iq payloads.
289        - Changes in the RSM API.
290        - Add support for more data forms elements, but still not the
291          complete set.
292        - Thanks to minidom 0.3.1, check for explicitly disallowed
293          extra attributes in some elements.
294    * Crate updates:
295        - minidom 0.4.1
296
297Version 0.2.0:
2982017-05-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
299    * New parsers/serialisers:
300        - Stanza error, as per RFC 6120 §8.3.
301        - Jingle SOCKS5 Transport, XEP-0260.
302    * Incompatible changes:
303        - Parsers and serialisers now all implement TryFrom<Element>
304          and Into<Element>, instead of the old parse_* and serialise_*
305          functions.
306        - Presence has got an overhaul, it now hosts show, statuses and
307          priority in its struct.  The status module has also been
308          dropped.
309        - Message now supports multiple bodies, each in a different
310          language.  The body module has also been dropped.
311        - Iq now gets a proper StanzaError when the type is error.
312        - Fix bogus Jingle payload, which was requiring both
313          description and transport.
314    * Crate updates:
315        - minidom 0.3.0
316
317Version 0.1.0:
3182017-04-29  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
319    * Implement many extensions.