Thicket thicket
ocaml
REPOS 9

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

W48.2024 · 25 Nov – 1 Dec

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.17.0: enables the Dune cache by default; the new enabled-except-user-rules setting excludes user-written rules to avoid breaking 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: dune runtest mytest.t now runs a single test file by name instead of requiring the full suite. (#11041)
  • Dune 3.17.0: adds codeberg as a source option, e.g. (source (codeberg user/repo)), alongside existing GitLab and GitHub forms. (#10904)
  • Dune 3.17.0: the (project_defaults) stanza in the dune config file sets default authors, maintainers, and license values for new dune-project files. (#10835)
  • Dune 3.17.0: supports the OCaml 5.2 -H compiler flag (requires lang version 3.17), giving correct semantics for (implicit_transitive_deps false) and exposing hidden dependencies to Merlin/OCaml-LSP. (#10644, #10535)

Fixes

  • Dune 3.17.0: C stubs are no longer rebuilt when Dune's stderr is redirected, eliminating spurious recompilation. (#10883)
  • Dune 3.17.0: Merlin rule generation now tolerates files without an extension, fixing editor integration for such sources. (#11128)

Compatibility and Releases

  • Dune 3.17.0: removes all remnants of the experimental patch-back-source-tree feature; projects using it must migrate. The exports field in generated META files is emitted only at lang version ≥ 3.17. (#10771, #10831)
  • Dune 3.17.0: Configurator now uses pkgconf as the pkg-config implementation when available and forwards the target from ocamlc -config. dune init proj no longer adds a dune dependency to dune-project. (#10937, #11129)

ocaml/merlin

Permalink

Features

  • Merlin .merlin.skip-if-not-cwd: proposed file to skip a subproject's .merlin and dune-project in unified projects. Open PR by jonahbeckford. #1870

Compatibility and Releases

  • Merlin v5.3-502: released 2024-11-26 for OCaml 5.02; includes cmt-lookup, polarity, jump-to-fun, type-enclosing, and occurrences fixes. Release
  • Merlin v4.18-414: backport release for OCaml 4.14 with EXCLUDE_QUERY_DIR, polarity-search, and type-enclosing fixes. Release

Fixes

  • Merlin type-enclosing: removes aggressive deduplication; clients should filter redundant results. Merged by voodoos. #1864
  • Merlin occurrences: fixed for definitions in hidden source files. Merged by voodoos. #1865
  • Merlin EXCLUDE_QUERY_DIR: directive now respected when looking for cmt files. Shipped in v5.3-502. #1854
  • Merlin polarity search: fixes an exception in polarity search. Shipped in v5.3-502. #1858
  • Merlin dune prefix: library info unavailable when one executable name is a prefix of another. Open bug report. #1867

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp 1.20.0: adds ocamllsp/typeSearch and ocamllsp/jump custom requests; makes the MerlinJump code action configurable. Released 2024-11-29. (release)
  • ocaml-lsp ocamllsp/jump: new custom request replacing Jump code actions for targeted navigation (fun, let, module, match, etc.), merged via #1374 by PizieDust.

Fixes

  • ocaml-lsp 1.20.0: fixes an fd leak in external preprocessing processes, prefix parsing for object-method completion, and duplicate entries in selectionRange responses. (release)

Compatibility and Releases

  • ocaml-lsp 1.20.0-4.14: provides the 1.20.0 feature set for OCaml 4.14, rolling back changes that required later compiler versions. Released 2024-11-29. (release)
  • ocaml-lsp opam solver: issue #1405 documents an opam downgrade of ocaml-lsp-server to 1.17.0 on OCaml 4.14; resolved by the 1.20.0-4.14 release.
  • ocaml-lsp Jump code action: issue #1410 reports ~2 s codeAction response times caused by Jump actions; proposes deactivating them by default in favour of ocamllsp/jump.
  • ocaml-lsp SelectionRange: #860 (use Merlin Enclosing instead of Shape) was closed without merge on 2024-11-29.

ocaml/odoc

Permalink

Features

  • odoc PR #1196 (breadcrumbs titles): closed without merging on 2024-11-25. The WIP by Julow would have allowed specifying page titles in breadcrumbs to identify packages and libraries, with a noted sherlodoc compatibility change. PR

Fixes

  • odoc issue #1253 (operator parenthesization): opened 2024-11-26. Reports that generated HTML omits parentheses around word-like operators such as let*, rendering val let* : … instead of val ( let* ) : …. Still open. Issue

ocaml/opam

Permalink

Features

  • opam (PR #6316, WIP): proposes a new opam env flag to emit bare environment-variable bindings for use with $GITHUB_ENV in GitHub Actions. Option name is undetermined; newline characters in values would break the syntax. (#6316)

Fixes

  • opam (issue #6310): opam env prepends /cygdrive to every PATH entry when run from Git Bash on Windows. The internal cygpath call should resolve from PATH instead. Workaround: eval $(opam env | sed 's/\\/cygdrive//g'). (#6310)

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml PR #1745: open PR adding hints for physical equality (phys equal), targeting issue #1372. Not yet merged; author notes it depends on the hints branch. (#1745)

Features

  • js_of_ocaml issue #1750: documentation request to record the minimum Node.js version (16, for require("node:fs") namespaces) and ECMAScript features (globalThis, Object.assign, spread) required by generated output. Opened 2024-11-28; resolved outside this interval. (#1750)
3 repositories · no changes