Thicket thicket
ocaml
REPOS 9

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

W15.2026 · 6–12 AprTools

Features

  • OCaml LSP 1.26.0: adds ocamllsp/refactorExtract, destruct, locate_types requests and textDocument/rangeFormatting support. Configures merlin via $OCAMLLSP_PROJECT_BUILD_SYSTEM and $OCAMLLSP_PROJECT_ROOT for non-dune builds. Release

  • Merlin v5.7.0-504: adds refactor-extract-region command (experimental) and -end-position parameter to enclosing. locate-types returns an "Other" variant and omits option wrapping for optional parameters. Release notes

  • Dune (dirs) stanzas: multiple (dirs ..) stanzas in one dune file are supported under (lang dune 3.23), taking the union of directories. Fixes #6249. (#13734)

  • Dune dune rules --deps: new --deps flag prints only the dependencies of a given rule for incremental-build debugging. Merged 2026-04-07. (#14071)

  • Dune Rocq extracted_files: new field in the rocq.extraction stanza declares non-OCaml extraction outputs (e.g. .hs files), preventing them from being wiped on rebuild. Merged 2026-04-10. (#13997)

  • js_of_ocaml (Wasm): merges Dynlink and toplevel support for the Wasm target. Merged 2026-04-08. (#2187)

  • opam Nushell support: open PR adds opam env output for Nushell via JSON and shell config. Minimum Nushell version under discussion (0.102+). #6873

Fixes

  • Dune 3.22.2: reverts the --diff-command behaviour change from 3.22.0; non-existent files are again passed to the command rather than /dev/null. Released 2026-04-10. (#14098)

  • Dune root_module: entry modules are deduplicated before writing root.ml-gen, fixing "Multiple definition of the module name" errors with shared findlib sub-package directories. Merged 2026-04-11. (#14135)

  • opam PGP key: the release signing key expired on 2025-12-16; the updated key at opam.ocaml.org/opam-dev-pubkey.pgp is now live. #6877

Compatibility

  • opam build requirements: open PR removes build support for OCaml 4.08, 4.09, and 4.10. Newer opam clients still run on older compilers even if removed from the repository. #6879