unstale

npm / mathjs

mathjs

What changed in mathjs 15, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.

3 breaking4 new APIs and options5 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

mathjs 1512 changes

Breaking changes 3

  • An empty true-expression in a conditional is interpreted as an error.

    15.1.1release notes

  • Fixes optional chaining handling: rejects ?.., allows optional function calls, and throws errors for invalid uses.

    15.1.0release notes

  • Makes isInteger respect tolerances.

    15.1.0release notes

New APIs and options 4

Fixes and other changes 5

  • Fixes handling of bigints in compareNatural.

    15.1.1release notes

  • Adds nullish type definitions.

    15.1.1release notes

  • Fixes conditionals being parsed as optional chaining.

    15.1.0release notes

  • Avoids errors when mapping or filtering empty arrays and matrices.

    15.1.0release notes

  • Fixes unit serialization when an internal property is missing.

    15.1.0release notes