History.md
 1  3.1.0 / 2019-01-22
 2  ==================
 3  
 4    * Add petabyte (`pb`) support
 5  
 6  3.0.0 / 2017-08-31
 7  ==================
 8  
 9    * Change "kB" to "KB" in format output
10    * Remove support for Node.js 0.6
11    * Remove support for ComponentJS
12  
13  2.5.0 / 2017-03-24
14  ==================
15  
16    * Add option "unit"
17  
18  2.4.0 / 2016-06-01
19  ==================
20  
21    * Add option "unitSeparator"
22  
23  2.3.0 / 2016-02-15
24  ==================
25  
26    * Drop partial bytes on all parsed units
27    * Fix non-finite numbers to `.format` to return `null`
28    * Fix parsing byte string that looks like hex
29    * perf: hoist regular expressions
30  
31  2.2.0 / 2015-11-13
32  ==================
33  
34    * add option "decimalPlaces"
35    * add option "fixedDecimals"
36  
37  2.1.0 / 2015-05-21
38  ==================
39  
40    * add `.format` export
41    * add `.parse` export
42  
43  2.0.2 / 2015-05-20
44  ==================
45  
46    * remove map recreation
47    * remove unnecessary object construction
48  
49  2.0.1 / 2015-05-07
50  ==================
51  
52    * fix browserify require
53    * remove node.extend dependency
54  
55  2.0.0 / 2015-04-12
56  ==================
57  
58    * add option "case"
59    * add option "thousandsSeparator"
60    * return "null" on invalid parse input
61    * support proper round-trip: bytes(bytes(num)) === num
62    * units no longer case sensitive when parsing
63  
64  1.0.0 / 2014-05-05
65  ==================
66  
67   * add negative support. fixes #6
68  
69  0.3.0 / 2014-03-19
70  ==================
71  
72   * added terabyte support
73  
74  0.2.1 / 2013-04-01
75  ==================
76  
77    * add .component
78  
79  0.2.0 / 2012-10-28
80  ==================
81  
82    * bytes(200).should.eql('200b')
83  
84  0.1.0 / 2012-07-04
85  ==================
86  
87    * add bytes to string conversion [yields]