ChangeLog

  1Version xxx:
  2xxx
  3    * New parsers/serialisers:
  4        - Message Reactions (XEP-0444)
  5    * Improvements:
  6        - muc::user::Item: Added with_ helpers
  7        - Correct cargo doc warnings
  8        - Presence now has constructors for each variant so you don't have to import presence::Type, where Presence::available represents type None (#79)
  9        - Presence::with_payload builds a payload into the presence (#79)
 10        - Message now has constructors for each type ; Message::new still builds a Chat type (#78)
 11        - Message::with_body builder method appends a body in a given language to the message (#78)
 12    * Breaking changes:
 13        - Removed the 'serde' feature. Add it directly by using 'jid'.
 14        `jid = { version = "*", features = ["serde"] }`.
 15
 16Version 0.19.2:
 172022-12-17  Maxime pep Buquet <pep@bouah.net>
 18    * Improvements:
 19        - Derive PartialEq on Presence
 20        - impl PresencePayload for muc::user::MucUser.
 21        - New muc::user::Status::ServiceErrorKick variant for the 333 status
 22          code.
 23        - Update deprecated chrono code (FixedOffset::{east,west} to
 24          {east,west}_opt).
 25
 26Version 0.19.1:
 272022-07-13  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 28    * New parsers/serialisers:
 29        - Add In-Band Real Time Text support
 30        - Add OMEMO support
 31    * Improvements:
 32        - bookmarks 2: uncomment test
 33
 34Version 0.19.0:
 352022-03-07  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 36    * New parsers/serialisers:
 37        - External Service Discovery (XEP-0215).
 38        - HTTP File Upload (XEP-0363).
 39        - Message Archive Management Preferences (XEP-0441), actually spun off
 40          from XEP-0313.
 41    * Improvements:
 42        - Add constructor helpers for more structs.
 43        - Impl Eq and Hash on disco::Feature (thanks Paul!).
 44        - Impl MessagePayload for PubSubEvent (thanks Paul!).
 45        - Bump minidom to 0.14.
 46        - Bump the hash crates to their latest version.
 47        - Run clippy.
 48        - Rename the directory to parsers, to avoid colliding prefix with
 49          xmpp-rs.
 50    * Breaking changes:
 51        - Bump bookmarks 2 to version 1.1.3.
 52        - Use proper types in Jingle specs (XEP-0294 and XEP-0339).
 53        - Move preferences from MAM to MAM prefs, following the spec split.
 54
 55Version 0.18.1:
 562021-01-13  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 57    * Bugfixes:
 58        - Bump minidom to 0.13, as 0.12.1 got yanked.
 59
 60Version 0.18.0:
 612021-01-13  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 62    * New parsers/serialisers:
 63        - Jingle Raw UDP Transport Method (XEP-0177).
 64        - Jingle RTP Header Extensions Negotiation (XEP-0294).
 65        - Jingle Grouping Framework (XEP-0338).
 66        - Mediated Information eXchange (MIX) (XEP-0369).
 67    * Improvements:
 68        - Everything is now PartialEq!
 69        - Add "serde" feature to enable "jid/serde".
 70        - Implement more of XEP-0060.
 71        - Bump XEP-0167 to version 1.2.0, adding rtcp-mux.
 72        - Bump XEP-0176 to version 1.1, fixing interoperability with other
 73          clients.
 74        - Bump XEP-0402 to version 1.1.1, bumping its namespace and adding
 75          support for extension data.
 76        - Bump all dependencies to their latest version.
 77        - Some more helper constructors.
 78        - Make public some stuff that should have been public from the very
 79          beginning.
 80    * Bugfixes:
 81        - Jingle::set_reason() does what it says now (copy/paste error).
 82        - Bookmarks names are now optional like they should.
 83
 84Version 0.17.0:
 852020-02-15  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>, Maxime pep Buquet <pep@bouah.net>, Paul Fariello <paul@fariello.eu>
 86    * Improvements:
 87        - Add serialization tests where possible
 88        - Use minidom's NSChoice API for Jingle parser
 89        - Remove NamespaceAwareCompare. Move to minidom
 90    * Breaking changes:
 91        - Prevent generate_serializer macro from adding another layer of Node.
 92          Fixes some serializers.
 93        - ecaps2: Use the Error type instead of ()
 94
 95Version 0.16.0:
 962019-10-15  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 97    * New parsers/serialisers:
 98        - Client Certificate Management for SASL EXTERNAL (XEP-0257)
 99        - JID Prep (XEP-0328)
100        - Client State Indication (XEP-0352)
101        - OpenPGP for XMPP (XEP-0373)
102        - Bookmarks 2 (This Time it's Serious) (XEP-0402)
103        - Anonymous unique occupant identifiers for MUCs (XEP-0421)
104        - Source-Specific Media Attributes in Jingle (XEP-0339)
105        - Jingle RTP Feedback Negotiation (XEP-0293)
106    * Breaking changes:
107        - Presence constructors now take Into<Jid> and assume Some.
108    * Improvements:
109        - CI: refactor, add caching
110        - Update jid-rs to 0.8
111
112Version 0.15.0:
1132019-09-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
114    * New parsers/serialisers:
115        - XHTML-IM (XEP-0071)
116        - User Tune (XEP-0118)
117        - Bits of Binary (XEP-0231)
118        - Message Carbons (XEP-0280)
119    * Breaking changes:
120        - Stop reexporting TryFrom and TryInto, they are available in
121          std::convert nowadays.
122        - Bind has been split into BindQuery and BindResponse.
123    * Improvements:
124        - New DOAP file for a machine-readable description of the features.
125        - Add various parser and formatter helpers on Hash.
126
127Version 0.14.0:
1282019-07-13  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>, Maxime pep Buquet <pep@bouah.net>
129    * New parsers/serialisers:
130        - Entity Time (XEP-0202).
131    * Improvements:
132        - Microblog NS (XEP-0227).
133        - Update jid-rs dependency with jid split change (Jid, FullJid,
134          BareJid) and reexport them.
135        - Fix rustdoc options in Cargo.toml for docs.rs
136    * Breaking changes:
137        - Presence's show attribute is now Option<Show> and Show::None is no
138          more.
139
140Version 0.13.1:
1412019-04-12  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
142    * Bugfixes:
143        - Fix invalid serialisation of priority in presence.
144        - Bump image size to u16 from u8, as per XEP-0084 version 1.1.2.
145    * Improvements:
146        - Drop try_from dependency, as std::convert::TryFrom got
147          stabilised.
148
149Version 0.13.0:
1502019-03-20  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
151    * New parsers/serialisers:
152        - User Avatar (XEP-0084).
153        - Contact Addresses for XMPP Services (XEP-0157).
154        - Jingle RTP Sessions (XEP-0167).
155        - Jingle ICE-UDP Transport Method (XEP-0176).
156        - Use of DTLS-SRTP in Jingle Sessions (XEP-0320).
157    * Breaking changes:
158        - Make 'id' required on iq, as per RFC6120 §8.1.3.
159        - Refactor PubSub to have more type-safety.
160        - Treat FORM_TYPE as a special case in data forms, to avoid
161          duplicating it into a field.
162        - Add forgotten i18n to Jingle text element.
163    * Improvements:
164        - Add various helpers for hash representations.
165        - Add helpers constructors for multiple extensions (disco, caps,
166          pubsub, stanza_error).
167        - Use Into<String> in more constructors.
168        - Internal change on attribute declaration in macros.
169        - Reexport missing try_from::TryInto.
170
171Version 0.12.2:
1722019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
173    * Improvements:
174        - Reexport missing util::error::Error and try_from::TryFrom.
175
176Version 0.12.1:
1772019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
178    * Improvements:
179        - Reexport missing JidParseError from the jid crate.
180
181Version 0.12.0:
1822019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
183    * Breaking changes:
184        - Update dependencies.
185        - Switch to git, upstream is now available at
186          https://gitlab.com/xmpp-rs/xmpp-parsers
187        - Switch to Edition 2018, this removes support for rustc
188          versions older than 1.31.
189        - Implement support for XEP-0030 2.5rc3, relaxing the ordering
190          of children in disco#info.
191    * Improvements:
192        - Test for struct size, to keep them known and avoid bloat.
193        - Add various constructors to make the API easier to use.
194        - Reexport Jid from the jid crate, to avoid any weird issue on
195          using different incompatible versions of the same crate.
196        - Add forgotten 'ask' attribute on roster item (thanks O01eg!).
197        - Use cargo-fmt on the codebase, to lower the barrier of entry.
198        - Add a disable-validation feature, disabling many checks
199          xmpp-parsers is doing.  This should be used for software
200          which want to let invalid XMPP pass through instead of being
201          rejected as invalid (thanks Astro-!).
202
203Version 0.11.1:
2042018-09-20  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
205    * Improvements:
206        - Document all of the modules.
207
208Version 0.11.0:
2092018-08-03  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
210    * Breaking changes:
211        - Split Software Version (XEP-0092) into a query and response
212          elements.
213        - Split RSM (XEP-0059) into a query and response elements.
214        - Fix type safety and spec issues in RSM and MAM (XEP-0313).
215        - Remove item@node and EmptyItems from PubSub events
216          (XEP-0060).
217    * Improvements:
218        - Document many additional modules.
219        - Add the <failure/> SASL nonza, as well as the SCRAM-SHA-256
220          and the two -PLUS mechanisms.
221
222Version 0.10.0:
2232018-07-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
224    * New parsers/serialisers:
225        - Added <stream:stream>, SASL and bind (RFC6120) parsers.
226        - Added a WebSocket <open/> (RFC7395) implementation.
227        - Added a Jabber Component <handshake/> (XEP-0114).
228        - Added support for User Nickname (XEP-0172).
229        - Added support for Stream Management (XEP-0198).
230        - Added support for Bookmarks (XEP-0048).
231        - Publish-Subscribe (XEP-0060) now supports requests in
232          addition to events.
233    * Breaking changes:
234        - Switch from std::error to failure to report better errors.
235        - Bump to minidom 0.9.1, and reexport minidom::Element.
236    * Improvements:
237        - Add getters for the best body and subject in message, to make
238          it easier to determine which one the user wants based on
239          their language preferences.
240        - Add constructors and setters for most Jingle elements, to
241          ease their creation.
242        - Add constructors for hash, MUC item, iq and more.
243        - Use more macros to simplify and factorise the code.
244        - Use traits to define iq payloads.
245        - Document more modules.
246
247Version 0.9.0:
2482017-10-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
249    * New parsers/serialisers:
250        - Blocking Command (XEP-0191) has been added.
251        - Date and Time Profiles (XEP-0082) has been added, replacing
252          ad-hoc use of chrono in various places.
253        - User Mood (XEP-0107) has been added.
254    * Breaking changes:
255        - Fix subscription="none" not being the default.
256        - Add more type safety to pubsub#event.
257        - Reuse Jingles ContentId type in JingleFT.
258        - Import the disposition attribute values in Jingle.
259    * Improvements:
260        - Refactor a good part of the code using macros.
261        - Simplify the parsing code wherever it makes sense.
262        - Check for children ordering in disco#info result.
263        - Finish implementation of <received/>, <checksum/> and
264          <range/> in JingleFT.
265        - Correctly serialise <ping/>, and test it.
266
267Version 0.8.0:
2682017-08-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
269    * New parsers/serialisers:
270        - iq:version (XEP-0092) has been added.
271        - Finally implement extension serialisation in disco.
272    * Breaking changes:
273        - Wrap even more elements into their own type, in jingle,
274          jingle_ft, roster, message.
275        - Split loose enums into multiple structs where it makes sense,
276          such as for IBB, StanzaId, Receipts.
277        - Split disco query and answer elements into their own struct,
278          to enforce more guarantees on both.
279    * Improvements:
280        - Use Vec::into_iter() more to avoid references and clones.
281        - Make data_forms propagate a media_element error.
282        - Document more of disco, roster, chatstates.
283        - Use the minidom feature of jid, for IntoAttributeValue.
284        - Add a component feature, changing the default namespace to
285          jabber:component:accept.
286        - Add support for indicating ranged transfers in jingle_ft.
287
288Version 0.7.1:
2892017-07-24  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
290    * Hotfixes:
291        - Stub out blake2 support, since the blake2 crate broke its API
292          between their 0.6.0 and 0.6.1 releases
293
294Version 0.7.0:
2952017-07-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
296    * New parsers/serialisers:
297        - Jingle Message Initialisation (XEP-0353) was added.
298        - The disco#items query (XEP-0030) is now supported, in
299          addition to the existing disco#info one.
300    * Breaking changes:
301        - Replaced many type aliases with proper wrapping structs.
302        - Split Disco into a query and a result part, since they have
303          very different constraints.
304        - Split IqPayload in three to avoid parsing queries as results
305          for example.
306    * Improvements:
307        - Use TryFrom from the try_from crate, thus removing the
308          dependency on nightly!
309        - Always implement From instead of Into, the latter is
310          generated anyway.
311        - Add helpers to construct your Presence stanza.
312
313Version 0.6.0:
3142017-06-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
315    * New parsers/serialisers:
316        - In-Band Registration (XEP-0077) was added.
317        - Multi-User Chat (XEP-0045) got expanded a lot, thanks pep.!
318    * Breaking changes:
319        - Added wrappers for Strings used as identifiers, to add type
320          safety.
321        - Use chronos DateTime for JingleFTs date element.
322        - Use Jid for JingleS5Bs jid attribute.
323    * Improvements:
324        - Use more macros for common tasks.
325        - Add a constructor for Message and Presence.
326        - Implement std::fmt::Display and std::error::Error on our
327          error type.
328        - Fix DataForms serialisation.
329        - Fix roster group serialisation.
330        - Update libraries, notably chrono whose version 0.3.1 got
331          yanked.
332
333Version 0.5.0:
3342017-06-11  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
335    * New parsers/serialisers:
336        - Implementation of the roster management protocol defined in
337          RFC 6121 §2.
338        - Implementation of PubSub events (except collections).
339        - Early implementation of MUC.
340    * Breaking changes:
341        - Rename presence enums to make them easier to use.
342    * Improvements:
343        - Make hashes comparable and hashable.
344        - Make data forms embeddable easily into minidom
345          Element::builder.
346
347Version 0.4.0:
3482017-05-28  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
349    * Incompatible changes:
350        - Receipts now make the id optional, as per the specification.
351        - Hashes now expose their raw binary value, instead of staying
352          base64-encoded.
353        - Parse dates (XEP-0082) in delayed delivery (XEP-0203) and
354          last user interaction (XEP-0319), using the chrono crate.
355    * Improvements:
356        - Removal of most of the remaining clones, the only ones left
357          are due to minidom not exposing a draining iterator over the
358          children.
359        - Finish to parse all of the attributes using get_attr!().
360        - More attribute checks.
361        - Split more parsers into one parser per element.
362        - Rely on minidom 0.4.3 to serialise more standard types
363          automatically.
364        - Implement forgotten serialisation for data forms (XEP-0004).
365        - Implement legacy capabilities (XEP-0115) for compatibility
366          with older software.
367
368Version 0.3.0:
3692017-05-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
370    * Big changes:
371        - All parsers and serialisers now consume their argument, this
372          makes the API way more efficient, but you will have to clone
373          before passing your structs in it if you want to keep them.
374        - Payloads of stanzas are not parsed automatically anymore, to
375          let applications which want to forward them as-is do so more
376          easily.  Parsing now always succeeds on unknown payloads, it
377          just puts them into an Unknown value containing the existing
378          minidom Element.
379    * New parsers/serialisers:
380        - Last User Interaction in Presence, XEP-0319.
381    * Improved parsers/serialisers:
382        - Message now supports subject, bodies and threads as per
383          RFC 6121 §5.2.
384        - Replace most attribute reads with a nice macro.
385        - Use enums for more enum-like things, for example Algo in
386          Hash, or FieldType in DataForm.
387        - Wire up stanza-id and origin-id to MessagePayload.
388        - Wire up MAM elements to message and iq payloads.
389        - Changes in the RSM API.
390        - Add support for more data forms elements, but still not the
391          complete set.
392        - Thanks to minidom 0.3.1, check for explicitly disallowed
393          extra attributes in some elements.
394    * Crate updates:
395        - minidom 0.4.1
396
397Version 0.2.0:
3982017-05-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
399    * New parsers/serialisers:
400        - Stanza error, as per RFC 6120 §8.3.
401        - Jingle SOCKS5 Transport, XEP-0260.
402    * Incompatible changes:
403        - Parsers and serialisers now all implement TryFrom<Element>
404          and Into<Element>, instead of the old parse_* and serialise_*
405          functions.
406        - Presence has got an overhaul, it now hosts show, statuses and
407          priority in its struct.  The status module has also been
408          dropped.
409        - Message now supports multiple bodies, each in a different
410          language.  The body module has also been dropped.
411        - Iq now gets a proper StanzaError when the type is error.
412        - Fix bogus Jingle payload, which was requiring both
413          description and transport.
414    * Crate updates:
415        - minidom 0.3.0
416
417Version 0.1.0:
4182017-04-29  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
419    * Implement many extensions.