Releases: lambdista/money
Releases · lambdista/money
money 0.6.2
money 0.6.1
Add support for Scala 2.12
0.6.0
0.5.0
0.4.0
Fix equality
- Two Money objects, now, are equals iff they have the same amounts and currencies, no conversion is attempted if the currencies are different.
- Now you need to provide the conversion map in both ways, i.e. (USD, EUR) and (EUR, USD). Before this release if a conversion was not present the converter tried to find the opposite and provide (1 / value) as a conversion. For example, if there was the (USD, EUR) conversion and not the (EUR, USD) one then the converter returned (1 / x), where x = (USD, EUR) conversion rate. This behaviour has been removed because, this way, you have better precision. Of course, on the client side, one can decide to use the reciprocal (1 / x) trick.
Numeric type class implementation
- Add Numeric type class implementation
- Money, now, implements Ordered
First published version
Note that its version starts with 0 so anything may change at any time. The public API should not be considered stable. In this sense I'll strive to follow SemVer for versioning.