mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-20 18:18:38 +00:00
22 KiB
22 KiB
Change Log
All notable changes to this project will be documented in this file. This CHANGELOG roughly follows the guidelines from www.keepachangelog.com.
[v0.9.0] - 2018-02-18
Added
- Italic Greek capital letters #1118
- Added support for
\mathring#1125 - Added support for unicode angle brackets, single vertical bar, double vertical bar #1123
- Added support for Reaction Arrows #1078
- Added
\nobreakspace#1145 - Added support for Unicode colon equals ≔ #1151
- Added support for
\underlinein text mode #1159
Changed
- Enable spacing functions in text mode #1139
Fixed
- Improved JS spacing #1103
- Fixed handling of Unicode characters ð, Å, å #1157
- Padding over
\sqrtand Paths for frac-line #1143
[v0.9.0-beta1] - 2018-01-28
Added
- Added support for
\aa,\AA,\lq,\rq,\lbrack,\rbrack#1069 - Added support for more scripts in
\text{}environments such as Czech, Georgian, Hungarian, Turkish. #1076 - add Main-BoldItalic font to allow nesting of
\textitand\textbf - Added
\Sand\P#1110
Changed
- Remove symlink to support devs using Windows #1090
Fixed
- Do not inherit SVG style properties from the environment. #1089
- Update fonts and metrics so that accents are positioned correctly #1094
- Non-portable use of String method
.includes. Fixed #1093 - Use correct spacing with tight styles. See #1106 for more details.
[v0.9.0-beta] - 2018-01-14
Added
\kernfixed and support\hskip,\TeX,\LaTeX,\KaTeX. See #974- Supported Unicode middle dot and Unicode accents.
- Added basic support for Indic scripts in addition to CJK. #1060
- Added support for bold italic symbols. #1011
- add
\ae,\AE,\oe,\OE,\o,\O,\sswith unicode support for those characters in text mode. #1030 - Added
\iand\jfor text mode. #1029 - Added
buildHTMLTree. #1022 - Implemented
\TextOrMath, @secondoftwo. #1024 - Added a 'common issues' section to the
README.md. #1034
Changed
- Made a more working example in README.md. Fixed #1049 PR is #1050
- Exposing the build tree. #1017
- Changed
\xLongequalto\xlongequal. #997
Fixed
- Avoid negative space in
\bmod. #984 - Stacking text commands. #1009
- Fixed
\vecby replacing the combining font glyph with an SVG. #1018 - Made accents zero width. #1033
- Fixed frac-line. #1025
- Implemented correct macros for
liminfandlimsup. Fixed #111 \kerngenerates right-margin instead of left-margin. Fixed #995
[v0.9.0-alpha2] - 2017-11-26
Added
- Added Unicode Relations and Unicode Symbol support. Supports Unicode ∴, ∵,
\mid, Arrows, Big Operators, Binary Operators, Negated Relations. - Implemented the
alignedatenvironment for flexible math spacing. #930 - Implemented
\mathchoicecommand. #969 - Implemented
\hrefcommand. #923 \hspace*,\@ifstar,\@ifnextchar,\@firstoftwo(#975)- Added
\notnicharacter∌. #710 - Added ng-katex link to README.md. #959
Changed
- Single-character macros like active characters. #973
- Re
@flow:- Port buildTree, katex, mathMLTree, parseTree, stretchy to @flow.
Fixed
- Fixed the spacing between columns in the {aligned} environment. #942
- Fixed issue where the {aligned} environment skips the last line if the first column is empty. #949
- Appended
ApplyFunctionto math functions in MathML. #960 - Changed
\undertildeto\utilde. #948 - Changed
frac-linefrom border to full span. #976
[v0.9.0-alpha1] - 2017-10-15
Changed
- Edited link to Function Support page. #922
- Re
@flow:
Fixed
[v0.9.0-alpha] - 2017-10-05
Added
- Added MathJax compatibility script. #680
- Added a maxSize option to limit user-specified sizes. #803
- Added
\smash, laps, spaces, and phantoms. #833 - Support for
\raisebox,\operatorname,\And,\colorbox,\fcolorboxand\verb. - Added support for comments. Fixed #20
- To
@flow:- fontMetrics, fontMetricsData, Token, Lexer, MacroExpander, Options, ParseError, ParseNode, Settings, Style.
Removed
- Removed the positions array computed by Parser's parseArguments(). #864
Changed
- Advanced macro support and magic
\dots. #794 - Allow sizing commands inside optional groups. #885
- Upgraded
\sqrtzoom and width. #890 - Refactored defineEnvironment to also accept HTML and MathML builders. #875
- For
@flow:- Ported environments.js, functions.js, symbol.js, unit.js.
- Separated mandatory and optional arguments in parseArguments. #903
Breaking Changes
- Require [text]color HTML colors to be well-formed. See #827
\llapand\rlapnow render contents in math mode. Use\mathllap(new) and\mathrlap(new) if you need the previous behavior.
Fixed
- Fixed exponential behavior in accent production. #834
- Use mpadded for
\raiseboxMathML. #876 - Array/Matrix environments do not trim newlines. Fixed #337. PR is #479.
- For
@flow:
[v0.8.3] - 2017-08-27
Added
Changed
- Support CJK full-width punctuation + Unicode dots. See #814
- Support for
' \` ^ ~ = \u . " \r \H \vtext-mode accents. See #802 - Modernized font creation. See #624
Fixed
[v0.8.2] - 2017-08-17
Added
- Accepts all existing Greek letters using unicode characters in math mode. See #410
Fixed
- Fixed MathML output for ' and large operators with limits. #788
- Updated package.json to point 'main' at dist/katex.js. #791
- Fixed color support for stretchy, strikethrough, and fbox. #792
- Detect attachEvent() support correctly. See #771 and #772 for the issue and PR fix respectively.
[v0.8.1] - 2017-08-11
Fixed
-
Note: The v0.8.0 release did not include the SVG images which are necessary for rendering wide and stretchy accents as well as
\overbraceand\underbrace. This release corrects that. -
Note that if you're including copies of KaTeX in your web application, you should now include the dist/images directory in addition to the usual the dist/fonts directory.
[v0.8.0] - 2017-08-11
Added
- Added some international operators. See #509
- Old font command support:
\rm,\sf,\tt,\bf,\it. #675 - Builtin macros, macro arguments,
\oversetand\underset. #605 - Added
\iff,\implies,\impliedbysupport. #697 - Support <, >, | and many
\text... commands in text mode. #684 - Implemented
...via styling node. #637 - Added
\jotlineskip to aligned environment, switch contents to displaystyle, and add gathered. #725 - Support stretchy wide elements. #670
- Set maxFontSize on rules. #744
Changes
- Added support for Windows high-contrast mode. Fixed #716 #724
-Implemented
\coloneqq,\colonequals, etc. based on mathtools and colonequals. #727 - Added configurable error callback. #658
- Added support for absolute TeX units. #732
- Revert "Remove trailing commas for IE 9 compatibility". #622
- Use utils.deflt for Settings. #649
- Refactored and commented space splicing code. #699
- Vertically center single-character
\mathop. #745 - Associate font metrics with Options, not Style. #743
- Upgraded the source to use ES6 syntax including classes, import and static properties. #679
- Use
\displaystylewithin\over/\underbrace. #765 - Shrinkwrap vlists in table-like CSS. #768
- Improve rule coding, including for
\sqrt. #776
Breaking Changes
- Implicit
\color, explicitly grouped\textcolor. See #619
Fixed
- Fixed high contrast mode better. #733
- Fixed all AMS mathord symbols. #618
- Fixed x'^2 #636
- Fixed font typo math -> main. #678
- Fixed spaces before
\middle. #689 - Fixed #711 issue with multiple superscripts. #718
- Fixed interaction between styles and sizes. #719
- Correct handling of unbraced kerns followed by spaces. #751
- Corrected computation of TeX sizes. #755
- Solved Safari rendering issues with font-size overrides. #780
[v0.7.1] - 2017-01-21
Fixed
- Restored creation of dist directory during release process.
[v0.7.0] - 2017-01-08
Added
- Added
\atop,\bmod,\degree,\kern,\ldots,\maltese,\mathbin,\mathclose,\mathellipsis,\mathop,\mathopen,\mathord,\mathpunct,\mathrel,\middle,\mod,\pod,\pounds,\pmod,\stackre,\textbf,\textellipsis,\textit,\textnormal,\textrm,\textsf,\texttt,--,---,''',', and"". - Added
\#,\&,\$,\%,\_,\{, and\}in text mode.
Changed
- Allow specifying macros (without arguments) in the settings object.
- Combine adjacent spans in text mode.
Fixed
- Do not apply italic correction in text mode.
- Fixed the MathML fence attribute on delimiters.
- Fixed converting bins to ords.
- Made
\llapand\rlapproduce ords. - Fixed spacing around
\color,\mathbf, and in other places. - Added per-style font metrics.
- Complain when trying to render a non-string.
- Fixed subscript positioning with changed-font bases.
- Fixed superscript/subscript centering in fractions.
[v0.6.0] - 2016-04-15
Added
- Added
\gt,\ltand\underlinesupport. - Introduced the aligned environment.
Removed
- Removed 3px border around rules.
Changed
- Bundle CSS and fonts in npm package.
Fixed
- Fixed sub- and super-scripts not being centered inside of math display.
- Set the greediness of font functions to 2 so that
e^\mathbf{x}will parse.
[v0.5.1] - 2015-09-01
Added
- Added the font changing functions
\mathrm,\mathit,\mathbf,\mathbb,\mathcal,\mathfrak,\mathscr,\mathsf,\mathtt,\Bbb,\bold, and\frak. - Added the
\limitsand\nolimitsfunctions. - Added a throwOnError option to allow generating red error text when rendering invalid commands instead of throwing errors, and a corresponding errorColor option to decide the color of invalid commands.
- Added support for
|column delimiters in the array environment. - Added
\lVertand\rVertsymbols.
Changed
- Allow
\lvert,\rvert,\lVert,\rVert,\lgroup,\rgroup,\lmoustache, and\rmoustachein delimiters.
Fixed
- Fix the spacing of the
\ulcorner,\urcorner,\llcorner,\lrcorner,\barwedge,\veebar,\circledcirc,\boxdot,\uparrow,\Uparrow,\downarrow,\Downarrow,\updownarrow,\Updownarrow, and\ldotssymbols.
[v0.5.0] - 2015-07-16
Added
- Added the cases and Bmatrix environments.
- Added
\checkmarkand\circledRsymbols.
Changed
- Ran
ttfautohinton our fonts to produce better results at small font sizes. - Improved the spacing inside fractions.
- Correctly set environments to the ord type.
[v0.4.3] - 2015-06-20
Fixed
- Fixed bower.json to include a "main" entry
[v0.4.0] - 2015-06-18
Added
- Added support for some
\begin/\endenvironments, including support forarray,matrix,pmatrix,bmatrix,vmatrix, andVmatrix. - Added support for optional
\sqrtarguments, e.g.\sqrt[3]{x}. - Bower package is now available: run
bower install katexto download the built files.
Changed
- Added a display mode flag to the cli.
- Exposed an unstable
__parsemethod for retrieving the parse tree. - Prevent elements from inheriting
text-indent.
[v0.3.0] - 2015-04-01
Added
- Added an auto-render extension for automatically rendering math on a page.
- Added support for
\phantom. - Added
\#,\&.
Removed
- Removed
!importantfrom MathML hiding rules, so they can be overridden.
Breaking Changes
- The greediness of the
\colorfunction has changed to maintain compatibility with MathJax, so expressions like\color{red}\text{a}will no longer work and instead need to be rewritten as\color{red}{\text{a}}.
Fixed
- Fixed spacing for
\odot,\oplus,\otimes,\oslash,\bigtriangleup,\bigtriangledown,\dagger,\diamond,\star,\triangleleft,\triangleright. - Fixed MathML handling of text operators.
[v0.2.0] - 2015-03-02
Added
- Added accessibility through the use of MathML.
- Added the ability to render math in display mode, centered on a single line in display style.
- Added support for new symbols:
\aleph,\amalg,\approxeq,\ast,\asymp,\backepsilon,\backprime,\backsim,\backsimeq,\Bbbk,\because,\beth,\between,\bigcirc,\bigstar,\blacklozenge,\blacksquare,\blacktriangle,\blacktriangledown,\blacktriangleleft,\blacktriangleright,\bowtie,\Box,\boxminus,\boxplus,\boxtimes,\bullet,\bumpeq,\Bumpeq,\Cap,\cdotp,\centerdot,\circeq,\circlearrowleft,\circlearrowright,\circledast,\circleddash,\circledS,\clubsuit,\complement,\Cup,\curlyeqprec,\curlyeqsucc,\curlyvee,\curlywedge,\curvearrowleft,\curvearrowright,\dag,\daleth,\dashleftarrow,\dashrightarrow,\dashv,\ddag,\ddagger,\diagdown,\diagup,\Diamond,\diamondsuit,\digamma,\divideontimes,\doteq,\Doteq,\doteqdot,\dotplus,\doublebarwedge,\doublecap,\doublecup,\downdownarrows,\downharpoonleft,\downharpoonright,\ell,\eqcirc,\eqsim,\eqslantgtr,\eqslantless,\equiv,\eth,\exists,\fallingdotseq,\Finv,\flat,\forall,\frown,\Game,\geqq,\geqslant,\gg,\ggg,\gggtr,\gimel,\gnapprox,\gneq,\gneqq,\gnsim,\gtrapprox,\gtrdot,\gtreqless,\gtreqqless,\gtrless,\gtrsim,\gvertneqq,\hbar,\heartsuit,\hookleftarrow,\hookrightarrow,\hslash,\Im,\intercal,\Join,\ldotp,\leadsto,\Leftarrow,\leftarrowtail,\leftharpoondown,\leftharpoonup,\leftleftarrows,\leftrightarrow,\Leftrightarrow,\leftrightarrows,\leftrightharpoons,\leftrightsquigarrow,\leftthreetimes,\leqq,\leqslant,\lessapprox,\lessdot,\lesseqgtr,\lesseqqgtr,\lessgtr,\lesssim,\lgroup,\lhd,\ll,\llcorner,\Lleftarrow,\lll,\llless,\lmoustache,\lnapprox,\lneq,\lneqq,\lnsim,\longleftarrow,\Longleftarrow,\longleftrightarrow,\Longleftrightarrow,\longmapsto,\longrightarrow,\Longrightarrow,\looparrowleft,\looparrowright,\lozenge,\lrcorner,\Lsh,\ltimes,\lvertneqq,\mapsto,\measuredangle,\mho,\mid,\mp,\multimap,\nabla,\natural,\ncong,\nearrow,\nexists,\ngeqq,\ngeqslant,\ngtr,\ni,\nleftarrow,\nLeftarrow,\nleftrightarrow,\nLeftrightarrow,\nleqq,\nleqslant,\nless,\nmid,\nparallel,\nprec,\npreceq,\nrightarrow,\nRightarrow,\nshortmid,\nshortparallel,\nsim,\nsubseteqq,\nsucc,\nsucceq,\nsupseteqq,\ntriangleleft,\ntrianglelefteq,\ntriangleright,\ntrianglerighteq,\nvdash,\nvDash,\nVdash,\nVDash,\nwarrow,\ominus,\owns,\parallel,\perp,\pitchfork,\prec,\precapprox,\preccurlyeq,\preceq,\precnapprox,\precneqq,\precnsim,\precsim,\propto,\Re,\restriction,\rgroup,\rhd,\Rightarrow,\rightarrowtail,\rightharpoondown,\rightharpoonup,\rightleftarrows,\rightleftharpoons,\rightrightarrows,\rightsquigarrow,\rightthreetimes,\risingdotseq,\rmoustache,\Rrightarrow,\Rsh,\rtimes,\searrow,\sharp,\shortmid,\shortparallel,\sim,\simeq,\smallfrown,\smallsetminus,\smallsmile,\smile,\spadesuit,\sphericalangle,\sqcap,\sqcup,\sqsubset,\sqsubseteq,\sqsupset,\sqsupseteq,\square,\Subset,\subseteqq,\subsetneq,\subsetneqq,\succ,\succapprox,\succcurlyeq,\succeq,\succnapprox,\succneqq,\succnsim,\succsim,\Supset,\supseteqq,\supsetneq,\supsetneqq,\swarrow,\therefore,\thickapprox,\thicksim,\triangledown,\trianglelefteq,\triangleq,\trianglerighteq,\twoheadleftarrow,\twoheadrightarrow,\ulcorner,\unlhd,\unrhd,\upharpoonleft,\upharpoonright,\uplus,\upuparrows,\urcorner,\varkappa,\varpropto,\varsubsetneq,\varsubsetneqq,\varsupsetneq\varsupsetneqq,\vartriangle,\vartriangleleft,\vartriangleright,\vdash,\vDash,\Vdash,\Vvdash,\wp,\wr,\yen.
Removed
- Removed unused greek fonts.
[v0.1.1] - 2014-10-15
Added
- Added support for
\binom - Added support for
\overand\choose - Added
\partial,\subset,\supset,\subseteq,\supseteq,\cap,\cup,\setminus,\neg,\lnot,\top,\bot,\emptyset,\varnothing,\land,\lor,\wedge,\vee,\notin,\nsubseteq,\nsupseteq,\models. - Added simple
katexcommand-line binary to convert TeX to HTML on the server. - Added WOFF2 fonts for faster downloads in Chrome and Opera.
Changed
- Correctly throws on
\sqrt[3]{x}to indicate lack of support. - Warn when in quirks mode (i.e., missing a
<!DOCTYPE html>declaration). - Built files now only use ASCII characters to avoid character encoding problems.
Fixed
- Fixed spacing for
\iintand\iiint.
[v0.1.0] - 2014-09-15
Initial Public Release