Skip to content

Releases: dinerojs/dinero.js

v2.0.0-alpha.14

27 Feb 22:45
1320a09
Compare
Choose a tag to compare

2.0.0-alpha.14 (2023-02-27)

Bug Fixes

  • isPositive: return false with zero (#728) (140fe68)
  • up, down, halfUp: fix handling of numbers close to 0 and rounding of integer results (#711) (6b30aa0), closes #710 #713

v2.0.0-alpha.13

19 Dec 12:57
9bc90b4
Compare
Choose a tag to compare

2.0.0-alpha.13 (2022-12-19)

Bug Fixes

  • toDecimal: preserve negative sign for leading zeros (#693) (e6f290d), closes #692

v2.0.0-alpha.12

09 Dec 20:55
c5b9173
Compare
Choose a tag to compare

2.0.0-alpha.12 (2022-12-09)

Bug Fixes

  • toDecimal: teach toDecimal how to handle negative units (#690) (81c5566)

v2.0.0-alpha.11

04 Dec 12:16
2117fd3
Compare
Choose a tag to compare

2.0.0-alpha.11 (2022-12-04)

Features

  • provide better support for non-decimal currencies (#309) (e7e9a19), closes #294

BREAKING CHANGES

  • ** the toUnit and the toFormat functions were
    removed.

v2.0.0-alpha.10

19 Nov 13:32
b14f3c0
Compare
Choose a tag to compare

2.0.0-alpha.10 (2022-11-19)

Bug Fixes

  • dinero.js: don't accept extra fields inside the currency options on create (#673) (9e72f9e)

2.0.0-alpha.9

04 Nov 20:49
8b96a85
Compare
Choose a tag to compare

2.0.0-alpha.9 (2022-11-04)

Bug Fixes

  • currencies: add missing ANG export (#447) (8a0f67b)
  • trimScale: check for zero value in countTrailingZeros (#448) (6eefe8b)

v2.0.0-alpha.8

08 Aug 14:12
e8f995f
Compare
Choose a tag to compare

2.0.0-alpha.8 (2021-08-08)

Bug Fixes

  • core: use equal function to compare currency base and exponent (ac4724f)
  • calculator-bigint: avoid transpiling exponentiation operator (53bf974)

Features

  • expose calculator types (b17bfc1)

v2.0.0-alpha.7

30 Jul 15:35
8fd6e14
Compare
Choose a tag to compare

2.0.0-alpha.7 (2021-07-26)

Bug Fixes

  • dinero.js: properly re-export types and rounding functions (d40a7e2)

Features

  • dinero.js: re-export createDinero (d8d149f)

v2.0.0-alpha.6

21 Jul 12:02
7edda59
Compare
Choose a tag to compare

2.0.0-alpha.6 (2021-07-21)

Bug Fixes

  • currencies: use proper base and exponents for MRU and MGA (ac2bb8d)

v2.0.0-alpha.5

19 Jul 15:41
5b86090
Compare
Choose a tag to compare

2.0.0-alpha.5 (2021-07-19)

Features