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