Thicket thicket
ocaml
REPOS 9

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

W31.2025 · 28 Jul – 3 Aug

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.20.0~alpha1: replaces MD5 with BLAKE3 for target and rule digesting, improving build performance. Release

  • Dune 3.20.0~alpha1: allows dune exec and dune promote to run concurrently with a watch-mode server. Release

  • Dune 3.20.0~alpha1: adds --alias and --alias-rec flags as alternatives to @/@@ syntax, and a (timeout) field for cram tests. Release

  • Dune OxCaml parameterized libraries: new (parameters) field in library stanzas enables parameterized compilation via -parameter flags; requires OxCaml. Tracking issue

  • Dune pkg lock directories: proposal to keep lock directories in _build by default instead of writing them to the worktree. Issue

Fixes

  • Dune FreeBSD/OpenBSD x86: fixes BLAKE3 build rules that failed on x86 FreeBSD and OpenBSD due to missing %{system} cases. Issue

Compatibility and Releases

  • Dune 3.20.0~alpha0: first alpha in the 3.20 series; introduces @runtest-name aliases, %{os} percent forms, and dune describe location. Release

  • Dune pkg system-wide install: open proposal for installing packages usable outside a project directory, analogous to opam exec. Issue

ocaml/merlin

Permalink

Features

  • Merlin (open PR #1951): Proposes a locate-type-multi command returning a tree of identifier locations for compound types, extending VSCode "Go to Type Definition" beyond simple type constructors. Opened 2025-07-22; still unmerged. Link

ocaml/odoc

Permalink

Features

  • odoc #1342: Ongoing proposal to render Reason and ML code snippets side by side with a CSS/JS toggle in both HTML and Markdown output. Updated 2025-08-01. Issue

Fixes

  • odoc #1373: Reports that local value definitions in source rendering are not hyperlinked to their in-file definitions. Opened 2025-07-31 by dbuenzli. Issue
  • odoc #1372: Reports that odoc_driver source rendering omits hidden modules present in the .cma but absent from the top-level .cmi. Opened 2025-07-31 by dbuenzli. Issue
  • odoc #1230: Reports that [@@ocaml.alert deprecated] on a type alias is rejected with "Alert deprecated not expected here," while the compiler accepts it. Updated 2025-08-01. Issue

ocaml/opam

Permalink

Features

Opam (PR #6625, WIP): Draft opened 2025-07-31 proposing to use HTTP repository tarballs in-place via ocaml-tar instead of untarring, eliminating a 1+ minute extraction step during opam update and opam init. Removes the REPOSITORYTARRING environment variable. Link

Opam depxts (PR #6431, open): Updated 2025-07-30. Uses RPM %{PROVIDES} to detect installed packages via virtual names on RHEL-based, SUSE-based, and ALT Linux distributions, reducing false "missing dependency" warnings. Adds ~18% overhead to availability queries. Link

Fixes

Opam library API (PR #6487, merged 2025-07-31): Suppresses log messages emitted before OpamCoreConfig initialization when opam is used as a library, preventing unbounded memory growth in embedding applications. Supersedes the closed PR #6486. Link

Opam build engine (PR #6505, open): Updated 2025-07-29. Prevents unnecessary recompilation when a package's .opam file contains empty but present build, run-test, install, or remove fields. Link

Opam macOS sandbox (PR #4797, open): Updated 2025-07-28. Proposes forbidding reads to /private/var/folders so that /usr/bin/security stops attempting writes there, working around a macOS bug that breaks sandboxed builds. Link

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml 6.2.0: adds Sys.rename support to the fake filesystem, enabling directory and file rename in sandboxed environments. Merged via #2080.
  • js_of_ocaml 6.2.0: compiler exits loops early in more cases, reducing generated code size (PR #2077).
  • js_of_ocaml 6.2.0: removes a reserved keyword from ECMAScript 3 output, improving compatibility with older JavaScript targets.
  • js_of_ocaml (open proposal): #2086 proposes direct access to runtime-exported values, addressing LexiFi/gen_js_api#177.

Fixes

  • js_of_ocaml 6.2.0: compiler no longer inlines recursive functions, correcting incorrect inlining behaviour (PR #2084).
  • js_of_ocaml 6.2.0: fixes purity annotations for caml_compare and caml_lxm_next, correcting optimisation assumptions.
  • js_of_ocaml 6.2.0: fixes Sys.rename for directories on Windows, resolving an EPERM error.

Releases

4 repositories · no changes