ChangeLog

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