Thicket thicket
ocaml
REPOS 9

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

W49.2025 · 1–7 Dec

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.21: allows dune variables such as %{workspace_root} in (promote (into ...)) paths. Previously these were rejected with "Atom or quoted string expected." (#12832)
  • Dune (proposal): a new (files) stanza would let users exclude build artifacts from source-tree scanning, easing compiler development with Dune. (#12879)
  • Dune: dune init proj now adds (libraries <project>) to the generated test stanza so tests compile against the library by default. (#12791)

Compatibility and Releases

  • Dune pkg (proposal): unifies all caches under DUNE_CACHE_ROOT, changing the default location of git-repo, toolchain, and rev-store caches. Breaking for existing setups. (#12858)
  • Dune 3.21.0~alpha0: alpha release tagged 2025-12-05. (release)

Fixes

  • Dune pkg: memoizing per-context values cuts dune build time from ~5.4 s to ~1.1 s on a representative project. (#12848)
  • Dune pkg: dune build @fmt now finds ocamlformat installed via dune tools install by checking the existing dev-tool lock directory. (#12847)
  • Dune pkg: packages built with the substitute action no longer rebuild after unrelated environment variable changes. (#12825)
  • Dune: non-ASCII characters in (lang dune ...) or (using ...) version strings now produce a precise single-caret error instead of a greedy or generic message. (#12844, #12869)

ocaml/merlin

Permalink

Fixes

  • Merlin: merged fix for Mocaml.with_printer not updating replacement_printer_doc, correcting mixed OCaml/Reason type rendering in ocaml-lsp hover. (#2010)
  • Merlin: issue #1910 closed; "Jump to definition" failure for ppx_deriving-generated functions is a ppx_deriving.create bug, not a Merlin defect. Fix tracked in #297. (#1910)

Features

  • Merlin: open PR proposes restricting signature-help to function parameters only, suppressing the response when the cursor is on the function name. (#1997)
  • Merlin: open draft PR proposes triggering signature-help on unfinished let ... in bindings. (#2009)

Compatibility and Releases

  • Merlin: open PR patches ocamlmerlin.c for BSD sockaddr_un size computation and Windows error reporting via GetLastError. (#1998)
  • Merlin: ocamlformat update to 0.28.1 closed without merge; a formatting bug in that version blocks adoption until 0.28.2. (#2011)

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp-server 1.23.1: opam installation fails on Lubuntu 25.10 and Debian Trixie (opam 2.3.0, OCaml 5.3.0) due to missing camlp-streams and unbound Stream module. A comment notes the build succeeds with opam 2.5.0 and ocaml-base-compiler.5.4.0 from upstream. Issue remains open. (#1571)

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind PR #112: Open PR (updated 2025-12-01) addressing Windows build failures with OCaml 5.0+ on Cygwin and MSYS2, including findlib.conf path escaping and an ocamlfind install META.pkg check. (#112, by dra27)

ocaml/odoc

Permalink

Fixes

  • odoc: Open issue reports that modules produced by functor applications omit documentation comments present in the functor body. Affects odoc compile and odoc html-generate output. #1394

ocaml/opam

Permalink

Fixes

  • opam (PR #6823, merged): The install script skips installing a local AppArmor profile when BINDIR=/usr/bin, avoiding a conflict with the distribution's built-in opam profile. Fixes sandboxing failures on Neon. Link
  • opam (PR #6818, merged): opam show reduces redundant I/O when multiple package versions exist, yielding a 4–21% speedup on ocaml-benchmarks. Merged by @rjbou. Link
  • opam (PR #6829, open): A fix for confirmation prompts in dumb terminals (e.g. Emacs M-x shell) reads full lines instead of using termio non-canonical mode. PR #6830 proposes a broader simplification of the input method. Link

Features

  • opam (PR #6812, open): opam env would set XDG_DATA_DIRS and FPATH so that bash-completion and zsh completion scripts from installed packages are discovered automatically. Link
  • opam (PR #6625, WIP): A draft restructures HTTP repository handling to read the downloaded tar.gz in place rather than extracting it, targeting a major reduction in opam update and opam init time. Link
  • opam (PR #6826, open): The builtin-0install solver would order root and pinned packages first to reduce unnecessary downgrades during opam upgrade. A breadth-first search variant of 0install-solver is under discussion. Link

Compatibility and Releases

  • opam (issue #6825, closed): The change in extra-files permissions (no longer executable by default) is confirmed as intended since opam 2.4.0. The long-term plan is to replace extra-files with extra-sources in opam 3.0. Link
  • opam (PR #6827, open): Splits the deprecated url and descr file-format code into separate legacy submodules, a prerequisite for requiring a manual format upgrade to read those files. Link

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml runtime: Merged PR #2086 adds direct access to values exported in the runtime, addressing LexiFi/gen_js_api#177.
  • js_of_ocaml runtime: Merged PR #2132 applies various runtime improvements in preparation for Deno support.
  • js_of_ocaml Wasm: Open PR #2108 proposes exposing the JavaScript eval function in the Wasm runtime.
  • js_of_ocaml stdlib: Open PR #2070 adds Intl.RelativeTimeFormat bindings per the ECMA-402 specification.

Compatibility and Releases

  • js_of_ocaml number type: Issue #2136 reports that the new number type (from #1650) breaks compilation of existing code. The reporter asks for migration guidance or a switch to retain old behaviour.
  • js_of_ocaml build: Open PR #2134 adds a dependency on conf-binaryen. Comments note the dependency and its version constraint require documentation.
  • js_of_ocaml shapes: PR #2047 for Shapes with Dune support was closed on 2025-12-04 without merge.
2 repositories · no changes