Thicket thicket
ocaml
REPOS 9

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

W07.2026 · 9–15 Feb

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.22 (melange): Melange build rules are now sandboxed by default. Merged 2026-02-14. (#13619)
  • Dune 3.22 (test stanzas): All test stanza variants are sandboxed, not only expect tests. Merged 2026-02-12. (#13617)
  • Dune (odoc): Generates and installs odoc-config.sexp files for multi-package documentation builds. Merged 2026-02-10. (#13476)
  • Dune (CLI): dune describe workspace gains a --no-recursive flag. Merged 2026-02-09. (#13590)
  • Dune (JSoO): Open proposals for incremental builds: on-demand archive rule generation, per-.cmo compilation to JavaScript, and shared standalone runtimes across executables. (#13611, #13612, #13621)

Fixes

  • Dune (install): dune build @install -p pkg no longer fails when cram tests are present in the target directory. Merged 2026-02-14. (#13581)
  • Dune (memo): Resolves a deadlock when dependency-cycle nodes are encountered during rule evaluation. Merged 2026-02-14. (#13625)

Compatibility and Releases

  • Dune 3.21.1: Released 2026-02-11. Fixes NetBSD/OpenBSD builds via ocaml-lmdb update, corrects melange.emit package masking with -p, and stops the RPC server on dune promote. (release)

ocaml/ocaml-lsp

Permalink

Features

ocaml-lsp: Merged PR #1581 adds OCAMLLSP_PROJECT_BUILD_SYSTEM, OCAMLLSP_PROJECT_ROOT, and OCAMLLSP_PROJECT_ROOT_MARKERS environment variables for pointing at an arbitrary merlin configuration server. Falls back to existing .merlin / dune ocaml-merlin behaviour when unset.

Compatibility and Releases

ocaml-lsp: Issue #857 requesting web-worker support was closed on 2026-02-11. No comments record the resolution.

ocaml/ocamlfind

Permalink

Features

  • ocamlfind issue #44: Closed 2026-02-11. Requested more flexible Fl_dynload API for build-time plugin path resolution under Dune; the supplied data contains no comments explaining the closure outcome. Link

ocaml/odoc

Permalink

Fixes

  • odoc PR #1400: open fix for issue #930, updated 2026-02-09; no comments or merge recorded in the interval, so the specific in-interval change is not established. PR

ocaml/opam

Permalink

Features

  • opam shell hook (PR #6859, open): The env hook registered by opam init will update the switch bin directory in place in PATH rather than prepending it, preserving the switch's relative precedence among other directories. Does not affect eval $(opam env). Fixes #6815. (#6859)

  • opam update depexts check (PR #6489, open): Runs a depexts status check during opam update so stale system-dependency state is detected without a separate command. Active review in progress; fixes #6461 and #4172. (#6489)

  • opam update speedup (PR #6283, open, WIP): Subsequent empty opam update calls drop from ~3.5 s to ~0.4 s (8×) by caching repository metadata. Still marked work-in-progress; not yet mergeable. (#6283)

Fixes

  • opam switch link (issue #6857, open): Running opam switch link on an already-existing _opam switch silently corrupts it with no error message. A maintainer notes the symptom matches #6449, fixed in opam 2.4.0; the reporter's version is unconfirmed. (#6857)

Compatibility and Releases

  • opam README (PR #6858, merged 2026-02-13): Corrects the ./configure instruction to mention --with-vendored-deps when OCaml dependencies are not pre-installed. (#6858)

ocsigen/js_of_ocaml

Permalink

Features

  • Js_of_ocaml variable coalescing: open PR merging variables with disjoint lifespans in generated JavaScript. Reduces V8 register count by 74–91% and gzip size by 10–16% on benchmarks. (#2166)
  • Js_of_ocaml onbeforeunload fix: open PR correcting Dom.handler so a handler returning Js._true no longer triggers the browser "Leave page?" confirmation dialog. (#2159)
  • Js_of_ocaml WASI runtime: open PR adding wasm_of_ocaml --enable wasi to produce WASI binaries executable under wasmtime or the Wizard engine. (#1831)
  • Js_of_ocaml compiler subst speedup: open PR targeting build-time reduction in the compiler's substitution pass. (#2185)
  • Js_of_ocaml block sharing: open PR preserving sharing of OCaml blocks in generated code to avoid unnecessary duplication. (#2184)
  • Js_of_ocaml bigstring optimizations: open PR adding word-at-a-time memcmp, memchr, and strncmp implementations for the Wasm backend. (#2144)

Compatibility and Releases

  • Js_of_ocaml 6.3.2: fixes installation of shell completion files. Released 2026-02-15. (release)
  • Js_of_ocaml 6.3.1: fixes completion file installation in monorepo (dune workspace) builds, working around dune bugs. Released 2026-02-13. (release)
3 repositories · no changes