Releases: dinerojs/dinero.js
Releases · dinerojs/dinero.js
v1.4.0
1.4.0 (2018-05-19)
Features
- dinero: Add hasSubUnits method and deprecate hasCents (c1a3bd7), closes #20
v1.3.0
1.3.0 (2018-05-12)
Bug Fixes
- dinero-polyfilled: Add promise polyfill (b454a1b)
- dinero#convert: Cast rate into float in case API returns a string (c6bc4c2)
- dinero#convert: Change ambiguous property name (0d197aa)
- dinero#convert: Cover more API use cases (34ee820)
- dinero#convert: Use better term in error message (cdefb7a)
Features
- dinero: Add convert method (544f6de)
- dinero: Add precision concept (f6bced8), closes #13
v1.2.0
1.2.0 (2018-04-29)
Bug Fixes
- dinero-polyfilled: Remove promise polyfill (not yet needed) (d716a9f)
Features
- dinero: Create polyfilled versions (392024f)
v1.1.3
1.1.3 (2018-04-28)
Bug Fixes
- dinero: Use Object.assign transformer for better browser compatibility (361dbf2)
v1.1.2
1.1.2 (2018-04-24)
Bug Fixes
- dinero#percentage: Use hardcoded 100 (a percentage is always divided by 100) (d571da5)
v1.1.1
1.1.1 (2018-04-22)
Bug Fixes
- calculator#multiply: Fix precision in float multiply method (471b4ee)
v1.1.0
1.1.0 (2018-04-22)
Features
- calculator: Offer rounding modes (6dd6c28)
- dinero: Provide rounding options for toFormat and toRoundedUnit (b265320)
v1.0.4
1.0.4 (2018-04-20)
Bug Fixes
- calculator: Properly perform float multiplications (0d0671e), closes #8
v1.0.3
1.0.3 (2018-04-19)
Bug Fixes
- dinero#toRoundedUnit: Update toRoundedUnit to properly round negative values (508cca3), closes #7
v1.0.2
1.0.2 (2018-04-19)
Bug Fixes
- dinero: Round intermediate divide and multiply calculations (b997b58), closes #11