Thicket thicket
ocaml
REPOS 9

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

W27.2025 · 30 Jun – 6 Jul

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune watch mode (proposal): dune pkg lock auto-locking in watch mode is proposed behind an --auto-lock flag, updating only changed dependencies and prompting for manual re-lock on strong upgrades. #11614 (open, updated 2025-07-03).

  • Dune RPC / dune fmt (feature request): Running dune fmt or dune rpc fmt concurrently with dune build -w is requested; a prior comment notes dune promote already works but the promotion database lacks synchronization. #11958 (opened 2025-07-02).

Compatibility and Releases

  • dune build -p vs dune build pkg.install: dune build -p pkg implies --release and hides workspace dependencies, so it fails on a fresh clone; the correct target for building a single package is dune build pkg.install. #11948 (closed 2025-07-02).

  • dune pkg and :dev dependencies: dune pkg lock does not resolve :dev-qualified dependencies, so dune utop fails after locking; a workaround uses a separate -dev.opam file. #10973 (open, updated 2025-06-30).

Fixes

  • Dune TUI: Tab characters in build messages crashed the TUI via a Notty Invalid_argument exception; the issue was closed the same day it was filed. #11979 (closed 2025-07-06).

  • dune pkg outdated: A runtime Invalid_argument("filter_deps") crash in the vendored opam filter was resolved; the issue was closed 2025-07-04. #11188.

  • dune rpc status: Output rendered one token per line instead of a readable table; the issue was closed 2025-07-01. #11950.

  • Dune language version error: A misleading "Supported versions of this extension" message appeared when (lang dune X) exceeded the installed version; PR #11934 was opened to reword it. #11932 (open, updated 2025-07-02).

ocaml/merlin

Permalink

Features

  • Merlin (PR #1948): proposes a refactoring-extract-region protocol command that extracts an expression into a fresh let binding. Open; not yet merged. Link

Compatibility and Releases

  • Merlin (PR #1938): ongoing OCaml 5.4 upgrade. A comment during this interval notes two commits broke type-recovery; the fix reapplies patches to refactored typecore code. Link

Fixes

  • Merlin (issue #1949): hovering a function reports type 'a -> 'b -> 'b, but hovering the 'b variable reports 'a. Inconsistent display; open, no fix yet. Link

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp (PR #1534): Merged 2025-07-03 ahead of the OCaml 5.4 release. Removes Tuple and Variant from the Json type; requires Yojson 3.

Features

  • ocaml-lsp (discussion #1542): Ongoing discussion on reusing the LSP library for other language servers. Related issue #1541 closed 2025-06-30; no library extraction merged.

Fixes

  • ocaml-lsp (issue #1543): Open report of error discrepancy between dune build and ocaml-lsp for ppx_blob filepath expressions. No fix merged in this interval.

ocaml/odoc

Permalink

Features

odoc latex backend: adds --shorten-beyond-depth flag to use abbreviated submodule names beyond a given nesting depth, reducing verbosity in generated LaTeX. Also fixes a page-URL/anchor collision and missing label definitions for inlined pages. #1337, merged 2025-07-04 by @Octachron.

odoc Markdown: proposal to support blockquotes (lines starting with >, including nested) in documentation. #1360, opened 2025-07-04 by @MisterDA; still open.

Compatibility and Releases

odoc OCaml 5.4: updates the odoc model for labelled and bivariant type parameters and the loader for the OCaml 5.4 AST. One test case now rejected by 5.4 (module shadowing) is adjusted. #1355, merged 2025-06-30 by @Octachron.

odoc build system: replaces the dune format-dune-file CLI call with the built-in (format-dune-file) action (Dune ≥ 3.18), which honours the project's Dune language version and avoids a future CLI break. #1338, merged 2025-07-04 by @nojb.

Fixes

odoc type rendering: adds missing parentheses around (_ as 'a) in type expressions, so type 'a t = ([> ty] as 'a) Resource.t no longer renders as invalid syntax. #1358, merged 2025-07-02 by @Julow.

odoc Markdown: removes a spurious extra quote character inserted after inline images, fixing broken rendering of badge rows in README files. #1357, merged 2025-06-30 by @dlesbre; closes issue #1356.

odoc latex backend: heading labels now use the full module path (e.g. Module_name-s_name) instead of the bare label, matching the reference form and eliminating broken cross-references. #1332, merged 2025-07-04 by @Octachron.

odoc HTML output: CSS fix addressing a rendering issue. #1361, merged 2025-07-07 by @jonludlam.

ocaml/opam

Permalink

Releases

  • opam 2.4.0~rc1: First release candidate. Binaries and archive are signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). Release notes

Features

  • opam solver: Draft proposal to make builtin-0install the default solver, replacing builtin-mccs+glpk, for performance and to reduce C++ dependencies. Not yet merged. #6586

Compatibility

  • opam build dependencies: download-if-missing dependencies upgraded to dune 3.19.1, opam-file-format 2.2.0, spdx_licenses 1.4.0, and patch 3.0.0. #6580
  • opam-core API: OpamSystem gains copy_dir_except_vcs and get_files_except_vcs; OpamLocal.fetch_repo_update no longer copies VCS directories. Release notes

Fixes

  • opam switch create: opam switch create <version> now selects an avoid-version compiler when it is the only one available for that version. #6571
  • opam update performance: Local non-VCS repositories no longer copy VCS directories during opam update, reducing unnecessary I/O. #6575
  • opam --deps-only: Open bug: packages installed via --deps-only are not respected by a subsequent opam install, causing unnecessary downgrades. Reproduced on 2.2–2.4. #6578

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format 2.2.0: Stable release published 2025-07-03; no changes since 2.2.0~alpha1. Pins to the stable tag now resolve to this version. Release

ocsigen/js_of_ocaml

Permalink

Compatibility and Releases

  • js_of_ocaml 6.1.0: Released 2025-07-04. Drops OCaml 4.12, adds initial OCaml 5.4 support, rewrites the inlining pass, and adds the --empty-sourcemap flag. Release notes
  • js_of_ocaml 6.1.0: Runtime uses TextEncoder/TextDecoder for UTF-8/UTF-16 conversion and DataView for float-bit representation. Wasm output is written directly as binary modules. Release notes

Fixes

  • js_of_ocaml code generation: Merged PR removes quadratic behaviour in the expression queue, cutting codegen time by up to 60% on large inputs such as fiat-crypto. #2066
  • js_of_ocaml reserved keywords: Merged PR updates the keyword list to current ECMAScript, removing entries reserved only through ES3 and a duplicate this entry. #2071
  • js_of_ocaml effects: Open bug report notes that raising an effect inside Sys_js.set_channel_filler triggers Stdlib.Effect.Unhandled at toplevel rather than being caught. #2068

Features

  • js_of_ocaml Intl.RelativeTimeFormat: Open PR adds the Intl.RelativeTimeFormat API to the JSOO standard library, per the ECMAScript 402 specification. #2070
  • js_of_ocaml Wasm number unboxing: Open PR skips boxing numbers within a function when the boxed value is never used, improving microbenchmark performance. #2069
2 repositories · no changes