Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 932 Bytes

change-log-4.0-and-versions.md

File metadata and controls

21 lines (15 loc) · 932 Bytes

Versions from 4.0

2021-11-09- version 4.1.0

  • fix deprecation with doctrine, objectManager => EntityManager (thanks @mogilvie)
  • alias for MoneyManager Class (thanks @yvalentin)
  • various deprecations and fixes (thanks @johanwilfer)

2020-04-12 : updates for 4.0.0 version

  • Updated to moneyphp/money v.3.0
    • MoneyObject->getCurrency->getName() should be changed to MoneyObject->getCurrency->getCode()
    • MoneyObject->getAmount() now returns a string instead of a int
  • Removed autoregistration of custom Doctrine Money type. You should add it by hand, as described in installation instructions. Checkout discussion for details.

Twig filters:

  • removed amount | money_get_currency filter, use amount.currency instead
  • removed currency | currency_name filter, user currency.code instead