Skip to content

Money version 5.1.0

Compare
Choose a tag to compare
@kipcole9 kipcole9 released this 26 May 07:17

Enhancements

  • Extract default currency from locale when calling Money.parse/2 on a money string. The updated docs now say:

    • :default_currency is any valid currency code or false
      that will used if no currency code, symbol or description is
      indentified in the parsed string. The default is nil
      which means that the default currency associated with
      the :locale option will be used. If false then the
      currency assocated with the :locale option will not be
      used and an error will be returned if there is no currency
      in the string being parsed.
  • Add certificate verification for exchange rate retrieval