2024-07-31 17:25:09 +00:00
|
|
|
|
Version NEXT:
|
|
|
|
|
XXXX-YY-ZZ RELEASER <admin@example.com>
|
|
|
|
|
* Breaking:
|
|
|
|
|
- Remove `tokio_xmpp::ParseError` and `tokio_xmpp::starttls::ParseError` which were never used
|
2024-08-01 15:54:00 +00:00
|
|
|
|
- Removed StreamFeatures from this crate, replaced with xmpp_parsers::stream_features::StreamFeatures (!400)
|
2024-08-04 10:38:08 +00:00
|
|
|
|
- `starttls::error::ConnectorError` variants have been merged with `starttls::error::Error`, except `ConnectorError::AllFailed`
|
|
|
|
|
which was not used and has been completely removed (!418)
|
2024-08-04 15:32:12 +00:00
|
|
|
|
- `ProtocolError` and `AuthError` are no longer exported in crate root;
|
|
|
|
|
access them from `error` module (!423)
|
2024-08-04 15:32:12 +00:00
|
|
|
|
- `connect::ServerConnector` no longer has `Error` associated type, the methods return tokio_xmpp::Error directly,
|
|
|
|
|
where Connection variant contains any error type that implements connect::ServerConnectorError (!421)
|
|
|
|
|
- `starttls::Error` no longer has `TokioXMPP` variant ; only tokio_xmpp::Error can contain starttls::Error,
|
|
|
|
|
not the other way around (!421)
|
2024-08-08 12:57:05 +00:00
|
|
|
|
- `AsyncClient::new` automatically reconnects by default (!436)
|
|
|
|
|
- `AsyncClient::poll_next` properly closes stream with `Poll::Ready(None)` when disconnecting without auto reconnect (!436)
|
2024-08-05 13:33:23 +00:00
|
|
|
|
- remove `tokio_xmpp::SimpleClient` because it was not widely used, and not well documented ; if you need it,
|
|
|
|
|
please let us know and it will be reintegrated (!428)
|
2024-08-06 15:00:53 +00:00
|
|
|
|
- `XMPPStream` was renamed `XmppStream` and is now published as `tokio_xmpp::proto::XmppStream` (!428)
|
|
|
|
|
- `XmppCodec` was moved to proto module and is now published as `tokio_xmpp::proto::XmppCodec` (!428)
|
2024-08-06 18:40:24 +00:00
|
|
|
|
- `Component::new` and `Client::new only require jid/password argument (!428)
|
|
|
|
|
- `ServerConfig` and `Client::new_with_config` have been removed (!428)
|
|
|
|
|
- `Component` and `Client` now have `new_plaintext`, `new_starttls` and `new_with_connector` methods with same signature (!428)
|
|
|
|
|
`new_plaintext` and `new_starttls` take a DnsConfig struct for SRV/DNS resolution strategy, while `new_with_connector` takes
|
|
|
|
|
anything that implements ServerConnector
|
2024-07-31 17:25:09 +00:00
|
|
|
|
|
2024-07-26 14:13:42 +00:00
|
|
|
|
Version 4.0.0:
|
|
|
|
|
2024-07-26 Maxime “pep” Buquet <pep@bouah.net>
|
|
|
|
|
* Breaking:
|
|
|
|
|
- Add ServerConnector API to be able to change transports for the
|
|
|
|
|
stream and the consumer.
|
|
|
|
|
- DNS/TLS deps are now optional and available behind the `starttls-rust` and
|
|
|
|
|
the `starttls-native` features.
|
|
|
|
|
- Connectors for insecure tcp are now behind the `insecure-tcp` feature
|
|
|
|
|
and are disabled by default.
|
|
|
|
|
* Changes:
|
|
|
|
|
- Add support for channel binding (RFC 9266) on TLS 1.3 (TLS 1.2
|
|
|
|
|
pending) (faabc2984)
|
|
|
|
|
- Prevent tokio-xmpp from crashing when the server closes the stream
|
|
|
|
|
under our feet (aabd19f7).
|
|
|
|
|
- New public `AsyncClient::get_stream_features` and
|
|
|
|
|
`SimpleClient::get_stream_features` methods. (060088be)
|
|
|
|
|
- Add `serde` feature to proxy jid feature. (034976748)
|
|
|
|
|
- Add XmppCodec public. (6d449e9a)
|
|
|
|
|
- Remove workaround for Debian oldoldstable. (372234b9)
|
|
|
|
|
- Update to edition 2021. Remove TryFrom/Into as they're included in the
|
|
|
|
|
prelude. (4089891)
|
|
|
|
|
- Happy eyeballs: Connect to all records in parallel. The happy eyeballs
|
|
|
|
|
implementation used not to query AAAA if it got an answer for the A
|
|
|
|
|
record. (598ffdb, 6c3081d)
|
|
|
|
|
- Allow building docs with --all-features. It used to fail because it's
|
|
|
|
|
not possible to build with both the `tls-native` and `tls-rust`.
|
|
|
|
|
features. (0298caf9)
|
|
|
|
|
- Bump all dependencies.
|
|
|
|
|
- Change trust-dns to hickory-dns. (115edf6f)
|
|
|
|
|
- Remove unnecessary features from dependencies. (2d11ada30)
|
|
|
|
|
- Fix typos with codespell
|
|
|
|
|
- Various performance optimisations
|
|
|
|
|
|
2023-10-24 17:33:32 +00:00
|
|
|
|
Version 3.5.0:
|
|
|
|
|
2023-10-24 Maxime “pep” Buquet <pep@bouah.net>
|
|
|
|
|
* Changes:
|
|
|
|
|
- Require one and only one of tls-native and tls-rust to be enabled.
|
|
|
|
|
Technically a breaking change, but enabling both wasn't working in the
|
|
|
|
|
previous release anyway.
|
|
|
|
|
- Various fixes that were guarded under the tls-rust feature. All
|
|
|
|
|
updates from dependencies.
|
2024-06-05 09:13:29 +00:00
|
|
|
|
- Add serde feature, passed to jid crate
|
2023-10-24 17:33:32 +00:00
|
|
|
|
|
2023-08-17 13:37:44 +00:00
|
|
|
|
Version 3.4.0:
|
|
|
|
|
2023-08-17 Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-01 09:58:04 +00:00
|
|
|
|
* Breaking changes:
|
2023-06-21 10:02:11 +00:00
|
|
|
|
- AsyncClient::new takes a parsed Jid instead of string (#72)
|
2023-08-17 13:28:18 +00:00
|
|
|
|
- Properly add @id to every stanza, and also add support for components.
|
2023-06-21 10:02:11 +00:00
|
|
|
|
* Changes:
|
|
|
|
|
- env_logger is now included in dev_dependencies for examples debugging with RUST_LOG=debug
|
|
|
|
|
- Fix debug prints to include all XML being sent and received
|
2023-08-17 13:28:18 +00:00
|
|
|
|
- Add chosen DNS method to debug logs
|
|
|
|
|
- Add syntax highlighting to debug logs
|
|
|
|
|
- Update dependencies
|
|
|
|
|
- Fix a deadlock when packets were being ignored. (6ccc5cc)
|
|
|
|
|
- Re-export jid structs, minidom::Element, and parsers module
|