Thicket thicket
ocaml
REPOS 9

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

W41.2025 · 6–12 OctTools

Features

Dune: new dune tools env command prints shell-evaluable PATH and environment exports for installed dev tools. Intended use: eval $(dune tools env). (#12521)

Dune: new (parameters p_intf q_intf ...) field in the library stanza compiles each module with the corresponding -parameter flag. Requires the OxCaml compiler. (#12336)

opam: opam option now allows modifying default-invariant after initialisation, removing the need to recreate a switch to change the compiler constraint. (#6730)

opam: the OPAMAUTOANSWER environment variable is available for scripted answers to interactive prompts. (#6709)

Compatibility

js_of_ocaml: open PR testing OCaml 5.4 support; not yet merged. (#2103)

Dune: package build rules now ignore per-project settings including dune lang version, so changing the language version no longer triggers a full compiler rebuild. (#12556)

Fixes

opam: opam install --depext-only now returns a non-zero exit code on package conflict, fixing silent failures in CI scripts. (#6516)

opam: opam install --deps-only now resolves pin-depends fields on simulated pins, restoring behaviour broken in 2.4. (#6611)

Dune: dev-tool and project builds now share compiled package artifacts via a content-addressed directory, eliminating redundant compiler rebuilds during dune tools install. (#12526)

Dune: dune install can now overwrite a read-only .install file it previously generated, resolving build failures for packages whose opam build commands re-invoke dune install. (#12542)

js_of_ocaml: removes CRLF line-ending manipulation on Windows so generated files retain their original line endings. (#2087)

ocaml-lsp v1.23.0: textDocument/documentSymbol fails with "selectionRange must be contained in fullRange" on some modules; the error does not reproduce in v1.22.0. (#1560)