Releases: ex-money/money
Releases Β· ex-money/money
Ex Money version 5.19.0
Deprecations
Money.default_backend/0is soft deprecated in favor ofMoney.default_backend!/0whose 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!/0is configured.
Ex Money version 5.18.0
Enhancements
- Adds
min/2,max/2,min!/2,max!/2,clamp/3,clamp!/3,negate/1,negate!/1andwithin?/3.
Ex Money version 5.17.2
Bug Fixes
- Fix implementation of
Money.exclude_protocol_implementation/1forJason.Encoder. Thanks to @wkirschbaum for the PR. Closes #171.
Enhancements
- Add
Money.exclude_protocol_implementation/1forString.Chars. Thanks to @wkirschbaum for the PR. Closes #172.
Ex_money version 5.17.1
Bug Fixes
-
Update
poisonoptional dependency to allow~> 6.0. -
Update
stream_datatest dependency to~> 1.0.
Enhancements
- Improve specs and broaden dialyzer configuration.
Money version 5.17.0
Bug Fixes
-
Fixes warnings on Elixir 1.17.
-
Requires Elixir 1.12 or later.
Money version 5.16.0
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/0andMoney.ExchangeRates.latest_rates_available?/0when the exchange rates retrieval process is not running.
Money version 5.15.4
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
cldrbackend configured for:ex_money.
Money version 5.15.3
Bug Fixes
- Add
or ~> 4.0for:phoenix_htmldependency. Thanks to @wkirschbaum for the PR. Closes #161.
Money version 5.15.2
Bug Fixes
- Fix compilation warnings on doctests on Elixir 1.16.
Money version 5.15.1
Bug Fixes
- Fixes the exchange rate retriever, removing the double retrieval loop. Thanks to @dbernheisel for the report. Closes #152.