Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency mathjs to v11 #519

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 29, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

josdejong/mathjs (mathjs)

v11.8.2

Compare Source

  • Fix #​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: type definitions of Unit.divide(Unit) have a wrong return type.

v11.8.1

Compare Source

  • Fix #​2964: issue in function distance when calculate the distance from
    a point to a line (#​2965). Thanks @​Kiku-CN.
  • Fix math.format not working correctly for engineering notation when using
    BigNumbers and for fixed notation with precision: 0 configured (#​2956).
    Thanks @​mgreminger.
  • Fix #​2880: not possible to map cube root cbrt.
  • Fix #​2938: make the syntax description of all functions consistent in the
    docs (#​2941). Thanks @​dvd101x.
  • Fix #​2954: improve the TypeScript definitions the return type of functions
    min and max (#​2955). Thanks @​Maxim-Mazurok.
  • Fix #​2959: typo in an example in the docs. Thanks @​kunalagrwl.
  • Drop official support for Node.js 14, has reached end of life.

v11.8.0

Compare Source

v11.7.0

Compare Source

  • Implement #​2567: accept array as parameter for function gcd (#​2878).
    Thanks @​jakubriegel.
  • Fix #​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.
  • Fix #​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). Thanks @​brunoSnoww.

v11.6.0

Compare Source

  • 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, #​2753). Thanks @​dvd101x.
  • Implement support for non-power-of-2 fft (#​2900, #​2577). Thanks @​cyavictor88.
  • Fix #​2888: update type definitions of function unit to allow creating a
    unit from a fraction or complex number.
  • Fix #​2892: an error in the examples of the embedded help of function sort.
  • Fix #​2891: functions column and row sometimes returning a scalar number.
  • Fix #​2896: define the fourth argument of function intersect as optional
    in the TypeScript definitions. Thanks @​wodndb.
  • Fix: quantileSeq not accepting a matrix as second argument prob (see #​2902).
  • Fix broken examples in functions to, distance, getMatrixDataType,
    subset, and max (see #​2902).

v11.5.1

Compare Source

v11.5.0

Compare Source

  • Improve simplify rule matches in non-commutative contexts (#​2841).
    Thanks @​samueltlg.
  • Simplify: add rules and restructure tests for non-commutative contexts
    (#​2847). Thanks @​samueltlg.
  • Fix function reshape mutating the input in case of a matrix (see #​2854).
  • Fix TypeScript types for multiply() with number[] and number[][]
    (#​2852). Thanks @​hfhchan.

v11.4.0

Compare Source

  • Implemented more wildcards to describe rules for simplify, making it easier
    for example to describe unary minus (#​1915). Thanks @​thatcomputerguy0101.
  • Implemented functions schur, sylvester, and lyap (#​2646).
    Thanks @​egidioln.
  • Implemented function polynomialRoot, and use it in a benchmark (#​2839).
    Thanks @​gwhitney.
  • Fix #​2825 partly: improve simplifying operations on constants in
    non-commutative contexts (#​2827). Thanks @​samueltlg.
  • Fix #​2840: a bug in the docs and type definitions of Node.traverse and
    Node.forEach, they do return void.

v11.3.3

Compare Source

v11.3.2

Compare Source

  • Add generics to remaining Node type definitions (#​2733). Thanks @​mattvague.
  • Allow unit prefixes for (absolute) temperatures kelvin, rankine,
    celsius, and fahrenheit (#​2824). Thanks @​jfeist

v11.3.1

Compare Source

  • Fix #​2809: code completion issues in some IDE's (#​2812).
  • Fix #​2818: throw an error when a function assignment has duplicate
    parameter names (#​2819).
  • Update decimal.js to version 10.4.2.

v11.3.0

Compare Source

v11.2.1

Compare Source

  • Fix doc generator being broken, not generating a function reference.

v11.2.0

Compare Source

v11.1.0

Compare Source

v11.0.1

Compare Source

  • Fix #​2632: TypeScript issue of simplifyConstant and simplifyCore
    not having a return type defined.

v11.0.0

Compare Source

!!! BE CAREFUL: BREAKING CHANGES !!!

Breaking changes:

  • Dropped official support for IE11.
  • Upgraded to typed-function@3, see josdejong/typed-function/HISTORY.md. Thanks @​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, #​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.
  • Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
    square, sqrt, cube, and cbrt to prevent confusion with standard matrix
    functions (#​2440, #​2465). Instead, use math.map(matrix, fn).
    Thanks @​gwhitney.
  • Simplify: convert equivalent function calls into operators, for example,
    add(2, x) will now be simplified into 2 + x (#​2415, #​2466).
    Thanks @​gwhitney.
  • Removed the automatic conversion from number to string (#​2482).
    Thanks @​gwhitney.
  • Fix #​2412: let function diff return an empty matrix when the input contains
    only one element (#​2422).
  • Internal refactoring in the simplifyCore logic (#​2490, #​2484, #​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.
  • Disable support for splitting rest parameters in chained calculations
    (#​2485, #​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.
  • Function typeOf now returns function (lowercase) for a function instead
    of Function (#​2560). Thanks @​gwhitney.

Non-breaking changes:


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jun 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview Aug 8, 2023 8:34pm

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate bot force-pushed the renovate/mathjs-11.x branch from 4d54c65 to d208a68 Compare August 8, 2023 20:32
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@CorentinTh CorentinTh merged commit 7924456 into main Aug 9, 2023
@CorentinTh CorentinTh deleted the renovate/mathjs-11.x branch August 9, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant