Thicket thicket
ocaml
REPOS 27
W21.2026 · 18–24 May

All repository summaries

16 active · 11 unchanged

Back to weekly digest

ocaml-multicore/domainslib

Permalink

Fixes

  • domainslib (PR #134): proposes Task.setup_pool fall back to fewer domains on allocation failure rather than raising. Open, not yet merged. (issue, PR)

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #833): Merged 2026-05-21, adding a missing_ok parameter to Eio.Path.unlink that suppresses Not_found errors for absent files. Resolves issue #828.

  • Eio (PR #821): Ongoing proposal for incremental directory reading via a with_dir_entries-style API. Updated 2026-05-22; discussion favours a non-recursive base function with separate recursion helpers. Benchmarks show ~13× speedup on Eio_linux (1.46 s → 110 ms) for a 300 k-file tree.

Compatibility and Releases

  • Eio (PR #840): Open proposal (2026-05-20) to enable IORING_SETUP_DEFER_TASKRUN, IORING_SETUP_SINGLE_ISSUER, and IORING_SETUP_COOP_TASKRUN in eio_linux for reduced interrupt overhead. Benchmark CI runs on Linux 5.15, which predates these flags, so validation is pending.

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring: adds send_zc and sendmsg_zc operations to the discover module, exposing zero-copy send syscalls to OCaml bindings. Merged by avsm. #139

Compatibility and Releases

  • ocaml-uring: updates the bundled liburing dependency to 2.14. Merged by talex5. #138
  • ocaml-uring: documents and simplifies the build process; the author notes the instructions are incomplete pending a follow-up fix to the subtree scheme. Merged by talex5. #137

Fixes

  • ocaml-uring: ocaml_uring_setup now registers the polling_timeout parameter with the GC, preventing a potential use-after-free when the option is collected. Merged by talex5; closes issue #135. #136

ocaml/dune

Permalink

Features

  • Dune rev_store cache: enabled by default on 64-bit platforms, caching git ls-tree output in a versioned LMDB store under $DUNE_CACHE_ROOT/rev_store/. Benchmarks show 3–4× speedup on dune pkg lock for mid-size projects. #14494

  • Dune 3.24 Melange preprocess: new melange.preprocess and melange.preprocessor_deps fields on buildable stanzas, gated on (lang dune 3.24). Allows separate ppx/preprocessor configuration for Melange compilation. #14572

  • Dune 3.24 directory targets: promoted from experimental to stable. No behaviour change; the feature is now available without opt-in. #14579

  • Per-module library dependency filter: ongoing 9-layer PR reducing unnecessary recompilation by tracking per-module cross-library deps via ocamldep. Layers 2–3 merged; core BFS and filtered include flags still open. #14492

  • Dune action runners: open PR adding --action-runner and --sandbox-actions to run eligible actions in a bubblewrap-wrapped worker, protecting the shared cache from writes. Targeted for 3.24. #14240

Fixes

  • Dune profile name validation: profile names in (env ...) stanzas are now validated; invalid characters (e.g. * used in place of _) are rejected at parse time. #14657

  • Dune %{target} error message: the error for using %{target} in a rule without a (target ...) field now names the missing field instead of referencing "inferred rules." #14668

Compatibility and Releases

  • Dune 3.23.1: point release merged 2026-05-19, backporting fixes for OCaml < 4.14 support, dune build @doc with dune tools install odoc, and RPC forwarding errors. The OCaml lower bound is now 4.14 across all dune packages. #14442, #14611

ocaml/merlin

Permalink

Features

  • Merlin ocamlgrep (PR #2064): Open proposal adding a structural search subcommand. Scans project CMT files with type-annotated expression patterns and placeholders. Link
  • Merlin LRgrep errors (PR #2072): Open proposal to generate syntax error messages declaratively via LRgrep. Adds a make lrgrep-coverage target listing constructs lacking messages. Link

Compatibility and Releases

  • Merlin Nix and CONTRIBUTING (PR #2068): Merged update aligning Menhir version references from 20201216 to 20230608. No effect on CI, which uses pre-generated parsers. Link
  • Merlin OPAM package (PR #2069): Merged removal of outdated post-install instructions and improved package descriptions. Labeled "no changelog". Link

Fixes

  • Merlin PPX hash (PR #2070): Merged fix for PPX hash computation, described as preliminary. Labeled "no changelog". Link
  • Merlin signature-help (PR #2067): Open fix expanding type aliases once to determine function arity in signature help. Resolves issue #1927. Link
  • Merlin locate in let punnings (PR #2066): Open fix for locate returning "Already at definition point" in punned let bindings. Changes fold order so the expression is entered before the pattern. Link

Performance

  • Merlin indexer memory (PR #2050): Open proposal replacing the unbounded index hashtable with an LRU cache. Bounds memory by evicting least-recently-used entries. Link

ocaml/ocaml

Permalink

Features

OCaml trunk: adds the -typing-recovery flag; the typechecker continues past the first error and reports multiple errors in a single pass. Merged from Merlin's upstreamed patches by @xvw. #14241

OCaml stdlib: adds Seq.ints_in_range, producing a sequence of integers from a start to a stop by a step. Merged after five years in review. #10480

Compatibility and Releases

OCaml C API: caml_ba_alloc no longer allocates memory when CAML_BA_SUBARRAY is set with data = NULL, preventing OOM crashes in existing C bindings. Cherry-picked to 5.5. #14820, #14825

OCaml runtime: a new GC-pacing implementation is under review, replacing the current pacing logic. It is the final item of the GC redesign tracked in #14324. #14796

Fixes

OCaml typechecker: fixes a stack-overflow expansion loop triggered by with type constraints on module types. The fix rechecks well-foundedness after applying constraints. #14754

OCaml typechecker: fixes an uncaught Unify exception involving existentials, row variables, and or-patterns. A scope-escape check is now applied in build_as_type. #14789

OCaml runtime: fixes a race in caml_darken when marking Lazy/Forcing blocks across domains. The header update now uses an atomic compare-and-exchange. #14816

OCaml typechecker: error messages for first-class module unification now name the missing constrained type rather than only showing the two module types. #14051

ocaml/ocaml-lsp

Permalink

No user-facing changes, releases, or merged fixes fall within the 2026-05-18 to 2026-05-25 interval. The only records touching the window are an undated metadata update on ocaml-lsp issue #1605 (closed 2026-05-14, before the interval) and an open, automated flake.lock update PR #1437 (routine dependency pinning, not yet merged). Neither constitutes a released or merged change.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org platform changelogs: Open PR adds release entries for nine tools including ocaml 5.5.0~beta1, odoc 3.2.0, and opam-publish 3.0.0. (#3641)
  • ocaml.org deps tutorial: Merged PR documents the --with-dev-setup flag in the managing-dependencies tutorial. (#3646)
  • ocaml.org Emacs docs: Merged PR adds a note on configuring Combobulate for OCaml in the Emacs editor section. (#3603)
  • OCaml Planet: Merged scrapes add posts on OxCaml packaging for Debian, Fedora, Homebrew, and Arch, plus a Voluntary AI disclosure proposal update. (#3661, #3659)
  • ocaml.org Tour page: Open PR proposes restructuring the Bindings section under Expressions and Definitions and removing forward references. (#3654)
  • ocaml.org library docs: Open PR expands the Hashtbl introduction to explain when Maps are preferable, citing self-balancing binary search trees. (#3631)

Fixes

  • ocaml.org news page: Closed issue reports incorrect dates; resolved via PR #3653. (#3627)

Compatibility and Releases

  • dune 3.23.1: Merged PR announces the dune 3.23.1 release on ocaml.org. (#3660)

ocaml/ocamlfind

Permalink

Fixes

ocamlfind: Open issue reports compiler warning 58 (no-cmx-file) when linking Findlib in native mode; proposes installing .cmx files to suppress it. #117

ocaml/odoc

Permalink

Features

  • Odoc – OxCaml kind annotations: merged 2026-05-21, renders OxCaml kind annotations in generated documentation. #1410
  • Odoc – OxCaml modalities: open PR, adds rendering of OxCaml modality syntax in documentation output. #1420
  • Odoc – OxCaml zero-alloc annotations: open PR, retains [@@zero_alloc] on signatures in parsed output for documentation rendering. #1422
  • Odoc – OxCaml unboxed types: closed 2026-05-20; unboxed named types with # suffix now render correctly. #1414

Fixes

  • Odoc – multi-line links: open PR proposing a fix for multi-line link rendering (issue #865). #1439

Compatibility and Releases

  • Odoc – OxCaml tracking issue: open tracking issue for full OxCaml documentation support, updated 2026-05-20. #1411
  • Odoc – mdx tests removed: merged 2026-05-21, removes all mdx tests from xref2 to reduce CI breakage from internal representation changes. #1437

ocaml/opam

Permalink

Features

opam .install files: PR #6938 proposes prefix and prefixexec sections in .install files, allowing install scripts to reference the target prefix without hard-coding paths. Open, not yet merged.

opam install autopin cleanup: PR #6923 adds a prompt after a failed or aborted opam install to remove packages that were automatically pinned during the attempt. Open, queued.

opam manpage generation: PR #6921 standardises bold highlighting for options, arguments, and environment variables across all generated manpages, replacing inconsistent italic usage. Open.

Compatibility and Releases

opam API – repository roots: PR #6680 merged 2026-05-22, introducing abstract types over repository roots to simplify adding new repository formats. Part of the #6625 performance rework.

opam API – OpamPatch module: PR #6934 merged 2026-05-18, exporting patch-related functions into a dedicated OpamPatch module. Prepares the API for changes in #6625.

Fixes

opam config subst: PR #6936 fixes incorrect handling of absolute paths in opam config subst, resolving #6925. Open.

opam --locked undefined variables: Issue #6946 reports that undefined boolean filter values (e.g. with-dev-setup) cause a fatal error under --locked instead of defaulting to false. Affects opam 2.1 through 2.5. Open.

opam on Windows: Issue #6940 reports that opam install dir/*.opam rejects / as a directory separator on mingw64, producing "Invalid character '/' in package name". Affects opam 2.5.1. Open.

ocaml/opam-repository

Permalink

Features

  • awso 0.9.0 (open): New 6-package AWS API library covering 400+ services with async, lwt, and sync backends. Minimum OCaml 4.14; dune 3.6. #29921
  • slipshow 0.11.0 (open): Adds an LSP server via slipshow lsp and raw HTML includes. Breaking change: frontmatter toplevel-attributes renamed to attributes. #29951
  • lrgrep 0.9: First public release of the Menhir parser error-message tool. Adds precise enumeration/coverage, JSON report output, and an OCaml application. #29928
  • OCaml 5.4.1 + lrgrep: New compiler variant with improved syntax error messages via lrgrep. Marked avoid-version so it is not selected as the default 5.4.1. #29932

Compatibility and Releases

  • ppxlib upper bound on rdf: Adds an upper bound on ppxlib.0.37.0 to prevent a Longident.t type-incompatibility break. #29942
  • lwt 5.10.0 / OCaml 5.5: Adds an ocaml < 5.5 upper bound to lwt.5.10.0, which fails to compile against the 5.5 beta socketaddr.h changes. #29923

Fixes

  • tls 2.1.0: Fixes CVE-2026-45389 and CVE-2026-45388 by adding keyUsage/extendedKeyUsage validation on server and TLS 1.3 client paths. Also corrects drain_handshake and tls-mirage writev behaviour. #29930
  • tar 3.5.0: Fixes a security issue in the unix, lwt-unix, and eio backends, plus integer overflows from Int64.to_int on 32-bit platforms. #29940
  • dune 3.23.1: Stops injecting a menhir dependency into packages that did not declare one. Restores prior opam version-bound output for lang < 3.23 projects. Fixes NetBSD bootstrap. #29903
  • opam Windows dependency graph: Corrects host-arch/host-system post-dependencies so uninstalling one triggers a compiler rebuild. Moves mingw-w64-shims into ocaml-env-mingw packages to prevent race conditions. #29907

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Promise/Fetch bindings: #2239 adds Promise, Fetch, and Abort modules to the standard library, with Lwt interop via Js_of_ocaml_lwt.Promise. Open, under review.

  • js_of_ocaml loop extraction: #2245 extracts outermost loops from the toplevel function into helper closures so engines tier up small helpers instead of the full init code. Benefits both JavaScript and Wasm output. Open; supersedes closed #2212.

  • js_of_ocaml --build-config output: #2247 omits keys at their default value in --build-config output, keeping dune-derived paths within Windows MAX_PATH. Open.

Fixes

  • js_of_ocaml --effects=double-translation: #2243 adds a trampoline for direct-style mutual recursion to prevent stack overflow at depth. Confirmed working by a user with a menhir-generated parser. Open.

  • js_of_ocaml Wasm codegen: #2246 and #2244 (both merged) fix a closure environment type name collision and bound handler traversal to the dominator subtree, respectively.

Compatibility and Releases

  • js_of_ocaml Oxcaml update: #2225 (merged) updates Oxcaml to 5.2.0minus31, correcting caml_simd_float32_min_bytecode to match x86 MINSS NaN and ±0 semantics.

  • js_of_ocaml 6.4 release: #2241 tracks the upcoming 6.4 release targeting OCaml 5.5, listing PRs #2231, #2239, #2225, #2070, #2159, and #2240 as candidates.

oxcaml/merlin

Permalink

Merlin (oxcaml/merlin): PR #239 ("[5.4] Merge minus-37", opened 2026-05-05 by dkalinichenko-js) was updated on 2026-05-19 and remains open. No merged change, release, or user-facing feature is recorded in the supplied data for this interval; the nature of the update is not specified.

oxcaml/opam-repository

Permalink

Fixes

  • OxCaml opam-repository: ocaml-variants fails to build inside a Dune project because Makefile.config is missing after commit 2f92731. The fix is tracked in #14544 and is expected in Dune 3.24. Issue #48 remains open.

Features

  • OxCaml opam-repository: PR #50 (merged 2026-05-24, by avsm) adds a dependency on the unboxed package to the core_extended opam definition.

  • OxCaml opam-repository: PR #49 (opened 2026-05-20, by jonludlam) adds the remaining packages built from the Dune repository to the OxCaml opam-repository. Still open.

oxcaml/oxcaml

Permalink

Features

OxCaml preemptible fibers: Merged runtime support for fibers carrying a tickc callback invoked at each runtime tick, enabling cooperative preemption without interval timers. Replaces the former caml_domain_preempt_self test-only mechanism. #5913

OxCaml kind any fields: Merged support for record fields and constructor arguments declared with kind any, deferring representation resolution to use sites. Projecting such a field requires a more refined, representable kind. #5461

OxCaml idx_atomic: Opened PR adding a third block-index type for [@atomic] fields, emitting atomic loads/stores and supporting compare-and-swap. Currently limited to value-kind targets. #6130

OxCaml CFG jump threading: Opened PR adding a pre-register-allocation pass that folds comparisons into branch terminators and threads jumps through empty merge blocks, eliminating intermediate boolean materialization for ||/&& patterns. #6104

OxCaml normal form morphisms: Opened PR restructuring mode morphisms into core, simple, and full layers to guarantee a finite set of allowed morphisms. Active review ongoing. #5453

Fixes

OxCaml caml_darken: Merged fix making caml_darken use atomic compare-and-exchange on lazy/forcing header words, preventing a race with concurrent domain updates during GC marking. #6109

OxCaml unboxed C call kinds: Merged fix ensuring results of unboxed C calls receive correctly typed variables instead of reusing Variable.rename, which produced wrong kinds and caused miscompilation. #6099

Compatibility and Releases

OxCaml 5.4 branch: Merged upgrade of the 5.4 maintenance branch to the 5.2.0minus-37 upstream tag, resolving runtime and otherlibs conflicts. #5973

11 repositories · no changes