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