From 9682220995ffd396843be5b4ee1e5f2c2d6ecee2 Mon Sep 17 00:00:00 2001 From: Frederik Bosch Date: Tue, 11 Apr 2023 11:18:34 +0200 Subject: [PATCH] v4.1.1 entry --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab3a556a..860a6d7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [4.1.1] - 2023-04-11 + +### Fixed + +- Optimized result representation for BcMathCalculator +- Use sprintf for float to string conversion in swap exchange +- Fix rounding to unit with value between 10 and 49 +- Return type for DecimalMoneyFormatter::format is numeric-string +- Money::ratioOf throws exception if currencies don't match. +- Updated currencies: added SLE and VED, removed HRK. +- Do not let php-http/discovery change composer.json. + + ## [4.1.0] - 2022-12-19 ### Added @@ -447,7 +460,8 @@ convert a float to string (e.g. `sprintf('%.14F', $float)`) before calling the c - 2013-01-08 Use vendor/autoload.php instead of lib/bootstrap.php (or use PSR-0 autolaoding) - 2012-12-10 Renamed Money::getUnits() to Money::getAmount() -[Unreleased]: https://github.com/moneyphp/money/compare/v4.1.0...HEAD +[Unreleased]: https://github.com/moneyphp/money/compare/v4.1.1...HEAD +[4.1.1]: https://github.com/moneyphp/money/compare/v4.1.0...v4.1.1 [4.1.0]: https://github.com/moneyphp/money/compare/v4.0.5...v4.1.0 [4.0.5]: https://github.com/moneyphp/money/compare/v4.0.4...v4.0.5 [4.0.4]: https://github.com/moneyphp/money/compare/v4.0.3...v4.0.4