Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W43.2025 · 20–26 Oct

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune (dir ..) field: New (dir ..) field in dune-project designates a single directory per package. Stanzas inside that directory are restricted to the package; stanzas outside cannot attach to it. Merged in #12614, fixes #3255.
  • OxCaml parameterized libraries: Open #12561 adds instantiation of parameterized libraries via (my_lib arg1 arg2 :as new_name) in library and executable dependencies. Requires OxCaml compiler support; not yet merged.
  • Dune pkg lock output: Open #12620 changes dune pkg lock output for portable lockdirs to group packages by platform, separating common dependencies from platform-specific ones. Addresses confusion in #11868.

Compatibility and Releases

  • Dune 3.21.0: Release tracker #12619 opened 2025-10-23; cutting planned for October 27. #12608 bumps the dune language version in preparation.

Fixes

  • Dune self-pinning: Merged #12583 makes dune pkg lock pin the running dune version, preventing selection of packages requiring a newer dune language version. Fixes #12381.
  • dune init absolute paths: Merged #12601 fixes a crash when dune init project is given an absolute directory path. Fixes #7806.
  • include_subdirs qualified resolution: Merged #12607 corrects module resolution so the nearest same-named module wins under include_subdirs qualified, matching bootstrap behaviour.
  • Merlin multi-executable config: Open #12621 fixes dune ocaml-merlin returning the wrong .eobjs directory when multiple executables share a folder. Fixes #12611.

ocaml/merlin

Permalink

Merlin (issue #1980): ocamlmerlin single locate -look-for implementation returns the declaration position instead of the implementation for values inside recursive modules. Open, reported by trefis.

Merlin (issue #1977): ocamlmerlin single complete-prefix returns no entries for inlined record fields in sum-type constructors (e.g. Constr of { some_lbl: int }). Works when the record type is named separately. Open, reported by trefis.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1567, merged 2025-10-23): adds a for_nested_bindings option (default false) to CodeLens settings, letting users opt in to lenses on internal let-bindings. Resolves #1561.

  • ocaml-lsp (PR #1564, open): proposes autocompletion for labelled arguments on variants and records. Excludes primitives like int and bool. Awaiting review.

Fixes

  • ocaml-lsp (PR #1565, merged 2025-10-23): replaces Unix.time with Unix.gettimeofday in view-metrics, so the dur field reports sub-second request durations instead of always showing 0.

  • ocaml-lsp (issue #1560, open): textDocument/documentSymbol fails in v1.23.0 with "selectionRange must be contained in fullRange" on some modules. Regression from v1.22.0; suspected link to PR #1529. No fix merged yet.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind Windows builds: Open PR by dra27 fixing build failures with OCaml 5.0+ on Cygwin and MSYS2. Addresses findlib.conf misgeneration and an incorrect META.pkg check in ocamlfind install. #112

Compatibility and Releases

  • ocamlfind OCAMLPATH ordering: Open proposal by kit-ty-kate to place site-lib before the OCaml stdlib in the default OCAMLPATH. A comment from dra27 notes the opam site-lib should not override compiler META files. #106

ocaml/odoc

Permalink

Fixes

  • odoc: Open issue reports that long lines in code blocks force horizontal scrolling of the entire page; suggests enabling text wrapping or a sub-scrollbar. #1389

ocaml/opam

Permalink

Features

  • opam 2.5.0~alpha1: opam update now loads only changed opam files incrementally, reducing repository update time. This is the headline performance change in the release. (release)
  • opam 2.5.0~alpha1: shell hooks write to .bashrc instead of .profile for bash; csh no longer double-sets variables. The installer now applies an AppArmor profile where configured. (release)
  • opam repo show (PR #6720): proposes opam repo show <reponame> to display a repository's URL and rank. Supports --all for all switches. (PR)

Fixes

  • opam 2.5.0~alpha1: fixes opam remove --force executing in the wrong directory and opam install --depext-only returning exit code 0 instead of 20. (release)
  • opam 2.5.0~alpha1: a minor regression from incremental loading preserves syntactic version differences (e.g. 00 vs 0) across opam update. (issue #6754)

Compatibility and Releases

  • opam 2.5.0~alpha1: first alpha of the 2.5 series; breaking API changes include removed OpamSwitchState.files and changed OpamRepository.update return type. See the changelog. (release)
  • opam cmdliner vendoring (PRs #6755, #6756, #6757): proposes vendoring cmdliner 1.3.0 as OpamCmdliner to decouple from cmdliner 2.0.0. Backports target the 2.4 and 2.5 branches. (#6755, #6756, #6757)
  • opam 2.5.0~alpha1: ./configure --enable-static produces a fully static binary on OpenBSD (LLVM-based architectures). The release archive is now reproducible. (release)

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: Open PR proposing Oxcaml as a backend. Updated 2025-10-24; no merged changes yet. #2105

  • js_of_ocaml – Runtime value access: Open PR to let users directly access values exported in the JS runtime, addressing LexiFi/gen_js_api#177. Currently works only with whole-program compilation. #2086

  • js_of_ocaml – Wasm eval access: Open PR exposing the JavaScript eval function to the Wasm runtime. Updated 2025-10-21; not yet merged. #2108

Compatibility and Releases

  • js_of_ocaml – OCaml 5.4 CI: Merged 2025-10-20. CI now runs the test suite against OCaml 5.4. #2103

  • js_of_ocaml – Extended 5.4 test coverage: Merged 2025-10-21. Expands the set of tests executed under OCaml 5.4 in CI. #2115

Developer Experience

  • js_of_ocaml – ppx_optcomp_light: Open PR refining the ppx_optcomp_light compiler plugin. Review comments discuss matching on signatures rather than individual items. #2117

  • js_of_ocaml – Exit-code propagation: Open PR propagating the return code of main so exit picks it up, replacing scattered exit calls in error branches. #2118

2 repositories · no changes