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