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