From d9ea4e209f0f71f1723818880eaa3b883376023a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Tue, 26 Dec 2023 15:39:57 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a696f4..6a45d9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.2.0] - 2023-12-26 + +### Added + +- `ByteUnitConverter::numberFormat()` static method to be reused within library (although can be used externally) + +### Changed + +- `ByteUnitConverter::new()` method now accepts strings or integers as input argument +- `ByteUnitConverter::from()` method now accepts strings, floats or integers as first input argument + +### Fixed + +- `ByteUnitConverter::asRound()` method now returns zero (0) results with decimals only if results are 0 + ## [2.1.0] - 2023-12-25 ### Added