katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.16.26 to 0.19.1
36 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
Security
Fixes 1 advisory affecting 0.16.26
- KaTeX: Existing prototype pollution can bypass trust restrictionslow · GHSA-238p-pmpm-9mq7
- 0.18.2
Prevent prototype pollution in settings
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
1 internal line (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.