Skip to content

Releases: scurker/currency.js

v2.0.4

19 May 16:37
Compare
Choose a tag to compare

Release for security fixes in devDependencies

v2.0.3

06 Aug 14:21
Compare
Choose a tag to compare

Fixed truncation of fractional cents when using fromCents

v2.0.2

20 Jul 12:41
Compare
Choose a tag to compare

Fixed incorrect values from distribute() when using fromCents

v2.0.1

20 Jul 12:40
Compare
Choose a tag to compare

Fixed incorrect values being returned from methods when using fromCents (#260 thanks @chrisvariety)

v2.0.0

12 Jul 13:28
Compare
Choose a tag to compare

Breaking Changes

  • Formatter now accepts a function or static option, allowing for fine tuned customization of output formats (#213)

v1.2.1

06 Oct 20:19
Compare
Choose a tag to compare

Updated flow definition for breaking changes in flow 0.82.x. (#149) thanks @amccloud

v1.2.0

26 Sep 17:07
Compare
Choose a tag to compare
  • Adjusted internal precision to better account for some edge case precision issues. (#133) thanks @tvainika
  • Added new formatting options, pattern and negativePattern allowing for greater flexibility of currency formats. (#95)

v1.1.4

22 May 00:01
Compare
Choose a tag to compare

Fixed rounding for string values. (#116) thanks @pdcmoreira

v1.1.3

03 May 02:45
Compare
Choose a tag to compare

Fixed grouping separator for numbers with 0 precision. (#109 thanks @hameedraha)

v1.1.2

10 Apr 23:07
Compare
Choose a tag to compare
  • Fixed rounding not always being consistent with half cent values and high precision. (#102 thanks @philippetrepanier)
  • Fixed comma separator appearing in decimals when formatting. (#104 thanks @lanceli)