Thicket thicket
ocaml
REPOS 9

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

W29.2025 · 14–20 Jul

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune --alias / --alias-rec: New options to dune build provide an alternative to the @-prefixed alias syntax, avoiding PowerShell's @ array-operator conflict on Windows. Closes #5775, resolved via #12043.

Dune (mode cache) proposal: #12044 requests a build mode that keeps targets in the source tree across dune clean, combining fallback and promote semantics for downloaded or generated files.

Dune coq.theory conditional compilation: #12054 proposes adding (optional) and (enabled_if …) fields to the coq.theory stanza, matching the OCaml library stanza behaviour for optional Coq/Rocq dependencies.

Fixes

Dune package management submodules: #11606 closed 2025-07-20. Pinned git packages with submodules were not recursively initialised, causing copy_files failures; the issue is resolved.

Dune dune.exe PATH lookup: #12040 reported that %{bin:dune} failed when the running binary was _boot/dune.exe outside PATH. Closed 2025-07-18 as a duplicate of #10019.

Compatibility and Releases

Dune package management / z3: #10970 remains open. ocamlfind reports a destdir that does not exist after Dune relocates build artifacts, breaking the z3 build under dune pkg lock.

Dune dune describe: #12030 notes that dune describe omits targets defined by test stanzas, limiting its use for build introspection.

Dune git error messages: #10393 updated 2025-07-17 with a reference to #12024 as a first step toward clearer diagnostics when git is absent.

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #1948): adds a refactoring-extract-region protocol command that extracts a selected expression into a fresh let binding. Still open and under active review; not yet merged.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (draft PR #1546): Replaces the broken extract code action with a proper implementation inside Merlin, corresponding to ocaml/merlin#1948. Still open as a draft; not yet merged.
  • ocaml-lsp (draft PR #1545): Adds a custom query for the extract refactor, corresponding to ocaml/merlin#1948. Still open as a draft; not yet merged.

ocaml/odoc

Permalink

Features

  • odoc 3.1.0: adds OCaml 5.4.0 support. (#1355)
  • odoc 3.1.0: adds --shorten-beyond-depth and --remove-functor-arg-link arguments to the LaTeX generator. (#1337)
  • odoc 3.1.0: introduces an experimental Markdown generator. (#1341)
  • odoc 3.1.0: exposes sherlodoc libraries for use in other projects. (#1349)

Fixes

  • odoc 3.1.0: prevents generation of links to hidden pages, a partial fix for broken cross-package links. (#1370, #1369)

Compatibility and Releases

  • odoc 3.1.0: released 2025-07-15. (release notes)
  • odoc 3.1.0: drops support for OCaml versions below 4.08. Breaking change for older toolchains. (#1300)
  • odoc 3.1.0: removes the cmdliner compatibility layer, no longer needed. (#1328)

ocaml/opam

Permalink

Releases

  • opam 2.4.0: Final release published 2025-07-18. Binaries signed by the opam dev team; see the changelog and blog post for the full change list. (release)

Features

  • opam – Bash environment setup: PR #6603 (open) writes the opam environment incantation to ~/.bashrc instead of ~/.profile, avoiding sourcing loops and duplicate environment variables. Fixes #5819, #4201, #3990.

  • opam – POSIX sh detection: PR #6604 (open) disables bash-specific scripts when the detected shell is POSIX sh, preventing syntax errors on minimal systems. Fixes #2899.

Fixes

  • opam 2.4.0 – opam pin list: Fixes a regression where the command crashed when the source directory of a pinned package did not exist. Merged to the 2.4 branch in #6598; the main-branch fix is still open in #6597.

  • opam – simulated pins: PR #6611 (open) corrects opam ignoring depends fields on pinned packages during opam install --dry-run simulations. A backport to 2.4 is open in #6612.

  • opam – opam install <local>: Issue #6601 (open) reports that declining a local install still writes the pin to disk, leaving a stale pin with no fetched source.

Compatibility

  • opam install scripts: PR #6607 (merged 2025-07-18) adds opam 2.4.0 as a selectable version in the official install scripts.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: fs_fake gains a rename implementation (#2080, opened by jonludlam, not yet merged).

Compatibility and Releases

  • js_of_ocaml 6.0.1: caml_string_of_array was replaced by caml_string_of_uint8_array; Brr required a corresponding update (#2081, closed without merge). The fix was applied in Brr rather than restoring the old symbol.
3 repositories · no changes