Thicket thicket
ocaml
REPOS 9

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

W44.2025 · 27 Oct – 2 Nov

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

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

  • Dune cram setup_scripts: PR #12650 adds a setup_scripts field to the cram stanza, auto-sourcing listed shell scripts in every test in the directory.

  • Dune %{cmt} artifact variables: PR #12634 adds %{cmt} and %{cmti} to artifact variables in custom rules, enabling direct references to type-checking artifacts.

  • Dune pkg autolocking: PR #12653 introduces automatic lock-directory generation when (pkg enabled) is set and no lock source is present, removing the need for explicit dune pkg lock.

Fixes

  • Dune Merlin config loading: PR #12621 fixes incorrect .merlin file selection when multiple executables share a directory, resolving wrong obj_dirs passed to the editor.

  • Dune portable lockdirs: PR #12641 removes Windows arm64 from the default platform set, reducing solver runs. PR #12654 extends this to all Windows platforms.

  • Dune melange @all alias: PR #12628 includes Melange .cmj artifacts in the @all alias, fixing missing module compilation for (using melange 1.0) projects.

Compatibility and Releases

  • Dune lockdir rename: PR #12648 proposes renaming dune.lock to .dune-solution-cache to discourage version control of non-portable lock directories. Awaiting resolution on portable lockdir defaults.

ocaml/merlin

Permalink

Fixes

  • Merlin (PR #1978): Merged fix for complete-prefix returning empty results on inlined record fields in variant constructors. Closes #1977.

  • Merlin (issue #1983): Open bug: the document command concatenates docstrings of consecutive variants or record labels rather than returning only the target entry.

Compatibility and Releases

  • Merlin (PR #1984): Open proposal to upgrade ocamlformat to 0.28.1. Labeled "no changelog."

  • Merlin (PR #1985): Open proposal to add tests for OCamlformat patches, related to the 0.28.1 upgrade in #1984.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: renames the nested-bindings configuration parameter from for_nested_bindings to forNestedBindings, fixing malformed display in the VSCode options panel. Merged 2025-10-27. (#1568)

Compatibility and Releases

  • ocaml-lsp: upgrades the ocamlformat dependency to 0.28.1. Merged 2025-10-27. (#1569)

ocaml/opam

Permalink

Fixes

  • opam 2.5.0-alpha1: PR #6765 corrects vendored archive placement in the -full release tarball; archives were at the top level instead of src_ext/archives. Backport #6766 targets the 2.5 branch.

  • opam installer: PR #6764 checks for AppArmor abi/4.0 before installing the profile, fixing parser failures on Debian bookworm where only abi/3.0 is present.

  • opam install.sh: PR #6760 reworks the AppArmor section: replaces mv+chmod+chown with install, cleans temporary files, and fixes the profile-replacement option.

  • opam installer: PR #6761 extends opam-installer to honour --bindir, --sbindir, and other ./configure directory options, resolving #6759 where binaries always landed in $prefix/bin.

Features

  • opam (proposal): Issue #6642 proposes deduplicating archive-mirrors across repositories, exposing values in opam option, and adding an opam admin edit-repo-file command.

  • opam (proposal): Issue #6683 proposes suppressing identical post-install messages on reinstall or upgrade; a maintainer-controlled variable is under discussion.

  • opam CI: PR #6684 adds OCaml 5.4 and trunk to the GitHub Actions test matrix; a Cygwin error-handling issue remains unresolved.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Wasm runtime: open PR by vouillon adds access to the JavaScript eval function in the Wasm backend. Reviewers identified an incorrect indirect call in the existing Wasm code path. (#2108)
  • js_of_ocaml runtime: open PR by hhugo proposes direct access to values exported in the runtime, addressing LexiFi/gen_js_api#177. Naming and API shape are under discussion. (#2086)
  • js_of_ocaml Oxcaml: open PR by vouillon adds Oxcaml support. No further details provided in the PR body. (#2105)

Fixes

  • js_of_ocaml: merged PR fixes the exit code of jsoo_minify and wasmoo_link_wasm so build scripts receive correct failure signals. (#2121)
  • js_of_ocaml v5.5.0: open bug report describes a stack overflow in Chrome when running menhir-generated parsers compiled with js_of_ocaml. The issue does not reproduce in Safari or Node.js. (#2122)
4 repositories · no changes