From 4b51e1de7a9b330bc5728dc17ee3df54afa6e19d Mon Sep 17 00:00:00 2001 From: KodrAus Date: Tue, 19 Mar 2024 10:48:11 +1000 Subject: [PATCH] prepare for 2.5.0 release --- CHANGELOG.md | 11 +++++++++++ Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd435d29..5d410fc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# 2.5.0 + +## What's Changed +* Derive `Debug` for `Flag` by @tgross35 in https://github.com/bitflags/bitflags/pull/398 +* Support truncating or strict-named variants of parsing and formatting by @KodrAus in https://github.com/bitflags/bitflags/pull/400 + +## New Contributors +* @tgross35 made their first contribution in https://github.com/bitflags/bitflags/pull/398 + +**Full Changelog**: https://github.com/bitflags/bitflags/compare/2.4.2...2.5.0 + # 2.4.2 ## What's Changed diff --git a/Cargo.toml b/Cargo.toml index 764bfdcd..edc4f024 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bitflags" # NB: When modifying, also modify the number in readme (for breaking changes) -version = "2.4.2" +version = "2.5.0" edition = "2021" rust-version = "1.56.0" authors = ["The Rust Project Developers"] diff --git a/README.md b/README.md index a560bc85..652a880f 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -bitflags = "2.4.2" +bitflags = "2.5.0" ``` and this to your source code: diff --git a/src/lib.rs b/src/lib.rs index f0aed784..8f722591 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ Add `bitflags` to your `Cargo.toml`: ```toml [dependencies.bitflags] -version = "2.4.2" +version = "2.5.0" ``` ## Generating flags types