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_minifycrash on code containing a function declaration after areturnstatement. Closed 2025-03-12. (#1865) - opam-repository: An invalid opam file for
color.0.3.0broke strict-mode repository parsing. The commit was reverted and a followup fix submitted; issue closed 2025-03-14. (#26956) - Merlin:
merlin-locatein Emacs fails for functions generated byppx_deriving, reporting the source file as not found. Open; no fix yet. (#1910) - OCaml 5 GC: OCaml 5.2.1 requires
space_overheadof 40 to match OCaml 4.14.0 default GC performance. Open; no fix identified. (#13868)
Features
- OCaml compiler (PR #13820): Adds
-print-varianceto display type variance and introducesAsttypes.Bivariantwith+-syntax. Under active review. - opam (proposal): Opened issue #6418 proposing removal of automatic retrieval of uncommitted
.opamfiles for VCS-pinned local directories. Users would need--working-diror 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
compatcmdlinershim and requirescmdliner >= 1.3.0, enabling compatibility with cmdliner 2.0. - Dune / pkgconf: dune passes
--personalityto 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-server1.20.1 on FreeBSD 14.2 with OCaml 4.14 fails because vendoredev.cincludessys/statfs.h, absent on that platform. Fix pending for the 4.14 LTS branch. (#1459)