Features
-
odoc/odocl file compression (#1486): When the compiler supports it, odoc and odocl files are now compressed, reducing file sizes by roughly 4–5×. Merged 2026-09-11 by @jonludlam.
-
include functordisplay for OxCaml (#1452): Generated docs now show that items were included via a functor. Merged 2026-09-11 by @Leonidas-from-XIV. -
Canonical chain search fix (#1483): Resolves broken cross-references when a wrapper module omits some library modules, enabling
@canonicaltags in those cases. Merged 2026-09-11 by @jonludlam.
Compatibility and Releases
-
Removed id wrapper (#1479): Eliminates an unnecessary identifier indirection, reducing overall disk usage by ~30% with no measurable speed change. Merged 2026-09-07 by @jonludlam.
-
Merged word runs in internal AST (#1488): Consecutive
Word/Spacecomment tokens are stored as a singleWordstring. Theodoc-parserAST is unchanged; ocamlformat is unaffected. Merged 2026-09-11 by @jonludlam.
Fixes
-
OCaml 5.5 optional-argument rendering (#1489): OCaml 5.5 wraps optional arguments in a
TPolyconstructor that odoc previously rendered as???. The fix unwraps them. Merged 2026-09-07 by @jonludlam. -
Extended open support (#1482): Two related fixes for extended-open handling in generated documentation. Merged 2026-09-08 by @jonludlam.
-
Memoized docstring parsing (#1480): Repeated doc-comment texts (common with
ppx_template) are parsed once and shared. On OxCaml code: −13% user CPU, −18%.odoc/ −23%.odoclfile size. Merged 2026-09-11 by @jonludlam.