Repository navigation
[0.1.16] - 2026-11-16
Changed
- Dependencies:
phf0.13 andfancy-regex0.20, the versions current
GUI stacks already link, so hosts no longer build two copies of each. ratex-katex-fontsembeds its fonts withinclude_bytes!instead of
rust-embed, droppingrust-embedand itssha20.11 tree.ttf_bytes
keeps its signature.- Track
Cargo.lockand synchronize workspace package versions during release
preparation, with CI checking that the lockfile matches the manifests.
Added
- C ABI
ratex_parse_and_layout_with_fallback_metricsand
RatexFallbackGlyphMetricslet native hosts supply measurements for glyphs
missing from KaTeX fonts. Existing entry points and DisplayList JSON remain
compatible; an empty metrics table behaves like the original layout API. - Optional
mhchemcargo feature (default on) forratex-parser, forwarded by every crate that
depends on it. Disable default features to build without\ce/\puand theregex/
fancy-regexdependencies. See Building without mhchem in the README.
Fixed
\tagscans its argument before expanding macros, so unbraced label macros
expand fully in text mode; spaces after\tag*are skipped before the argument.\tag{...}sets its label in text mode, as KaTeX does (\text{(...)}):\tag{A}is upright,
math needs$...$(replace\tag{x^2}with\tag{$x^2$}), and\tagcan no
longer be nested in its own argument.- Automatic equation numbers of two or more digits draw every digit,
(10)instead of(1).
Security
- Update Pillow to 13.0.0 in the golden comparison tooling and pin sharp to
0.35.5 for website image processing to address image-tooling vulnerabilities.
Website tooling now requires Node.js 20.9.0 or newer.
New Contributors
- @AuroraZiling made their first contribution in #174
- @chrisjsewell made their first contribution in #176
- @Raiden-MeixElysia made their first contribution in #179
- @psionic-k made their first contribution in #183
- @monarchsofchaos004-gif made their first contribution in #187
Full Changelog: v0.1.15...v0.1.16