ChangeLog

  1Version NEXT
  2XXXX-YY-ZZ [ RELEASER <admin@localhost> ]
  3    * Breaking:
  4      - Agent::wait_for_events now return Vec<Event> and sets inner tokio_xmpp Client
  5        auto-reconnect to true... It is still aware of Event::Disconnected but should
  6        no longer have weird hanging state or panic (!436)
  7      - Agent::send_message now only sends normal messages to other users (!487)
  8      - Event::LeaveRoom, Event::LeaveAllRooms, and Event::JoinRooms have been removed.
  9        Agent now handles MUC connection states internally. (!481)
 10      - Agent::leave_room now takes LeaveRoomSettings argument (!483)
 11      - Agent::join_room now takes JoinRoomSettings argument (!483)
 12      - builder::ClientBuilder::set_default_nick no longer takes a &str, but
 13        any type that implements AsRef<jid::ResourceRef>, such as produced
 14        by ResourcePart::new (!485)
 15      - Event::RoomMessage, Event::RoomPrivateMessage, and Event::RoomSubject now
 16        use RoomNick as sender nickname; previously RoomNick was an alias for String
 17        now it's a newtype wrapper around ResourcePart (!485)
 18      - Agent::send_room_private_message now takes RoomPrivateMessageSettings (!487)
 19      - Event now exposes Option<MessageId> for incoming messages, and MessageId
 20        for incoming message corrections; type alias Id has been removed (!504)
 21      - The TLS-related feature flags have been completely reworked to make
 22        them easier to use. The `starttls-*` feature flags have been removed
 23        in favour of more concise flag names identifying the TLS backends
 24        directly (`aws_lc_rs`, `ring`, `native-tls`). The `starttls` feature
 25        is now independent of the specific backend (but a backend still needs
 26        to be enabled for compilation to succeed).
 27
 28        Please refer to the crate docs for details. (!581)
 29    * Added:
 30      - Agent::send_room_message takes RoomMessageSettings argument (!483)
 31      - Agent::send_raw_message takes RawMessageSettings for any message type (!487)
 32      - Event::ChatMessageCorrection, Event::RoomMessageCorrection, and
 33        Event::RoomPrivateMessageCorrection signal XEP-0308 message corrections; they're
 34        not checked how old the corrected entry is, which has security concerns (!496)
 35      - Event::AuthConfirm and Event::AuthReject signal XEP-0070 authentication requests and
 36        responses.
 37      - Agent::new helper method.
 38      - Handle SIGINT, SIGTERM and SIGKILL in hello_bot example to avoid leaving
 39        hibernating resources around.
 40      - New 'escape-hatch' feature: Allow sending tokio_xmpp::Stanza directly
 41        instead of having to go through xmpp-rs' API when it's lacking. This
 42        is meant to stay behind a feature. Also allows directly receiving
 43        stanzas.
 44      - Added documentation on `Event` enum.
 45      - Update to edition 2024
 46      - Add Config::Config struct as a user-facing Agent configuration method.
 47    * Fixes:
 48      - Use tokio::sync::RwLock not std::sync::RwLock (!432)
 49      - The default caps node has been shortened to https://xmpp.rs since we
 50        own that domain. Users should change it in their application though.
 51    * CI:
 52      - Enforce changelog updates in Gitlab CI.
 53
 54Version 0.6.0:
 552024-07-27 [ Maxime pep Buquet <pep@bouah.net> ]
 56    * Breaking:
 57      - Rename ClientBuilder::new_with_server to new_with_connector. (99036735)
 58    * Added:
 59      - Split xmpp in various modules to facilitate changes and contributions.
 60      - Expose `bound_jid` on `Agent`. (e36b8d4f)
 61      - Add `Agent::leave_room` method. (249d2aee, d2a56348)
 62      - `Event::Disconnected` now exposes reasons of the disconnect. (ba48f6de)
 63      - Read legacy XEP-0048 v1.0 bookmarks. (5fbba5c9)
 64      - Read legacy bookmarks or bookmarks2 depending on disco#info result on
 65        account. (4f8dc68b)
 66      - Implement `Event::RoomSubject` for room subject changes / retrieval. (4f8ce0a9)
 67      - Add StanzaTimeInfo for \<delay\> (XEP-0203). (3d9bdd6f)
 68      - Add documentation on various methods.
 69      - Fix typos via codespell. (002c2803)
 70      - Update to edition 2021. (4089891f)
 71      - Bump dependencies.
 72      - Add `syntax-highlighting` feature as a proxy for tokio-xmpp's. (aee4c7911)
 73      - Allow `xmpp` to be built with no default features. (54de8d99)
 74      - Remove unused features from dependencies. (2d11ada)
 75    * Fixes:
 76      - Prevent crash when avatar is too big. (13449b19)
 77      - Add handler for the Err case when parsing a PubSub event. (7579173c)
 78      - Stop interpreting unavailable status as a `RoomJoined` event. (49921ac7)
 79      - Assume BareJid and not FullJid as per the spec when @from isn't set on
 80        received iq. (51f24627)
 81      - Ensure reqwest dep doesn't automatically pull openssl when we use rustls. (cde6450b)
 82
 83Version 0.5.0:
 842023-08-23 [ Maxime pep Buquet <pep@bouah.net> ]
 85    * Breaking changes:
 86      - ClientBuilder::new takes a parsed BareJid instead of string (#72)
 87      - ClientBuilder::new doesn't return a Result anymore
 88    * Improvements:
 89      - New event: RoomPrivateMessage(Id, BareJid, RoomNick, Body) (#85)
 90      - New Agent::send_room_private_message method.
 91      - Agent is now Send, by replacing Rc with Arc and RefCell with RwLock (#64)
 92      - ClientBuilder now has a set_resource method for manual resource management (#72)
 93      - Update dependencies
 94      - Re-export jid structs, minidom::Element, and parsers module.
 95	  - Add serde feature, passed to jid crate
 96
 97Version 0.4.0:
 982023-05-18 [ Maxime pep Buquet <pep@bouah.net>, Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> ]
 99    * Breaking changes:
100      - Event::ChatMessage and Event::RoomMessage now include an optional
101        message id.
102    * Improvements:
103      - New Event::ServiceMessage.
104      - New Event::HttpUploadedFile.
105      - Add a disconnect method on Agent
106      - ContactAdded event now fires properly. Thanks Doggo.
107      - Update dependencies versions
108    * Changes:
109      - Split wait_for_events method, make it easier to edit.
110      - hello_bot: add catch-all for Event
111      - Remove -rs suffix in folder name
112
113xmpp-rs (0.3.0)
114    [ Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> ]
115    * Breaking changes:
116        - Complete change of API. We are not using plugins anymore. Please
117          have a look at ClientFeature(s) and Event(s).
118    * Improvements:
119        - Uses xmpp-parsers 0.15.0, and tokio-xmpp 1.0.1.
120
121    -- Maxime pep Buquet <pep@bouah.net> Fri, 13 Sep 2019 01:28:00 +0200