mathjs v10.4.2 Release Notes

Release Date: 2022-03-29 // about 2 months ago
    • ๐Ÿ›  Fix #2499: different behavior for unit conversion "degC" and "K" (#2501). Also disables getting the sign for units with an offset, which is ambiguous. Thanks @gwhitney.
    • ๐Ÿ›  Fix #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 [email protected] (#2505), thanks @gwhitney, @infusion.
    • ๐Ÿ›  Fix #2493: unclear error message when an entity that is not a function is being called as a function (#2494). Thanks @gwhitney.
    • ๐Ÿ›  Some fixes in the docs on units (#2498). Thanks @dvd101x.
    • โž• Add forEach example in embedded docs (#2507). Thanks @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.

Previous changes from v10.4.1

    • ๐Ÿ‘Œ Improve TypeScript definitions for function unit (#2479). Thanks @SinanAkkoyun.
    • โž• Add tests for type declarations (#2448). Thanks @samestep.
    • Further improvement to TypeScript definitions of std and variance (make dimension parameter optional, #2474). Thanks @NattapongSiri.
    • Next step (as per #2431) for full publication of "is" functions like isMatrix etc: Provide TypeScript definitions of "is" functions and make them type guards. (#2432). Thanks @ChristopherChudzicki.
    • ๐Ÿ›  Fix #2491: Multi line object expressions don't work with comments (#2492). Thanks @gwhitney.
    • ๐Ÿ›  Fix #2478: a bug in calculating the eigenvectors when dealing with complex numbers (#2496). Thanks @gwhitney.
    • โšก๏ธ Update project dependencies and devDependencies.