1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
MikeMcl_decimal.js/CHANGELOG.md

157 lines
3.6 KiB
Markdown
Raw Normal View History

2017-12-03 18:09:41 +00:00
#### 7.5.0
* 03/12/2017
* Use TypeScript declarations outside modules.
2017-11-25 23:45:15 +00:00
#### 7.4.0
* 25/11/2017
2017-12-03 18:09:41 +00:00
* Add TypeScript typings.
2017-11-25 23:45:15 +00:00
2017-09-26 17:23:56 +00:00
#### 7.3.0
* 26/09/2017
* Rename *decimal.es6.js* to *decimal.mjs*.
* Amend *.travis.yml*.
2017-09-09 17:53:23 +00:00
#### 7.2.4
* 09/09/2017
* Update docs regarding `global.crypto`.
* Fix `import` issues.
2017-06-27 21:08:50 +00:00
#### 7.2.3
* 27/06/2017
* Bugfix: #58 `pow` sometimes throws when result is `Infinity`.
2017-06-25 22:39:53 +00:00
#### 7.2.2
* 25/06/2017
* Bugfix: #57 Powers of -1 for integers over `Number.MAX_SAFE_INTEGER`.
2017-05-04 19:12:26 +00:00
#### 7.2.1
* 04/05/2017
* Fix *README* badges.
2017-04-09 22:07:52 +00:00
#### 7.2.0
* 09/04/2017
* Add *decimal.es6.js*
2017-04-05 18:03:17 +00:00
#### 7.1.2
* 05/04/2017
* `Decimal.default` to `Decimal['default']` IE8 issue
2017-01-10 19:34:40 +00:00
#### 7.1.1
* 10/01/2017
* Remove duplicated for-loop
* Minor refactoring
2016-11-09 23:43:42 +00:00
#### 7.1.0
* 09/11/2016
* Support ES6 imports.
2016-11-09 17:08:38 +00:00
#### 7.0.0
* 09/11/2016
* Remove `require('crypto')` - leave it to the user
* Default `Decimal.crypto` to `false`
* Add `Decimal.set` as `Decimal.config` alias
#### 6.0.0
2016-06-30 18:27:50 +00:00
* 30/06/2016
2016-11-09 17:08:38 +00:00
* Removed base-88 serialization format
* Amended `toJSON` and removed `Decimal.fromJSON` accordingly
2016-06-30 18:27:50 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.8
2016-03-09 22:57:25 +00:00
* 09/03/2016
2016-11-09 17:08:38 +00:00
* Add newline to single test results
* Correct year
2016-03-09 22:57:25 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.7
2016-03-09 22:55:02 +00:00
* 29/02/2016
2016-11-09 17:08:38 +00:00
* Add decimal.js-light link
* Remove outdated example from docs
2016-02-29 19:25:04 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.6
2016-03-09 22:55:02 +00:00
* 22/02/2016
2016-11-09 17:08:38 +00:00
* Add bower.json
2016-02-22 19:51:10 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.5
2016-03-09 22:55:02 +00:00
* 20/02/2016
2016-11-09 17:08:38 +00:00
* Bugfix: #26 wrong precision applied
2016-02-20 22:21:48 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.4
2016-03-09 22:55:02 +00:00
* 14/02/2016
2016-11-09 17:08:38 +00:00
* Bugfix: #26 clone
2016-02-14 21:15:21 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.3
2016-03-09 22:55:02 +00:00
* 06/02/2016
2016-11-09 17:08:38 +00:00
* Refactor tests
2016-02-06 17:53:18 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.2
2016-03-09 22:55:02 +00:00
* 05/02/2016
2016-11-09 17:08:38 +00:00
* Added immutability tests
* Minor *decimal.js* clean-up
2016-02-05 00:04:05 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.1
2016-03-09 22:55:02 +00:00
* 28/01/2016
2016-11-09 17:08:38 +00:00
* Bugfix: #20 cos mutates value
* Add pi info to docs
2016-01-28 23:12:34 +00:00
2016-11-09 17:08:38 +00:00
#### 5.0.0
2016-01-25 00:11:32 +00:00
* 25/01/2016
2016-11-09 17:08:38 +00:00
* Added trigonometric functions and `cubeRoot` method
* Added most of JavaScript's `Math` object methods as Decimal methods
* Added `toBinary`, `toHexadecimal` and `toOctal` methods
* Added `isPositive` method
* Removed the 15 significant digit limit for numbers
* `toFraction` now returns an array of two Decimals, not two strings
* String values containing whitespace or a plus sign are no longer accepted
* `valueOf` now returns `'-0'` for minus zero
* `comparedTo` now returns `NaN` not `null` for comparisons with `NaN`
* `Decimal.max` and `Decimal.min` no longer accept an array
* The Decimal constructor and `toString` no longer accept a base argument
* Binary, hexadecimal and octal prefixes are now recognised for string values
* Removed `Decimal.errors` configuration property
* Removed `toFormat` method
* Removed `Decimal.ONE`
* Renamed `exponential` method to `naturalExponential`
* Renamed `Decimal.constructor` method to `Decimal.clone`
* Simplified error handling and amended error messages
* Refactored the test suite
* `Decimal.crypto` is now `undefined` by default, and the `crypto` object will be used if available
* Major internal refactoring
* Removed *bower.json*
#### 4.0.2
* 20/02/2015 Add bower.json. Add source map. Amend travis CI. Amend doc/comments
#### 4.0.1
* 11/12/2014 Assign correct constructor when duplicating a Decimal
#### 4.0.0
* 10/11/2014 `toFormat` amended to use `Decimal.format` object for more flexible configuration
#### 3.0.1
2016-01-25 00:11:32 +00:00
* 8/06/2014 Surround crypto require in try catch. See issue #5
2016-11-09 17:08:38 +00:00
#### 3.0.0
2016-01-25 00:11:32 +00:00
* 4/06/2014 `random` simplified. Major internal changes mean the properties of a Decimal must now be considered read-only
2016-11-09 17:08:38 +00:00
#### 2.1.0
2016-01-25 00:11:32 +00:00
* 4/06/2014 Amend UMD
2016-11-09 17:08:38 +00:00
#### 2.0.3
2016-01-25 00:11:32 +00:00
* 8/05/2014 Fix NaN toNumber
2016-11-09 17:08:38 +00:00
#### 2.0.2
2016-01-25 00:11:32 +00:00
* 30/04/2014 Correct doc links
2016-11-09 17:08:38 +00:00
#### 2.0.1
2016-01-25 00:11:32 +00:00
* 10/04/2014 Update npmignore
2016-11-09 17:08:38 +00:00
#### 2.0.0
2016-01-25 00:11:32 +00:00
* 10/04/2014 Add `toSignificantDigits`
* Remove `toInteger`
* No arguments to `ceil`, `floor`, `round` and `trunc`
2016-11-09 17:08:38 +00:00
#### 1.0.1
2016-01-25 00:11:32 +00:00
* 07/04/2014 Minor documentation clean-up
2016-11-09 17:08:38 +00:00
#### 1.0.0
2016-01-25 00:11:32 +00:00
* 02/04/2014 Initial release