Thicket thicket
ocaml
REPOS 9

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

W14.2025 · 31 Mar – 6 Apr

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.18.0: adds the (format-dune-file <src> <dst>) action, a replacement for the dune format-dune-file command that uses the current project's Dune version. (#11166)
  • Dune 3.18.0: allows arguments starting with + in preprocessing definitions; requires (lang dune 3.18). (#11234)
  • Dune 3.18.0: supports not in package dependency constraints in dune-project. (#11404)
  • Dune 3.18.0: allows the --prefix flag in ocaml configure.ml, matching dune install --prefix. (#11172)
  • Dune 3.18.0: permits a dash in dune init project names. (#11402)

Fixes

  • Dune 3.18.0: corrects flag ordering in generated Merlin configurations, fixing editor integration for affected projects. (#11503)
  • Dune 3.18.0: avoids calling execve on HaikuOS, where it is disallowed once other pthreads exist. (#10953)

Compatibility and Releases

  • Dune 3.18.0: released 2025-04-03; also published as 3.18.0~alpha0 on 2025-03-31. Root discovery now warns instead of aborting on read failures. (Release)

ocaml/merlin

Permalink

Features

  • Merlin (PR #1920): introduces typer interruption, allowing the server to cancel in-progress type-checking. Opened 2025-04-02; not yet merged.

  • Merlin (issue #1921): requests that type-enclosing on a module include doc comments for its values, not just the bare signature. Open feature request.

Compatibility and Releases

  • Merlin (issue #1918): reports that type aliases cause short-path display to show the alias name rather than the base type. Closed 2025-04-02 as not actionable; a major rewrite of the short-paths feature is in progress.

Fixes

  • Merlin (PR #1917): improves go-to-definition for custom operators (:=, custom indexing) by adjusting how the lexer and driver reconstruct identifiers. Open; addresses issue #1915.

  • Merlin (PR #1916): adds reproducing tests for the go-to-definition failure on := and custom indexing operators. Opened 2025-03-31; not yet merged.

ocaml/ocaml-lsp

Permalink

ocaml-lsp (issue #1187): Jump-to-definition fails when multiple source files share the same name (e.g. set.ml in core, base, and the OCaml standard library). The issue was updated during this interval; a user reported the same error with Emacs. Link

ocaml-lsp (discussion #1512): opam install ocaml-lsp-server fails during topkg compilation with No_such_package ("findlib", ""). The discussion was active during this interval; no resolution is recorded. Link

ocaml/ocamlfind

Permalink

Features

  • ocamlfind PR #106: proposes reordering the default OCAMLPATH so that site-lib precedes the OCaml stdlib directory. Opened by kit-ty-kate on 2025-04-05, referencing a proposal by a2line in #27712. Still open; not merged. (PR)

ocaml/odoc

Permalink

Fixes

  • odoc (PR #1338, opened): proposes replacing the dune format-dune-file shell invocation in tests with the built-in (format-dune-file) action (Dune ≥ 3.18), which honours the project's Dune lang version and avoids breakage from CLI formatting changes. Labeled "no changelog"; not yet merged as of the reporting interval. #1338

ocaml/opam

Permalink

Features

  • opam (proposal): #6457 proposes removing build directories after each successful install rather than at command end, reducing disk pressure on tmpfs and Windows. Opened by kit-ty-kate; still open.

  • opam (proposal): #6462 requests that the shell-rc snippet honour OPAMROOT instead of hard-coding ~/.opam, aligning with the documented root override. Opened by avidseeker; still open.

Fixes

  • opam (bug): #6456 reports that variables.sh ignores x-env-path-rewrite, producing colon-separated paths that break zsh on Cygwin. Opened by kit-ty-kate; still open.

  • opam (bug): #6460 reports recurring ar: couldn't create cache file errors under the macOS sandbox when building Jane Street packages on OCaml 5.3.0. Opened by anta40; still open.

Compatibility and Releases

  • opam (test): #6450 adds a reftest for opam switch link to guard against a prior regression. Opened by kit-ty-kate; merged 2025-07-31 (outside this interval).

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml wasmoo: Issue #1779 requesting more efficient continuation resumption was closed on 2025-04-03. No comments record whether the request was implemented or deferred.

  • js_of_ocaml wasmoo: PR #1910 (opened 2025-03-31, still open) experiments with implementing exceptions by returning null instead of using wasm exception instructions. Comments note microbenchmark impact but full benchmark data is pending a separate PR.

2 repositories · no changes