rsoreq / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
0 stars 0 forks source link

[NEUTRAL] Update dependency mathjs to v12 - autoclosed #897

Closed mend-for-github-com[bot] closed 1 month ago

mend-for-github-com[bot] commented 8 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mathjs (source) ^7.0.0 -> ^12.0.0 age adoption passing confidence

Release Notes

josdejong/mathjs (mathjs) ### [`v12.4.3`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-05-31-1243) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.4.2...v12.4.3) - Fix: serialization of Units without a value, see [#​1240](https://togithub.com/josdejong/mathjs/issues/1240). - Fix: outdated, incorrect documentation about the order of precedence for operator modulus `%`. See [#​3189](https://togithub.com/josdejong/mathjs/issues/3189). - Fix: [#​3197](https://togithub.com/josdejong/mathjs/issues/3197) improve `quantileSeq` type definitions ([#​3198](https://togithub.com/josdejong/mathjs/issues/3198)). Thanks [@​domdomegg](https://togithub.com/domdomegg). ### [`v12.4.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-04-24-1242) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.4.1...v12.4.2) - Fix [#​3192](https://togithub.com/josdejong/mathjs/issues/3192): function `isNaN` returns `false` for `NaN` units in a matrix or array ([#​3193](https://togithub.com/josdejong/mathjs/issues/3193)). Thanks [@​lgerin](https://togithub.com/lgerin). - Fix: [#​3180](https://togithub.com/josdejong/mathjs/issues/3180) fix type definitions of functions `add` and `multiply` to allow more than two arguments. - Docs: correct the docs about `traverse` returning void ([#​3177](https://togithub.com/josdejong/mathjs/issues/3177)). Thanks [@​rohildshah](https://togithub.com/rohildshah). ### [`v12.4.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-03-13-1241) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.4.0...v12.4.1) - Docs: implement an interactive version of the Lorenz example, and show the chart full screen ([#​3151](https://togithub.com/josdejong/mathjs/issues/3151)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​3172](https://togithub.com/josdejong/mathjs/issues/3172): simplify `"true and true"`. - Fix [#​3163](https://togithub.com/josdejong/mathjs/issues/3163): `toTex` wrongly returning `Infinity` for large BigNumbers. - Fix [#​3162](https://togithub.com/josdejong/mathjs/issues/3162): add license information about CSParse ([#​3164](https://togithub.com/josdejong/mathjs/issues/3164)). - Fix [#​3175](https://togithub.com/josdejong/mathjs/issues/3175): cannot delete units using `math.Unit.deleteUnit`. - Fix: faster startup time of the CLI and REPL by loading the bundle. - Fix: remove using polyfill.io inside the example `pretty_printing_with_mathjax.html` ([#​3167](https://togithub.com/josdejong/mathjs/issues/3167)). Thanks [@​SukkaW](https://togithub.com/SukkaW). ### [`v12.4.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-02-22-1240) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.3.2...v12.4.0) - Feat: implement support for trailing commas in matrices ([#​3154](https://togithub.com/josdejong/mathjs/issues/3154), [#​2968](https://togithub.com/josdejong/mathjs/issues/2968)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Feat: improve the performance of `multiply` a lot by adding matrix type inferencing ([#​3149](https://togithub.com/josdejong/mathjs/issues/3149)). Thanks [@​RandomGamingDev](https://togithub.com/RandomGamingDev). - Fix: [#​3100](https://togithub.com/josdejong/mathjs/issues/3100) function `round` not handling round-off errors ([#​3136](https://togithub.com/josdejong/mathjs/issues/3136)). Thanks [@​BrianFugate](https://togithub.com/BrianFugate). - Fix: `PartitionedMap` and `ObjectWrappingMap` missing a property `Symbol.iterator`, causing problems when trying `new Map(scope)` ([#​3156](https://togithub.com/josdejong/mathjs/issues/3156)). - Fix: type definitions of function `mode` ([#​3153](https://togithub.com/josdejong/mathjs/issues/3153)). Thanks [@​rich-martinez](https://togithub.com/rich-martinez). - Docs: describe method `getAllAsMap` in the Parser docs ([#​3158](https://togithub.com/josdejong/mathjs/issues/3158), [#​3157](https://togithub.com/josdejong/mathjs/issues/3157)). Thanks [@​dvd101x](https://togithub.com/dvd101x). ### [`v12.3.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-02-08-1232) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.3.1...v12.3.2) - Improved the performance of custom defined functions in the expression parser ([#​3150](https://togithub.com/josdejong/mathjs/issues/3150)). - Fix: [#​3143](https://togithub.com/josdejong/mathjs/issues/3143) cannot use `and` and `or` inside a function definition. Regression since `v12.1.0` ([#​3150](https://togithub.com/josdejong/mathjs/issues/3150)). ### [`v12.3.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-02-01-1231) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.3.0...v12.3.1) - Improved the typings of the arguments of `ArrayNode`, `FunctionNode`, `IndexNode`, `OperatorNode`, and `RelationalNode` ([#​3123](https://togithub.com/josdejong/mathjs/issues/3123)). Thanks [@​sylee957](https://togithub.com/sylee957). - Added a fully featured code editor example with CodeMirror and Katex ([#​3027](https://togithub.com/josdejong/mathjs/issues/3027)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix: [#​3114](https://togithub.com/josdejong/mathjs/issues/3114) build warnings related to a number of wrong `/* #__PURE__ */` annotations. - Fix: [#​3142](https://togithub.com/josdejong/mathjs/issues/3142) support BigNumber values for the options of function `format`: `precision`, `wordSize`, `lowerExp`, `upperExp`. Support BigNumber values for the option `wordSize` in the functions `hex`, `bin`, and `oct`. - Fix: [#​3125](https://togithub.com/josdejong/mathjs/issues/3125) type definitions of function `hypot` ([#​3144](https://togithub.com/josdejong/mathjs/issues/3144)). Thanks [@​silentmissile](https://togithub.com/silentmissile). - Fix: [#​3141](https://togithub.com/josdejong/mathjs/issues/3141) `help(config)` altering the actual `config` when evaluating the examples. - Docs: [#​3145](https://togithub.com/josdejong/mathjs/issues/3145) fix documentation about REPL, it does require a build step nowadays. ### [`v12.3.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2024-01-12-1230) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.2.1...v12.3.0) - Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`), `ronto` (`r`), and `quecto` (`q`) ([#​3113](https://togithub.com/josdejong/mathjs/issues/3113), [#​3112](https://togithub.com/josdejong/mathjs/issues/3112)). Thanks [@​AlexEdgcomb](https://togithub.com/AlexEdgcomb). - Fix a bug converting a unitless unit ([#​3117](https://togithub.com/josdejong/mathjs/issues/3117)). Thanks [@​costerwi](https://togithub.com/costerwi). - Fix: [#​3097](https://togithub.com/josdejong/mathjs/issues/3097) `toSI()` wrongly converting `degC` ([#​3118](https://togithub.com/josdejong/mathjs/issues/3118)). Thanks [@​costerwi](https://togithub.com/costerwi). ### [`v12.2.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-12-20-1221) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.2.0...v12.2.1) - Fix [#​3109](https://togithub.com/josdejong/mathjs/issues/3109): method `Node.toHTML` not accepting a custom `handler`. ### [`v12.2.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-12-08-1220) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.1.0...v12.2.0) - Feat: lazy evaluation of operators `and`, `or`, `&`, `|` ([#​3090](https://togithub.com/josdejong/mathjs/issues/3090), [#​3101](https://togithub.com/josdejong/mathjs/issues/3101), [#​2766](https://togithub.com/josdejong/mathjs/issues/2766)). Thanks [@​smith120bh](https://togithub.com/smith120bh). - Fix: passing a 4th argument with a scope to raw functions. - Fix: [#​3096](https://togithub.com/josdejong/mathjs/issues/3096) embedded docs of eigs throwing an error. ### [`v12.1.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-11-17-1210) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v12.0.0...v12.1.0) - Feat: Extend function `round` with support for units ([#​2761](https://togithub.com/josdejong/mathjs/issues/2761), [#​3095](https://togithub.com/josdejong/mathjs/issues/3095)). - Feat: Extend function `mod` with support for negative divisors in when using `BigNumber` or `Fraction` ([#​3087](https://togithub.com/josdejong/mathjs/issues/3087)). - Fix: [#​3092](https://togithub.com/josdejong/mathjs/issues/3092) a typo in an error message when converting a string into a number. - Fix: [#​3094](https://togithub.com/josdejong/mathjs/issues/3094) function `derivative` mutates the input expression when it fails. ### [`v12.0.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-10-26-1200) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.12.0...v12.0.0) Breaking changes: - Fix [#​2879](https://togithub.com/josdejong/mathjs/issues/2879), [#​2927](https://togithub.com/josdejong/mathjs/issues/2927), [#​3014](https://togithub.com/josdejong/mathjs/issues/3014): change the confusing interface of `eigs` ([#​3037](https://togithub.com/josdejong/mathjs/issues/3037)), thanks [@​gwhitney](https://togithub.com/gwhitney). Before, functions `eigs` returned an object: { values: MathCollection; vectors: MathCollection } where `vectors` was a 2d matrix of which the columns contained the vectors. This is changed to `eigs` returning an object: { values: MathCollection eigenvectors: Array<{ value: number | BigNumber vector: MathCollection }> } Where `eigenvectors` is an array containing an object with the corresponding eigenvalue and vector. - Refactored the TypeScript type definitions to make them work with a `NodeNext` module resolution ([#​3079](https://togithub.com/josdejong/mathjs/issues/3079), [#​2919](https://togithub.com/josdejong/mathjs/issues/2919)). - Type `MathJsStatic` is renamed to `MathJsInstance`. - Type `FactoryDependencies` is deprecated, use `MathJsFactory` instead, and import dependency maps directly from the library. - Change the assignment operator of `.toTex()` output from `:=` to `=` (see [#​2980](https://togithub.com/josdejong/mathjs/issues/2980), [#​2987](https://togithub.com/josdejong/mathjs/issues/2987)). - Drop official support for Node.js 14 and 16. Features: - Function `eigs` now has an option to turn off calculation of eigenvectors ([#​3057](https://togithub.com/josdejong/mathjs/issues/3057), [#​2180](https://togithub.com/josdejong/mathjs/issues/2180)). Thanks [@​gwhitney](https://togithub.com/gwhitney). Fixes: - Find eigenvectors of defective matrices ([#​3037](https://togithub.com/josdejong/mathjs/issues/3037)). Thanks [@​gwhitney](https://togithub.com/gwhitney). ### [`v11.12.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-10-26-11120) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.11.2...v11.12.0) - Implemented function `subtractScalar` ([#​3081](https://togithub.com/josdejong/mathjs/issues/3081), [#​2643](https://togithub.com/josdejong/mathjs/issues/2643)), thanks [@​vrushaket](https://togithub.com/vrushaket). - Fix [#​3073](https://togithub.com/josdejong/mathjs/issues/3073): function format not escaping control characters and double quotes ([#​3082](https://togithub.com/josdejong/mathjs/issues/3082)). - Fix: function `clone` not throwing an error when passing an unsupported type like a function. - Fix: [#​2960](https://togithub.com/josdejong/mathjs/issues/2960) add type definition of function `symbolicEqual` ([#​3035](https://togithub.com/josdejong/mathjs/issues/3035)), thanks [@​juancodeaudio](https://togithub.com/juancodeaudio). ### [`v11.11.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-10-11-11112) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.11.1...v11.11.2) - Fix [#​3025](https://togithub.com/josdejong/mathjs/issues/3025): improve handling of matrices and error handling in function `corr` ([#​3030](https://togithub.com/josdejong/mathjs/issues/3030)). Thanks [@​vrushaket](https://togithub.com/vrushaket). - Fix [#​3074](https://togithub.com/josdejong/mathjs/issues/3074): improve error message when using function `max` in `derivative`. - Fix [#​3073](https://togithub.com/josdejong/mathjs/issues/3073): fix parsing quotes inside a string. - Fix [#​2027](https://togithub.com/josdejong/mathjs/issues/2027): cannot use named operators like `to` or `mod` as property name. ### [`v11.11.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-09-20-11111) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.11.0...v11.11.1) - Fix [#​2989](https://togithub.com/josdejong/mathjs/issues/2989): use one-based indices in `print` in the parser ([#​3009](https://togithub.com/josdejong/mathjs/issues/3009)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​2936](https://togithub.com/josdejong/mathjs/issues/2936): `mod` sometimes giving wrong results due to internal round-off errors ([#​3011](https://togithub.com/josdejong/mathjs/issues/3011)). Thanks [@​praisennamonu1](https://togithub.com/praisennamonu1). - Internal refactor of `quantileSeq`, and fixed the embedded help ([#​3003](https://togithub.com/josdejong/mathjs/issues/3003)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Updated dependencies and devDependencies. ### [`v11.11.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-09-05-11110) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.10.1...v11.11.0) - Implement function `corr` to calculate the correlation between two matrices ([#​3015](https://togithub.com/josdejong/mathjs/issues/3015), [#​2624](https://togithub.com/josdejong/mathjs/issues/2624)). Thanks [@​vrushaket](https://togithub.com/vrushaket). - Lock `fraction.js` at version `4.3.4` for now, see [#​3024](https://togithub.com/josdejong/mathjs/issues/3024), 3022, [https://github.com/rawify/Fraction.js/issues/68](https://togithub.com/rawify/Fraction.js/issues/68)s/68. ### [`v11.10.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-08-31-11101) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.10.0...v11.10.1) - Upgrade to `fraction.js@4.3.4`, see [#​3022](https://togithub.com/josdejong/mathjs/issues/3022). - Fix [#​3020](https://togithub.com/josdejong/mathjs/issues/3020): `lruQueue` using the global `hasOwnProperty` which may be polluted. - Add support for prefixes for the unit `erg`, and restrict prefixes of the unit `joule` to only long prefixes like `kilo` and no short prefixes like `k` ([#​3019](https://togithub.com/josdejong/mathjs/issues/3019)). Thanks [@​costerwi](https://togithub.com/costerwi). - Add a new browser example `examples/browser/lorenz.html` that uses `solveODE` and plots the result in a chart ([#​3018](https://togithub.com/josdejong/mathjs/issues/3018)). Thanks [@​dvd101x](https://togithub.com/dvd101x). ### [`v11.10.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-08-23-11100) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.9.1...v11.10.0) - Extend function `quantileSeq` with support for a `dimension` ([#​3002](https://togithub.com/josdejong/mathjs/issues/3002)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Implement [#​2735](https://togithub.com/josdejong/mathjs/issues/2735): Support indexing with an array of booleans, for example `a[[true, false, true]]` and `a[a > 2]` ([#​2994](https://togithub.com/josdejong/mathjs/issues/2994)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Implement function `zeta` ([#​2950](https://togithub.com/josdejong/mathjs/issues/2950), [#​2975](https://togithub.com/josdejong/mathjs/issues/2975), [#​2904](https://togithub.com/josdejong/mathjs/issues/2904)). Thanks [@​Bobingstern](https://togithub.com/Bobingstern). - Fix [#​2990](https://togithub.com/josdejong/mathjs/issues/2990): `DenseMatrix` can mutate input arrays ([#​2991](https://togithub.com/josdejong/mathjs/issues/2991)). ### [`v11.9.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-07-24-1191) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.9.0...v11.9.1) - Fix a security vulnerability in `FunctionNode` and `SymbolNode` allowing arbitrary code execution via `math.evaluate`. Thanks Harry Chen. - Fix [#​3001](https://togithub.com/josdejong/mathjs/issues/3001): mathjs bundle containing `new Function(...)` (CSP issue). ### [`v11.9.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-07-19-1190) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.8.2...v11.9.0) - Implement function `solveODE` ([#​2958](https://togithub.com/josdejong/mathjs/issues/2958)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Implement functions `zpk2tf` and `freqz` ([#​2988](https://togithub.com/josdejong/mathjs/issues/2988), [#​2969](https://togithub.com/josdejong/mathjs/issues/2969)). Thanks [@​alykhaled](https://togithub.com/alykhaled). - Implement support for units in function `range` ([#​2997](https://togithub.com/josdejong/mathjs/issues/2997)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​2974](https://togithub.com/josdejong/mathjs/issues/2974): `simplify` puts plus and minus signs next to each other ([#​2981](https://togithub.com/josdejong/mathjs/issues/2981)). Thanks [@​MaybePixem](https://togithub.com/MaybePixem). - Fix [#​2973](https://togithub.com/josdejong/mathjs/issues/2973): fixes and improvements in the embedded docs ([#​2976](https://togithub.com/josdejong/mathjs/issues/2976)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​2996](https://togithub.com/josdejong/mathjs/issues/2996): two errors in the examples in the documentation about Expression trees. - Fix round-off errors near zero when converting temperatures ([#​2962](https://togithub.com/josdejong/mathjs/issues/2962)). Thanks [@​costerwi](https://togithub.com/costerwi). - Refactored function `range`, reducing the amount of code ([#​2995](https://togithub.com/josdejong/mathjs/issues/2995)). Thanks [@​dvd101x](https://togithub.com/dvd101x). ### [`v11.8.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-06-20-1182) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.8.1...v11.8.2) - Fix [#​2971](https://togithub.com/josdejong/mathjs/issues/2971): improve typings of statistics functions `min`, `max`, `mean`, `median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression introduced in v11.8.1. - Fix [#​2972](https://togithub.com/josdejong/mathjs/issues/2972): type definitions of `Unit.divide(Unit)` have a wrong return type. ### [`v11.8.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-06-13-1181) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.8.0...v11.8.1) - Fix [#​2964](https://togithub.com/josdejong/mathjs/issues/2964): issue in function ` distance ` when calculate the distance from a point to a line ([#​2965](https://togithub.com/josdejong/mathjs/issues/2965)). Thanks [@​Kiku-CN](https://togithub.com/Kiku-CN). - Fix `math.format` not working correctly for `engineering` notation when using BigNumbers and for `fixed` notation with `precision: 0` configured ([#​2956](https://togithub.com/josdejong/mathjs/issues/2956)). Thanks [@​mgreminger](https://togithub.com/mgreminger). - Fix [#​2880](https://togithub.com/josdejong/mathjs/issues/2880): not possible to map cube root `cbrt`. - Fix [#​2938](https://togithub.com/josdejong/mathjs/issues/2938): make the syntax description of all functions consistent in the docs ([#​2941](https://togithub.com/josdejong/mathjs/issues/2941)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​2954](https://togithub.com/josdejong/mathjs/issues/2954): improve the TypeScript definitions the return type of functions `min` and `max` ([#​2955](https://togithub.com/josdejong/mathjs/issues/2955)). Thanks [@​Maxim-Mazurok](https://togithub.com/Maxim-Mazurok). - Fix [#​2959](https://togithub.com/josdejong/mathjs/issues/2959): typo in an example in the docs. Thanks [@​kunalagrwl](https://togithub.com/kunalagrwl). - Drop official support for Node.js 14, has reached end of life. ### [`v11.8.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-04-03-1180) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.7.0...v11.8.0) - Extended functions `fraction`, `bignumber`, and `number` with support for units, see [#​2918](https://togithub.com/josdejong/mathjs/issues/2918) ([#​2926](https://togithub.com/josdejong/mathjs/issues/2926)). - Implemented aliases `amp` and `amps` for unit `ampere` ([#​2917](https://togithub.com/josdejong/mathjs/issues/2917)). Thanks [@​veggiesaurus](https://togithub.com/veggiesaurus). - Improve TypeScript definitions of function `gcd` ([#​2922](https://togithub.com/josdejong/mathjs/issues/2922)). Thanks [@​brunoSnoww](https://togithub.com/brunoSnoww). - Fix [#​2923](https://togithub.com/josdejong/mathjs/issues/2923): improve docs of the function `distance` ([#​2924](https://togithub.com/josdejong/mathjs/issues/2924)). Thanks [@​tmtron](https://togithub.com/tmtron). ### [`v11.7.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-03-15-1170) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.6.0...v11.7.0) - Implement [#​2567](https://togithub.com/josdejong/mathjs/issues/2567): accept array as parameter for function `gcd` ([#​2878](https://togithub.com/josdejong/mathjs/issues/2878)). Thanks [@​jakubriegel](https://togithub.com/jakubriegel). - Fix [#​2908](https://togithub.com/josdejong/mathjs/issues/2908): improvements in the docs and examples of functions `partitionSelect`, `diff`, `expm1`, `round`, `nthRoots`, `sign`, `rigthArithShift`, `setIsSubset`, `setSize`, and the docs about units. Thanks [@​tmtron](https://togithub.com/tmtron). - Fix [#​2907](https://togithub.com/josdejong/mathjs/issues/2907): determinant of empty matrix should be 1. - Refactor index.d.ts by writing function declarations using a generic, reducing a lot of repetition ([#​2913](https://togithub.com/josdejong/mathjs/issues/2913)). Thanks [@​brunoSnoww](https://togithub.com/brunoSnoww). ### [`v11.6.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-02-24-1160) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.5.1...v11.6.0) - Implement broadcasting for the following functions and their corresponding operator: `add`, `dotDivide`, `dotMultiply`, `dotPow`, `gcd`, `lcm`, `mod`, `nthRoot`, `subtract`, `bitAnd`, `bitOr`, `bitXor`, `leftShift`, `rightArithShift`, `rightLogShift`, `and`, `or`, `xor`, `compare`, `compareText`, `equal`, `larger`, `largerEq`, `smaller`, `smallerEq`, `unequal`, `atan2` and `to` ([#​2895](https://togithub.com/josdejong/mathjs/issues/2895), [#​2753](https://togithub.com/josdejong/mathjs/issues/2753)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Implement support for non-power-of-2 fft ([#​2900](https://togithub.com/josdejong/mathjs/issues/2900), [#​2577](https://togithub.com/josdejong/mathjs/issues/2577)). Thanks [@​cyavictor88](https://togithub.com/cyavictor88). - Fix [#​2888](https://togithub.com/josdejong/mathjs/issues/2888): update type definitions of function `unit` to allow creating a unit from a fraction or complex number. - Fix [#​2892](https://togithub.com/josdejong/mathjs/issues/2892): an error in the examples of the embedded help of function `sort`. - Fix [#​2891](https://togithub.com/josdejong/mathjs/issues/2891): functions `column` and `row` sometimes returning a scalar number. - Fix [#​2896](https://togithub.com/josdejong/mathjs/issues/2896): define the fourth argument of function `intersect` as optional in the TypeScript definitions. Thanks [@​wodndb](https://togithub.com/wodndb). - Fix: quantileSeq not accepting a matrix as second argument `prob` (see [#​2902](https://togithub.com/josdejong/mathjs/issues/2902)). - Fix broken examples in functions `to`, `distance`, `getMatrixDataType`, `subset`, and `max` (see [#​2902](https://togithub.com/josdejong/mathjs/issues/2902)). ### [`v11.5.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2023-01-31-1151) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.5.0...v11.5.1) - Add type definitions for function `rotationMatrix` ([#​2860](https://togithub.com/josdejong/mathjs/issues/2860)). Thanks [@​brunoSnoww](https://togithub.com/brunoSnoww). - Add type signature for `lusolve(LUDecomposition, ...)` ([#​2864](https://togithub.com/josdejong/mathjs/issues/2864)). Thanks [@​evanmiller](https://togithub.com/evanmiller). - Fix [#​2873](https://togithub.com/josdejong/mathjs/issues/2873): the rocket_trajectory_optimization.html example being partly broken. Thanks [@​dvd101x](https://togithub.com/dvd101x). - Fix [#​2871](https://togithub.com/josdejong/mathjs/issues/2871): coverage report broken ([#​2877](https://togithub.com/josdejong/mathjs/issues/2877)). Thanks [@​bornova](https://togithub.com/bornova). - Fix [#​2883](https://togithub.com/josdejong/mathjs/issues/2883): update documentation for stat functions, describe missing syntax. - Fix [#​2884](https://togithub.com/josdejong/mathjs/issues/2884): fix examples in the embedded docs of function `pow` and some other functions. - Fix type definition of function `complex` for one numeric input ([#​2886](https://togithub.com/josdejong/mathjs/issues/2886)), thanks [@​ariymarkowitz](https://togithub.com/ariymarkowitz). - Fix type definitions of `map()` and `forEach()` ([#​2887](https://togithub.com/josdejong/mathjs/issues/2887)), thanks [@​xiaohk](https://togithub.com/xiaohk). - Fix [#​2606](https://togithub.com/josdejong/mathjs/issues/2606): improve type definitions of `dotMultiply`, `dotPow` and `dotDivide` ([#​2890](https://togithub.com/josdejong/mathjs/issues/2890)). Thanks [@​brunoSnoww](https://togithub.com/brunoSnoww). ### [`v11.5.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-12-05-1150) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.4.0...v11.5.0) - Improve `simplify` rule matches in non-commutative contexts ([#​2841](https://togithub.com/josdejong/mathjs/issues/2841)). Thanks [@​samueltlg](https://togithub.com/samueltlg). - Simplify: add rules and restructure tests for non-commutative contexts ([#​2847](https://togithub.com/josdejong/mathjs/issues/2847)). Thanks [@​samueltlg](https://togithub.com/samueltlg). - Fix function `reshape` mutating the input in case of a matrix (see [#​2854](https://togithub.com/josdejong/mathjs/issues/2854)). - Fix TypeScript types for `multiply()` with `number[]` and `number[][]` ([#​2852](https://togithub.com/josdejong/mathjs/issues/2852)). Thanks [@​hfhchan](https://togithub.com/hfhchan). ### [`v11.4.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-11-18-1140) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.3.3...v11.4.0) - Implemented more wildcards to describe rules for `simplify`, making it easier for example to describe unary minus ([#​1915](https://togithub.com/josdejong/mathjs/issues/1915)). Thanks [@​thatcomputerguy0101](https://togithub.com/thatcomputerguy0101). - Implemented functions `schur`, `sylvester`, and `lyap` ([#​2646](https://togithub.com/josdejong/mathjs/issues/2646)). Thanks [@​egidioln](https://togithub.com/egidioln). - Implemented function `polynomialRoot`, and use it in a benchmark ([#​2839](https://togithub.com/josdejong/mathjs/issues/2839)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2825](https://togithub.com/josdejong/mathjs/issues/2825) partly: improve simplifying operations on constants in non-commutative contexts ([#​2827](https://togithub.com/josdejong/mathjs/issues/2827)). Thanks [@​samueltlg](https://togithub.com/samueltlg). - Fix [#​2840](https://togithub.com/josdejong/mathjs/issues/2840): a bug in the docs and type definitions of `Node.traverse` and `Node.forEach`, they do return `void`. ### [`v11.3.3`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-11-07-1133) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.3.2...v11.3.3) - Fix [#​2830](https://togithub.com/josdejong/mathjs/issues/2830): Prevent inserting zero values when creating a `SparseMatrix` from a `DenseMatrix` ([#​2836](https://togithub.com/josdejong/mathjs/issues/2836)). Thanks [@​AlexandreAlvesDB](https://togithub.com/AlexandreAlvesDB). - Fix [#​2835](https://togithub.com/josdejong/mathjs/issues/2835): a regression in the type definitions of `FunctionNode`, introduced in `v11.3.2`. See [#​2733](https://togithub.com/josdejong/mathjs/issues/2733). Thanks [@​dsteve](https://togithub.com/dsteve). ### [`v11.3.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-10-25-1132) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.3.1...v11.3.2) - Add generics to remaining Node type definitions ([#​2733](https://togithub.com/josdejong/mathjs/issues/2733)). Thanks [@​mattvague](https://togithub.com/mattvague). - Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`, `celsius`, and `fahrenheit` ([#​2824](https://togithub.com/josdejong/mathjs/issues/2824)). Thanks [@​jfeist](https://togithub.com/jfeist) ### [`v11.3.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-10-19-1131) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.3.0...v11.3.1) - Fix [#​2809](https://togithub.com/josdejong/mathjs/issues/2809): code completion issues in some IDE's ([#​2812](https://togithub.com/josdejong/mathjs/issues/2812)). - Fix [#​2818](https://togithub.com/josdejong/mathjs/issues/2818): throw an error when a function assignment has duplicate parameter names ([#​2819](https://togithub.com/josdejong/mathjs/issues/2819)). - Update `decimal.js` to version `10.4.2`. ### [`v11.3.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-10-11-1130) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.2.1...v11.3.0) - Allow creating new subclasses of `Node` in TypeScript ([#​2772](https://togithub.com/josdejong/mathjs/issues/2772)). Note that this disables being able to narrow MathNodes by using the `.type` property. Use typeguards like `isOperatorNode(...)` instead (see [#​2810](https://togithub.com/josdejong/mathjs/issues/2810)). Thanks [@​mattvague](https://togithub.com/mattvague). - Fix [#​2793](https://togithub.com/josdejong/mathjs/issues/2793): `flatten()` cloning entries of array/Matrix ([#​2799](https://togithub.com/josdejong/mathjs/issues/2799)). - Fix [#​2627](https://togithub.com/josdejong/mathjs/issues/2627): TypeScript definitions of `pinv` missing ([#​2804](https://togithub.com/josdejong/mathjs/issues/2804)). Thanks [@​HanchaiN](https://togithub.com/HanchaiN). - Update dependencies to `decimal.js@10.4.1`. ### [`v11.2.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-09-13-1121) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.2.0...v11.2.1) - Fix doc generator being broken, not generating a function reference. ### [`v11.2.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-09-12-1120) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.1.0...v11.2.0) - Implement function `isRelationalNode` ([#​2731](https://togithub.com/josdejong/mathjs/issues/2731)). Thanks [@​isaacbyr](https://togithub.com/isaacbyr). - Added missing types `'largerEq'` and `'or'` in `OperatorNodeMap` in the TypeScript definitions. Thanks [@​ajinkyac03](https://togithub.com/ajinkyac03). - Fixed typos in min func type defs ([#​2768](https://togithub.com/josdejong/mathjs/issues/2768)). Thanks [@​mabdullahadeel](https://togithub.com/mabdullahadeel). - Improved the TypeScript definitions for `pickRandom`. Thanks [@​mattvague](https://togithub.com/mattvague). - Fixed documentation of unit `min` which means `minutes`, not `minim` ([#​2773](https://togithub.com/josdejong/mathjs/issues/2773)). Thanks [@​jasonhornsby](https://togithub.com/jasonhornsby). ### [`v11.1.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-08-23-1110) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.0.1...v11.1.0) - Add Unit constructor from value and pure (valueless) Unit ([#​2628](https://togithub.com/josdejong/mathjs/issues/2628)). Thanks [@​costerwi](https://togithub.com/costerwi) - Fix [#​2144](https://togithub.com/josdejong/mathjs/issues/2144): `examples/advanced/custom_loading.js` was broken. - Fix JSON `replacer` function missing in the TypeScript definitions. Thanks [@​mattvague](https://togithub.com/mattvague). - Update dependencies to `typed-function@4.1.0` and `decimal.js@10.4.0`. ### [`v11.0.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-07-25-version-1101) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.0.0...v11.0.1) - Fix [#​2632](https://togithub.com/josdejong/mathjs/issues/2632): TypeScript issue of `simplifyConstant` and `simplifyCore` not having a return type defined. ### [`v11.0.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-07-23-version-1100) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.4...v11.0.0) !!! BE CAREFUL: BREAKING CHANGES !!! Breaking changes: - Dropped official support for IE11. - Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://togithub.com/josdejong/typed-function/blob/develop/HISTORY.md#2022-05-12-version-300). Thanks [@​gwhitney](https://togithub.com/gwhitney). Most importantly: - Conversions now have preference over `any`. - The `this` variable is no longer bound to the typed function itself. - The properties `typed.types`, `typed.conversions`, and `typed.ignore` have been removed. - There are new static functions available like `typed.referTo`, `typed.referToSelf`, `typed.addTypes`, `typed.addConversions`. - Implement amended "Rule 2" for implicit multiplication ([#​2370](https://togithub.com/josdejong/mathjs/issues/2370), [#​2460](https://togithub.com/josdejong/mathjs/issues/2460)): when having a division followed by an implicit multiplication, the division gets higher precedence over the implicit multiplication when (a) the numerator is a constant with optionally a prefix operator (`-`, `+`, `~`), and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was interpreted as `-1 / (2 * x)` and now it is interpreted as `(-1 / 2) * x`. Thanks [@​gwhitney](https://togithub.com/gwhitney). - Drop elementwise matrix support for trigonometric functions, exp, log, gamma, square, sqrt, cube, and cbrt to prevent confusion with standard matrix functions ([#​2440](https://togithub.com/josdejong/mathjs/issues/2440), [#​2465](https://togithub.com/josdejong/mathjs/issues/2465)). Instead, use `math.map(matrix, fn)`. Thanks [@​gwhitney](https://togithub.com/gwhitney). - Simplify: convert equivalent function calls into operators, for example, `add(2, x)` will now be simplified into `2 + x` ([#​2415](https://togithub.com/josdejong/mathjs/issues/2415), [#​2466](https://togithub.com/josdejong/mathjs/issues/2466)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Removed the automatic conversion from `number` to `string` ([#​2482](https://togithub.com/josdejong/mathjs/issues/2482)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2412](https://togithub.com/josdejong/mathjs/issues/2412): let function `diff` return an empty matrix when the input contains only one element ([#​2422](https://togithub.com/josdejong/mathjs/issues/2422)). - Internal refactoring in the `simplifyCore` logic ([#​2490](https://togithub.com/josdejong/mathjs/issues/2490), [#​2484](https://togithub.com/josdejong/mathjs/issues/2484), [#​2459](https://togithub.com/josdejong/mathjs/issues/2459)). The function `simplifyCore` will no longer (partially) merge constants, that behavior has been moved to `simplifyConstant`. The combination of `simplifyConstant` and `simplifyCore` is still close to the old behavior of `simplifyCore`, but there are some differences. To reproduce the same behavior as the old `simplifyCore`, you can use `math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`. Thanks to the refactoring, `simplify` is more thorough in reducing constants. Thanks [@​gwhitney](https://togithub.com/gwhitney). - Disable support for splitting rest parameters in chained calculations ([#​2485](https://togithub.com/josdejong/mathjs/issues/2485), [#​2474](https://togithub.com/josdejong/mathjs/issues/2474)). For example: `math.chain(3).max(4, 2).done()` will now throw an error rather than return `4`, because the rest parameter of `math.max(...number)` has been split between the contents of the chain and the arguments to the max call. Thanks [@​gwhitney](https://togithub.com/gwhitney). - Function `typeOf` now returns `function` (lowercase) for a function instead of `Function` ([#​2560](https://togithub.com/josdejong/mathjs/issues/2560)). Thanks [@​gwhitney](https://togithub.com/gwhitney). Non-breaking changes: - Fix [#​2600](https://togithub.com/josdejong/mathjs/issues/2600): improve the TypeScript definitions of `simplify`. Thanks [@​laureen-m](https://togithub.com/laureen-m) and [@​mattvague](https://togithub.com/mattvague). - Fix [#​2607](https://togithub.com/josdejong/mathjs/issues/2607): improve type definition of `createUnit`. Thanks [@​egziko](https://togithub.com/egziko). - Fix [#​2608](https://togithub.com/josdejong/mathjs/issues/2608): clarify the docs on the need to configure a smaller `epsilon` when using BigNumbers. - Fix [#​2613](https://togithub.com/josdejong/mathjs/issues/2613): describe matrix methods `get` and `set` in the docs. - Fix link to `math.rationalize` in the docs ([#​2616](https://togithub.com/josdejong/mathjs/issues/2616)). Thanks [@​nukisman](https://togithub.com/nukisman). - Fix [#​2621](https://togithub.com/josdejong/mathjs/issues/2621): add TypeScript definitions for `count` ([#​2622](https://togithub.com/josdejong/mathjs/issues/2622)). Thanks [@​Hansuku](https://togithub.com/Hansuku). - Improved TypeScript definitions of `multiply` ([#​2623](https://togithub.com/josdejong/mathjs/issues/2623)). Thanks [@​Windrill](https://togithub.com/Windrill). ### [`v10.6.4`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-06-28-version-1064) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.3...v10.6.4) - Improve TypeScript definitions of the `factory` function, thanks [@​mattvague](https://togithub.com/mattvague). ### [`v10.6.3`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-06-24-version-1063) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.2...v10.6.3) - Revert the TypeScript definition fixes for `factory` applied in `v10.6.2`, they give some complications. ### [`v10.6.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-06-24-version-1062) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.1...v10.6.2) - Improve TypeScript definitions of `ParenthesisNode`. Thanks [@​mattvague](https://togithub.com/mattvague). - Change the TypeScript definition of `MathNodeCommon['type']` into a less strict string, so it is possible to extend with new Node classes. Thanks [@​mattvague](https://togithub.com/mattvague). - Improve TypeScript definitions of the `factory` function, thanks [@​mattvague](https://togithub.com/mattvague). ### [`v10.6.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-05-31-version-1061) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.0...v10.6.1) - Improve the TypeScript types For `OperatorNode`: you can now define generic types like `OperatorNode<'+', 'add'>`. Thanks [@​mattvague](https://togithub.com/mattvague). ### [`v10.6.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-05-24-version-1060) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.5.3...v10.6.0) - Implementation of fourier transform functions `fft` and `ifft` ([#​2540](https://togithub.com/josdejong/mathjs/issues/2540)). Thanks [@​HanchaiN](https://togithub.com/HanchaiN). - Fix TypeScript types not being listed in the exported fields ([#​2569](https://togithub.com/josdejong/mathjs/issues/2569)). Thanks [@​mattvague](https://togithub.com/mattvague). - Large improvements in TypeScript definitions for chained expressions ([#​2537](https://togithub.com/josdejong/mathjs/issues/2537)). Thanks [@​mattvague](https://togithub.com/mattvague). - Fix [#​2571](https://togithub.com/josdejong/mathjs/issues/2571): improve TypeScript definition of functions `clone` and `cloneDeep` ([#​2572](https://togithub.com/josdejong/mathjs/issues/2572)). Thanks [@​mattvague](https://togithub.com/mattvague). - Fix the first argument of `derivative` holding the expression not correctly being converted when using `.toTex()` ([#​2564](https://togithub.com/josdejong/mathjs/issues/2564)). Thanks [@​mattvague](https://togithub.com/mattvague). ### [`v10.5.3`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-05-11-version-1053) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.5.2...v10.5.3) - Fix [#​2337](https://togithub.com/josdejong/mathjs/issues/2337): npm package containing examples and docs to solve security vulnerabilities being reported on the examples and their dependencies. - Fix core, construction, and some other functions missing in docs. - Drop official support for Node.js 12 which has reached its end of life. ### [`v10.5.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-05-09-version-1052) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.5.1...v10.5.2) - Fix [#​2553](https://togithub.com/josdejong/mathjs/issues/2553): `@types/mocha` defined in `dependencies` instead of `devDependencies`, causing problems in projects that use a different version of this dependency. Thanks [@​Kolahzary](https://togithub.com/Kolahzary). - Fix [#​2550](https://togithub.com/josdejong/mathjs/issues/2550): remove `examples/node_modules` folder from the npm package. - Fix [#​2528](https://togithub.com/josdejong/mathjs/issues/2528): improve contribution guidelines ([#​2548](https://togithub.com/josdejong/mathjs/issues/2548)). - Document `SymbolNode.onUndefinedSymbol` and `FunctionNode.onUndefinedFunction`. ### [`v10.5.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-05-02-version-1051) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.5.0...v10.5.1) - Fix [#​2526](https://togithub.com/josdejong/mathjs/issues/2526), [#​2529](https://togithub.com/josdejong/mathjs/issues/2529): improve TypeScript definitions of function `round`, `fix`, `floor`, `ceil`, and `nthRoot`, and improved the number only implementations of those functions ([#​2531](https://togithub.com/josdejong/mathjs/issues/2531), [#​2539](https://togithub.com/josdejong/mathjs/issues/2539)). Thanks [@​simlaticak](https://togithub.com/simlaticak) and [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2532](https://togithub.com/josdejong/mathjs/issues/2532): matrix index symbol `end` not working when used inside a sub-expression. - Fix [#​2524](https://togithub.com/josdejong/mathjs/issues/2524): In generating AUTHORS list, ignore a list of specific commits (e.g., to avoid spurious duplicates in list). ([#​2543](https://togithub.com/josdejong/mathjs/issues/2543)) - Add type definitions of function `resolve` ([#​2536](https://togithub.com/josdejong/mathjs/issues/2536)). Thanks [@​mattvague](https://togithub.com/mattvague). ### [`v10.5.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-04-19-version-1050) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.4.3...v10.5.0) - Implement [#​1563](https://togithub.com/josdejong/mathjs/issues/1563): function `pinv`, Moore–Penrose inverse ([#​2521](https://togithub.com/josdejong/mathjs/issues/2521)). Thanks [@​HanchaiN](https://togithub.com/HanchaiN). - Optimize function `det` for integers by switching to the Bareiss algorithm: no more round-off errors for integer input ([#​2516](https://togithub.com/josdejong/mathjs/issues/2516)). Thanks [@​HanchaiN](https://togithub.com/HanchaiN). - Implement [#​2463](https://togithub.com/josdejong/mathjs/issues/2463): allow negative integer powers of invertible square matrices ([#​2517](https://togithub.com/josdejong/mathjs/issues/2517)). Thanks [@​HanchaiN](https://togithub.com/HanchaiN). - Implement the `lgamma` function (defined as log(gamma(z))) for number and Complex types. Supersedes [#​320](https://togithub.com/josdejong/mathjs/issues/320). ([#​2417](https://togithub.com/josdejong/mathjs/issues/2417)). Thanks [@​yifanwww](https://togithub.com/yifanwww). - Fix [#​2523](https://togithub.com/josdejong/mathjs/issues/2523): update to the latest complex.js to improve `sin(z)` for small `im(z)` ([#​2525](https://togithub.com/josdejong/mathjs/issues/2525)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2526](https://togithub.com/josdejong/mathjs/issues/2526): update TypeScript definition of `ceil` ([#​2531](https://togithub.com/josdejong/mathjs/issues/2531)). Thanks [@​simlaticak](https://togithub.com/simlaticak) - Change mocha reporter to 'dot' to avoid excessively long log files. ([#​2520](https://togithub.com/josdejong/mathjs/issues/2520)) ### [`v10.4.3`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-04-08-version-1043) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.4.2...v10.4.3) - Fix [#​2508](https://togithub.com/josdejong/mathjs/issues/2508): improve the precision of stirlingS2 ([#​2509](https://togithub.com/josdejong/mathjs/issues/2509)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2514](https://togithub.com/josdejong/mathjs/issues/2514): implement optional argument `base` in the number implementation of function `log` ([#​2515](https://togithub.com/josdejong/mathjs/issues/2515)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Improve the documentation on operator `;` ([#​2512](https://togithub.com/josdejong/mathjs/issues/2512)). Thanks [@​gwhitney](https://togithub.com/gwhitney). ### [`v10.4.2`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-03-29-version-1042) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.4.1...v10.4.2) - Fix [#​2499](https://togithub.com/josdejong/mathjs/issues/2499): different behavior for unit conversion "degC" and "K" ([#​2501](https://togithub.com/josdejong/mathjs/issues/2501)). Also disables getting the sign for units with an offset, which is ambiguous. Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2503](https://togithub.com/josdejong/mathjs/issues/2503): fix an issue in `log()` for complex numbers in which the imaginary part is much larger in absolute value than the real part, fixed in `complex.js@2.1.0` ([#​2505](https://togithub.com/josdejong/mathjs/issues/2505)), thanks [@​gwhitney](https://togithub.com/gwhitney), [@​infusion](https://togithub.com/infusion). - Fix [#​2493](https://togithub.com/josdejong/mathjs/issues/2493): unclear error message when an entity that is not a function is being called as a function ([#​2494](https://togithub.com/josdejong/mathjs/issues/2494)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Some fixes in the docs on units ([#​2498](https://togithub.com/josdejong/mathjs/issues/2498)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Add `forEach` example in embedded docs ([#​2507](https://togithub.com/josdejong/mathjs/issues/2507)). Thanks [@​dvd101x](https://togithub.com/dvd101x). - Correct approx.deepEqual() to accept an epsilon argument giving the comparison tolerance. It was already being called this way, but was silently ignoring the tolerance. Thanks [@​yifanwww](https://togithub.com/yifanwww). ### [`v10.4.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-03-23-version-1041) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.4.0...v10.4.1) - Improve TypeScript definitions for function `unit` ([#​2479](https://togithub.com/josdejong/mathjs/issues/2479)). Thanks [@​SinanAkkoyun](https://togithub.com/SinanAkkoyun). - Add tests for type declarations ([#​2448](https://togithub.com/josdejong/mathjs/issues/2448)). Thanks [@​samestep](https://togithub.com/samestep). - Further improvement to TypeScript definitions of `std` and `variance` (make dimension parameter optional, [#​2474](https://togithub.com/josdejong/mathjs/issues/2474)). Thanks [@​NattapongSiri](https://togithub.com/NattapongSiri). - Next step (as per [#​2431](https://togithub.com/josdejong/mathjs/issues/2431)) for full publication of "is" functions like `isMatrix` etc: Provide TypeScript definitions of "is" functions and make them type guards. ([#​2432](https://togithub.com/josdejong/mathjs/issues/2432)). Thanks [@​ChristopherChudzicki](https://togithub.com/ChristopherChudzicki). - Fix [#​2491](https://togithub.com/josdejong/mathjs/issues/2491): Multi line object expressions don't work with comments ([#​2492](https://togithub.com/josdejong/mathjs/issues/2492)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2478](https://togithub.com/josdejong/mathjs/issues/2478): a bug in calculating the eigenvectors when dealing with complex numbers ([#​2496](https://togithub.com/josdejong/mathjs/issues/2496)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Update project dependencies and devDependencies. ### [`v10.4.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-03-07-version-1040) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.3.0...v10.4.0) - Fix [#​2461](https://togithub.com/josdejong/mathjs/issues/2461): make sure `simplifyCore` recurses over all binary nodes ([#​2462](https://togithub.com/josdejong/mathjs/issues/2462)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2429](https://togithub.com/josdejong/mathjs/issues/2429): fix the TypeScript definitions of functions `std` and `variance` ([#​2455](https://togithub.com/josdejong/mathjs/issues/2455)). Thanks [@​NattapongSiri](https://togithub.com/NattapongSiri). - Fix [#​1633](https://togithub.com/josdejong/mathjs/issues/1633): implement a `cumsum` function generating cumulative sums of a list of values or a matrix. ([#​1870](https://togithub.com/josdejong/mathjs/issues/1870)). Thanks [@​hjonasson](https://togithub.com/hjonasson). - Upgrade to the latest version of `Fraction.js`, having more strict input, only accepting an integer numerator and denominator. See [#​2427](https://togithub.com/josdejong/mathjs/issues/2427). - Fix typo in documentation example for `format`. ([#​2468](https://togithub.com/josdejong/mathjs/issues/2468)) Thanks [@​abranhe](https://togithub.com/abranhe). - Write unit tests for all jsdoc examples. See [#​2452](https://togithub.com/josdejong/mathjs/issues/2452). Thanks [@​gwhitney](https://togithub.com/gwhitney). ### [`v10.3.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2021-03-02-version-1030) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.2.0...v10.3.0) - Fix [#​1260](https://togithub.com/josdejong/mathjs/issues/1260): implement function `symbolicEqual` ([#​2424](https://togithub.com/josdejong/mathjs/issues/2424)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2441](https://togithub.com/josdejong/mathjs/issues/2441), [#​2442](https://togithub.com/josdejong/mathjs/issues/2442): support passing a function as argument to functions created in the expression parser ([#​2443](https://togithub.com/josdejong/mathjs/issues/2443)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2325](https://togithub.com/josdejong/mathjs/issues/2325): improve documentation of subset indices ([#​2446](https://togithub.com/josdejong/mathjs/issues/2446)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2439](https://togithub.com/josdejong/mathjs/issues/2439): fix a bug in `complexEigs` in which real-valued norms were inadvertently being typed as complex numbers ([#​2445](https://togithub.com/josdejong/mathjs/issues/2445)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2436](https://togithub.com/josdejong/mathjs/issues/2436): improve documentation and error message of function `map` ([#​2457](https://togithub.com/josdejong/mathjs/issues/2457)). Thanks [@​gwhitney](https://togithub.com/gwhitney). ### [`v10.2.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-03-01-version-1020) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.1.1...v10.2.0) - Implemented context options to control simplifications allowed in `simplify`, see [#​2399](https://togithub.com/josdejong/mathjs/issues/2399), [#​2391](https://togithub.com/josdejong/mathjs/issues/2391). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Implemented function `leafCount` as a first simple measure of the complexity of an expression, see [#​2411](https://togithub.com/josdejong/mathjs/issues/2411), [#​2389](https://togithub.com/josdejong/mathjs/issues/2389). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2413](https://togithub.com/josdejong/mathjs/issues/2413): improve `combinations` to return an integer result without rounding errors for larger values, see [#​2414](https://togithub.com/josdejong/mathjs/issues/2414). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​2385](https://togithub.com/josdejong/mathjs/issues/2385): function `rotate` missing in TypeScript definitions. Thanks [@​DIVYA-19](https://togithub.com/DIVYA-19). - Fix [#​2450](https://togithub.com/josdejong/mathjs/issues/2450): Add BigNumber to parameter type in `math.unit` and add TypeScript types for `Unit.simplify` and `Unit.units` ([#​2353](https://togithub.com/josdejong/mathjs/issues/2353)). Thanks [@​joshhansen](https://togithub.com/joshhansen). - Fix [#​2383](https://togithub.com/josdejong/mathjs/issues/2383): detect infinite loops in `simplify` ([#​2405](https://togithub.com/josdejong/mathjs/issues/2405)). Thanks [@​gwhitney](https://togithub.com/gwhitney). - Fix [#​1423](https://togithub.com/josdejong/mathjs/issues/1423): collect like factors and cancel like terms in sums ([#​2388](https://togithub.com/josdejong/mathjs/issues/2388)). Thanks [@​gwhitney](https://togithub.com/gwhitney). ### [`v10.1.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#2022-02-02-version-1011) [Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


mend-for-github-com[bot] commented 8 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: zenbot4@4.1.0
npm ERR! Found: webpack@4.47.0
npm ERR! node_modules/webpack
npm ERR!   webpack@"^4.44.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^5.0.0" from postcss-loader@5.3.0
npm ERR! node_modules/postcss-loader
npm ERR!   postcss-loader@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2023-11-02T02_09_21_056Z-debug-0.log