Odoc 3.2.0

We're happy to announce the release of Odoc 3.2.0.

This release brings:

  • Support for OCaml 5.5.0 (#1406).
  • Support for the OxCaml compiler variant (#1399).
  • Persistent LaTeX macros in the HTML/KaTeX backend (#1391), so a macro defined with \gdef in one math block can be reused in subsequent ones.
  • Multiple .odocl files accepted by markdown-generate in a single invocation, removing the need for shell scripting around it (#1388).

For more details, see the full changelog below.

See full changelog

Added

  • Allow persistent latex macros in HTML/KaTeX backend (@dlesbre, #1391)
  • markdown-generate command now accepts multiple .odocl files in a single invocation, eliminating the need for shell scripting (@davesnx, #1388)
  • Support for OxCaml (@lukemaurer, @art-w, #1399)
  • OCaml 5.5.0 support (@panglesd, @xvw, #1406)

Fixed

  • Fix compile-time crashing bugs #930 and #1385 (@jonludlam, #1400)
  • Markdown backend assumes ocaml as langId on declarations
  • Markdown backend collects all code snippets and render a single code block with comments, rather than split the variants/records per constructor/field
  • Fix URL remapping for page references (@jonludlam, #1395)
  • Fix #1396, which broke incrememntal builds (@jonludlam, #1402)
  • Ensure all warnings turn into errors with --warn-error (@jonludlam, #1402)
  • Fix missing parentheses for polymorphic arguments (@art-w, #1404)