unstale

npm / bignumber.js

bignumber.js

What changed in bignumber.js 11, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

3 new APIs and options1 performance4 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

bignumber.js 119 changes

New APIs and options 3

  • Parses formatted strings back into BigNumber values.

    11.1.3release notes

  • BigNumber values can be converted directly to native BigInt values.

    11.1.3release notes

  • Supports minimum and maximum decimal places.

    11.1.3release notes

Performance 1

  • A fix improves slow hexadecimal integer base conversion when DECIMAL_PLACES is very large.

    11.1.3release notes

Behavior and default changes 4

  • Supports negative decimal places.

    11.1.3release notes

  • Supports negative decimal places.

    11.1.3release notes

  • Supports negative decimal places, making it easier to round to tens, hundreds, and thousands.

    11.1.3release notes

  • Per-call formatting options fall back to configured global FORMAT values when not explicitly overridden.

    11.1.3release notes

Fixes and other changes 1

  • BigNumber.sum() returns zero when called with no arguments, so spreading an empty array works cleanly.

    11.1.3release notes