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