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