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