Skip to content

Ex Money version 5.24.0

Choose a tag to compare

@kipcole9 kipcole9 released this 18 Jan 09:16
· 24 commits to main since this release

Bug Fixes

  • Fixes compile warnings on Elixir 1.20.

  • Fix examples in README.md to align with the current inspect/2 output. Thanks very much to @carlgleisner for the PR (and apologies for the long delayed merge). Closes #188.

Enhancements

  • Add Money.spread/3 to proptionally allocate (that is, spread) am money amount amongst a list of amounts or integers. Thanks to @jdewar for the PR and great patience. Closes #175.

  • Add support for custom currency codes. A custom currency code is created with Cldr.Currency.new/2 and is distinguised from an ISO4217 code by being at least 4 characters long (ISO4217 codes are always 3 characters long). The first character must be a Latin alphabetic character. The additional characters must be Latin alphanumeric characters.