Skip to content

Releases: kipcole9/money

Ex Money version 5.19.2

12 Feb 19:19
Compare
Choose a tag to compare

Bug Fixes

  • Fix using Elixir 1.18's JSON module in ex_money (specifically decoding exchange rates). Thanks to @allenwyma and @maikelthedev for the report. Closes #176.

  • Document currency_symbol: :none option for Money.to_string/2. This option formats the money amount without a currency symbol. This may be useful for UI forms that separate the currency and the amount for input. Requires ex_cldr_numbers version 2.33.6 or later.

  • Fix parsing money strings that contain trailing RTL markers. Requires ex_cldr_currencies version 2.16.4 or later.

Ex Money version 5.19.1

22 Jan 07:34
Compare
Choose a tag to compare

Bux Fixes

  • Fixes Money.within/3 when min and max are the same. Thanks to @joewunderlich for the report. Closes #177.

Ex Money version 5.19.0

31 Dec 19:46
Compare
Choose a tag to compare

Deprecations

  • Money.default_backend/0 is soft deprecated in favor of Money.default_backend!/0 whose naming better expresses the side effect of an exception being raised if no default backend is configured.

Bug Fixes

  • Surface an error exception if, when starting the exchange rates service, no Money.default_backend!/0 is configured.

Ex Money version 5.18.0

20 Sep 10:40
Compare
Choose a tag to compare

Enhancements

  • Adds min/2, max/2, min!/2, max!/2, clamp/3, clamp!/3, negate/1, negate!/1 and within?/3.

Ex Money version 5.17.2

17 Sep 18:18
Compare
Choose a tag to compare

Bug Fixes

  • Fix implementation of Money.exclude_protocol_implementation/1 for Jason.Encoder. Thanks to @wkirschbaum for the PR. Closes #171.

Enhancements

  • Add Money.exclude_protocol_implementation/1 for String.Chars. Thanks to @wkirschbaum for the PR. Closes #172.

Ex_money version 5.17.1

05 Sep 20:01
Compare
Choose a tag to compare

Bug Fixes

  • Update poison optional dependency to allow ~> 6.0.

  • Update stream_data test dependency to ~> 1.0.

Enhancements

  • Improve specs and broaden dialyzer configuration.

Money version 5.17.0

27 May 22:40
Compare
Choose a tag to compare

Bug Fixes

  • Fixes warnings on Elixir 1.17.

  • Requires Elixir 1.12 or later.

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.