Thicket thicket
ocaml
REPOS 27

W42.2025 · 13–19 OctAll

OCaml trunk replaces hash-table iteration with ordered maps in the type checker and translobj, yielding deterministic .cmi output, while dune adds a dune pkg search command for querying configured repositories. An opam fix writes the shell incantation to ~/.bashrc instead of ~/.profile, resolving an infinite-sourcing loop on Debian-family systems.

Features

OCaml trunk: Merged PR adds caml_c_thread_register_in_domain, letting C threads register in a chosen domain instead of always domain 0. #14275

OCaml trunk (proposal): Open PR adds a -typing-recovery flag so the type checker continues past the first error and reports all type errors in a file. #14241

dune: New dune pkg search <query> command lists matching packages from configured repositories, showing the highest non-avoid-version version and synopsis. Merged in #12547.

Odoc: markdown-generate now accepts multiple .odocl files as input; html-generate also accepts multiple inputs. Merged 2025-10-16. #1388

Compatibility and Releases

opam 2.5.0~alpha1: Released 2025-10-16. Version bumped to 2.6.0~alpha1~dev the following day. Release PR, version bump.

OCaml trunk (proposal): Open PR makes Hashtbl seeded by default unless OCAMLRUNPARAM includes R=0, changing iteration order for all unseeded tables. #14291

opam 2.4.1: Fails to compile against cmdliner 2.0.0 (Unbound value Term.info). A constraint pinning cmdliner < 2.0.0 was added. #6739

Fixes

OCaml trunk: Merged PRs replace hash-table iteration with ordered maps in the type checker and translobj, producing deterministic .cmi output and reproducible builds. #14297 #14299

opam init (bash): Now writes the opam incantation to ~/.bashrc instead of ~/.profile, eliminating the infinite-sourcing loop on Debian-family systems. #6603

dune tools install: dune tools install <pkg> now works without setting DUNE_CONFIG__LOCK_DEV_TOOL=enabled. Merged in #12575.

Js_of_ocaml: Merged fix for a fatal "Some variables escaped" assertion in release-mode builds using -linkall libraries. Resolves #2106 via #2107.

opam env: variables.sh is no longer sourced when OPAM_SWITCH_PREFIX is already set, preventing PATH and MANPATH duplication in subshells. #6729