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