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