ChangeLog

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