Thicket thicket
ocaml
REPOS 9

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

W50.2025 · 8–14 Dec

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune (files) stanza: New per-directory stanza (dune lang 3.21) to exclude files from source tree scanning, analogous to (dirs). Merged 2025-12-08. #12879

  • Dune OxCaml inline tests: Parameterised libraries now support (inline_tests) with an (arguments ...) field to select parameter implementations. Merged 2025-12-11. #12707

  • Dune enabled_if (proposal): Opened 2025-12-09. Adds conditional package inclusion in dune-project using pform syntax, independent of opam. #12905

  • Dune nested dune (open): Two PRs (#12902, #12935) fix executable resolution and PATH setup for nested dune invocations in package management. Targeting elimination of subprocess launches for build-time gains.

Fixes

  • Dune FreeBSD/Alpine builds: Fixed lmdb stubs compilation on FreeBSD and inlined KERNEL_VERSION for Alpine Linux. Both were 3.21 alpha regressions. Merged 2025-12-09 and 2025-12-14. #12901, #12926

  • Dune fs-io/top-closure opam install: Added missing copy rules for opam templates and removed the @runtest step that triggered unrelated test builds. Merged 2025-12-14. #12954

Compatibility and Releases

  • Dune 3.21.0~alpha3: Released 2025-12-11. Adds (files) stanza, OxCaml parameterised library instantiation, dune promotion show, (lang rocq) mode, unused-libs alias, and DUNE_ROOT env var. Breaking: warning 9 no longer forced in dev mode (dune lang 3.21). Release

  • Dune DUNE_JOBS: New environment variable for controlling build concurrency. INSIDE_DUNE no longer forces single-threaded builds, enabling parallel nested dune invocations (e.g., OxCaml compiler builds). Merged 2025-12-12. #12800

ocaml/merlin

Permalink

Features

  • Merlin signature-help: now triggers on unfinished let ... in bindings, so parameter hints appear while the binding is still being typed. Merged 2025-12-08. #2009

Compatibility

  • Merlin CI: build fails under OCaml 5.4.0 because vendored ppxlib/astlib rules reject the version string. Issue remains open; a fix via irmin 3.10.0 is pending verification. #2006
  • Merlin 4.7-413: opam install fails on Ubuntu 25.04 with OCaml 4.13.1 due to a -Wformat-truncation error in ocamlmerlin.c. Maintainers indicate no 4.13 release is planned; 4.14 is the supported LTS. #1993

Fixes

  • Merlin signature-help: no longer returns a response when the cursor is on the function name itself; hints appear only on parameters. Merged 2025-12-08. #1997
  • Merlin C frontend: corrects sockaddr_un size computation via offsetof, fixes Windows errno/GetLastError handling, and aligns CMSG structures for Unix-domain sockets. Merged 2025-12-11 by @MisterDA. #1998

ocaml/ocaml-lsp

Permalink

No user-facing features, fixes, compatibility changes, or releases are supported by the supplied records for this interval. The only activity is an open, unmerged automated flake.lock dependency update (#1437), labelled no changelog, with no observable effect on the LSP binary or editor integration.

ocaml/odoc

Permalink

Fixes

  • odoc PR #1395: page links fail URL remapping because the prefix check matches only the directory path, not the filename. The open PR by jonludlam includes the filename in prefix matching and normalises remap entries at config creation. Link

ocaml/opam

Permalink

Fixes

  • opam (PR #6829): Merged. opam now reads full lines for confirmation prompts when TERM=dumb, fixing broken input in Emacs M-x shell and similar terminals.
  • opam pin (issue #6833): Open bug. opam pin add does not update a local git repository already pinned to the same path; opam reinstall is needed to pick up pulled changes.

Compatibility and Releases

  • opam API (PR #6827): Merged. Splits URL and Descr submodules into legacy file-format and current datatype variants. API consumers must update imports.
  • opam solver (PR #6826): Open. Proposes avoiding unnecessary downgrades of root packages in the builtin-0install solver when no other package depends on them.

Features

  • opam solver (PR #6831): Open proposal. Mitigates DNF explosion when depends fields contain many disjoint disjunctions, which currently causes opam switch create to fail on large formulae.
  • Opamfile format (issue #6834): Open proposal. Contains the 1.2→2.0 format-upgrade code so descr and url files are no longer read for 2.0 Opamfiles.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml WASI runtime (PR #1831): Open proposal adding --enable wasi to wasm_of_ocaml, producing Wasm binaries runnable by Wizard or wasmtime. Output follows the existing foo.js / foo.assets convention.
  • js_of_ocaml Wasm eval (PR #2108): Open proposal to expose the JavaScript eval function from the Wasm runtime. No merged change yet.

Fixes

  • js_of_ocaml 5.5.0 stack overflow (#2122): Menhir-generated parsers trigger a stack overflow in Chrome on macOS; Safari and Node.js are unaffected. A compilation-scheme change is suspected. Issue remains open.

Compatibility and Releases

  • js_of_ocaml opam (PR #2134): Merged 2025-12-11. The wasm_of_ocaml opam package now depends on conf-binaryen instead of building binaryen-bin from source, allowing use of distribution-provided tools.
  • js_of_ocaml number type (#2136): The new number_t type from #1650 breaks existing code that relied on implicit float/int conversion. No compatibility flag exists; users must insert explicit conversions.
  • js_of_ocaml LICENSE (#2137): Open report of a typo in the LGPL exception text (Clause 3 should read Clause 2) and a version mismatch on line 12. No fix merged yet.
3 repositories · no changes