Odoc fixes monorepo-mode option handling, a stack overflow on very large source files, and restores OCaml 4.02 compatibility. Merlin v5.4.1-503 releases an ocaml-index format change that bumps the magic number.
Releases
Merlin v5.4.1-503: released 2025-01-13; bumps the ocaml-index magic number after an index file format change. Release notes.
Fixes
Odoc source highlighting: fixes a stack overflow when processing very large source files. #1277
Odoc monorepo mode: fixes custom-layout and short-title option handling, duplicate detection, and Cmx_format resolution in monorepo builds. #1275
Odoc: replaces a catastrophic build failure with an in-document error message for simple cases. #1272
Odoc breadcrumbs: fixes the backward home-breadcrumb navigation logic in generated HTML. #1279
ocaml-lsp: compilation error with OCaml 5.3.0 in rename.ml resolved; issue closed 2025-01-15. #1445
js_of_ocaml: resolves wasmoo Windows compatibility issues including Sys.os_type not being set and the asset directory not copied into the inline test sandbox. #1797
opam-repository result: adds version constraints to prevent old result releases shadowing the stdlib Result module. #24263
Features
Odoc driver: merged option to override the main package index page (_html/index.html), enabling custom front pages for multi-package documentation sites. #1280
Merlin (PR #1889): proposal to replace Marshal with granular serialization in ocaml-index, enabling lazy loading during occurrence searches on large projects. PR
Compatibility
Odoc loader: restores compatibility with OCaml 4.02. #1278
Merlin (PR #1888): proposes renaming Texp_hole to Texp_typed_hole and Tmod_hole to Tmod_typed_hole; breaking for code referencing the old names. PR