Skip to content

Releases: kipcole9/money

Money version 5.16.0

20 Apr 22:32
Compare
Choose a tag to compare

Bug Fixes

  • When parsing numbers, use the localized number system separators where they exist. Thanks to @pshoukry for the report. Closes #167.

  • Surface errors when starting the exchange rates retrieveer. Thanks to @danschultzer for the PR. Closes #165.

Enhancements

  • Update to CLDR 45.0 data.

  • Return structured errors for Money.ExchangeRates.latest_rates/0, Money.ExchangeRates.historic_rates/1, Money.ExchangeRates.last_updated/0 and Money.ExchangeRates.latest_rates_available?/0 when the exchange rates retrieval process is not running.

Money version 5.15.4

29 Feb 20:52
Compare
Choose a tag to compare

Bug Fixes

  • Fix exchange rate conversions for digital tokens. Thanks much to @ddanschultzer for the PR. Closes 164.

Ehancements

  • Format the exchange rate retrieval interval used in the init message using the default cldr backend configured for :ex_money.

Money version 5.15.3

03 Jan 23:46
Compare
Choose a tag to compare

Bug Fixes

  • Add or ~> 4.0 for :phoenix_html dependency. Thanks to @wkirschbaum for the PR. Closes #161.

Money version 5.15.2

02 Nov 22:15
Compare
Choose a tag to compare

Bug Fixes

  • Fix compilation warnings on doctests on Elixir 1.16.

Money version 5.15.1

09 Oct 18:27
Compare
Choose a tag to compare

Bug Fixes

  • Fixes the exchange rate retriever, removing the double retrieval loop. Thanks to @dbernheisel for the report. Closes #152.

Money version 5.15.0

24 Jul 00:20
Compare
Choose a tag to compare

Enhancements

  • Adds an option :no_fraction_if_integer to Money.to_string/2. If truthy this option will set fractional_digits: 0 if money is an integer value. This may be helpful in cases where integer money amounts such as Money.new(:USD, 1234) should be formatted as $1,234 rather than $1,234.00.

Money version 5.14.1

23 Jul 08:13
Compare
Choose a tag to compare

Bug Fixes

  • Fix Looger.warn/1 warnings by moving to Logger.warning/1.

  • Fix failing test case.

Money version 5.14.0

28 Apr 23:41
Compare
Choose a tag to compare

Enhancements

  • Adds Money.integer?/1 to return a boolean indicatng if a money amount is an integer value (ie has no significant fractional digits).

Money version 5.13.0

28 Apr 04:47
Compare
Choose a tag to compare

Enhancements

  • Updates to ex_cldr version 2.37.0 which includes data from CLDR release 43

  • Tests now assume Decimal ~> 2.0 since the Inspect protocol implementation now emits executable code examples.

Money version 5.12.4

30 Mar 11:26
Compare
Choose a tag to compare

Bug Fixes

  • Delegates http requests (used in exchange rates retrieval) to Cldr.Http.get_with_headers/2. This centralizes all HTTP get requests for all ex_cldr_* libraries to this one function which can then be reviewed and managed for security concerns.