Thicket thicket
ocaml
REPOS 1

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

W42.2025 · 13–19 Octocaml/dune

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.