diff --git a/.travis.yml b/.travis.yml index 7ac7c6e..1c32228 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ language: node_js node_js: - "node" + - "23" + - "22" + - "21" + - "20" + - "19" - "18" - "17" - "16" @@ -16,8 +21,5 @@ node_js: - "6" - "5" - "4" - - "0.12" - - "0.11" - - "0.10" - - "0.8" - - "iojs" + + diff --git a/CHANGELOG.md b/CHANGELOG.md index c954458..5a1531f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +#### 10.5.0 +* 23/01/2025 +* #216 TypeScript: instantiation without `new` keyword +* #181 Support `BigInt` +* #241 Match `Math.max` and `Math.min` negative zero handling +* #217 Compute `acos` with less cancellation near `x = 1` + #### 10.4.3 * 04/12/2022 * #211 Remove `toStringTag` declaration for type compatibility. diff --git a/LICENCE.md b/LICENCE.md index 1063109..e62dbae 100644 --- a/LICENCE.md +++ b/LICENCE.md @@ -1,6 +1,6 @@ The MIT Licence. -Copyright (c) 2022 Michael Mclaughlin +Copyright (c) 2025 Michael Mclaughlin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 1d02eb7..9f8d12e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ An arbitrary-precision Decimal type for JavaScript. [![npm version](https://img.shields.io/npm/v/decimal.js.svg)](https://www.npmjs.com/package/decimal.js) [![npm downloads](https://img.shields.io/npm/dw/decimal.js)](https://www.npmjs.com/package/decimal.js) -[![Build Status](https://travis-ci.org/MikeMcl/decimal.js.svg)](https://travis-ci.org/MikeMcl/decimal.js) [![CDNJS](https://img.shields.io/cdnjs/v/decimal.js.svg)](https://cdnjs.com/libraries/decimal.js)
@@ -243,4 +242,4 @@ import Decimal from './decimal.min.mjs'; ## Licence -[The MIT Licence (Expat).](LICENCE.md) +[The MIT Licence](LICENCE.md) diff --git a/decimal.js b/decimal.js index c7923fc..a5687fe 100644 --- a/decimal.js +++ b/decimal.js @@ -3,10 +3,10 @@ /*! - * decimal.js v10.4.3 + * decimal.js v10.5.0 * An arbitrary-precision Decimal type for JavaScript. * https://github.com/MikeMcl/decimal.js - * Copyright (c) 2022 Michael Mclaughlin + * Copyright (c) 2025 Michael Mclaughlin * MIT Licence */ diff --git a/decimal.mjs b/decimal.mjs index 5cd1fa9..bac5666 100644 --- a/decimal.mjs +++ b/decimal.mjs @@ -1,8 +1,8 @@ /*! - * decimal.js v10.4.3 + * decimal.js v10.5.0 * An arbitrary-precision Decimal type for JavaScript. * https://github.com/MikeMcl/decimal.js - * Copyright (c) 2022 Michael Mclaughlin + * Copyright (c) 2025 Michael Mclaughlin * MIT Licence */ diff --git a/package.json b/package.json index 4b59cd6..b8411a0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "decimal.js", "description": "An arbitrary-precision Decimal type for JavaScript.", - "version": "10.4.3", + "version": "10.5.0", "keywords": [ "arbitrary", "precision",