From 8ae3bb2104fda9a02d55ac5635974ca1b5a49ebb Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 12 Dec 2019 11:53:36 -0800 Subject: [PATCH] v0.5.3 --- CHANGELOG.md | 9 +++++++++ Cargo.toml | 7 +++++-- src/lib.rs | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11fa9d4..960bd79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.5.3 (December 12, 2019) + +### Added +- `must_use` attributes to `split`, `split_off`, and `split_to` methods (#337). + +### Fix +- Potential freeing of a null pointer in `Bytes` when constructed with an empty `Vec` (#341, #342). +- Calling `Bytes::truncate` with a size large than the length will no longer clear the `Bytes` (#333). + # 0.5.2 (November 27, 2019) ### Added diff --git a/Cargo.toml b/Cargo.toml index 1d9978b..ada1488 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,12 @@ name = "bytes" # - Update CHANGELOG.md. # - Update doc URL. # - Create "v0.5.x" git tag. -version = "0.5.2" +version = "0.5.3" license = "MIT" -authors = ["Carl Lerche "] +authors = [ + "Carl Lerche ", + "Sean McArthur ", +] description = "Types and traits for working with bytes" documentation = "https://docs.rs/bytes" repository = "https://github.com/tokio-rs/bytes" diff --git a/src/lib.rs b/src/lib.rs index 59774a9..2df1fb3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://docs.rs/bytes/0.5.2")] +#![doc(html_root_url = "https://docs.rs/bytes/0.5.3")] #![no_std] //! Provides abstractions for working with bytes.