Thicket thicket
ocaml
REPOS 9

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

W52.2025 · 22–28 Dec

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune runtest: dune runtest now accepts (tests) and (inline_tests) sources, not just cram test files. Fixes #870. (#13064)
  • Cram shell field: The (cram) stanza gains a shell field to select bash instead of the default sh. (#13083)
  • Dune trace: New dune trace subcommand reads the trace file; structured log events are folded into the trace and produced by default, replacing _build/log. (#13055, #13015)
  • Cram command timing: Open PR adds per-command trace events for bash-executed cram tests to identify slow steps. (#13092)

Fixes

  • Dune install --prefix: Relative paths that escape the workspace (e.g. --prefix ../bar) are now resolved correctly instead of being rejected. Fixes #12241. (#12993)
  • Dev tool compiler pins: Compiler pins from dune-workspace now propagate to the dev-tool solver, so dune tools install respects pinned compiler branches. Fixes #12868. (#13033)

Compatibility and Releases

  • Dune 3.22: The lang dune version on main is bumped to 3.22. New features above require this version. (#13082)
  • macOS copyfile: Portable copyfile is restored for older macOS (≤ 10.6.8) where the native API is unavailable. Fixes #12576. (#13069)

ocaml/merlin

Permalink

Compatibility and Releases

  • Merlin (issue #2019): ocamlmerlin single type-enclosing emits standard OCaml type syntax rather than Reason syntax on OCaml ≥ 5.3 (merlin v5.3-502, v5.4-503). Open issue reported by anmonteiro.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp (PR #1579): proposes correcting -short-paths handling so merlin receives the right path configuration. The default real_paths must be true to prevent OCaml flags from overwriting the setting. Open, not yet merged. Author: SkySkimmer.

Compatibility and Releases

  • ocaml-lsp (issue #1578): reports a version conflict where ocamlformat-mlx requires OCaml < 5.4 while ocaml-lsp-server requires OCaml >= 5.4. Closed 2025-12-24; no resolution recorded in the data.

ocaml/opam

Permalink

Fixes

opam (PR #6839, merged 2025-12-22): Fixes a Windows lock-acquisition failure during switch and repo format upgrades. The fix reuses the existing system lock instead of creating a second one. PR

opam ≥ 2.2 (issue #6693, open): Source-file timestamps are lost when opam copies extracted sources into the build directory, causing make to regenerate configure scripts and requiring automake as an undeclared dependency. Issue

Features

opam nushell support (PR #6330, WIP): Adds opam env output usable in nushell via load-env (opam env | from json). Does not yet cover opam init --shell=nu or other subcommands. PR

opam sources directory (PR #6440, WIP): Restricts the .opam-switch/sources directory to dev packages only, saving disk space and reducing redundant extraction. Also targets the timestamp regression in #6693. PR

opam repos-config syntax (PR #6393, open): Replaces the list-based repos-config format with per-repository sections using labeled fields (url, fingerprints, quorum). Requires a hard upgrade of the opam root; no best-effort read of the old format. PR

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (Wasm): PR #1832 (open, updated 2025-12-24) adds Stack Switching support via wasm_of_ocaml --enable wasi, requiring a development Binaryen build. Output runs under Wizard with -ext:stack-switching.

Fixes

  • js_of_ocaml 6.2.0: Issue #2139 (open) reports the JS parser rejects arrow functions in for-loop variable definitions, e.g. for (var t=()=>1; false; undefined). Valid in Node.js; no fix yet.
4 repositories · no changes