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