Thicket thicket
ocaml
REPOS 9

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

W22.2025 · 26 May – 1 Jun

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune format-dune-file: PR opened proposing that the command use the Dune language version of the current project when formatting, rather than a fixed version. This would allow honouring project-specific formatting settings. (#11865, by nojb)

ocaml/merlin

Permalink

Features

  • Merlin outline (PR #1936): outline generation now includes object expressions nested inside let bindings. This aligns merlin's outline with ocaml-lsp's existing behaviour. Merged 2025-05-27.

Compatibility and Releases

  • Merlin OCaml 5.4 upgrade (PR #1938): open PR upgrading merlin and ocaml-lsp to OCaml 5.4. Preview releases 5.4.2~5.4preview and 1.22.1~5.4preview were published to opam.
  • Merlin merlin-domains branch (PR #1909): upstreams lyrm changes to the merlin-domains branch. A label-completion test is marked TODO after removal of laziness in Mpipeline.for_completion. Merged 2025-05-27.

Fixes

  • Merlin Graph.add crash (PR #1935): fixes a crash on large files with OCaml 5.3 where merlin stopped working entirely. An extra Env.add_type in solve_constructor_annotation was incorrectly added to the type graph. Merged 2025-05-27; closes issue #1913.
  • Merlin record-field destructuring (PR #1436): a fix for destructuring record fields in patterns was closed without merging on 2025-05-30. The underlying issue remains unresolved.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1529): outline generation is delegated to Merlin, replacing the in-house implementation. Symbol positions and item kinds (e.g. instance variables) change; the PR was still open during this interval.

Compatibility and Releases

  • ocaml-lsp (PR #1534): removes Tuple and Variant from the local Json type and pins the constraint to Yojson 3. Opened 2025-05-30; not yet merged within this interval.

Fixes

  • ocaml-lsp (issue #1533): semantic tokens misclassify the range of ( + ) as @lsp.type.namespace.ocaml. Reported by ddickstein; still open.
  • ocaml-lsp (issue #1526): inlay hints are absent for let bindings inside function-parameter bodies. A comment notes rebuilding from main resolves it; a release was planned for early June.

Proposals

  • ocaml-lsp (issue #1532): proposes adding a field to the ocamllsp/typeEnclosing response to distinguish value types from module types, enabling correct client-side rendering.

ocaml/ocamlfind

Permalink

Compatibility and Releases

  • ocamlfind 1.9.5 / 1.9.6: Source archives on download.camlcity.org are unreachable, breaking opam fetches and CI builds that pin these versions. A commenter reports download2.camlcity.org serves the 1.9.5 tarball but returns 403 for 1.9.6. Issue #108 (opened 2025-05-26) is marked a duplicate of the earlier #98; both remain open with no maintainer response in the supplied data.

ocaml/odoc

Permalink

Fixes

  • odoc 3.0.0: assertion failure in html/link.ml when building odoc 2.0.0 documentation with odoc 3.0.0. Open bug report. #1345
  • odoc 3.0.0: assertion failure in cpath.ml when building documentation for lascar 0.7.0. Open bug report. #1346
  • odoc: odoc_driver raises Invalid_argument on a cmi_only_lib directory when building docs for camlp5. Open bug report. #1347

Compatibility and Releases

  • odoc: request for a minor release including patches from #1328, which were omitted from 3.0.0 and are required for cmdliner 2.0.0 compatibility. Open issue. #1348

ocaml/opam

Permalink

Fixes

opam CI: bumps the opam-repository SHA in GitHub Actions to resolve a checksum failure for base.v0.17.1 during source fetching. Merged 2025-05-28. #6524

opam --depext-only: proposed fix so the flag returns a non-zero exit code when a dependency conflict is detected, rather than silently returning 0. Open, not yet merged. #6516

Compatibility and Releases

opam 2.4.0~alpha3~dev: version string bumped to mark the next development cycle. Merged 2025-05-28. #6512

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Dom_html: PR #2017 adds window.matchMedia and MediaQueryList bindings. Opened, not yet merged.

  • js_of_ocaml Wasm_of_ocaml: PR #2022 uses the JS String Builtins proposal for constant strings instead of the launcher script. Opened, not yet merged.

  • js_of_ocaml compiler: PR #2027 makes inlining and DCE passes reach fixpoint in fewer iterations, reducing build time. Opened; resolves issue #2020.

Fixes

  • js_of_ocaml compiler: PR #2018 ensures inner closures are inlined before their enclosing closure, fixing a recursive-cycle ordering issue. Merged.

  • js_of_ocaml compiler: PR #2021 prevents the double-translation effects pass from leaving unused blocks. Merged.

Compatibility and Releases

  • js_of_ocaml Wasm_of_ocaml: PR #2026 adds --effects disabled to avoid JSPI stack-switching cost when targeting Node 25. Opened, not yet merged.
2 repositories · no changes