|
1 | 1 | #### 9.2.1 |
| 2 | + |
2 | 3 | * 08/04/25 |
3 | 4 | * ##371 #382 Add `BigNumber` as named export. |
4 | 5 |
|
5 | 6 | #### 9.2.0 |
| 7 | + |
6 | 8 | * 03/04/25 |
7 | 9 | * #355 Support `BigInt` argument. |
8 | 10 | * #371 Provide separate type definitions for CommonJS and ES modules. |
9 | 11 | * #374 Correct `comparedTo` return type. |
10 | 12 |
|
11 | 13 | #### 9.1.2 |
| 14 | + |
12 | 15 | * 28/08/23 |
13 | 16 | * #354 Amend `round` to avoid bug in v8 Maglev compiler. |
14 | 17 | * [BUGFIX] #344 `minimum(0, -0)` should be `-0`. |
15 | 18 |
|
16 | 19 | #### 9.1.1 |
| 20 | + |
17 | 21 | * 04/12/22 |
18 | 22 | * #338 [BUGFIX] `exponentiatedBy`: ensure `0**-n === Infinity` for very large `n`. |
19 | 23 |
|
20 | 24 | #### 9.1.0 |
| 25 | + |
21 | 26 | * 08/08/22 |
22 | 27 | * #329 Remove `import` example. |
23 | 28 | * #277 Resolve lint warnings and add number `toString` note. |
|
27 | 32 | * #251 (#308) Amend *bignumber.d.ts* to allow instantiating a BigNumber without `new`. |
28 | 33 |
|
29 | 34 | #### 9.0.2 |
| 35 | + |
30 | 36 | * 12/12/21 |
31 | 37 | * #250 [BUGFIX] Allow use of user-defined alphabet for base 10. |
32 | 38 | * #295 Remove *bignumber.min.js* and amend *README.md*. |
33 | 39 | * Update *.travis.yml* and *LICENCE.md*. |
34 | 40 |
|
35 | 41 | #### 9.0.1 |
| 42 | + |
36 | 43 | * 28/09/20 |
37 | 44 | * [BUGFIX] #276 Correct `sqrt` initial estimate. |
38 | 45 | * Update *.travis.yml*, *LICENCE.md* and *README.md*. |
39 | 46 |
|
40 | 47 | #### 9.0.0 |
| 48 | + |
41 | 49 | * 27/05/2019 |
42 | 50 | * For compatibility with legacy browsers, remove `Symbol` references. |
43 | 51 |
|
44 | 52 | #### 8.1.1 |
| 53 | + |
45 | 54 | * 24/02/2019 |
46 | 55 | * [BUGFIX] #222 Restore missing `var` to `export BigNumber`. |
47 | 56 | * Allow any key in BigNumber.Instance in *bignumber.d.ts*. |
48 | 57 |
|
49 | 58 | #### 8.1.0 |
| 59 | + |
50 | 60 | * 23/02/2019 |
51 | 61 | * [NEW FEATURE] #220 Create a BigNumber using `{s, e, c}`. |
52 | 62 | * [NEW FEATURE] `isBigNumber`: if `BigNumber.DEBUG` is `true`, also check that the BigNumber instance is well-formed. |
|
56 | 66 | * Update *API.html*. |
57 | 67 |
|
58 | 68 | #### 8.0.2 |
| 69 | + |
59 | 70 | * 13/01/2019 |
60 | 71 | * #209 `toPrecision` without argument should follow `toString`. |
61 | 72 | * Improve *Use* section of *README*. |
62 | 73 | * Optimise `toString(10)`. |
63 | 74 | * Add verson number to API doc. |
64 | 75 |
|
65 | 76 | #### 8.0.1 |
| 77 | + |
66 | 78 | * 01/11/2018 |
67 | 79 | * Rest parameter must be array type in *bignumber.d.ts*. |
68 | 80 |
|
69 | 81 | #### 8.0.0 |
| 82 | + |
70 | 83 | * 01/11/2018 |
71 | 84 | * [NEW FEATURE] Add `BigNumber.sum` method. |
72 | 85 | * [NEW FEATURE]`toFormat`: add `prefix` and `suffix` options. |
|
82 | 95 | * Remove *bower.json*. |
83 | 96 |
|
84 | 97 | #### 7.2.1 |
| 98 | + |
85 | 99 | * 24/05/2018 |
86 | 100 | * Add `browser` field to *package.json*. |
87 | 101 |
|
88 | 102 | #### 7.2.0 |
| 103 | + |
89 | 104 | * 22/05/2018 |
90 | 105 | * #166 Correct *.mjs* file. Remove extension from `main` field in *package.json*. |
91 | 106 |
|
92 | 107 | #### 7.1.0 |
| 108 | + |
93 | 109 | * 18/05/2018 |
94 | 110 | * Add `module` field to *package.json* for *bignumber.mjs*. |
95 | 111 |
|
96 | 112 | #### 7.0.2 |
| 113 | + |
97 | 114 | * 17/05/2018 |
98 | 115 | * #165 Bugfix: upper-case letters for bases 11-36 in a custom alphabet. |
99 | 116 | * Add note to *README* regarding creating BigNumbers from Number values. |
100 | 117 |
|
101 | 118 | #### 7.0.1 |
| 119 | + |
102 | 120 | * 26/04/2018 |
103 | 121 | * #158 Fix global object variable name typo. |
104 | 122 |
|
105 | 123 | #### 7.0.0 |
| 124 | + |
106 | 125 | * 26/04/2018 |
107 | 126 | * #143 Remove global BigNumber from typings. |
108 | 127 | * #144 Enable compatibility with `Object.freeze(Object.prototype)`. |
|
115 | 134 | * Amend indentation and other spacing. |
116 | 135 |
|
117 | 136 | #### 6.0.0 |
| 137 | + |
118 | 138 | * 26/01/2018 |
119 | 139 | * #137 Implement `APLHABET` configuration option. |
120 | 140 | * Remove `ERRORS` configuration option. |
|
131 | 151 | * Redo API image. |
132 | 152 |
|
133 | 153 | #### 5.0.0 |
| 154 | + |
134 | 155 | * 27/11/2017 |
135 | 156 | * #81 Don't throw on constructor call without `new`. |
136 | 157 |
|
137 | 158 | #### 4.1.0 |
| 159 | + |
138 | 160 | * 26/09/2017 |
139 | 161 | * Remove node 0.6 from *.travis.yml*. |
140 | 162 | * Add *bignumber.mjs*. |
141 | 163 |
|
142 | 164 | #### 4.0.4 |
| 165 | + |
143 | 166 | * 03/09/2017 |
144 | 167 | * Add missing aliases to *bignumber.d.ts*. |
145 | 168 |
|
146 | 169 | #### 4.0.3 |
| 170 | + |
147 | 171 | * 30/08/2017 |
148 | 172 | * Add types: *bignumber.d.ts*. |
149 | 173 |
|
150 | 174 | #### 4.0.2 |
| 175 | + |
151 | 176 | * 03/05/2017 |
152 | 177 | * #120 Workaround Safari/Webkit bug. |
153 | 178 |
|
154 | 179 | #### 4.0.1 |
| 180 | + |
155 | 181 | * 05/04/2017 |
156 | 182 | * #121 BigNumber.default to BigNumber['default']. |
157 | 183 |
|
158 | 184 | #### 4.0.0 |
| 185 | + |
159 | 186 | * 09/01/2017 |
160 | 187 | * Replace BigNumber.isBigNumber method with isBigNumber prototype property. |
161 | 188 |
|
162 | 189 | #### 3.1.2 |
| 190 | + |
163 | 191 | * 08/01/2017 |
164 | 192 | * Minor documentation edit. |
165 | 193 |
|
166 | 194 | #### 3.1.1 |
| 195 | + |
167 | 196 | * 08/01/2017 |
168 | 197 | * Uncomment `isBigNumber` tests. |
169 | 198 | * Ignore dot files. |
170 | 199 |
|
171 | 200 | #### 3.1.0 |
| 201 | + |
172 | 202 | * 08/01/2017 |
173 | 203 | * Add `isBigNumber` method. |
174 | 204 |
|
175 | 205 | #### 3.0.2 |
| 206 | + |
176 | 207 | * 08/01/2017 |
177 | 208 | * Bugfix: Possible incorrect value of `ERRORS` after a `BigNumber.another` call (due to `parseNumeric` declaration in outer scope). |
178 | 209 |
|
179 | 210 | #### 3.0.1 |
| 211 | + |
180 | 212 | * 23/11/2016 |
181 | 213 | * Apply fix for old ipads with `%` issue, see #57 and #102. |
182 | 214 | * Correct error message. |
183 | 215 |
|
184 | 216 | #### 3.0.0 |
| 217 | + |
185 | 218 | * 09/11/2016 |
186 | 219 | * Remove `require('crypto')` - leave it to the user. |
187 | 220 | * Add `BigNumber.set` as `BigNumber.config` alias. |
188 | 221 | * Default `POW_PRECISION` to `0`. |
189 | 222 |
|
190 | 223 | #### 2.4.0 |
| 224 | + |
191 | 225 | * 14/07/2016 |
192 | 226 | * #97 Add exports to support ES6 imports. |
193 | 227 |
|
194 | 228 | #### 2.3.0 |
| 229 | + |
195 | 230 | * 07/03/2016 |
196 | 231 | * #86 Add modulus parameter to `toPower`. |
197 | 232 |
|
198 | 233 | #### 2.2.0 |
| 234 | + |
199 | 235 | * 03/03/2016 |
200 | 236 | * #91 Permit larger JS integers. |
201 | 237 |
|
202 | 238 | #### 2.1.4 |
| 239 | + |
203 | 240 | * 15/12/2015 |
204 | 241 | * Correct UMD. |
205 | 242 |
|
206 | 243 | #### 2.1.3 |
| 244 | + |
207 | 245 | * 13/12/2015 |
208 | 246 | * Refactor re global object and crypto availability when bundling. |
209 | 247 |
|
210 | 248 | #### 2.1.2 |
| 249 | + |
211 | 250 | * 10/12/2015 |
212 | 251 | * Bugfix: `window.crypto` not assigned to `crypto`. |
213 | 252 |
|
214 | 253 | #### 2.1.1 |
| 254 | + |
215 | 255 | * 09/12/2015 |
216 | 256 | * Prevent code bundler from adding `crypto` shim. |
217 | 257 |
|
218 | 258 | #### 2.1.0 |
| 259 | + |
219 | 260 | * 26/10/2015 |
220 | 261 | * For `valueOf` and `toJSON`, include the minus sign with negative zero. |
221 | 262 |
|
222 | 263 | #### 2.0.8 |
| 264 | + |
223 | 265 | * 2/10/2015 |
224 | 266 | * Internal round function bugfix. |
225 | 267 |
|
226 | 268 | #### 2.0.6 |
| 269 | + |
227 | 270 | * 31/03/2015 |
228 | 271 | * Add bower.json. Tweak division after in-depth review. |
229 | 272 |
|
230 | 273 | #### 2.0.5 |
| 274 | + |
231 | 275 | * 25/03/2015 |
232 | 276 | * Amend README. Remove bitcoin address. |
233 | 277 |
|
234 | 278 | #### 2.0.4 |
| 279 | + |
235 | 280 | * 25/03/2015 |
236 | 281 | * Critical bugfix #58: division. |
237 | 282 |
|
238 | 283 | #### 2.0.3 |
| 284 | + |
239 | 285 | * 18/02/2015 |
240 | 286 | * Amend README. Add source map. |
241 | 287 |
|
242 | 288 | #### 2.0.2 |
| 289 | + |
243 | 290 | * 18/02/2015 |
244 | 291 | * Correct links. |
245 | 292 |
|
246 | 293 | #### 2.0.1 |
| 294 | + |
247 | 295 | * 18/02/2015 |
248 | 296 | * Add `max`, `min`, `precision`, `random`, `shiftedBy`, `toDigits` and `truncated` methods. |
249 | 297 | * Add the short-forms: `add`, `mul`, `sd`, `sub` and `trunc`. |
|
257 | 305 | * Improve documentation. |
258 | 306 |
|
259 | 307 | #### 2.0.0 |
| 308 | + |
260 | 309 | * 29/12/2014 |
261 | 310 | * Add `dividedToIntegerBy`, `isInteger` and `toFormat` methods. |
262 | 311 | * Remove the following short-forms: `isF`, `isZ`, `toE`, `toF`, `toFr`, `toN`, `toP`, `toS`. |
|
265 | 314 | * Incorporate the library into the online documentation. |
266 | 315 |
|
267 | 316 | #### 1.5.0 |
| 317 | + |
268 | 318 | * 13/11/2014 |
269 | 319 | * Add `toJSON` and `decimalPlaces` methods. |
270 | 320 |
|
271 | 321 | #### 1.4.1 |
| 322 | + |
272 | 323 | * 08/06/2014 |
273 | 324 | * Amend README. |
274 | 325 |
|
275 | 326 | #### 1.4.0 |
| 327 | + |
276 | 328 | * 08/05/2014 |
277 | 329 | * Add `toNumber`. |
278 | 330 |
|
279 | 331 | #### 1.3.0 |
| 332 | + |
280 | 333 | * 08/11/2013 |
281 | 334 | * Ensure correct rounding of `sqrt` in all, rather than almost all, cases. |
282 | 335 | * Maximum radix to 64. |
283 | 336 |
|
284 | 337 | #### 1.2.1 |
| 338 | + |
285 | 339 | * 17/10/2013 |
286 | 340 | * Sign of zero when x < 0 and x + (-x) = 0. |
287 | 341 |
|
288 | 342 | #### 1.2.0 |
| 343 | + |
289 | 344 | * 19/9/2013 |
290 | 345 | * Throw Error objects for stack. |
291 | 346 |
|
292 | 347 | #### 1.1.1 |
| 348 | + |
293 | 349 | * 22/8/2013 |
294 | 350 | * Show original value in constructor error message. |
295 | 351 |
|
296 | 352 | #### 1.1.0 |
| 353 | + |
297 | 354 | * 1/8/2013 |
298 | 355 | * Allow numbers with trailing radix point. |
299 | 356 |
|
300 | 357 | #### 1.0.1 |
| 358 | + |
301 | 359 | * Bugfix: error messages with incorrect method name |
302 | 360 |
|
303 | 361 | #### 1.0.0 |
| 362 | + |
304 | 363 | * 8/11/2012 |
305 | 364 | * Initial release |
0 commit comments