Thicket thicket
ocaml
REPOS 27

W48.2024 · 25 Nov – 1 DecAll

Dune 3.17.0 enables its build cache by default and adds Wasm_of_ocaml support for compiling OCaml to WebAssembly. ocaml-lsp 1.20.0 introduces ocamllsp/typeSearch and ocamllsp/jump custom requests alongside a configurable MerlinJump code action.

Features

  • Dune 3.17.0: enables the Dune cache by default; enabled-except-user-rules excludes user-written rules with incomplete dependency declarations. (#10944)
  • Dune 3.17.0: adds Wasm_of_ocaml support for building OCaml to WebAssembly. (#11093)
  • Dune 3.17.0: supports the OCaml 5.2 -H flag (lang ≥ 3.17), giving correct semantics for (implicit_transitive_deps false) and exposing hidden dependencies to Merlin. (#10644)
  • ocaml-lsp 1.20.0: adds ocamllsp/typeSearch and ocamllsp/jump custom requests; makes the MerlinJump code action configurable. (release)

Compatibility and Releases

  • Dune 3.17.0: removes the experimental patch-back-source-tree feature; the exports field in generated META files is emitted only at lang ≥ 3.17. (#10771)
  • Merlin v5.3-502: released 2024-11-26 for OCaml 5.02. Backport v4.18-414 targets OCaml 4.14. (release, backport)
  • ocaml-lsp 1.20.0-4.14: provides the 1.20.0 feature set for OCaml 4.14, resolving an opam solver downgrade to 1.17.0. (release)
  • picos: removes the caml_ml_domain_id reference on OCaml 4 and works around js_of_ocaml 5.9.0's node:-prefixed modules for older Node.js. (#333, #336)

Fixes

  • Dune 3.17.0: C stubs are no longer rebuilt when Dune's stderr is redirected, eliminating spurious recompilation. (#10883)
  • Merlin v5.3-502: fixes EXCLUDE_QUERY_DIR for cmt lookup, a polarity-search exception, and occurrences in hidden source files. (release)
  • ocaml-lsp 1.20.0: fixes an fd leak in external preprocessing, prefix parsing for object-method completion, and duplicate selectionRange entries. (release)
  • Saturn: removes snapshot from Saturn.Queue after qcheck-lin showed it can produce sequences incompatible with any sequential interleaving. (#132)