Thicket thicket
ocaml
REPOS 9

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

W45.2025 · 3–9 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune pkg autolocking: open PR adds automatic dependency locking when (pkg enabled) is set in dune-workspace, eliminating the need to run dune pkg lock before building. (#12653)
  • Dune parameterized libraries: open PR adds instantiation of parameterized libraries in dependencies via (my_lib arg1 arg2 :as new_name) syntax. Requires OxCaml compiler support. (#12561)
  • Dune runtest: open PR adds dune runtest src/of/test.ml to run individual (tests) and (inline_tests) targets by source file path. (#12689)
  • Dune promotion show: open PR adds dune promotion show to display corrected file contents for failed diff rules without modifying source files. (#12669)

Fixes

  • Dune build lock warning: open PR emits a warning with the holding process PID when dune build waits on a stale _build/.lock, replacing silent indefinite blocking. (#12687)
  • Dune pkg lock dir rename: merged fix falls back to copy when renaming the lock directory, resolving cross-device link errors in Docker bind-mount environments. (#12649)

Compatibility and Releases

  • Dune portable lockdirs: open PR enables portable lock directories by default; non-portable lockdirs remain supported and are auto-detected. Closes #12694 and #11476. (#12680)
  • Dune Emacs integration: open PR adds dune-find-dominating to dune.el, jumping to the nearest dune file with xref-go-back support. (#12696)

ocaml/merlin

Permalink

Features

  • Merlin (lazy indexing): Merged PR makes buffer indexing conditional on query type, yielding a ~25% speedup in ocamlmerlin single errors. (#1991)
  • Merlin (short paths): Merged PR makes short-path resolution lazier, ported from oxcaml Merlin. (#1988)

Fixes

  • Merlin (locate): Open issue reports merlinCallCompatible/locate failing when the cursor is on a multi-line type definition. (#1987)

Compatibility and Releases

  • Merlin (menhir): Merged PR adds --lalr to menhir invocations, enabling more optimal parser code generation. (#1989)
  • Merlin (index cache): Merged PR replaces the stamped hashtbl with a sharing-based cache, simplifying integration with the typer cache. (#1990)

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp: Merged PR adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files. (#1528)
  • ocaml-lsp protocol: Proposal to add an optional identifier-prefix parameter to the definition/declaration request, enabling refined xref in Emacs without tunneling. (#1570)

Compatibility and Releases

  • ocaml-lsp: Open PR implements a fallback to .merlin files when no dune-project is present, addressing project detection in non-Dune layouts. (#1563)

Fixes

  • ocaml-lsp 1.23.1: Opam build fails on Lubuntu 25.10 with OCaml 5.3.0; dune build -p ocaml-lsp-server @install exits non-zero. (#1571)
  • ocaml-lsp: Spurious Unbound module diagnostics persist after fixing a type error in a Dune-watch-mode file; restarting the LSP server clears them. Issue updated 2025-11-08. (#1209)

ocaml/odoc

Permalink

Features

  • odoc (issue #1389): Long lines in code blocks expand the main content area beyond the viewport; a referenced commit enables wrapping, but a sub-scrollbar is considered preferable. Discussion ongoing as of 2025-11-05.

Compatibility and Releases

  • odoc (issue #1386): Navigating between sibling modules requires multiple clicks. A comment notes odoc 3's global navigation tree view addresses this, but dune build @doc rules must be updated to use it.

ocaml/opam

Permalink

Features

opam 2.5: adds OCaml 5.5 compiler support to the build and test matrix. Merged to main and backported to the 2.5 branch. (#6670, #6786)

opam documentation: two open PRs add instructions for creating a switch with compiler configure-time options and explain the default-compiler selection during opam init. (#6777, #6778)

Compatibility and Releases

opam-core API: cmdliner 1.3.0 is now vendored as OpamCmdliner; the module is wrapped, so downstream library consumers must update their references. Merged to main and 2.5. (#6755, #6756)

opam 2.5.0~beta1: release PR is open and pending the OCaml 5.5 backport and dry-run directory fix. Not yet published. (#6787)

Fixes

opam update: skips removing a version-equivalent package (e.g. 0 vs 00) when a repository rename is detected, preventing a spurious "No package found" error. Merged to main and 2.5. (#6774, #6784)

opam macOS sandbox: permits writes to /var/folders/ and /var/db/mds/, resolving security find-certificate failures during package builds. Merged to main and 2.5. (#4797, #6775)

opam release tarball: corrects the placement of vendored source archives under src_ext/archives/ so the -full tarball builds without network access. Merged to main and 2.5. (#6765, #6766)

opam installer: checks for AppArmor ABI 4.0 before installing a profile, avoiding a parse error on Debian systems that ship only ABI 3.0. Merged. (#6764)

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml ppx: Merged fix for false unused-var-strict warnings on self in object%js when a method does not reference it. (#2128, #2125)
  • Js_of_ocaml ppx: Merged ppx_js clean-up that restores labelled-argument calls on Js.meth methods broken in 6.2.0. (#2120, #2126)
  • Js_of_ocaml 6.2.0: Open bug: dev-profile builds with --target-env browser emit a require("node:util") reference in generated JavaScript. (#2127)

Features

  • Js_of_ocaml Wasm: Open PR adds string-conversion and ArrayBuffer copy optimizations for the Wasm backend. (#2124)
  • Js_of_ocaml Wasm: Open PR implements OCaml effects via the Wasm Stack Switching proposal, requiring Binaryen dev or v124. (#1832)
  • Js_of_ocaml Wasm: Open PR adds a WASI runtime; wasm_of_ocaml --enable wasi produces Wasm runnable by wasmtime or the Wizard engine. (#1831)
  • Js_of_ocaml ppx: Merged ppx_optcomp_light improvements that emit a floating attribute for filtered-out items. (#2117)
  • Js_of_ocaml: Open PR adds Oxcaml support to the compiler. (#2105)
3 repositories · no changes