Skip to content

Latest commit

 

History

History
193 lines (113 loc) · 6.31 KB

CHANGELOG.md

File metadata and controls

193 lines (113 loc) · 6.31 KB

ws_stream_tungstenite Changelog

[0.13.0] - 2024-02-16

  • BREAKING_CHANGE: update async-tungstenite to 0.25

0.12.0 - 2024-02-09

  • BREAKING_CHANGE: update async-tungstenite to 0.24
  • BREAKING_CHANGE: update tungstenite to 0.21

0.11.0 - 2023-10-07

  • BREAKING_CHANGE/SECURITY UPDATE: update tungstenite to 0.20.1. See: RUSTSEC-2023-0065. Make sure to check how the new version of tungstenite handles buffering messages before sending them. Having write_buffer_size to anything but 0 might cause messages not to be sent until you flush. ws_stream_tungstenite will make sure to respect max_write_buffer_size, so you shouldn't have to deal with the errors, but note that if you set it to something really small it might lead to performance issues on throughput. I wanted to roll this version out fast for the security vulnerability, but note that the implementation of AsyncWrite::poll_write_vectored that handles compliance with max_write_buffer_size currently has no tests. If you want to use it, please review the code.
  • BREAKING_CHANGE: update async-tungstenite to 0.23
  • BREAKING_CHANGE: switched to tracing for logging (check out the tracing-log crate if you need to consume the events with a log consumer)
  • BREAKING_CHANGE: update async-tungstenite to 0.22
  • BREAKING_CHANGE: update tungstenite to 0.19
  • BREAKING_CHANGE: update tungstenite to 0.18
  • BREAKING_CHANGE: update tungstenite to 0.17
  • BREAKING_CHANGE: update dependencies
  • In search of the cause of: najamelan#7 error reporting has been improved. However until now have been unable to reproduce the issue.

[0.6.2]

YANKED: has become 0.7.0 because it was a breaking change.

Updated

  • switched to asynchronous-codec from futures-codec.
  • fixed external_doc removal in rustdoc 1.54.
  • fixed assert_matches ambiguity on nightly.

0.6.0 - 2021-02-18

Updated

  • BREAKING_CHANGE: Update tungstenite and async-tungstenite to 0.13
  • BREAKING_CHANGE: Update pharos to 0.5
  • Update async_io_stream to 0.3

0.5.0 - 2021-02-11

Updated

  • BREAKING_CHANGE: Update tungstenite and async-tungstenite to 0.12

0.4.0 - 2021-01-01

Updated

  • BREAKING_CHANGE: Update tokio to v1

0.4.0-beta.2 - 2020-11-23

Fixed

  • BREAKING_CHANGE: do not enable default features on tungstenite
  • remove thiserror.

0.4.0-beta.1 - 2020-11-03

Updated

  • BREAKING_CHANGE: update tokio to 0.3 and async-tungstenite to 0.10. Will go out of beta when tokio releases 1.0

0.3.0 - 2020-10-01

Updated

  • BREAKING_CHANGE: update async-tungstenite to 0.8 and tungstenite to 0.11

0.2.0 - 2020-06-10

Updated

  • BREAKING_CHANGE: update async-tungstenite to 0.5

Fixed

  • correct a documentation mistake

0.1.0 - 2020-03-21

Added

  • BREAKING_CHANGE: Switch to async_tungstenite as backend, we are now framework agnostic
  • Implement tokio AsyncRead/AsyncWrite for WsStream (Behind a feature flag).

Fixed

  • BREAKING_CHANGE: Rename error type to WsErr
  • delegate implementation of AsyncRead/AsyncWrite/AsyncBufRead to async_io_stream. This allows sharing the functionality with ws_stream_wasm, fleshing it out to always fill and use entire buffers, polling the underlying stream several times if needed.
  • only build for default target on docs.rs.
  • exclude unneeded files from package build.
  • remove trace and debug statements.

0.1.0-alpha.5 - 2019-11-14

Updated

  • update to futures 0.3.1.

0.1.0-alpha.4 - 2019-10-07

Fixed

  • now handle sending out a close frame correctly when we decide to close, like when we receive a text message.
  • Non fatal errors from underlying tokio-tungstenite stream are now returned out of band. This allows to keep polling the stream until the close handshake is completed and it returns None. This is not possible for errors returned from poll_read, since codecs will no longer poll a stream as soon as it has returned an error.

0.1.0-alpha.2 - 2019-09-17

Fixed

  • fix docs.rs readme
  • add CI testing
  • fix clippy warnings

0.1.0-alpha.1 - 2019-09-17 Initial release