Skip to content

Commit 2c048f6

Browse files
committed
2023-11-18
1 parent aa273aa commit 2c048f6

File tree

47 files changed

+577
-514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+577
-514
lines changed

compute-engine/changelog/index.html

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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>
25432552
custom 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 &lt; b &lt;= 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>
25912600
instead. The <code>domain</code> property is still supported for backward compatibility,
25922601
but 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
25972606
result 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
26902699
results.</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
28952904
significantly 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>[&quot;Error&quot;]</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(&quot;1e999 + 1&quot;).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 === &quot;auto&quot;</code>, square roots of negative numbers would
30833092
return an expression instead of a complex number.</li>
@@ -3104,7 +3113,7 @@ <h3 id="improvements-10" tabindex="-1">Improvements</h3>
31043113
precisely controlled. The <code>hold</code> symbol attribute is now <code>holdUntil</code> and can
31053114
specify 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
31263135
the 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&nbsp;<a href="https://github.com/cortex-js/cortexjs.io">github.com/cortex-js/cortexjs.io</a></p>

compute-engine/contributing/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,14 +2516,14 @@ <h3 id="mathjson-standard-library" tabindex="-1">MathJSON Standard Library</h3>
25162516

25172517

25182518

2519-
<meta itemprop="datePublished" content="November 16, 2023">
2519+
<meta itemprop="datePublished" content="November 18, 2023">
25202520

25212521

25222522

25232523

25242524

25252525

2526-
<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>
2526+
<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>
25272527

25282528

25292529
<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&nbsp;<a href="https://github.com/cortex-js/cortexjs.io">github.com/cortex-js/cortexjs.io</a></p>

compute-engine/guides/assumptions/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,14 +2665,14 @@ <h2 id="scoped-assumptions" tabindex="-1">Scoped Assumptions</h2>
26652665

26662666

26672667

2668-
<meta itemprop="datePublished" content="November 16, 2023">
2668+
<meta itemprop="datePublished" content="November 18, 2023">
26692669

26702670

26712671

26722672

26732673

26742674

2675-
<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>
2675+
<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>
26762676

26772677

26782678
<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&nbsp;<a href="https://github.com/cortex-js/cortexjs.io">github.com/cortex-js/cortexjs.io</a></p>

compute-engine/guides/augmenting/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,14 +2742,14 @@ <h2 id="summary" tabindex="-1">Summary</h2>
27422742

27432743

27442744

2745-
<meta itemprop="datePublished" content="November 16, 2023">
2745+
<meta itemprop="datePublished" content="November 18, 2023">
27462746

27472747

27482748

27492749

27502750

27512751

2752-
<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>
2752+
<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>
27532753

27542754

27552755
<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&nbsp;<a href="https://github.com/cortex-js/cortexjs.io">github.com/cortex-js/cortexjs.io</a></p>

0 commit comments

Comments
 (0)