All Versions
18
Latest Version
Avg Release Cycle
140 days
Latest Release
87 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v4.0.0 Changes
March 21, 2026๐ฅ Breaking changes
- Requires Node.js 24 or higher.
What's new
Tooling & infrastructure
- Migrated from npm to pnpm
- ๐ Replaced XO linter with Biome
- โ
Replaced AVA with the built-in Node.js test runner (
node:test) - โ Replaced c8 with native Node.js test coverage
- Replaced ts-node with native Node.js type stripping
- Modern TypeScript config (nodenext, ES2024, strict, declaration maps)
- โ Added Changesets for versioning
- โ Added autonomous npm release workflow with provenance
- โ Added Renovate for automated dependency updates
- โ Removed Travis CI, editorconfig, and del-cli
Code
- Replaced
hasKeyutility withObject.hasOwn()(#18) - โ Added proper validation for
NaNandInfinityamounts โ now throws aTypeErrorinstead of producing misleading error messages (closes #18) - All errors now use
TypeErrorwhere applicable - ๐ Extracted parser regex to a named constant
- โ Removed parameter reassignment in
convert()
๐ Documentation
- Replaced currency.js example with built-in
Intl.NumberFormat - โก๏ธ Updated floating point section to accurately describe the
*100/100trick and its limitations - โ Added AI disclosure section
- ๐ Fixed incorrect link in big.js section (closes #25)
- โก๏ธ Updated badges (removed XO, Bundlephobia; added CI from GitHub Actions)
- Switched funding from OpenCollective to GitHub Sponsors
Packaging
- Modern
exportsfield withtypescondition - โ Removed
authorfield from package.json - โก๏ธ Updated license year
Full diff : 3.0.1...v4.0.0
-
v3.0.1 Changes
December 10, 2021- ๐ Fix: move @types/big.js to dependencies (see #19).
-
v3.0.0 Changes
December 05, 2021- ๐ฅ BREAKING: the package is now ESM-only and thus requires Node.js v14 or higher.
- โ Added big.js integration (see #17).
- ๐ Improved the test suite.
- Minor size reduction.
- ๐ Improved type safety.
- ๐ Improve docs readability.
- The error messages are now more succinct.
-
v2.5.0 Changes
January 23, 2021- ๐ Fix: the parser now handles the expression '0' correctly.
- ๐ Better TypeScript types.
- โก๏ธ Update dependencies.
-
v2.4.4 Changes
August 25, 2020- โก๏ธ Update JSDOC for better DX.
- โก๏ธ Update devDependencies.
-
v2.4.3 Changes
July 09, 2020- โก๏ธ Update devDependencies
- ๐ Lint
- If
fromequalsto, return 100% directly (#12)
-
v2.4.2 Changes
March 22, 2020- โก๏ธ Update devDependencies
- โก๏ธ Optimize regex
- ๐ Improve type safety
- โ
Test when
amountequals 0
-
v2.4.1 Changes
March 10, 2020- Do not use named capture groups (they do not work in Firefox)
- โก๏ธ Update devDependencies
- ๐ Lint test files
-
v2.4.0 Changes
February 22, 2020- ๐ Parsing: allow different expression separating keywords (
inandas) - โก๏ธ Update parsing docs
- โ Add new parsing tests
- โก๏ธ Update devDependencies
- ๐ Fix previous tests (ava >=3.0.0)
- ๐ Parsing: allow different expression separating keywords (
-
v2.3.1 Changes
January 20, 2020- ๐ Export a
parsefunction - ๐ Document the new
parsefunction
- ๐ Export a