@@ -2413,6 +2413,15 @@ <h2 class="screen-reader-text">Skip links</h2>
24132413
24142414
24152415< h1 id ="cortexjs-compute-engine-changelog " tabindex ="-1 "> CortexJS Compute Engine Changelog</ h1 >
2416+ < h2 id ="%5Bunreleased%5D " tabindex ="-1 "> [Unreleased]</ h2 >
2417+ < h2 id ="bug-fixes " tabindex ="-1 "> Bug Fixes</ h2 >
2418+ < ul >
2419+ < li > The expression < code > \frac5 7</ code > is now parsed correctly as < code > \frac{5}{7}</ code > instead of
2420+ < code > \frac{5}{}7</ code > .</ li >
2421+ < li > Do not sugar non-canonical expression. Previously,
2422+ < code > ce.parse('\frac{1}{2}', {canonical: false})</ code > would return < code > Half</ code > instead of
2423+ < code > ['Divide', '1', '2']</ code > .</ li >
2424+ </ ul >
24162425< h2 id ="0.22.0 " tabindex ="-1 "> 0.22.0</ h2 >
24172426< p > < strong > Release Date:</ strong > 2023-11-13</ p >
24182427< h3 id ="breaking-changes " tabindex ="-1 "> Breaking Changes</ h3 >
@@ -2508,7 +2517,7 @@ <h3 id="bug-fix" tabindex="-1">Bug Fix</h3>
25082517</ ul >
25092518< h2 id ="0.20.2 " tabindex ="-1 "> 0.20.2</ h2 >
25102519< p > < strong > Release Date:</ strong > 2023-10-31</ p >
2511- < h3 id ="bug-fixes " tabindex ="-1 "> Bug Fixes</ h3 >
2520+ < h3 id ="bug-fixes-1 " tabindex ="-1 "> Bug Fixes</ h3 >
25122521< ul >
25132522< li > Fixed numerical evaluation of integrals and limits when parsed from LaTeX.</ li >
25142523</ ul >
@@ -2520,7 +2529,7 @@ <h3 id="bug-fixes" tabindex="-1">Bug Fixes</h3>
25202529</ code > </ pre >
25212530< h2 id ="0.20.1 " tabindex ="-1 "> 0.20.1</ h2 >
25222531< p > < strong > Release Date:</ strong > 2023-10-31</ p >
2523- < h3 id ="bug-fixes-1 " tabindex ="-1 "> Bug Fixes</ h3 >
2532+ < h3 id ="bug-fixes-2 " tabindex ="-1 "> Bug Fixes</ h3 >
25242533< ul >
25252534< li > Fixed evaluation of functions with multiple arguments</ li >
25262535< li > Fixed compilation of some function assignments</ li >
@@ -2543,7 +2552,7 @@ <h3 id="breaking-changes-1" tabindex="-1">Breaking Changes</h3>
25432552custom invisible operators, use the < code > InvisibleOperator</ code > function.</ p >
25442553</ li >
25452554</ ul >
2546- < h3 id ="bug-fixes-2 " tabindex ="-1 "> Bug Fixes</ h3 >
2555+ < h3 id ="bug-fixes-3 " tabindex ="-1 "> Bug Fixes</ h3 >
25472556< ul >
25482557< li > < strong > #25</ strong > Correctly parse chained relational operators, i.e. < code > a < b <= c</ code > </ li >
25492558< li > < strong > #126</ strong > Logic operators only accepted up to two arguments.</ li >
@@ -2576,7 +2585,7 @@ <h3 id="new-features-and-improvements" tabindex="-1">New Features and Improvemen
25762585</ ul >
25772586< h2 id ="0.19.1 " tabindex ="-1 "> 0.19.1</ h2 >
25782587< p > < strong > Release Date:</ strong > 2023-10-26</ p >
2579- < h3 id ="bug-fixes-3 " tabindex ="-1 "> Bug Fixes</ h3 >
2588+ < h3 id ="bug-fixes-4 " tabindex ="-1 "> Bug Fixes</ h3 >
25802589< ul >
25812590< li > Assigning a function to an indentifier works correctly now, i.e.</ li >
25822591</ ul >
@@ -2591,7 +2600,7 @@ <h3 id="breaking-changes-2" tabindex="-1">Breaking Changes</h3>
25912600instead. The < code > domain</ code > property is still supported for backward compatibility,
25922601but will be removed in a future version.</ li >
25932602</ ul >
2594- < h3 id ="bug-fixes-4 " tabindex ="-1 "> Bug Fixes</ h3 >
2603+ < h3 id ="bug-fixes-5 " tabindex ="-1 "> Bug Fixes</ h3 >
25952604< ul >
25962605< li > When invoking a declared function in a numeric operation, correctly infer the
25972606result type.</ li >
@@ -2684,7 +2693,7 @@ <h3 id="improvements-1" tabindex="-1">Improvements</h3>
26842693</ ul >
26852694< h2 id ="0.18.1 " tabindex ="-1 "> 0.18.1</ h2 >
26862695< p > < strong > Release Date:</ strong > 2023-10-16</ p >
2687- < h3 id ="bug-fixes-5 " tabindex ="-1 "> Bug Fixes</ h3 >
2696+ < h3 id ="bug-fixes-6 " tabindex ="-1 "> Bug Fixes</ h3 >
26882697< ul >
26892698< li > Parsing of whole numbers while in < code > rational</ code > mode would return incorrect
26902699results.</ li >
@@ -2894,7 +2903,7 @@ <h3 id="improvements-5" tabindex="-1">Improvements</h3>
28942903< li > The documentation at https://cortexjs.io/compute-engine/ has been
28952904significantly rewritten with help from an AI-powered writing assistant.</ li >
28962905</ ul >
2897- < h3 id ="bug-fixes-6 " tabindex ="-1 "> Bug Fixes</ h3 >
2906+ < h3 id ="bug-fixes-7 " tabindex ="-1 "> Bug Fixes</ h3 >
28982907< ul >
28992908< li > The LaTeX string returned in < code > ["Error"]</ code > expression was incorrectly tagged as
29002909< code > Latex</ code > instead of < code > LatexString</ code > .</ li >
@@ -3077,7 +3086,7 @@ <h3 id="improvements-9" tabindex="-1">Improvements</h3>
30773086< li > Improved accuracy of some operations, for example
30783087< code > expr.parse("1e999 + 1").simplify()</ code > </ li >
30793088</ ul >
3080- < h3 id ="bug-fixes-7 " tabindex ="-1 "> Bug Fixes</ h3 >
3089+ < h3 id ="bug-fixes-8 " tabindex ="-1 "> Bug Fixes</ h3 >
30813090< ul >
30823091< li > When < code > ce.numericMode === "auto"</ code > , square roots of negative numbers would
30833092return an expression instead of a complex number.</ li >
@@ -3104,7 +3113,7 @@ <h3 id="improvements-10" tabindex="-1">Improvements</h3>
31043113precisely controlled. The < code > hold</ code > symbol attribute is now < code > holdUntil</ code > and can
31053114specify at which stage the substitution should take place.</ li >
31063115</ ul >
3107- < h3 id ="bug-fixes-8 " tabindex ="-1 "> Bug Fixes</ h3 >
3116+ < h3 id ="bug-fixes-9 " tabindex ="-1 "> Bug Fixes</ h3 >
31083117< ul >
31093118< li > Some constants would return a value as bignum or complex even when the
31103119< code > numericMode</ code > did not allow it.</ li >
@@ -3120,7 +3129,7 @@ <h3 id="breaking-changes-9" tabindex="-1">Breaking Changes</h3>
31203129< li > < code > expr.isLiteral</ code > has been removed. Use < code > expr.numericValue !== null</ code > and
31213130< code > expr.string !== null</ code > instead.</ li >
31223131</ ul >
3123- < h3 id ="bug-fixes-9 " tabindex ="-1 "> Bug Fixes</ h3 >
3132+ < h3 id ="bug-fixes-10 " tabindex ="-1 "> Bug Fixes</ h3 >
31243133< ul >
31253134< li > Calling < code > ce.forget()</ code > would not affect expressions that previously referenced
31263135the symbol.</ li >
@@ -3540,14 +3549,14 @@ <h3 id="improvements-16" tabindex="-1">Improvements</h3>
35403549
35413550
35423551
3543- < meta itemprop ="datePublished " content ="November 16 , 2023 ">
3552+ < meta itemprop ="datePublished " content ="November 18 , 2023 ">
35443553
35453554
35463555
35473556
35483557
35493558
3550- < p class ="page__date "> < svg class ="icon1quarterem "> < use role ="none " xlink:href ="/assets/icons.svg#calendar-days "/> </ svg > < strong > Updated</ strong > < time datetime ="2023-11-16 "> November 16 , 2023</ time > </ p >
3559+ < p class ="page__date "> < svg class ="icon1quarterem "> < use role ="none " xlink:href ="/assets/icons.svg#calendar-days "/> </ svg > < strong > Updated</ strong > < time datetime ="2023-11-18 "> November 18 , 2023</ time > </ p >
35513560
35523561
35533562 < p class ="page__meta-link "> < svg class ="icon1quarterem "> < use role ="none " xlink:href ="/assets/icons.svg#bug "/> </ svg > < strong > Problem? Feedback?</ strong > File a report at < a href ="https://github.com/cortex-js/cortexjs.io "> github.com/cortex-js/cortexjs.io</ a > </ p >
0 commit comments