katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.11.1 to 0.19.1
97 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking0.19.0
- Breaking0.18.0
- Breaking0.17.0
- Breaking0.16.0
- Breaking0.15.0
- Breaking0.14.0
- Breaking0.12.0
- Breaking0.12.0
Security
Fixes 3 advisories affecting 0.11.1
- KaTeX: Existing prototype pollution can bypass trust restrictionslow · GHSA-238p-pmpm-9mq7
- KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocolsmoderate · GHSA-3wc5-fcw2-2329
- KaTeX's `\includegraphics` does not escape filenamemoderate · GHSA-f98w-7cxr-ff2h
- 0.18.2
Prevent prototype pollution in settings
- 0.16.21
See security advisory github.com/KaTeX/KaTeX/security/advisories/GHSA…
Release by release
- Fixed
Allow percent sign in raw argument type
- Fixed
- Breaking
Missing character metrics now reported via strict with error code symbolNotInFont, changing warning formatting, calling any strict callbacks, and producing errors in strict: "error" mode. Also, strict callbacks returning undefined or null now warn instead of ignoring the issue (and no longer typecheck); return false or "ignore" to suppress warnings.
- Breaking
- New
Handle character metrics warnings via
strict
- New
- New
Make KaTeX fallback to browsr math font before Times New Roman
- New
- New
types: add contrib module declarations
- New
- Fixed
array: preserve trailing rows in align
- Fixed
- New
Add \reflectbox and \mapsfrom support
- New
- Fixed
array: preserve tags on empty final rows
- Fixed
13 other lines we could not sort, mostly version bumps
- 0.13.0
Configure Renovate
- 0.13.0
Update LICENSE year
- 0.13.0
Use base revision provided by CircleCI
- 0.13.0
Delete bower.json
- 0.13.0
Create dependabot.yml
- 0.13.0
Run screenshotter using Chrome 83 and Firefox 76
- 0.12.0
HTML extension can be enabled using
strictandtrustsetting. See katex.org/docs/options.html for more details. Please review its security implication before enabling the extension. - 0.12.0
Update documentation (#2086, #2108, #2107, #2106, #2143, #2178, #2195, #2231, #2239, #2263, #2279, #2289, #2280. #2269, #2294, #2296, #2297)
- 0.12.0
mathtex-script: Use html 'defer' attribute - 0.12.0
auto-render: do not touch text nodes w/o formulas
42 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.