---
title: "mathjs 15.3.0 Breaking Changes on npm | Since.dev"
description: "What each mathjs release removed, renamed or changed: 1,446 breaking changes in 69 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mathjs
last_updated: 2026-12-04
---

# mathjs breaking changes

mathjs 15.3.0 (November 23, 2026) is its newest release with breaking changes, 23 of them. The first: Automatic bigint to number conversion now rejects very negative values in mathjs 15.3.0. Every breaking API change we have recorded in mathjs on npm: 1,446 breaking changes in 69 versions. Below, its 69 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `15.3.0`, released November 23, 2026. [Source repository](https://github.com/josdejong/mathjs)

Its 12.0.0 release drops Node.js 14 and [16](https://since.dev/calendar/nodejs/16.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [14.9.0](#v-14-9-0) to [15.3.0](#v-15-3-0): 33 breaking changes in 4 versions.
- From [8.0.0](#v-8-0-0) to [15.3.0](#v-15-3-0): 1,442 breaking changes in 68 versions.

## mathjs 15.3.0 breaking changes

mathjs 15.3.0, released November 23, 2026: 23 breaking changes.

- **Behavior changed**  

Bigints too negative to convert safely to numbers are no longer auto-converted. Code that depended on the silent conversion must handle this case. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `divide`  

Matrix operations now process zero entries where needed, so results on matrices with zeros can differ from 15.2.0. Check code that relies on the old handling of zeros. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `dotDivide`  

Matrix operations now process zero entries where needed, so results on matrices with zeros can differ from 15.2.0. Check code that relies on the old handling of zeros. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `dotPow`  

Matrix operations now process zero entries where needed, so results on matrices with zeros can differ from 15.2.0. Check code that relies on the old handling of zeros. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `invmod`  

With a negative modulus, invmod now returns the canonical negative representative of the inverse. Results for negative moduli can differ from 15.2.0. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `mod`  

The result of mod on bigints can differ for some sign combinations, so results may change from 15.2.0. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `multinomial`  

Likely erroneous multidimensional input to multinomial now throws an error. Check calls that pass such input. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `std`  

In parsed expressions, the dimension argument of std is now one-based. Update expressions that pass a dimension index. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Behavior changed** `variance`  

In parsed expressions, the dimension argument of variance is now one-based. Update expressions that pass a dimension index. [github.com](https://github.com/josdejong/mathjs/blob/v15.3.0/HISTORY.md)
- **Signature changed** `FormatOptions.notation`  

Was notation?: | 'fixed' | 'exponential' | 'engineering' | 'auto' | 'hex' | 'bin' | 'oct'; now notation?: 'fixed' | 'exponential' | 'engineering' | 'auto' | 'hex' | 'bin' | 'oct'. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsChain.multinomial`  

Was multinomial\<T extends number | BigNumber>(a: MathJsChain\<T\[\]>): MathJsChain\<NoLiteralType\<T>>; now multinomial\<T extends MathNumericType>(a1: MathJsChain\<T>, ...rest: T\[\]): MathJsChain\<NoLiteralType\<T>> multinomial\<T extends... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsChain.unit`  

Was unit(this: MathJsChain\<MathNumericType>, unit?: string): MathJsChain\<Unit>; now unit(this: MathJsChain\<MathNumericType>, unit?: string | Unit): MathJsChain\<Unit>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.max`  

Was max(A: MathCollection, dimension?: number | BigNumber): MathScalarType max\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], dimension?: number | BigNumber): T; now max(A: MathCollection): MathScalarType max(A: MathCollection, dimension... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.mean`  

Was mean(A: MathCollection, dimension?: number | BigNumber): MathScalarType mean\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], dimension?: number | BigNumber): T; now mean(A: MathCollection): MathScalarType mean(A: MathCollection, dimension... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.min`  

Was min(A: MathCollection, dimension?: number | BigNumber): MathScalarType min\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], dimension?: number | BigNumber): T; now min(A: MathCollection): MathScalarType min(A: MathCollection, dimension... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.multinomial`  

Was multinomial\<T extends number | BigNumber>(a: T\[\]): NoLiteralType\<T>; now multinomial\<T extends MathNumericType>(...a: T\[\]): NoLiteralType\<T> multinomial\<T extends MathNumericType>(a: MathCollection\<T>): NoLiteralType\<T>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.number`  

Was number(value?: | string | number | BigNumber | bigint | Fraction | boolean | Unit | null): number; now number(value?: string | number | BigNumber | bigint | Fraction | boolean | Unit | null): number. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.std`  

Was std(array: MathCollection, dimension?: number, normalization?: 'unbiased' | 'uncorrected' | 'biased'): MathNumericType\[\] std(array: MathCollection, normalization: 'unbiased' | 'uncorrected' | 'biased'): MathNumericType; now std(array... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.sum`  

Was sum(A: MathCollection, dimension?: number | BigNumber): MathScalarType sum\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], dimension?: number | BigNumber): T; now sum(A: MathCollection): MathScalarType sum(A: MathCollection, dimension... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.unit`  

Was unit(value: MathNumericType, unit?: string): Unit; now unit(value: MathNumericType, unit?: string | Unit): Unit. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsInstance.variance`  

Was variance(array: MathCollection, dimension?: number, normalization?: 'unbiased' | 'uncorrected' | 'biased'): MathNumericType\[\] variance(array: MathCollection, normalization: 'unbiased' | 'uncorrected' | 'biased'): MathNumericType; now... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathJsStatic.multinomial`  

Was multinomial\<T extends number | BigNumber>(a: T\[\]): NoLiteralType\<T>; now multinomial\<T extends MathNumericType>(...a: T\[\]): NoLiteralType\<T>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)
- **Signature changed** `MathScope`  

Was type MathScope\<TValue = any> = | Record\<string, TValue> | MapLike\<string, TValue>; now type MathScope\<TValue = any> = Record\<string, TValue> | MapLike\<string, TValue>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.3.0)

## mathjs 15.1.1 breaking changes

mathjs 15.1.1, released February 10, 2026: 1 breaking change.

- **Behavior changed**  

An empty true-expression in a conditional is now interpreted as an error instead of its previous handling. Code relying on the old behavior must be updated. [github.com](https://github.com/josdejong/mathjs/blob/v15.1.1/HISTORY.md)

## mathjs 15.1.0 breaking changes

mathjs 15.1.0, released November 5, 2025: 5 breaking changes.

- **Behavior changed** `isInteger`  

The function isInteger now respects tolerances, so numbers close to integers may be treated differently than before. [github.com](https://github.com/josdejong/mathjs/blob/v15.1.0/HISTORY.md)
- **Signature changed** `AccessorNodeCtor.__new`  

Was new \<TObject extends MathNode = MathNode>(object: TObject, index: IndexNode): AccessorNode\<TObject>; now new \<TObject extends MathNode = MathNode>(object: TObject, index: IndexNode, optionalChaining?: boolean): AccessorNode\<TObject>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.1.0)
- **Signature changed** `MathJsChain.nthRoot`  

Was nthRoot(this: MathJsChain\<number | BigNumber | MathCollection | Complex>, root?: number | BigNumber): MathJsChain\<number | Complex | MathCollection>; now nthRoot(this: MathCollection, root?: number | BigNumber)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.1.0)
- **Signature changed** `MathJsInstance.nthRoot`  

Was nthRoot(a: number | BigNumber | MathCollection | Complex, root?: number | BigNumber): number | Complex | MathCollection; now nthRoot(M: MathCollection, root?: number | BigNumber): MathCollection nthRoot(a: number | BigNumber | Complex... [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.1.0)
- **Signature changed** `MathJsStatic.nthRoot`  

Was nthRoot(a: number | BigNumber | MathCollection | Complex, root?: number | BigNumber): number | Complex | MathCollection; now nthRoot(a: number | BigNumber | Complex, root?: number | BigNumber): number | Complex. [npmjs.com](https://www.npmjs.com/package/mathjs/v/15.1.0)

## mathjs 15.0.0 breaking changes

mathjs 15.0.0, released October 10, 2025: 4 breaking changes.

- **Behavior changed**  

Number literals written as hex, bin or oct values must now be followed by a space or delimiter, so expressions that relied on adjacent tokens will now fail to parse. [github.com](https://github.com/josdejong/mathjs/blob/v15.0.0/HISTORY.md)
- **Behavior changed** `%`  

The unary percentage operator and the binary modulus operator both use the % symbol, but now have different precedence. Check expressions that mix unary % with modulus. [github.com](https://github.com/josdejong/mathjs/blob/v15.0.0/HISTORY.md)
- **Behavior changed** `flatten`  

Flattening a SparseMatrix now throws an error instead of proceeding. Convert sparse matrices to a dense form before flattening. [github.com](https://github.com/josdejong/mathjs/blob/v15.0.0/HISTORY.md)
- **Behavior changed** `size`  

The size function now always returns an Array, so code that expects another return type must be updated. [github.com](https://github.com/josdejong/mathjs/blob/v15.0.0/HISTORY.md)

## mathjs 14.9.0 breaking changes

mathjs 14.9.0, released October 10, 2025: 1 breaking change.

- **Behavior changed**  

Ranges with a step of zero now throw an error when evaluated instead of silently behaving differently. Code that relies on a zero step must be changed. [github.com](https://github.com/josdejong/mathjs/blob/v14.9.0/HISTORY.md)

## mathjs 14.8.2 breaking changes

mathjs 14.8.2, released October 3, 2025: 1 breaking change.

- **Signature changed** `MathJsStatic.abs`  

Was abs\<T extends MathType>(x: T): T; now abs(x: Complex): number. [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.8.2)

## Older versions

63 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### mathjs 14.5.3 breaking changes

mathjs 14.5.3, released July 2, 2025: 18 breaking changes.

- **Behavior changed** `add`  

The TypeScript types for add and multiply no longer accept zero or one argument. Code calling them with fewer than two arguments may fail type checking. [github.com](https://github.com/josdejong/mathjs/blob/v14.5.3/HISTORY.md)
- **Behavior changed** `multiply`  

The TypeScript types for multiply no longer accept zero or one argument. Code calling it with fewer than two arguments may fail type checking. [github.com](https://github.com/josdejong/mathjs/blob/v14.5.3/HISTORY.md)

And 16 more in this version.

### mathjs 14.5.2 breaking changes

mathjs 14.5.2, released May 30, 2025: 1 breaking change.

- **Signature changed** `MathJsInstance.isResultSet`  

Was isResultSet(x: unknown): boolean; now isResultSet(x: unknown): x is ResultSet. [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.5.2)

### mathjs 14.5.1 breaking changes

mathjs 14.5.1, released May 28, 2025: 1 breaking change.

- **Renamed** `coulomb`  

The physical constant coulomb was renamed to coulombConstant. The old name still works for backward compatibility, so migrate to the new name. [github.com](https://github.com/josdejong/mathjs/blob/v14.5.1/HISTORY.md)

### mathjs 14.3.0 breaking changes

mathjs 14.3.0, released February 28, 2025: 1 breaking change.

- **Signature changed** `MathJsInstance.multiply`  

Was multiply\<T extends MathArray>(x: T\[\], y: T\[\]): T; now multiply\<T extends MathArray>(x: T\[\], y: T\[\]): T\[\]. [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.3.0)

### mathjs 14.2.0 breaking changes

mathjs 14.2.0, released January 30, 2025: 6 breaking changes.

- **Removed** `Matrix.apply`  

Matrix.apply was removed in mathjs 14.2.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.2.0)
- **Renamed** `apply`  

The function apply was renamed to mapSlices. apply still works but is deprecated, so use mapSlices in new code. [github.com](https://github.com/josdejong/mathjs/blob/v14.2.0/HISTORY.md)

And 4 more in this version.

### mathjs 14.0.1 breaking changes

mathjs 14.0.1, released December 11, 2024: 3 breaking changes.

- **Removed** `Fraction.d`  

Fraction.d was removed in mathjs 14.0.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.0.1)
- **Removed** `Fraction.n`  

Fraction.n was removed in mathjs 14.0.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/14.0.1)

And 1 more in this version.

### mathjs 14.0.0 breaking changes

mathjs 14.0.0, released November 20, 2024: 26 breaking changes.

- **Behavior changed**  

The % (mod) operator now has higher precedence than \* and /, so expressions using these operators may evaluate differently and should be checked. [github.com](https://github.com/josdejong/mathjs/blob/v14.0.0/HISTORY.md)
- **Behavior changed** `bitXor`  

When both inputs are sparse matrices, bitXor now returns a sparse matrix instead of a dense one. [github.com](https://github.com/josdejong/mathjs/blob/v14.0.0/HISTORY.md)

And 24 more in this version.

### mathjs 13.2.3 breaking changes

mathjs 13.2.3, released November 20, 2024: 5 breaking changes.

- **Signature changed** `MathJsChain.filter`  

Was filter(this: MathJsChain\<MathCollection | string\[\]>, test: | ((value: any, index: any, matrix: MathCollection | string\[\]) => boolean) | RegExp): MathJsChain\<MathCollection>; now filter(this: MathJsChain\<MathCollection | string\[\]>... [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.2.3)
- **Signature changed** `MathJsChain.forEach`  

Was forEach\<T extends MathCollection>(this: MathJsChain\<T>, callback: (value: any, index: any, matrix: T) => void): void; now forEach\<T extends MathCollection>(this: MathJsChain\<T>, callback: (value: any, index: number\[\], matrix: T) =>... [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.2.3)

And 3 more in this version.

### mathjs 13.2.1 breaking changes

mathjs 13.2.1, released November 6, 2024: 2 breaking changes.

- **Behavior changed** `Index.dimension`  

Index.dimension(dim) no longer accepts non-numeric input, so callers passing such values must pass numbers instead. [github.com](https://github.com/josdejong/mathjs/blob/v13.2.1/HISTORY.md)
- **Behavior changed** `Parser.set`  

Parser.set now checks variable names and rejects invalid ones, so code setting invalid names must use valid names. [github.com](https://github.com/josdejong/mathjs/blob/v13.2.1/HISTORY.md)

### mathjs 13.2.0 breaking changes

mathjs 13.2.0, released October 2, 2024: 4 breaking changes.

- **Signature changed** `ConstantNode`  

Was interface ConstantNode\<TValue extends string | number = number> extends MathNode; now interface ConstantNode\<TValue extends | string | number | boolean | null | undefined | bigint | BigNumber | Fraction = number> extends MathNode. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.2.0)
- **Signature changed** `ConstantNodeCtor.__new`  

Was new \<TValue extends string | number = string>(value: TValue): ConstantNode\<TValue>; now new \<TValue extends | string | number | boolean | null | undefined | bigint | BigNumber | Fraction = string>(value: TValue): ConstantNode\<TValue>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.2.0)

And 2 more in this version.

### mathjs 13.1.1 breaking changes

mathjs 13.1.1, released August 27, 2024: 1 breaking change.

- **Behavior changed**  

The CLI and web API can no longer call the functions import, createUnit and reviver, which were previously callable. Code that relied on calling them from those entry points must change. [github.com](https://github.com/josdejong/mathjs/blob/v13.1.1/HISTORY.md)

### mathjs 13.1.0 breaking changes

mathjs 13.1.0, released August 26, 2024: 2 breaking changes.

- **Signature changed** `MathJsInstance.map`  

Was map\<T extends MathCollection>(x: T, callback: (value: any, index: any, matrix: T) => MathType | string): T; now map\<T extends MathCollection>(x: T, ...args: Array<| T | ((value: any, ...args: Array\<any | number\[\] | T>) => MathType |... [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.1.0)
- **Signature changed** `MathJsStatic.map`  

Was map\<T extends MathCollection>(x: T, callback: (value: any, index: any, matrix: T) => MathType | string): T; now map\<T extends MathCollection>(x: T, callback: (value: any, index: number\[\], matrix: T) => MathType | string): T. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.1.0)

### mathjs 13.0.3 breaking changes

mathjs 13.0.3, released July 19, 2024: 6 breaking changes.

- **Removed** `UnitComponent.unit.base.dimensions`  

UnitComponent.unit.base.dimensions was removed in mathjs 13.0.3 [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.0.3)
- **Removed** `UnitComponent.unit.base.key`  

UnitComponent.unit.base.key was removed in mathjs 13.0.3 [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.0.3)

And 4 more in this version.

### mathjs 13.0.2 breaking changes

mathjs 13.0.2, released July 4, 2024: 1 breaking change.

- **Signature changed** `MathJsInstance.quantileSeq`  

Was quantileSeq\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], prob: number | BigNumber | MathArray, sorted?: boolean): T; now quantileSeq\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], prob: number | BigNumber, sorted?: boolean): T. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.0.2)

### mathjs 13.0.1 breaking changes

mathjs 13.0.1, released June 28, 2024: 2 breaking changes.

- **Signature changed** `Parser.get`  

Was get(variable: string): any; now get(name: string): any. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.0.1)
- **Signature changed** `Parser.set`  

Was set: (variable: string, value: any) => void; now set: (name: string, value: any) => void. [npmjs.com](https://www.npmjs.com/package/mathjs/v/13.0.1)

### mathjs 13.0.0 breaking changes

mathjs 13.0.0, released May 31, 2024: 43 breaking changes.

- **Behavior changed** `isNegative`  

isNegative now takes config.epsilon into account, so results near zero may differ from before. [github.com](https://github.com/josdejong/mathjs/blob/v13.0.0/HISTORY.md)
- **Behavior changed** `isPositive`  

isPositive now takes config.epsilon into account, so results near zero may differ from before. [github.com](https://github.com/josdejong/mathjs/blob/v13.0.0/HISTORY.md)

And 41 more in this version.

### mathjs 12.4.3 breaking changes

mathjs 12.4.3, released May 31, 2024: 2 breaking changes.

- **Signature changed** `MathJsInstance.quantileSeq`  

Was quantileSeq(A: MathCollection, prob: number | BigNumber | MathArray, sorted?: boolean): number | BigNumber | Unit | MathArray; now quantileSeq(A: MathCollection, prob: number | BigNumber | MathArray, sorted?: boolean): MathScalarType |... [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.4.3)
- **Signature changed** `MathJsStatic.quantileSeq`  

Was quantileSeq(A: MathCollection, prob: number | BigNumber | MathArray, sorted?: boolean): number | BigNumber | Unit | MathArray; now quantileSeq\<T extends MathScalarType>(A: T\[\] | T\[\]\[\], prob: number | BigNumber | MathArray, sorted?... [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.4.3)

### mathjs 12.4.0 breaking changes

mathjs 12.4.0, released February 22, 2024: 2 breaking changes.

- **Signature changed** `MathJsInstance.mode`  

Was mode(...args: MathScalarType\[\]): MathScalarType mode(A: MathCollection): MathScalarType mode\<T extends MathScalarType>(...args: T\[\]): T mode\<T extends MathScalarType>(A: T\[\] | T\[\]\[\]): T; now mode(...args: MathScalarType\[\])... [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.4.0)
- **Signature changed** `MathJsStatic.mode`  

Was mode\<T extends MathScalarType>(...args: T\[\]): T; now mode\<T extends MathScalarType>(...args: T\[\]): T\[\]. [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.4.0)

### mathjs 12.3.1 breaking changes

mathjs 12.3.1, released February 1, 2024: 18 breaking changes.

- **Signature changed** `ArrayNode.items`  

Was items: TItems; now items: \[...TItems\]. [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.3.1)
- **Signature changed** `ArrayNodeCtor.__new`  

Was new \<TItems extends MathNode\[\] = MathNode\[\]>(items: MathNode\[\]): ArrayNode\<TItems>; now new \<TItems extends MathNode\[\] = MathNode\[\]>(items: \[...TItems\]): ArrayNode\<TItems>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.3.1)

And 16 more in this version.

### mathjs 12.2.0 breaking changes

mathjs 12.2.0, released December 8, 2023: 4 breaking changes.

- **Behavior changed** `&`  

The operators and, or, &, and | now short-circuit, so the right-hand side is only evaluated when needed. Code that relies on both sides always being evaluated, such as side effects, must be checked. [github.com](https://github.com/josdejong/mathjs/blob/v12.2.0/HISTORY.md)
- **Behavior changed** `|`  

The operators and, or, &, and | now short-circuit, so the right-hand side is only evaluated when needed. Code that relies on both sides always being evaluated, such as side effects, must be checked. [github.com](https://github.com/josdejong/mathjs/blob/v12.2.0/HISTORY.md)

And 2 more in this version.

### mathjs 12.0.0 breaking changes

mathjs 12.0.0, released October 26, 2023: 412 breaking changes.

- **Removed**  

Use Node.js 18 or later, since Node.js 14 and 16 are no longer officially supported. [github.com](https://github.com/josdejong/mathjs/blob/v12.0.0/HISTORY.md)
- **Removed** `default`  

default was removed in mathjs 12.0.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/12.0.0)

And 410 more in this version.

### mathjs 11.10.1 breaking changes

mathjs 11.10.1, released August 31, 2023: 1 breaking change.

- **Behavior changed** `joule`  

Short prefixes such as k are no longer accepted for the joule unit, so code using a short-prefixed joule unit must switch to a long prefix such as kilo. [github.com](https://github.com/josdejong/mathjs/blob/v11.10.1/HISTORY.md)

### mathjs 11.9.1 breaking changes

mathjs 11.9.1, released July 24, 2023: 1 breaking change.

- **Behavior changed** `math.evaluate`  

Expressions that previously allowed arbitrary code execution through FunctionNode and SymbolNode are now blocked, so code relying on that behavior may now fail. [github.com](https://github.com/josdejong/mathjs/blob/v11.9.1/HISTORY.md)

### mathjs 11.9.0 breaking changes

mathjs 11.9.0, released July 19, 2023: 2 breaking changes.

- **Signature changed** `MathJsChain.range`  

Was range(this: MathJsChain\<number | BigNumber>, end: number | BigNumber, step: number | BigNumber, includeEnd?: boolean): MathJsChain\<Matrix>; now range(this: MathJsChain\<number | BigNumber | Unit>, end: number | BigNumber | Unit, step... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.9.0)
- **Signature changed** `MathJsStatic.range`  

Was range(start: number | BigNumber, end: number | BigNumber, step: number | BigNumber, includeEnd?: boolean): Matrix; now range(start: number | BigNumber | Unit, end: number | BigNumber | Unit, step: number | BigNumber | Unit... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.9.0)

### mathjs 11.8.2 breaking changes

mathjs 11.8.2, released June 20, 2023: 11 breaking changes.

- **Signature changed** `MathJsStatic.max`  

Was max(A: MathCollection, dim?: number): any max\<T extends MathType\[\]>(...args: T): T\[number\]; now max(...args: MathScalarType\[\]): MathScalarType max(A: MathCollection, dimension?: number | BigNumber): MathScalarType max\<T extends... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.8.2)
- **Signature changed** `MathJsStatic.mean`  

Was mean(...args: MathType\[\]): any mean(A: MathCollection, dim?: number): any; now mean(...args: MathScalarType\[\]): MathScalarType mean(A: MathCollection, dimension?: number | BigNumber): MathScalarType mean\<T extends... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.8.2)

And 9 more in this version.

### mathjs 11.8.1 breaking changes

mathjs 11.8.1, released June 13, 2023: 4 breaking changes.

- **Removed**  

Node.js 14 is no longer officially supported because it reached end of life. Upgrade to a supported Node.js version. [github.com](https://github.com/josdejong/mathjs/blob/v11.8.1/HISTORY.md)
- **Signature changed** `MathJsStatic.distance`  

Was distance(x: MathCollection | object, y: MathCollection | object): number | BigNumber; now distance(x: MathCollection | object, y: MathCollection | object, z?: MathCollection | object): number | BigNumber. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.8.1)

And 2 more in this version.

### mathjs 11.8.0 breaking changes

mathjs 11.8.0, released April 3, 2023: 6 breaking changes.

- **Signature changed** `MathJsChain.bignumber`  

Was bignumber(this: MathJsChain\<number | string | Fraction | BigNumber | boolean | Fraction | null>): MathJsChain\<BigNumber>; now bignumber(this: MathJsChain\<number | string | Fraction | BigNumber | Unit | boolean | null>)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.8.0)
- **Signature changed** `MathJsChain.fraction`  

Was fraction(this: MathJsChain\<number | string | BigNumber | Fraction | FractionDefinition>, denominator?: number): MathJsChain\<Fraction>; now fraction(this: MathJsChain\<number | string | BigNumber | Unit | Fraction | FractionDefinition>... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.8.0)

And 4 more in this version.

### mathjs 11.7.0 breaking changes

mathjs 11.7.0, released March 15, 2023: 137 breaking changes.

- **Behavior changed** `det`  

The determinant function now returns 1 for an empty matrix instead of the previous result. Code relying on the old value for empty matrices must be updated. [github.com](https://github.com/josdejong/mathjs/blob/v11.7.0/HISTORY.md)
- **Signature changed** `MathJsChain.abs`  

Was abs(this: MathJsChain\<BigNumber>): MathJsChain\<BigNumber> abs(this: MathJsChain\<Complex>): MathJsChain\<Complex> abs(this: MathJsChain\<Fraction>): MathJsChain\<Fraction> abs(this: MathJsChain\<MathArray>): MathJsChain\<MathArray> abs(this... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.7.0)

And 135 more in this version.

### mathjs 11.6.0 breaking changes

mathjs 11.6.0, released February 24, 2023: 4 breaking changes.

- **Signature changed** `MathJsChain.intersect`  

Was intersect(this: MathJsChain\<MathCollection>, x: MathCollection, y: MathCollection, z: MathCollection): MathJsChain\<MathArray>; now intersect(this: MathJsChain\<MathCollection>, x: MathCollection, y: MathCollection, z?: MathCollection)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.6.0)
- **Signature changed** `MathJsChain.unit`  

Was unit(this: MathJsChain\<number | BigNumber>, unit?: string): MathJsChain\<Unit>; now unit(this: MathJsChain\<number | BigNumber | Fraction | Complex>, unit?: string): MathJsChain\<Unit>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.6.0)

And 2 more in this version.

### mathjs 11.5.1 breaking changes

mathjs 11.5.1, released January 31, 2023: 9 breaking changes.

- **Signature changed** `MathJsChain.dotDivide`  

Was dotDivide(this: MathJsChain\<MathType>, y: MathType): MathJsChain\<MathType>; now dotDivide(this: MathJsChain\<MathNumericType>, y: MathNumericType): MathJsChain\<MathNumericType> dotDivide(this: MathJsChain\<MathType>, y: Unit)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.5.1)
- **Signature changed** `MathJsChain.dotMultiply`  

Was dotMultiply(this: MathJsChain\<MathType>, y: MathType): MathJsChain\<MathType>; now dotMultiply(this: MathJsChain\<MathNumericType>, y: MathNumericType): MathJsChain\<MathNumericType> dotMultiply(this: MathJsChain\<MathType>, y: Unit)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.5.1)

And 7 more in this version.

### mathjs 11.5.0 breaking changes

mathjs 11.5.0, released December 5, 2022: 2 breaking changes.

- **Behavior changed** `reshape`  

Calling reshape on a matrix now leaves the input unchanged. Code that relied on the input being modified in place must use the returned value instead. [github.com](https://github.com/josdejong/mathjs/blob/v11.5.0/HISTORY.md)
- **Signature changed** `MathJsStatic.multiply`  

Was multiply(x: MathArray, y: MathArray): MathArray; now multiply\<T extends MathArray>(x: T, y: T): T multiply\<T extends MathNumericType\[\]>(x: T, y: T\[\]): T multiply\<T extends MathNumericType\[\]>(x: T\[\], y: T): T. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.5.0)

### mathjs 11.4.0 breaking changes

mathjs 11.4.0, released November 18, 2022: 3 breaking changes.

- **Signature changed** `MathJsChain.forEach`  

Was forEach\<T extends Matrix | MathArray>(this: MathJsChain\<T>, callback: (value: any, index: any, matrix: T) => void): MathJsChain\<T>; now forEach\<T extends Matrix | MathArray>(this: MathJsChain\<T>, callback: (value: any, index: any... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.4.0)
- **Signature changed** `MathNode.forEach`  

Was forEach(callback: (node: MathNode, path: string, parent: MathNode) => any): MathNode\[\]; now forEach(callback: (node: MathNode, path: string, parent: MathNode) => void): void. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.4.0)

And 1 more in this version.

### mathjs 11.3.3 breaking changes

mathjs 11.3.3, released November 7, 2022: 1 breaking change.

- **Signature changed** `FunctionNodeCtor.__new`  

Was new \<TFn = SymbolNode, TArgs extends MathNode\[\] = MathNode\[\]>(fn: TFn, args: SymbolNode): FunctionNode\<TransferFunction, TArgs>; now new \<TFn = SymbolNode, TArgs extends MathNode\[\] = MathNode\[\]>(fn: TFn, args: TArgs): FunctionNode\<TFn... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.3.3)

### mathjs 11.3.2 breaking changes

mathjs 11.3.2, released October 25, 2022: 41 breaking changes.

- **Signature changed** `AccessorNode`  

Was interface AccessorNode extends MathNode; now interface AccessorNode\<TObject extends MathNode = MathNode> extends MathNode. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.3.2)
- **Signature changed** `AccessorNode.object`  

Was object: MathNode; now object: TObject. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.3.2)

And 39 more in this version.

### mathjs 11.3.1 breaking changes

mathjs 11.3.1, released October 19, 2022: 1 breaking change.

- **Behavior changed**  

Defining a function with the same parameter name twice now throws an error instead of being accepted. Rename the duplicate parameters so the function definition is valid. [github.com](https://github.com/josdejong/mathjs/blob/v11.3.1/HISTORY.md)

### mathjs 11.3.0 breaking changes

mathjs 11.3.0, released October 11, 2022: 20 breaking changes.

- **Signature changed** `AccessorNode`  

Was interface AccessorNode extends MathNodeCommon; now interface AccessorNode extends MathNode. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.3.0)
- **Signature changed** `ArrayNode`  

Was interface ArrayNode extends MathNodeCommon; now interface ArrayNode extends MathNode. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.3.0)

And 18 more in this version.

### mathjs 11.2.0 breaking changes

mathjs 11.2.0, released September 12, 2022: 3 breaking changes.

- **Signature changed** `MathJsChain.pickRandom`  

Was pickRandom(array: MathJsChain\<number\[\]>, number?: number, weights?: number\[\]): MathJsChain\<number | number\[\]>; now pickRandom\<T>(this: MathJsChain\<T\[\]>): MathJsChain\<T> pickRandom\<T>(this: MathJsChain\<T\[\]>, number: number)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.2.0)
- **Signature changed** `MathJsStatic.pickRandom`  

Was pickRandom(array: number\[\], number?: number, weights?: number\[\]): number | number\[\]; now pickRandom\<T>(array: T\[\]): T pickRandom\<T>(array: T\[\], number: number): T\[\] pickRandom\<T>(array: T\[\], number: number, weights: number\[\]): T\[\]. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.2.0)

And 1 more in this version.

### mathjs 11.0.1 breaking changes

mathjs 11.0.1, released July 25, 2022: 3 breaking changes.

- **Signature changed** `MathJsChain.simplify`  

Was simplify(this: MathJsChain\<MathNode | string>, rules?: SimplifyRule\[\], scope?: Map | object, options?: SimplifyOptions): MathJsChain\<MathNode>; now simplify(this: MathJsChain\<MathNode | string>, rules?: SimplifyRule\[\], scope?... [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.0.1)
- **Signature changed** `MathJsStatic.simplifyConstant`  

Was simplifyConstant(expr: MathNode | string, options?: SimplifyOptions); now simplifyConstant(expr: MathNode | string, options?: SimplifyOptions): MathNode. [npmjs.com](https://www.npmjs.com/package/mathjs/v/11.0.1)

And 1 more in this version.

### mathjs 11.0.0 breaking changes

mathjs 11.0.0, released July 23, 2022: 55 breaking changes.

- **Removed**  

IE11 is no longer officially supported. Code relying on IE11 may break. [github.com](https://github.com/josdejong/mathjs/blob/v11.0.0/HISTORY.md)
- **Behavior changed**  

Expressions like -1 / 2 x are now parsed as (-1 / 2) \* x instead of -1 / (2 \* x). [github.com](https://github.com/josdejong/mathjs/blob/v11.0.0/HISTORY.md)

And 53 more in this version.

### mathjs 10.6.4 breaking changes

mathjs 10.6.4, released June 28, 2022: 1 breaking change.

- **Signature changed** `FactoryDependencies.factory`  

Was factory: \<T>(name: string, dependencies: MathJsFunctionName\[\], create: (injected: Partial\<MathJsStatic>) => T, meta?: any) => FactoryFunction\<T>; now factory: \<T, TDeps extends readonly MathJsFunctionName\[\]>(name: string, dependencies... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.4)

### mathjs 10.6.3 breaking changes

mathjs 10.6.3, released June 24, 2022: 3 breaking changes.

- **Removed** `MathJsStatic.Node`  

MathJsStatic.Node was removed in mathjs 10.6.3 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.3)
- **Removed** `NodeCtor`  

NodeCtor was removed in mathjs 10.6.3 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.3)

And 1 more in this version.

### mathjs 10.6.2 breaking changes

mathjs 10.6.2, released June 24, 2022: 6 breaking changes.

- **Signature changed** `FactoryDependencies.factory`  

Was factory: \<T>(name: string, dependencies: MathJsFunctionName\[\], create: (injected: Partial\<MathJsStatic>) => T, meta?: any) => FactoryFunction\<T>; now factory: \<T, TDeps extends readonly MathJsFunctionName\[\]>(name: string, dependencies... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.2)
- **Signature changed** `MathNodeCommon.transform`  

Was transform(callback: (node: MathNode, path: string, parent: MathNode) => MathNode): MathNode; now transform\<TResult>(callback: (node: this, path: string, parent: MathNode) => TResult): TResult. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.2)

And 4 more in this version.

### mathjs 10.6.1 breaking changes

mathjs 10.6.1, released May 31, 2022: 8 breaking changes.

- **Signature changed** `MathJsStatic.isOperatorNode`  

Was isOperatorNode(x: unknown): x is OperatorNode; now isOperatorNode(x: unknown): x is OperatorNode\<OperatorNodeOp, OperatorNodeFn>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.1)
- **Signature changed** `MathNode`  

Was type MathNode = | AccessorNode | ArrayNode | AssignmentNode | BlockNode | ConditionalNode | ConstantNode | FunctionAssignmentNode | FunctionNode | IndexNode | ObjectNode | OperatorNode | ParenthesisNode | RangeNode | RelationalNode |... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.1)

And 6 more in this version.

### mathjs 10.6.0 breaking changes

mathjs 10.6.0, released May 24, 2022: 209 breaking changes.

- **Removed** `MathJsChain.parser`  

MathJsChain.parser was removed in mathjs 10.6.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.0)
- **Removed** `MathJsChain.sum`  

MathJsChain.sum was removed in mathjs 10.6.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.6.0)

And 207 more in this version.

### mathjs 10.5.3 breaking changes

mathjs 10.5.3, released May 11, 2022: 1 breaking change.

- **Removed**  

Node.js 12 is no longer officially supported because it reached end of life. Use a supported Node.js version. [github.com](https://github.com/josdejong/mathjs/blob/v10.5.3/HISTORY.md)

### mathjs 10.5.1 breaking changes

mathjs 10.5.1, released May 2, 2022: 141 breaking changes.

- **Signature changed** `MathArray`  

Was type MathArray = number\[\] | number\[\]\[\]; now type MathArray = MathNumericType\[\] | MathNumericType\[\]\[\]. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.5.1)
- **Signature changed** `MathExpression`  

Was type MathExpression = string | string\[\] | MathArray | Matrix; now type MathExpression = string | string\[\] | MathCollection. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.5.1)

And 139 more in this version.

### mathjs 10.5.0 breaking changes

mathjs 10.5.0, released April 19, 2022: 2 breaking changes.

- **Behavior changed** `det`  

For integer matrices, det now returns exact results without round-off errors, so results for integer input may differ slightly from before. [github.com](https://github.com/josdejong/mathjs/blob/v10.5.0/HISTORY.md)
- **Signature changed** `MathJsStatic.ceil`  

Was ceil(x: Unit): Unit; now ceil(x: BigNumber, n: BigNumber | MathArray): BigNumber ceil(x: Complex, n: number | MathArray): Complex ceil(x: Fraction, n: number): Fraction ceil(x: MathArray, n: number): MathArray ceil(x: Matrix, n: number... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.5.0)

### mathjs 10.4.2 breaking changes

mathjs 10.4.2, released March 29, 2022: 2 breaking changes.

- **Behavior changed**  

Getting the sign for units with an offset (such as degC) is now disabled because it is ambiguous. Code that relied on it must change. [github.com](https://github.com/josdejong/mathjs/blob/v10.4.2/HISTORY.md)
- **Behavior changed** `approx.deepEqual`  

The epsilon argument is now used as the comparison tolerance; it was previously silently ignored, so comparison results may change. [github.com](https://github.com/josdejong/mathjs/blob/v10.4.2/HISTORY.md)

### mathjs 10.4.1 breaking changes

mathjs 10.4.1, released March 23, 2022: 7 breaking changes.

- **Removed** `MathJsJson`  

MathJsJson was removed in mathjs 10.4.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.4.1)
- **Removed** `MathJsStatic.json`  

MathJsStatic.json was removed in mathjs 10.4.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.4.1)

And 5 more in this version.

### mathjs 10.4.0 breaking changes

mathjs 10.4.0, released March 7, 2022: 2 breaking changes.

- **Signature changed** `MathJsStatic.std`  

Was std(array: MathArray | Matrix, normalization?: 'unbiased' | 'uncorrected' | 'biased' | 'unbiased'): number; now std(...values: number\[\]): number std(array: MathArray | Matrix, dimension: number, normalization?: 'unbiased' |... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.4.0)
- **Signature changed** `MathJsStatic.variance`  

Was variance(...args: Array\<number | BigNumber | Fraction>): any variance(array: MathArray | Matrix, normalization?: 'unbiased' | 'uncorrected' | 'biased' | 'unbiased'): any; now variance(...args: Array\<number | BigNumber | Fraction>)... [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.4.0)

### mathjs 10.3.0 breaking changes

mathjs 10.3.0, released March 2, 2022: 1 breaking change.

- **Removed** `Simplify.simplifyCore`  

Simplify.simplifyCore was removed in mathjs 10.3.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.3.0)

### mathjs 10.2.0 breaking changes

mathjs 10.2.0, released March 1, 2022: 2 breaking changes.

- **Signature changed** `MathJsStatic.gamma`  

Was gamma(n: number | MathArray | Matrix): number | MathArray | Matrix; now gamma\<T extends number | BigNumber | Complex | MathArray | Matrix>(n: T): NoLiteralType\<T>. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.2.0)
- **Signature changed** `MathJsStatic.unit`  

Was unit(value: number | MathArray | Matrix, unit: string): Unit; now unit(value: number | MathArray | Matrix | BigNumber, unit: string): Unit. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.2.0)

### mathjs 10.1.1 breaking changes

mathjs 10.1.1, released February 2, 2022: 4 breaking changes.

- **Removed** `ConfigOptions.parenthesis`  

ConfigOptions.parenthesis was removed in mathjs 10.1.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.1.1)
- **Signature changed** `ConfigOptions.matrix`  

Was matrix?: string; now matrix?: 'Matrix' | 'Array'. [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.1.1)

And 2 more in this version.

### mathjs 10.0.0 breaking changes

mathjs 10.0.0, released November 3, 2021: 45 breaking changes.

- **Removed** `MathNode.args`  

MathNode.args was removed in mathjs 10.0.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.0.0)
- **Removed** `MathNode.clone`  

MathNode.clone was removed in mathjs 10.0.0 [npmjs.com](https://www.npmjs.com/package/mathjs/v/10.0.0)

And 43 more in this version.

### mathjs 9.5.2 breaking changes

mathjs 9.5.2, released November 3, 2021: 57 breaking changes.

- **Removed** `AccessorNode`  

AccessorNode was removed in mathjs 9.5.2 [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.5.2)
- **Removed** `AccessorNodeCtor`  

AccessorNodeCtor was removed in mathjs 9.5.2 [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.5.2)

And 55 more in this version.

### mathjs 9.5.1 breaking changes

mathjs 9.5.1, released October 13, 2021: 44 breaking changes.

- **Removed** `MathNode.args`  

MathNode.args was removed in mathjs 9.5.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.5.1)
- **Removed** `MathNode.clone`  

MathNode.clone was removed in mathjs 9.5.1 [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.5.1)

And 42 more in this version.

### mathjs 9.5.0 breaking changes

mathjs 9.5.0, released September 22, 2021: 1 breaking change.

- **Signature changed** `Parser.evaluate`  

Was evaluate(expr: string): any; now evaluate(expr: string | string\[\]): any. [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.5.0)

### mathjs 9.4.5 breaking changes

mathjs 9.4.5, released September 15, 2021: 1 breaking change.

- **Removed** `MathNode.isConditionalnode`  

MathNode.isConditionalnode was removed in mathjs 9.4.5 [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.4.5)

### mathjs 9.4.4 breaking changes

mathjs 9.4.4, released July 7, 2021: 2 breaking changes.

- **Behavior changed**  

The browser bundle now includes the polyfills needed for IE11, so it is larger than before. Code that relies on the bundle size should be checked. [github.com](https://github.com/josdejong/mathjs/blob/v9.4.4/HISTORY.md)
- **Behavior changed**  

Node.js 10 reached end of life and is no longer officially supported. Upgrade Node.js to a newer supported version to keep using this release. [github.com](https://github.com/josdejong/mathjs/blob/v9.4.4/HISTORY.md)

### mathjs 9.4.3 breaking changes

mathjs 9.4.3, released June 23, 2021: 2 breaking changes.

- **Behavior changed**  

mathjs previously modified the Decimal prototype; this release stops that. Code that relied on the added Decimal prototype properties must change. [github.com](https://github.com/josdejong/mathjs/blob/v9.4.3/HISTORY.md)
- **Signature changed** `MathJsStatic.simplify`  

Was simplify(expr: MathNode | string, rules?: Array<{l: string; r: string} | string | ((node: MathNode) => MathNode)>, scope?: object): MathNode; now simplify(expr: MathNode | string, rules?: Array<{l: string; r: string} | string | ((node... [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.4.3)

### mathjs 9.4.2 breaking changes

mathjs 9.4.2, released June 5, 2021: 1 breaking change.

- **Signature changed** `MathJsStatic.parse`  

Was parse(expr: MathExpression, options?: any): MathNode parse(exprs: MathExpression\[\], options?: any): MathNode\[\]; now parse: ParseFunction. [npmjs.com](https://www.npmjs.com/package/mathjs/v/9.4.2)

### mathjs 9.0.0 breaking changes

mathjs 9.0.0, released January 16, 2021: 1 breaking change.

- **Behavior changed**  

Literals with the 0b, 0c or 0x prefixes are now unsigned unless you add a word-size suffix such as i16 or i32 to parse them as signed. [github.com](https://github.com/josdejong/mathjs/blob/v9.0.0/HISTORY.md)

### mathjs 8.0.0 breaking changes

mathjs 8.0.0, released November 6, 2020: 4 breaking changes.

- **Removed**  

The non-minified bundle dist/math.js is no longer published. Use the minified bundle or create a bundle yourself. [github.com](https://github.com/josdejong/mathjs/blob/v8.0.0/HISTORY.md)
- **Behavior changed**  

The browser bundle moved from /dist to /lib/browser, ES modules to /lib/esm, and commonjs to /lib/cjs. Update any direct file imports that use the old paths. [github.com](https://github.com/josdejong/mathjs/blob/v8.0.0/HISTORY.md)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
