Thicket thicket
ocaml
REPOS 27

W28.2025 · 7–13 JulAll

Odoc 3.1.0 adds a Markdown backend for static-site generators and GitHub. The OCaml compiler fixes non-deterministic pattern-matching code generation caused by a global handler-id counter, cherry-picked to 5.4.

Features

  • Odoc: adds a Markdown backend alongside HTML, enabling use with static-site generators and GitHub. Supersedes the long-open #791. (#1341)
  • Odoc: new flag strips compiler paths from occurrence data, merging usage counts across builds against different compiler versions. (#1367)
  • opam: proposes an 8× speedup for opam update when the repository is unchanged, reducing time from ~3.5 s to ~0.4 s. Still open, marked WIP. (#6283)
  • js_of_ocaml: merged loop-exiting edge elimination and early exit for leading loops, reducing unnecessary control-flow edges in generated code. (#2075, #2077)

Compatibility and Releases

  • Odoc 3.1.0: version-bump PR merged 2025-07-10, preparing the 3.1.0 release. (#1363)
  • opam 2.5.0~alpha1~dev: version number bumped, marking the start of the 2.5 development cycle. Merged 2025-07-07. (#6585)
  • js_of_ocaml 6.1.1: bug-fix release correcting shape loading. (#2074, release)

Fixes

  • OCaml compiler: fixes non-deterministic pattern-matching code generation caused by a global handler-id counter affecting hash-table iteration order. Cherry-picked to 5.4. (#14091)
  • OCaml typechecker: fixes an internal error triggered by recursive modules with GADT constraints on zero-arity type constructors. Cherry-picked to 5.4. (#14135)
  • Dune: allows melange.runtime_deps to reference directory targets, resolving a self-dependency cycle during rule loading. Merged after the reporting interval. (#12006)
  • js_of_ocaml: updates the reserved-keyword list to match current ECMAScript, removing keywords no longer reserved and deduplicating this. (#2071)
  • OxCaml simdgen: resolves a SEGV on CPUs lacking BMI instructions by detecting availability at configure time. (#4280)