Tools covers builds, package management, editors, documentation and JavaScript compilation.
W36.2026 · 31 Aug – 6 Sep/ocaml/odoc
Features
Memoize docstring parsing (open): #1480 caches parsed doc-comment ASTs, reducing odoc_driver user CPU by ~13% and .odoc/.odocl file sizes by 18–23% on ppx_template-heavy OxCaml code.
Compress odoc/odocl payloads (open): #1486 enables payload compression when the compiler supports it, producing files roughly 4–5× smaller. Builds on #1479 (drop id wrapper, ~30% disk reduction) and #1375.
Build shape reducer once (open): #1487 shares the shape-reducer cache across calls, reducing allocation during documentation generation.
Compatibility
OCaml 5.5 requires the #1489 fix for correct optional-argument type rendering; without it, generated docs show ??? for optional parameter types.
Fixes
odoc_driver stdlib detection in $prefix/lib64 (closed): #1477 reported that opam on openSUSE installs stdlib under lib64, causing "Couldn't find the following modules: Stdlib" warnings. Resolved by #1474.
OCaml 5.5 optional argument rendering (open): #1489 unwraps the new TPoly constructor so optional arguments no longer render as ?arg:???.
Extended open support (open): #1482 fixes two related issues in extended-open handling.
Canonical chain search (open): #1483 corrects canonical-chain resolution so @canonical tags work in wrapper modules that do not re-export all library modules.