Skip to content

Releases: cknow/laravel-money

v8.1.0

24 Apr 19:56
783b08a
Compare
Choose a tag to compare

Features

  • Support static macros [#162]

v8.0.0

16 Mar 13:27
799f2f3
Compare
Choose a tag to compare

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

16 Mar 12:45
82d5062
Compare
Choose a tag to compare

Fixes

  • Fix call undefined method (#160)

v7.2.0

18 Aug 11:17
d54ebc5
Compare
Choose a tag to compare

Features

  • Serializer Config (#136)

Fixes

  • Fixes usage of ROUND_UP and ROUND_DOWN (#134)
  • Fix money parser (#153)

v7.1.0

18 Feb 14:38
a98ca18
Compare
Choose a tag to compare

Features

  • Laravel 10.x Compatibility (#141)

Fixes

  • Fix string interpolation deprecated in PHP8.2: use {$var} instead of ${var} (#132)

Docs

  • Fix cast example (#143)

v6.4.1

18 Feb 17:11
Compare
Choose a tag to compare

Fixes

  • Fix PHPDoc typings

v7.0.2

09 Nov 19:04
8c3ed1c
Compare
Choose a tag to compare

Fixes

  • Fill the currency field without checking (#128)

v7.0.1

31 Oct 19:10
13a87ac
Compare
Choose a tag to compare

Fixes

  • Fix divide and multiply by a float precision (#127)

v7.0.0

17 Jun 19:10
Compare
Choose a tag to compare

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.5.0
  • v6.5.1

v6.4.0

19 Apr 13:43
1674f38
Compare
Choose a tag to compare

Features

  • Add option to force decimals on MoneyCast (#114)

Fixes

  • Support nullable amount and currency
  • Fix parser when decimal part is .00 (#113)