Skip to content

v4.0.0

Compare
Choose a tag to compare
@RAnders00 RAnders00 released this 22 Mar 12:40
· 31 commits to master since this release
ec34e31
  • Breaking: Updated metrics to version 0.18. (#146)
  • Breaking: Implement user login fetching via the API when using RefreshingLoginCredentials. (#144)
  • Breaking: It was possible to trip up the channel joinery logic of the client pretty good by joining channels with a comma in them. Added a basic validation step to TwitchIRCClient.login and TwitchIRCClient.set_wanted_channels to ensure channel names are in a sane format - these two functions now return a Result that you will have to handle in your code. The underlying used validation function is exported for use as twitch_irc::validate::validate_login. (#149, #154, #156)
  • Breaking: This library now no longer uses the log crate for logging. All logging is now done via tracing. This allows you to now differentiate log messages by async task, by connection, and if configured, even by client if your application is running multiple clients. A new configuration option has been introduced for this: config.tracing_identifier. (#151)
  • Breaking: Renamed the refreshing-token feature to refreshing-token-native-tls to reflect the fact that it pulls in the OS's native TLS library (e.g. OpenSSL/Schannel). Added the refreshing-token-rustls-native-roots and refreshing-token-rustls-webpki-roots feature flags to complement the other parts of the library where you can choose between the three options. (#153)
  • Minor: Implement Clone for RefreshingLoginCredentials (#143)
  • Minor: Added feature flag transport-ws-rustls-native-roots to allow websocket connections powered by rustls using the OS-native root certificates. (#146)
  • Minor: Updated some further dependencies:
    • async-tungstenite 0.13 -> 0.17
    • rustls-native-certs 0.5 -> 0.6
    • tokio-rustls 0.22 -> 0.23
    • tokio-util 0.6 -> 0.7
    • webpki-roots 0.21 -> 0.22