ChangeLog

  1Version 0.12.0:
  22019-01-16  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
  3    * Breaking changes:
  4        - Update dependencies.
  5        - Switch to git, upstream is now available at
  6          https://gitlab.com/xmpp-rs/xmpp-parsers
  7        - Switch to Edition 2018, this removes support for rustc
  8          versions older than 1.31.
  9        - Implement support for XEP-0030 2.5rc3, relaxing the ordering
 10          of children in disco#info.
 11    * Improvements:
 12        - Test for struct size, to keep them known and avoid bloat.
 13        - Add various constructors to make the API easier to use.
 14        - Reexport Jid from the jid crate, to avoid any weird issue on
 15          using different incompatible versions of the same crate.
 16        - Add forgotten 'ask' attribute on roster item (thanks O01eg!).
 17        - Use cargo-fmt on the codebase, to lower the barrier of entry.
 18        - Add a disable-validation feature, disabling many checks
 19          xmpp-parsers is doing.  This should be used for software
 20          which want to let invalid XMPP pass through instead of being
 21          rejected as invalid (thanks Astro-!).
 22
 23Version 0.11.1:
 242018-09-20  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 25    * Improvements:
 26        - Document all of the modules.
 27
 28Version 0.11.0:
 292018-08-03  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 30    * Breaking changes:
 31        - Split Software Version (XEP-0092) into a query and response
 32          elements.
 33        - Split RSM (XEP-0059) into a query and response elements.
 34        - Fix type safety and spec issues in RSM and MAM (XEP-0313).
 35        - Remove item@node and EmptyItems from PubSub events
 36          (XEP-0060).
 37    * Improvements:
 38        - Document many additional modules.
 39        - Add the <failure/> SASL nonza, as well as the SCRAM-SHA-256
 40          and the two -PLUS mechanisms.
 41
 42Version 0.10.0:
 432018-07-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 44    * New parsers/serialisers:
 45        - Added <stream:stream>, SASL and bind (RFC6120) parsers.
 46        - Added a WebSocket <open/> (RFC7395) implementation.
 47        - Added a Jabber Component <handshake/> (XEP-0114).
 48        - Added support for User Nickname (XEP-0172).
 49        - Added support for Stream Management (XEP-0198).
 50        - Added support for Bookmarks (XEP-0048).
 51        - Publish-Subscribe (XEP-0060) now supports requests in
 52          addition to events.
 53    * Breaking changes:
 54        - Switch from std::error to failure to report better errors.
 55        - Bump to minidom 0.9.1, and reexport minidom::Element.
 56    * Improvements:
 57        - Add getters for the best body and subject in message, to make
 58          it easier to determine which one the user wants based on
 59          their language preferences.
 60        - Add constructors and setters for most Jingle elements, to
 61          ease their creation.
 62        - Add constructors for hash, MUC item, iq and more.
 63        - Use more macros to simplify and factorise the code.
 64        - Use traits to define iq payloads.
 65        - Document more modules.
 66
 67Version 0.9.0:
 682017-10-31  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 69    * New parsers/serialisers:
 70        - Blocking Command (XEP-0191) has been added.
 71        - Date and Time Profiles (XEP-0082) has been added, replacing
 72          ad-hoc use of chrono in various places.
 73        - User Mood (XEP-0107) has been added.
 74    * Breaking changes:
 75        - Fix subscription="none" not being the default.
 76        - Add more type safety to pubsub#event.
 77        - Reuse Jingles ContentId type in JingleFT.
 78        - Import the disposition attribute values in Jingle.
 79    * Improvements:
 80        - Refactor a good part of the code using macros.
 81        - Simplify the parsing code wherever it makes sense.
 82        - Check for children ordering in disco#info result.
 83        - Finish implementation of <received/>, <checksum/> and
 84          <range/> in JingleFT.
 85        - Correctly serialise <ping/>, and test it.
 86
 87Version 0.8.0:
 882017-08-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 89    * New parsers/serialisers:
 90        - iq:version (XEP-0092) has been added.
 91        - Finally implement extension serialisation in disco.
 92    * Breaking changes:
 93        - Wrap even more elements into their own type, in jingle,
 94          jingle_ft, roster, message.
 95        - Split loose enums into multiple structs where it makes sense,
 96          such as for IBB, StanzaId, Receipts.
 97        - Split disco query and answer elements into their own struct,
 98          to enforce more guarantees on both.
 99    * Improvements:
100        - Use Vec::into_iter() more to avoid references and clones.
101        - Make data_forms propagate a media_element error.
102        - Document more of disco, roster, chatstates.
103        - Use the minidom feature of jid, for IntoAttributeValue.
104        - Add a component feature, changing the default namespace to
105          jabber:component:accept.
106        - Add support for indicating ranged transfers in jingle_ft.
107
108Version 0.7.1:
1092017-07-24  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
110    * Hotfixes:
111        - Stub out blake2 support, since the blake2 crate broke its API
112          between their 0.6.0 and 0.6.1 releases
113
114Version 0.7.0:
1152017-07-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
116    * New parsers/serialisers:
117        - Jingle Message Initialisation (XEP-0353) was added.
118        - The disco#items query (XEP-0030) is now supported, in
119          addition to the existing disco#info one.
120    * Breaking changes:
121        - Replaced many type aliases with proper wrapping structs.
122        - Split Disco into a query and a result part, since they have
123          very different constraints.
124        - Split IqPayload in three to avoid parsing queries as results
125          for example.
126    * Improvements:
127        - Use TryFrom from the try_from crate, thus removing the
128          dependency on nightly!
129        - Always implement From instead of Into, the latter is
130          generated anyway.
131        - Add helpers to construct your Presence stanza.
132
133Version 0.6.0:
1342017-06-27  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
135    * New parsers/serialisers:
136        - In-Band Registration (XEP-0077) was added.
137        - Multi-User Chat (XEP-0045) got expanded a lot, thanks pep.!
138    * Breaking changes:
139        - Added wrappers for Strings used as identifiers, to add type
140          safety.
141        - Use chronos DateTime for JingleFTs date element.
142        - Use Jid for JingleS5Bs jid attribute.
143    * Improvements:
144        - Use more macros for common tasks.
145        - Add a constructor for Message and Presence.
146        - Implement std::fmt::Display and std::error::Error on our
147          error type.
148        - Fix DataForms serialisation.
149        - Fix roster group serialisation.
150        - Update libraries, notably chrono whose version 0.3.1 got
151          yanked.
152
153Version 0.5.0:
1542017-06-11  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
155    * New parsers/serialisers:
156        - Implementation of the roster management protocol defined in
157          RFC 6121 §2.
158        - Implementation of PubSub events (except collections).
159        - Early implementation of MUC.
160    * Breaking changes:
161        - Rename presence enums to make them easier to use.
162    * Improvements:
163        - Make hashes comparable and hashable.
164        - Make data forms embeddable easily into minidom
165          Element::builder.
166
167Version 0.4.0:
1682017-05-28  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
169    * Incompatible changes:
170        - Receipts now make the id optional, as per the specification.
171        - Hashes now expose their raw binary value, instead of staying
172          base64-encoded.
173        - Parse dates (XEP-0082) in delayed delivery (XEP-0203) and
174          last user interaction (XEP-0319), using the chrono crate.
175    * Improvements:
176        - Removal of most of the remaining clones, the only ones left
177          are due to minidom not exposing a draining iterator over the
178          children.
179        - Finish to parse all of the attributes using get_attr!().
180        - More attribute checks.
181        - Split more parsers into one parser per element.
182        - Rely on minidom 0.4.3 to serialise more standard types
183          automatically.
184        - Implement forgotten serialisation for data forms (XEP-0004).
185        - Implement legacy capabilities (XEP-0115) for compatibility
186          with older software.
187
188Version 0.3.0:
1892017-05-23  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
190    * Big changes:
191        - All parsers and serialisers now consume their argument, this
192          makes the API way more efficient, but you will have to clone
193          before passing your structs in it if you want to keep them.
194        - Payloads of stanzas are not parsed automatically anymore, to
195          let applications which want to forward them as-is do so more
196          easily.  Parsing now always succeeds on unknown payloads, it
197          just puts them into an Unknown value containing the existing
198          minidom Element.
199    * New parsers/serialisers:
200        - Last User Interaction in Presence, XEP-0319.
201    * Improved parsers/serialisers:
202        - Message now supports subject, bodies and threads as per
203          RFC 6121 §5.2.
204        - Replace most attribute reads with a nice macro.
205        - Use enums for more enum-like things, for example Algo in
206          Hash, or FieldType in DataForm.
207        - Wire up stanza-id and origin-id to MessagePayload.
208        - Wire up MAM elements to message and iq payloads.
209        - Changes in the RSM API.
210        - Add support for more data forms elements, but still not the
211          complete set.
212        - Thanks to minidom 0.3.1, check for explicitly disallowed
213          extra attributes in some elements.
214    * Crate updates:
215        - minidom 0.4.1
216
217Version 0.2.0:
2182017-05-06  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
219    * New parsers/serialisers:
220        - Stanza error, as per RFC 6120 §8.3.
221        - Jingle SOCKS5 Transport, XEP-0260.
222    * Incompatible changes:
223        - Parsers and serialisers now all implement TryFrom<Element>
224          and Into<Element>, instead of the old parse_* and serialise_*
225          functions.
226        - Presence has got an overhaul, it now hosts show, statuses and
227          priority in its struct.  The status module has also been
228          dropped.
229        - Message now supports multiple bodies, each in a different
230          language.  The body module has also been dropped.
231        - Iq now gets a proper StanzaError when the type is error.
232        - Fix bogus Jingle payload, which was requiring both
233          description and transport.
234    * Crate updates:
235        - minidom 0.3.0
236
237Version 0.1.0:
2382017-04-29  Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
239    * Implement many extensions.