Thicket thicket
ocaml
REPOS 9

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

W47.2025 · 17–23 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune parameterized libraries: Merged support for instantiating parameterized libraries in (libraries ...) dependencies, requiring the OxCaml compiler. The syntax (mylib arg1 arg2 :as newname) binds a parameterized library to concrete implementations. #12561

Dune promotion show: Open PR adding dune promotion show, which prints corrected file contents for failed diff rules without modifying sources. Addresses a long-standing request for inspecting promotions before accepting them. #12669

Dune warning defaults: Open PR that stops Dune from overriding the compiler's default warning set starting at dune lang 3.21. A new %{dune-warnings} variable provides the previous Dune-specific set for opt-in use. #12766

Dune concurrent builds: Closed proposal to remove the global build mutex so RPC requests (e.g. from an LSP) execute without waiting for a watch-mode build. Not merged; the team judged the current state insufficient for standalone value. #12730

Fixes

Dune pkg build time: Merged memoization of lock-directory reads, reducing dune build time by roughly 28% on a large project (4.8 s → 3.5 s in the reported benchmark). #12758

Dune pkg unzip error: Merged a clearer error when unzip is absent and bsdtar/tar cannot extract a ZIP archive, naming the missing tool explicitly. #12683

Compatibility and Releases

Dune 3.21 release: The release tracker lists feature-gating readonly permissions on promoted files as a blocker; the change is a breaking change that must be gated behind a dune lang version. #12746

Dune dev-tool lock dirs: Open PR moving dev-tool lock directories from the source tree into a hidden _build subdirectory, eliminating the need to commit or ignore them in git. #12671

ocaml/merlin

Permalink

Fixes

  • Merlin #1118: Closed after #1996 confirmed the crash on let a : type b. 'a as b list = [] no longer reproduces. Incoherent hover errors may still appear in that case.
  • Merlin C server (PR #1998): Proposes correcting sockaddr_un size computation for BSD systems and replacing perror with GetLastError/FormatMessage for WinAPI calls in ocamlmerlin.c. Open, not yet merged.

Features

  • Merlin compiler integration (issue #1999): Tracking issue for adopting OCaml 5.4 module-path occurrence APIs and 5.5 functor-body renaming support. No implementation merged yet.
  • Merlin signature help (PR #1997): Proposes suppressing signature-help responses on function names so the popup appears only on parameters. Open, not yet merged.

Compatibility and Releases

  • Merlin CI (issue #2006): Fails on OCaml 5.4.0 because the irmin 3.10.0 lockfile pins ppxlib 0.35.0, which lacks 5.4 support. Resolution awaits ppx_repr compatibility with ppxlib ≥ 0.36.0.
  • Merlin v4.7-413 (issue #1993): Fails to build on Ubuntu 25.04 with OCaml 4.13.1 because the dune file references the removed seq library. A manual patch removing the dependency is required.
  • Merlin #2000: Hovering over let a : type b. 'a as b list = [] shows a nonsensical type error instead of a syntax error. #2003 adds a reproduction test.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: Issue #1209 (open, updated 2025-11-18) reports spurious Unbound module diagnostics persisting in a dependent file after the source error is corrected. The maintainer attributes the cause to a watch-mode bug; restarting the LSP clears the stale diagnostic.

ocaml/ocamlfind

Permalink

ocamlfind: open issue reports that ocamlfind query -i-format emits unquoted -I paths, breaking shell parsing when the library directory contains spaces. #114 (opened by kit-ty-kate, 2025-11-23; no resolution yet).

ocaml/odoc

Permalink

Features

  • odoc HTML backend: merged PR adds persistent KaTeX macros. \gdef-defined macros now persist across subsequent math blocks; \def retains local scoping. (#1391, by dlesbre)

Compatibility and Releases

  • odoc build: open PR removes obsolete symlinks to ease compilation with dune pkg. A comment notes odoc.mld also requires renaming to index.mld. (#1392, by Sudha247)

ocaml/opam

Permalink

Releases

opam 2.5.0~rc1: First release candidate; no significant changes compared to 2.5.0~beta1. Binaries and archive are signed by the opam dev team. Release notes · #6800

Features

opam update (WIP): Draft PR uses the downloaded repository tar.gz in place via ocaml-tar, eliminating the untar-and-rescan cycle. Targets Windows and network-filesystem performance. #6625

opam cache versioning: Open issue proposes decoupling internal repository and switch-state caches from the opam version string so caches invalidate only on structural changes. #6799

Fixes

opam install.sh: Fixes the AppArmor profile replacement option, replaces mv+chmod+chown with install, and cleans up the temporary profile file. Merged by rjbou. #6760

opam Makefile: Adds .SHELLFLAGS := -euo pipefail to all Makefiles so inline shell commands fail fast on errors and broken pipes. Merged by kit-ty-kate and dra27. #6751

opam doc generation: Open PR restricts man2html to actual man pages, preventing empty files and error spam in the /doc/man output directory. #6807

Compatibility

opam MSYS2 build: shell/build-putenv.ml raises Invalid_argument "index out of bounds" when building opam-devel.2.5.0~rc1 on MSYS2/Win32. Open, labelled portability and build. #6803

opam CI (GHA): Merged change triggers main workflows on modifications to the shell/ directory, enabling shellcheck hygiene tests for install.sh. #6767

3 repositories · no changes