Skip to content

Commit

Permalink
Bump version to 0.10.1 and add changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
  • Loading branch information
Gelbpunkt committed Sep 13, 2024
1 parent d271124 commit 4945158
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 4945158

Please sign in to comment.