Ex_Money v3.2.4 Release Notes

  • ๐Ÿš€ This is the changelog for Money v3.2.4 released on February 13th, 2019. For older changelogs please consult the release tag on GitHub

    ๐Ÿ› Bug Fixes

    โœจ Enhancements

    • โž• Adds a :fuzzy option to Money.parse/2 that uses String.jaro_distance/2 to help determine if the provided currency text can be resolved as a currency code. For example: ``` iex> Money.parse("100 eurosports", fuzzy: 0.8) #Money<:EUR, 100>

    iex> Money.parse("100 eurosports", fuzzy: 0.9) {:error, {Money.Invalid, "Unable to create money from \"eurosports\" and \"100\""}}