From 992f24b44b7cfa1b112f1edae9dd113b8fcb0d75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 11:20:35 +0000 Subject: [PATCH 1/3] chore: release v2.4.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e545596c..3fded11c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -37,7 +37,7 @@ checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" [[package]] name = "bytesize" -version = "2.4.0" +version = "2.4.1" dependencies = [ "arbitrary", "divan", diff --git a/Cargo.toml b/Cargo.toml index e2fee995..26fc6990 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bytesize" description = "Semantic wrapper for byte count representations" -version = "2.4.0" +version = "2.4.1" authors = [ "Hyunsik Choi ", "MrCroxx ", From 429828ea4d66b8f2804b11dd49a1376d4468f56e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 11:20:38 +0000 Subject: [PATCH 2/3] docs: update changelog versions --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66c50dd4..e6bd9430 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## 2.4.1 + +- No significant changes since `2.4.0`. + ## 2.4.0 - Implement `Sum` for `ByteSize`. diff --git a/README.md b/README.md index d6155aa9..4d461056 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ [![crates.io](https://img.shields.io/crates/v/bytesize?label=latest)](https://crates.io/crates/bytesize) -[![Documentation](https://docs.rs/bytesize/badge.svg?version=2.4.0)](https://docs.rs/bytesize/2.4.0) +[![Documentation](https://docs.rs/bytesize/badge.svg?version=2.4.1)](https://docs.rs/bytesize/2.4.1) ![Version](https://img.shields.io/badge/rustc-1.85+-ab6000.svg) ![Apache 2.0 licensed](https://img.shields.io/crates/l/bytesize.svg)
-[![Dependency Status](https://deps.rs/crate/bytesize/2.4.0/status.svg)](https://deps.rs/crate/bytesize/2.4.0) +[![Dependency Status](https://deps.rs/crate/bytesize/2.4.1/status.svg)](https://deps.rs/crate/bytesize/2.4.1) [![Download](https://img.shields.io/crates/d/bytesize.svg)](https://crates.io/crates/bytesize) From 49bf8051178f28ace8ee40bfd9cf3f3a967804b6 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 3 Jul 2026 12:38:49 +0100 Subject: [PATCH 3/3] docs: update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6bd9430..69d97628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ## 2.4.1 -- No significant changes since `2.4.0`. +- Fix rounding error near power-of-unit boundaries. ## 2.4.0