All Versions
26
Latest Version
Avg Release Cycle
69 days
Latest Release
1203 days ago

Changelog History
Page 3

  • v3.0.1 Changes

    February 14, 2017

    โž• Added

    • Reversed Currencies Exchange to try resolving reverse of a currency pair
    • ๐Ÿ“š Documentation on allowed integer(ish) values when constructing Money

    ๐Ÿ›  Fixed

    • Passing integer validation when chunk started with a dash
    • Passing integer validation when the fractional part started with a dash
    • Formatting problem for Bitcoin currency with small amounts in PHP < 7.0
    • Money constructed from a string with fractional zeroes equals to a Money constructed without the fractional part (eg. '5.00' and '5')
  • v3.0.0 Changes

    October 26, 2016

    โž• Added

    • DecimalMoneyFormatter: returns locale-independent raw decimal string

    ๐Ÿ”„ Changed

    • [BC break] Replaced StringToUnitsParser with DecimalMoneyParser
    • [BC break] Moved Money\Exception\Exception to Money\Exception
    • [BC break] UnkownCurrencyException is now DomainException instead of RuntimeException
    • [Doctrine break] In Currency the private variable name was renamed to code, which could break your Doctrine mapping if you are using embeddables or any other Reflection related implementation.
  • v3.0.0-beta.3 Changes

    October 04, 2016

    โž• Added

    • ๐Ÿ›  FixedExchange: returns fixed exchange rates based on a list (array)

    ๐Ÿ”„ Changed

    • [BC break] Convert method now moved to its own class: Converter
    • [BC break] Exchange had one method getCurrencyPair which is now renamed to quote
    • ๐Ÿ“š Minor documentation issues

    ๐Ÿ›  Fixed

    • Integer detection when the number overflows the integer type and contains zeros
    • Rounding numbers containg trailing zeros
    • Converting Money to currency with different number of subunits
  • v3.0.0-beta.2 Changes

    August 03, 2016

    โž• Added

    • โœ… PHP Spec tests
    • absolute method to Money and Calculator
    • subunitFor method to Currencies
    • Currencies now extends IteratorAggregate
    • Library exceptions now implement a common interface
    • ๐Ÿ“œ Formatter and Parser implementation are now rounding half up

    ๐Ÿ”„ Changed

    • [BC break] Dropped PHP 5.4 support
    • [BC break] Intl and Bitcoin formatters and parsers now require Currencies
    • ISOCurrencies now uses moneyphp/iso-currencies as currency data source

    ๐Ÿ›  Fixed

    • ๐Ÿ“š Documentation to be inline with upcoming version 3
    • Rounding issues in calculators with negative numbers
    • ๐Ÿ“œ Formatting and parser issues for amounts and numbers with a trailing zero
    • ๐Ÿ‘Œ Improved many exception messages
    • Registration of own Calculator implementations
  • v3.0.0-beta Changes

    March 01, 2016

    โž• Added

    • ๐Ÿ“œ Bitcoin parser and formatter
    • ๐Ÿ’… Also checking tests folder for StyleCI

    ๐Ÿ›  Fixed

    • Currencies are now included in the repo
    • ๐Ÿšš Currency list generation moved to dev dependency: reduces repo size
    • BC Math calculator adding and subtracting failed when bcscale was set
    • ๐Ÿ“œ Parsing zero for StringToUnitsParser
  • v3.0.0-alpha Changes

    February 04, 2016

    โž• 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)