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