Thicket thicket
ocaml
REPOS 9

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

W42.2025 · 13–19 Oct

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • dune pkg search: new dune pkg search <query> command lists matching packages from configured repositories, showing the highest non-avoid-version version and synopsis. Merged in #12547.

  • Parameterized libraries (OxCaml): PR #12561 (open) adds instantiation of parameterized libraries via (my_lib arg1 arg2 :as new_name) in dependencies. Requires OxCaml compiler support; not yet available in upstream OCaml.

  • dune describe tests: PR #12545 (open) adds a subcommand printing name, source dir, package, enabled status, and build target for each test and cram stanza.

  • Cram setup_scripts: issue #12570 (open) proposes a (setup_scripts foo.sh bar.sh) field in the cram stanza to auto-source helper scripts in every test in a directory.

Fixes

  • dune tools install: dune tools install <pkg> now works without setting DUNE_CONFIG__LOCK_DEV_TOOL=enabled. Merged in #12575; fixes #12574.

  • Merlin config for parameterized libraries: the -parameter flag and parameter .cmi paths are now included in the generated .merlin file. Merged in #12550; fixes #12546.

  • dune lang version bump: changing the (lang dune ...) version in dune-project no longer triggers a full compiler rebuild. Merged in #12556; fixes #12131.

  • Duplicate lock dirs and repositories: dune-project now rejects duplicate lock-directory definitions and duplicate repository names with a clear error. Merged in #12549 and #12548; fixes #9356.

ocaml/merlin

Permalink

Fixes

  • Merlin completion: ocamlmerlin single complete-prefix returns empty entries for inlined record fields in sum-type constructors; indirect type references work correctly. #1977, opened by trefis.
  • Merlin completion: PR proposes a fix for inlined record label completion, addressing the issue above. #1978, opened by voodoos, not yet merged.

Features

  • Merlin operator locations: PR improves source-location reporting for custom operators (:=, custom indexing) in editor integrations. #1917, opened by WardBrian, still open.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1564): Proposes autocompletion for labelled arguments, triggered by : in function applications. Open; discussion ongoing on trigger scope and configurability.
  • ocaml-lsp (PR #1528): Adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files. Open; awaiting re-review.

Fixes

  • ocaml-lsp (PR #1565): Fixes view-metrics duration field always reporting 0 by switching from Unix.time to Unix.gettimeofday. Open.
  • ocaml-lsp (PR #1563): Falls back to .merlin files when no dune-project is found, fixing issue #1522. Open.

Compatibility and Releases

  • ocaml-lsp (issue #1052): Closed the tracking issue for upstreaming the Merlin fork patches (monadic IO, Spawn over Sys.command).
  • ocaml-lsp (PR #1210): Closed without merging the configurable Merlin cache retention period flag.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind PR #112: Open PR by dra27 fixing Windows build failures with OCaml 5.0+ on Cygwin and MSYS2. Addresses findlib.conf misgeneration that breaks ocamlfind list and topfind, plus an incorrect META.pkg check in ocamlfind install. Link

ocaml/odoc

Permalink

Features

  • Odoc markdown-generate: now accepts multiple .odocl files as input; html-generate also accepts multiple inputs. Merged 2025-10-16. #1388
  • Odoc CLI: markdown-generate and markdown-generate-source moved from the Compilation pipeline to the Alternative generators section in the man page. Merged 2025-10-16. #1387
  • Odoc Markdown output: the long-standing feature request was closed as resolved by #1341. Closed 2025-10-15. #709

Compatibility and Releases

  • Odoc hidden attribute: the proposal to add a @hidden attribute was closed without merging. Closed 2025-10-14. #950

ocaml/opam

Permalink

Features

  • opam 2.5.0~alpha1: released 2025-10-16. Version bumped to 2.6.0~alpha1~dev the following day. Release PR, version bump.

Compatibility and Releases

  • opam 2.4.1 / cmdliner 2.0.0: opam fails to compile against cmdliner 2.0.0 (Unbound value Term.info). The short-term plan is to vendor cmdliner 1; a constraint pinning cmdliner < 2.0.0 was added. #6739, #6425.

  • opam install script (Ubuntu 24.04): an AppArmor profile is now installed alongside opam, resolving bwrap: operation not permitted failures caused by restricted unprivileged user namespaces. #6647.

Fixes

  • opam init (bash): now writes the opam incantation to ~/.bashrc instead of ~/.profile, and advises sourcing .bashrc from .profile. Eliminates the infinite-sourcing loop on Debian-family systems. #6603.

  • opam env / init scripts: variables.sh is no longer sourced when OPAM_SWITCH_PREFIX is already set, preventing PATH and MANPATH duplication in subshells and editor terminals. PR #6729.

  • OPAMFETCH: the value is now tokenised with POSIX shell quoting rules, so OPAMFETCH='wget --header "Authorization: token …" …' passes the header as a single argument. #5492.

  • opam remove --force: no longer executes remove commands in the current working directory when the target package is not installed. #6672.

  • opam upgrade: packages whose opam file has empty-but-present build, runtest, install, or remove fields are no longer flagged for recompilation. #6505.

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml: Merged fix for a fatal "Some variables escaped" assertion in release-mode builds using -linkall libraries. Resolves #2106 via #2107.

  • Js_of_ocaml: Merged improved NaN handling in the compiler. #2110

  • Js_of_ocaml (Wasm): Merged fix avoiding tail calls to JavaScript primitives in the bigarray runtime, restoring inlined optimized code. #2112

Features

  • Js_of_ocaml (Wasm): Open proposal to expose the JavaScript eval function in the Wasm runtime. Discussion covers parity with the JS backend and edge cases. #2108

  • Js_of_ocaml (Wasm): Open WASI runtime support via wasm_of_ocaml --enable wasi, producing binaries runnable by Wizard or wasmtime. #1831

  • Js_of_ocaml: Open proposal adding Oxcaml as a supported compiler backend. #2105

Compatibility

  • Js_of_ocaml: Open PR to run CI tests under OCaml 5.4; blocked on ppx_expect compatibility with ppxlib.0.37. #2103

  • Js_of_ocaml: Open PR to consume type hints produced by OCaml PR #13438, updated during this interval. #1721

2 repositories · no changes