Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.46 KB

CHANGELOG.md

File metadata and controls

38 lines (29 loc) · 1.46 KB

Changelog

1.3.2 - 09.09.2019

  • Dinero.to_float/1 added

1.3.1 - 09.09.2019

  • DineroWithCurrency.cast/1 now supports Dinero struct
  • support for Jason.Encoder for Ecto embeds

1.3.0 - 19.08.2019

  • Dinero.parse!/2 added
  • Dinero.parse/2 now conforms to Elixir conventions and returns either {:ok, %Dinero{}} or :error
  • DineroWithCurrency.cast/1 now supports String, integer and float
  • parsing Strings like "1,235,837.50"
  • default currency for Dinero.new/2 added (:USD)

1.2.3 - 18.08.2019

  • Dinero.equals?/2 and Dinero.zero?/1 added

1.2.2 - 13.08.2019

  • Ability to create Dinero struct from String added. See Dinero.parse/2
  • Ability to create Dinero struct from scientific notation

1.2.1 - 10.08.2019

  • Convertation fixed
  • Default currency for sigil is USD
  • String.Chars implemented and now Dinero can be used as an argument for to_string/1

1.2.0 - 22.07.2019

  • Now it contains 2 methods Dinero.multiply/2 and Dinero.multiply/3 for truncations and rounding up results of multiplying
  • Now there are Dinero.divide/2 and Dinero.divide/3 for truncations and rounding up results of dividing
  • Small docs fixes

1.1.0 - 19.07.2019

  • Ability to add/subtract int or float values removed. Now Dinero.add/2 and Dinero.subtract/2 use only Dinero structs for calculations

1.0.0 - 15.07.2019

  • Initial Release