Releases
js_of_ocaml 6.1.0: Released 2025-07-04. Drops OCaml 4.12, adds initial OCaml 5.4 support, and adds the --empty-sourcemap flag. Release notes
opam 2.4.0~rc1: First release candidate. Binaries signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). Release notes
opam-file-format 2.2.0: Stable release published 2025-07-03; no changes since 2.2.0~alpha1. Pins to the stable tag now resolve to this version. Release
Compatibility
odoc OCaml 5.4: Updates the odoc model for labelled and bivariant type parameters and the loader for the OCaml 5.4 AST. #1355
ocaml-lsp JSON API: Removes Tuple and Variant from the Json type; requires Yojson 3. Merged ahead of OCaml 5.4. #1534
Features
odoc LaTeX backend: Adds --shorten-beyond-depth flag to abbreviate submodule names beyond a given nesting depth in generated LaTeX. #1337
Fixes
js_of_ocaml code generation: Merged PR removes quadratic behaviour in the expression queue, cutting codegen time by up to 60% on large inputs. #2066
odoc type rendering: Adds missing parentheses around (_ as 'a) in type expressions, fixing invalid syntax in rendered output. #1358
opam switch create: Now selects an avoid-version compiler when it is the only one available for the requested version. #6571
opam update: Local non-VCS repositories no longer copy VCS directories during opam update, reducing unnecessary I/O. #6575
Dune TUI: Tab characters in build messages crashed the TUI via a Notty exception; fixed and closed 2025-07-06. #11979
Dune pkg outdated: A runtime Invalid_argument("filter_deps") crash in the vendored opam filter was resolved. #11188