From 958fdb93d7d58cc65324a0e8eee01f515a67d284 Mon Sep 17 00:00:00 2001 From: Daniel Abramov Date: Wed, 3 Nov 2021 18:52:13 +0100 Subject: [PATCH] Update changelog and bump the version --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1621243..fdbc344 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.16.0 + +- Update of dependencies (primarily `rustls`, `webpki-roots`, `rustls-native-certs`). +- When the close frame is received, the reply that is automatically sent to the initiator has the same code (so we just echo the frame back). Previously a new close frame was created (i.e. the close code / reason was always the same regardless of what code / reason specified by the initiator). Now it’s more symmetrical and arguably more intuitive behavior (see [#246](https://github.com/snapview/tungstenite-rs/pull/246) for more context). +- The internal `ReadBuffer` implementation uses heap instead of stack to store the buffer. This should solve issues with possible stack overflows in some scenarios (see [#241](https://github.com/snapview/tungstenite-rs/pull/241) for more context). + # 0.15.0 - Allow selecting the method of loading root certificates if `rustls` is used as TLS implementation. diff --git a/Cargo.toml b/Cargo.toml index 3d791fc..e6afe8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,9 +7,9 @@ authors = ["Alexey Galakhov", "Daniel Abramov"] license = "MIT/Apache-2.0" readme = "README.md" homepage = "https://github.com/snapview/tungstenite-rs" -documentation = "https://docs.rs/tungstenite/0.15.0" +documentation = "https://docs.rs/tungstenite/0.16.0" repository = "https://github.com/snapview/tungstenite-rs" -version = "0.15.0" +version = "0.16.0" edition = "2018" include = ["benches/**/*", "src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]