From 4945158a0b6f801363028ea4b5c742f4d2f506b9 Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Fri, 13 Sep 2024 17:21:55 +0200 Subject: [PATCH] Bump version to 0.10.1 and add changelog Signed-off-by: Jens Reidel --- CHANGELOG.md | 18 ++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6976ec36fed..34c46c83084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.1] - 2024-09-13 + +### Added + +- The new `rustls-bring-your-own-connector` feature allows for creating a `Connector::Rustls` instance without pulling in any other certificate roots +- The sink flush threshold is now configurable via `Config::flush_threshold` + +### Changed + +- `Config::frame_size` now panics when the frame size is set to 0 +- Reduced the number of allocations which was caused by a misunderstanding of `BytesMut::reserve` internals, improving throughput by up to 30% +- The number of pending bytes to be written is no longer calculated in a potentially expensive loop in `poll_ready`, but rather tracked as messages are queued + +### Fixed + +- Fixed a case of possible UB in the UTF-8 validator discovered by the new fuzzer ([@finnbear](https://github.com/finnbear)) +- The UTF-8 validator now uses the faster validation for partial codepoints as intended, earlier this was only the case if the number of bytes available matched the number expected + ## [0.10.0] - 2024-09-04 ### Added diff --git a/Cargo.toml b/Cargo.toml index d7de6659dd8..edd84df8cda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-websockets" -version = "0.10.0" +version = "0.10.1" edition = "2021" description = "High performance, strict, tokio-util based WebSockets implementation" categories = ["web-programming::websocket", "network-programming", "asynchronous", "concurrency"]