Money v3.0.0-alpha Release Notes

Release Date: 2016-02-04 // almost 6 years ago
  • โž• Added

    • Currency repositories (ISO currencies included)
    • Money exchange (including Swap implementation)
    • Money formatting (including intl formatter)
    • ๐Ÿ“œ Money parsing (including intl parser)
    • ๐Ÿ‘ Big integer support utilizing different, transparent calculation logic upon availability (bcmath, gmp, plain php)
    • Money and Currency implements JsonSerializable
    • Rounding up and down
    • Allocation to N targets

    ๐Ÿ”„ Changed

    • [BC break] Money::getAmount() returns a string instead of an int value
    • [BC break] Moved stringToUnits to StringToUnitsParser parser
    • Library requires at least PHP 5.4
    • Library uses PSR-4

    ๐Ÿ›  Fixed

    • Integer overflow

    โœ‚ Removed

    • [BC break] UnkownCurrency exception
    • [BC break] Currency list is now provided by umpirsky/currency-list
    • [BC break] RoundingMode class
    • [BC break] Announced deprecations are removed (Currency::getName, CurrencyPair::getRatio, Money::getUnits)