Packages

katex

0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed

Upgrading katex From 0.16.19 to 0.18.2

32 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.16.19Newest 0.x, Latest0.19.1
  1. 0.16.19yours
  2. 1 release
  3. 0.16.21security
  4. 26 releases
  5. 0.17.0major
  6. 0.18.0major
  7. 1 release
  8. 0.18.2target

Before you upgrade

Tick each one off as you go
  • Breaking0.18.0
  • Breaking0.17.0

Security

Fixes 2 advisories affecting 0.16.19

Release by release

  1. 0.18.2

    Security fix8 Aug 2026
    • Security

      Prevent prototype pollution in settings

  2. 0.18.1

    19 Jul 20261 fix
  3. 0.18.0

    Migration needed17 Jul 20261 new
    • Breaking

      Users who apply custom styles or have allowlists targeting KaTeX's internal classes must update their selectors.

    • New

      Prefix css classes

  4. 0.17.0

    Migration needed22 May 20261 new
    • Breaking

      The internal API for __defineFunction changed: you should no longer wrap properties in props.

    • New

      Simplify defineFunction to avoid destructuring, improve typing

  5. 0.16.47

    16 May 20261 fix
  6. 0.16.46

    13 May 20261 fix
  7. 0.16.45

    5 Apr 20261 fix
  8. 0.16.44

    27 Mar 20261 fix
    • Fixed

      Remove extra \jot space at bottom of align/gather/etc.

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.