Releases: cknow/laravel-money
Releases · cknow/laravel-money
v8.1.0
Features
- Support static macros [#162]
v8.0.0
Features
- Support Laravel 11 [#158]
- Remove Renderable [#150]
⚠ Breaking Changes
- Drop PHP 7.3, 7.4, 8.0
- Drop Laravel 7, 8
v7.2.1
Fixes
- Fix call undefined method (#160)
v7.2.0
Features
Fixes
- Fixes usage of ROUND_UP and ROUND_DOWN (#134)
- Fix money parser (#153)
v7.1.0
Features
- Laravel 10.x Compatibility (#141)
Fixes
- Fix string interpolation deprecated in PHP8.2: use {$var} instead of ${var} (#132)
Docs
v7.0.2
Fixes
- Fill the currency field without checking (#128)
v7.0.1
Fixes
- Fix
divide
and multiply
by a float precision (#127)
v7.0.0
Features
- Add
getISOCurrencies
(#118)
- Add rules
currency
and money
(#119)
Fixes
- Fix
divide
and multiply
(#117)
- Fix PHPDoc typings (#121)
⚠ Breaking Changes
Floating values have a new parser
v6.4.0
money(2.50 * 100) = $2.50
money(2.50 * 101) = $2.52
v7.0.0
money(2.50 * 100) = $250.00
money(2.50 * 101) = $252.50
Versions deleted
The versions below had break changes and were removed. See #123
v6.4.0
Features
- Add option to force decimals on MoneyCast (#114)
Fixes
- Support nullable amount and currency
- Fix parser when decimal part is .00 (#113)