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