Merge branch 'changelog' into 'main'

Draft: Update changelogs for future release

See merge request xmpp-rs/xmpp-rs!271
This commit is contained in:
xmpp ftw 2024-04-16 19:11:57 +00:00
commit 6cd772800e
3 changed files with 27 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Version xxx, release xxx:
`.map(|x| x.as_str())` on the corresponding `node`/`domain`/`resource`
functions instead.
* Additions:
- Jid, Barejid and FullJid now derive PartialOrd/Ord for consistent sorting ([!258](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/258))
- Add optional quote support. Implement quote::ToTokens for Jid, FullJid
and BareJid.
- `str`-like reference types have been added for `DomainPart`, `NodePart`

View File

@ -1,7 +1,18 @@
Version xxx:
0000-00-00 Authors
* Breaking changes:
- [`avatar::Info`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/avatar/struct.Info.html) bytes field now is `u32` instead of `u16` ([!229](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/229)
* New parsers/serialisers:
- Private XML Storage ([XEP-0049](https://xmpp.org/extensions/xep-0049.html)) in [`private`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/private/index.html) module ; only legacy bookmarks are supported ([XEP-0048](https://xmpp.org/extensions/xep-0048.html)) ([!244](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/244))
- vcard-temp ([XEP-0054](https://xmpp.org/extensions/xep-0054.html)) in [`vcard`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/vcard/index.html) module for legacy avatar support
- vCard-Based Avatars ([XEP-0153](https://xmpp.org/extensions/xep-0054.html)) in [`vcard_update`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/vcard_update/index.html) module for legacy avatar updates
* Improvements:
- Re-export the jid module entirely.
- Re-export the jid crate entirely
- Re-export the blake2, sha1, sha2, and sha3 crates entirely
- [`bookmarks::Conference::into_bookmarks2`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/bookmarks/struct.Conference.html#method.into_bookmarks2) to convert from legacy ([XEP-0048](https://xmpp.org/extensions/xep-0048.html)) to modern bookmarks ([XEP-0402](https://xmpp.org/extensions/xep-0402.html)) ([!244](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/244))
- [`bookmarks::Autojoin`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/bookmarks/enum.Autojoin.html) is now the same type as [`bookmarks2::Autojoin`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/bookmarks/enum.Autojoin.html) ([!244](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/244))
- [`StanzaError`](https://docs.rs/xmpp-parsers/latest/xmpp_parsers/stanza_error/struct.StanzaError.html) now supports legacy `code` attribute in `<error>` stanzas ; they are not exposed, but will not produce an error ([!250](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/250))
- `util::helpers::Hex` (internal API) allows for hex encoding/decoding in the elements ([!266](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/266))
Version 0.20.0:
2023-08-17 Maxime “pep” Buquet <pep@bouah.net>, Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

View File

@ -1,3 +1,17 @@
Version XX.YY.ZZ:
YYYY-MM-DD [ XX < foo@bar.com ]
* Breaking changes:
- [`Agent`](https://docs.rs/xmpp/latest/xmpp/struct.Agent.html) now has generic parameter for connection settings, which implements the [ServerConnector](https://docs.rs/tokio-xmpp/latest/tokio_xmpp/connect/trait.ServerConnector.html) trait ([!257](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/257))
- [`Event::Disconnected`](https://docs.rs/xmpp/latest/xmpp/enum.Event.html#variant.Disconnected) now contains the [`tokio_xmpp::Error`](https://docs.rs/tokio-xmpp/latest/tokio_xmpp/enum.Error.html) related to the disconnect ([!239](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/239))
- [`Event::ChatMessage`](https://docs.rs/xmpp/latest/xmpp/enum.Event.html#variant.ChatMessage) and [`Event::RoomMessage`](https://docs.rs/xmpp/latest/xmpp/enum.Event.html#variant.RoomMessage) now contain [`StanzaTimeInfo`](https://docs.rs/xmpp/latest/xmpp/delay/struct.StanzaTimeInfo.html) for timing/delay information from [XEP-0203](https://xmpp.org/extensions/xep-0203.html) ([!249](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/249))
* Improvements:
- [`Agent::leave_room`](https://docs.rs/xmpp/latest/xmpp/struct.Agent.html#method.leave_room) allows client to leave a MUC chatroom ([!237](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/237))
- [`Agent::bound_jid`](https://docs.rs/xmpp/latest/xmpp/struct.Agent.html#method.bound_jid) exposes [tokio_xmpp::AsyncClient::bound_jid](https://docs.rs/tokio-xmpp/latest/tokio_xmpp/struct.AsyncClient.html#method.bound_jid) method
- [`Event::RoomSubject`](https://docs.rs/xmpp/latest/xmpp/enum.Event.html#variant.RoomSubject) is emitted when a room subject (also called topic) is updated, or when it's received upon joining the room ([!262](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/262))
- [`Event::RoomLeft`](https://docs.rs/xmpp/latest/xmpp/enum.Event.html#variant.RoomLeft) is now correctly emitted when receiving ([!237](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/237))
- Failing to parse an avatar does not crash the library anymore ([!229](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/229))
- Perform legacy ([XEP-0048](https://xmpp.org/extensions/xep-0048.html)) bookmarks query when modern bookmarks2 ([XEP-0402](https://xmpp.org/extensions/xep-0402.html)) is not available according to `disco#info` on account ([!244](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/244))
- When receiving an IQ result from self, the `from` field is set correctly ([!261](https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/261))
Version 0.5.0:
2023-08-23 [ Maxime “pep” Buquet <pep@bouah.net> ]
* Breaking changes: