Thicket thicket
ocaml
REPOS 9

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

W46.2024 · 11–17 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune (job-limit proposal): Discussion proposing a (with-jobs N …) action stanza to cap concurrent jobs when invoking external build systems such as make. Opened by @rlepigre; no implementation merged. Discussion #11112

Fixes

  • Dune cache: Bug report noting the cache does not restore empty directories, causing rule-digest mismatches and full rebuilds of dependent rules. Opened by @mefyl; still open at interval end. #11117

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (merged PR #1369): adds the ocamllsp/typeSearch custom LSP request, gated behind the handleTypeSearch server capability. Clients send a query pattern, result limit, and with_doc flag at a cursor position; the server returns matching types with name, signature, location, optional doc, cost, and a constructible template. VS Code client support is in progress via #1626.

Compatibility and Releases

  • ocaml-lsp (issue #1395): open enhancement requesting a configuration option to disable Merlin's -short-paths mode per project. Currently the option is always enabled, which can produce misleading type-alias signatures in diagnostics. No implementation merged as of the reporting interval.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind configure: Merged fix checks whether dynlink_subdir is set before use, resolving a crash on Linuxbrew builds. Closes #88 and #90.

  • ocamlfind bytes build: Merged fix sets OCAMLOPT_SHARED to $(OCAMLOPT) in the bytes replacement Makefile. Closes #89.

  • ocamlfind opam build: Merged change disables -with-relative-paths-at in the opam build, removing a dependency on OPAM_SWITCH_PREFIX being correct. By @dra27. See #91.

Compatibility and Releases

  • ocamlfind 1.9.8: Release branch merged 2024-11-16, incorporating the configure and build fixes above. See #94.

ocaml/odoc

Permalink

Features

  • odoc-md (new package): Merged. Processes standalone Markdown files into page-*.odoc for linking and rendering. Requires OCaml ≥ 4.14 (cmarkit dependency). #1234

  • odoc driver compile/link split: Merged. Separates the compile and link phases so documentation in package A can link to package B without a direct dependency. #1241

  • odoc driver -p / -l: Merged. The driver now accepts -p <pkg> (opam package) or -l <lib> (findlib library) to select what to document, including dependencies. #1229

  • odoc @children_order tag: Opened. Declares the display order of child pages via a single-paragraph tag. Supersedes part of the frontmatter work. #1243

  • odoc Html remap: Opened. Adds a mode that generates HTML for selected packages and rewrites cross-package links to their ocaml.org documentation pages. #1248

Fixes

  • odoc tag scoping: Merged. @-tags now end implicitly at a blank line, heading, or next tag, matching shorthand-list behaviour. Fixes #1138. #1239

  • odoc odoc_driver crash: Merged. Packages installed via dune install lack a <pkg>.change file, which previously caused a hard crash. A missing odoc-md dependency is also added. #1249

Compatibility and Releases

  • odoc sidebar and index overhaul: Opened. Unifies page, document, and unit sidebar trees; replaces the unit index hashtable with an ordered tree; splits odoc_search into odoc_search and odoc_index. Supersedes #1220. #1244

ocaml/opam

Permalink

Releases

  • opam 2.3.0: Released 2024-11-13. No significant changes compared to 2.3.0~rc1; the full changelog spans the alpha, beta, and rc pre-releases. Release notes

Compatibility

  • opam pin (git-lfs): In 2.2, opam pin add -n . fails on local repos with uninitialized git-lfs files; in 2.1 the same error was silently ignored during opam install. Tracked for 2.3.1. #6298

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: draft PR #1734 proposes HTML popover API bindings. Open and blocked; not merged.

Fixes

  • js_of_ocaml: issue #1733 documents that caml_exn_with_js_backtrace allocates a new JS Error for constant exceptions (tag 248, e.g. Not_found), causing a ~5× slowdown in exception-heavy code. Closed as a question; no code change applied.
3 repositories · no changes