Thicket thicket
ocaml
REPOS 27

W11.2025 · 10–16 MarAll

OCaml 5.3.0 release was confirmed in opam-repository, and js_of_ocaml fixed an assertion failure in double translation and a jsoo_minify crash on code with a function declaration after return. odoc now requires cmdliner >= 1.3.0, enabling cmdliner 2.0 compatibility.

Releases

  • OCaml 5.3.0: Release confirmed; the opam-repository release-readiness meta-issue closed 2025-03-14. (#26596)

Fixes

  • js_of_ocaml: Fixed assertion failure in double translation when compiling nested exception-unwrapping code. Closed 2025-03-12. (#1868)
  • js_of_ocaml: Fixed jsoo_minify crash on code containing a function declaration after a return statement. Closed 2025-03-12. (#1865)
  • opam-repository: An invalid opam file for color.0.3.0 broke strict-mode repository parsing. The commit was reverted and a followup fix submitted; issue closed 2025-03-14. (#26956)
  • Merlin: merlin-locate in Emacs fails for functions generated by ppx_deriving, reporting the source file as not found. Open; no fix yet. (#1910)
  • OCaml 5 GC: OCaml 5.2.1 requires space_overhead of 40 to match OCaml 4.14.0 default GC performance. Open; no fix identified. (#13868)

Features

  • OCaml compiler (PR #13820): Adds -print-variance to display type variance and introduces Asttypes.Bivariant with +- syntax. Under active review.
  • opam (proposal): Opened issue #6418 proposing removal of automatic retrieval of uncommitted .opam files for VCS-pinned local directories. Users would need --working-dir or a path pin.
  • js_of_ocaml (draft): PR #1886 proposes more aggressive lambda lifting in double translation, reporting ~1.45× speedup on a Bonsai benchmark. Would be gated behind a flag.

Compatibility

  • odoc: Merged PR #1328 removes the compatcmdliner shim and requires cmdliner >= 1.3.0, enabling compatibility with cmdliner 2.0.
  • Dune / pkgconf: dune passes --personality to pkgconf, an option introduced in pkgconf 1.5.1. Systems shipping pkgconf 1.4.2 (e.g. RHEL 8) fail with "unknown option." Open; no fix merged. (#11536)
  • ocaml-lsp: Building ocaml-lsp-server 1.20.1 on FreeBSD 14.2 with OCaml 4.14 fails because vendored ev.c includes sys/statfs.h, absent on that platform. Fix pending for the 4.14 LTS branch. (#1459)