Thicket thicket
ocaml
REPOS 27
W20.2026 · 11–17 May

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #823): Merged Eio_unix.Stdenv.override, allowing programs to replace individual capabilities (e.g. a process manager) within a Stdenv.t environment record. Extends the capability-based resource model for wrapping or debugging specific resources. Link

  • Eio (issue #831): Open proposal for Eio.Stdenv.tmp and Path.open_temp_dir / with_temp_dir to create and auto-remove temporary directories through the capability model. Updated 2026-05-13 with a use case for atomic cross-directory renames. Link

Compatibility and Releases

  • Eio (PR #839): Merged update for the new Uring.Res.t return type in ocaml-uring, casting back to int to remain compatible with both old and new uring versions. Link

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring: Merged #131 adds the Uring.Res module; uring operations now return Uring.Res.t (a private int) instead of bare int. Provides typed conversion to Unix.file_descr or error, eliminating Obj.magic workarounds.
  • ocaml-uring: #130 (type-safe wait functions, by dra27) closed without merging. Explores encoding return types in job IDs to eliminate bare int results; discussion notes Eio integration challenges.

Fixes

  • ocaml-uring: Merged #132 adds MSG_CMSG_CLOEXEC when receiving file descriptors. Prevents FD leaks in multi-threaded programs where setting CLOEXEC after creation is too late.
  • ocaml-uring: Merged #134 skips the receive step in the send test when the send fails, preventing test hangs on Linux 5.10.

Compatibility and Releases

  • ocaml-uring: Merged #133 adds a documentation warning that Uring.write_fixed hangs on ZFS filesystems (issue #113). The underlying kernel bug is not fixable in userspace.
  • ocaml-uring: #117 (FD from Uring.accept unusable with Unix module) closed as resolved by the Uring.Res module in PR #131.
  • ocaml-uring: #55 (FD-passing sendmsg failing with EINVAL on WSL2) closed as presumably fixed by kernel updates.
  • ocaml-uring: #129 (alternative FD conversion approach) closed in favour of the simpler Uring.Res design in PR #131.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #60: Open proposal for a persistent mode in ocamlc, ocamlopt, and ocamldep to reduce per-invocation process-startup and .cmi re-reading cost. Updated 2026-05-14; still open, not merged. PR

ocaml/dune

Permalink

Features

  • Dune per-module dep filter: first infrastructure layer merged to main; remaining layers in review. Consumer compile rules will see only referenced library artefacts, eliminating unnecessary rebuilds when unreferenced sibling libraries change. #14492

  • Dune Melange 3.24: conditional (melange.modules) field merged; melange.preprocess and melange.preprocessor_deps proposed, both gated on Dune language 3.24. #14482, #14572

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

Fixes

  • Dune 3.23.1: released 2026-05-14. Fixes menhir opam injection, dune version-bound dedup in generated opam files, jsoo shared-runtime library order, secondary-compiler fallback for OCaml < 4.14, and NetBSD bootstrap. Release

  • Dune dune-configurator: String.ends_with call fails on OCaml 4.11–4.13 because compat shims were removed in 3.23.0, yet the opam lower bound still reads 4.08. Open issue; resolution pending. #14548

  • Dune package management: lock directories in subdirectories now resolve correctly; .cmxs link no longer races the native stubs archive under parallel builds. #14524, #14500

Compatibility and Releases

  • Dune language 3.24: version bumped on main. Melange 0.1 to be deleted, melange.modules gated to 3.24, directory targets to be stabilised. Projects using (lang dune 3.23) are unaffected. #14559, #14574, #14579

  • Dune (lang coq): removed from main. Projects must migrate to (lang rocq); existing (lang coq) stanzas will no longer parse. #14525

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #2064): adds an ocamlgrep subcommand for structural search across all .cmt files in a Dune workspace. Open and explicitly marked tentative; not merged.

Fixes

  • Merlin locate (PR #2066): fixes locate returning "Already at definition point" in let-punning bindings where pattern and expression share a location. Open; not yet merged.

  • Merlin signature-help (PR #2067): expands type aliases once so signature help shows the underlying function type (e.g. f : int -> unit instead of nothing). Open; not yet merged.

ocaml/ocaml

Permalink

Features

  • OCaml typing recovery (PR #14241): Open proposal adding a -typing-recovery flag so the typechecker reports multiple errors per file instead of stopping at the first. Upstreamed from Merlin. Link

  • OCaml GC pacing (PR #14796): Open implementation of a new GC pacing model with configurable parameters, tracked under meta-issue #14324. Aims to reduce GC overhead in multi-domain programs. Link

  • OCaml constructors as functions (PR #14803): Open proposal to eta-expand argument-less constructor expressions in function-type contexts, enabling List.map Some [1;2;3] without explicit lambdas. Link

  • OCaml Weak module (PR #14792): Open addition of Weak.iter, Weak.iteri, and Weak.foldi_left, which traverse live slots without wrapping elements in option, avoiding per-element heap allocation. Link

Fixes

  • OCaml Pprintast (PR #14797): Merged fix restoring attribute printing for Ptyp_package nodes, correcting a regression introduced in 5.4.0 that dropped [@...] attributes during pretty-printing. Link

  • OCaml runtime ephemerons (PR #14722): Merged fix for a bug where a domain joining and terminating within one major GC cycle could corrupt num_domains_todo, causing assertion failures in debug builds. Link

  • OCaml configure (PR #14802): Merged fix for --with-relative-libdir detection on OpenSUSE, where the default libdir of ${exec_prefix}/lib64 was not recognised, breaking opam switch installation. Link

Compatibility and Releases

  • OCaml Lambda labelled applications (PR #14763): Open optimisation merging nested labelled applications with omitted arguments, eliminating spurious intermediate closures. Changes evaluation order in edge cases involving consecutive optional arguments. Link

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp-server 1.26.0: build fails on FreeBSD 15.0 because vendored lev includes <sys/statfs.h>, absent on that platform. A patch redirects the include to <sys/mount.h> under __FreeBSD__; upstream fix tracked at #101. Issue closed 2026-05-14.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org platform changelogs: PR #3641 (open) adds release entries for OCaml 5.5.0~beta1, opam-publish 3.0.0, ocamlformat 0.29.0, odoc 3.2.0, and five other platform tools. Awaiting maintainer review.
  • ocaml.org Tour of OCaml: PR #3654 (open) proposes readability changes to the Tour page aimed at new users.
  • ocaml.org industrial users: Issue #3652 (open) documents AWS as an industrial user via s2n-bignum and HOL Light, both OCaml-based.
  • ocaml.org job listings: PR #3656 (open) adds a Cloud Software Group job listing (R104592).

Fixes

  • ocaml.org changelog dates: PR #3653 (merged) corrects a filename typo that displayed merlin 5.7.0-504 and ocaml-lsp 1.26.0 as released on 2026-10-04.
  • ocaml.org Tour of OCaml: PR #3649 (merged) fixes # formatting in a code block to reduce confusion for new readers.

ocaml/odoc

Permalink

Features

  • Odoc OxCaml unboxed types: Merged support for unboxed named types (foo#) in generated documentation. The trailing # was previously omitted. #1407
  • Odoc zero-alloc annotation: Open PR to retain [@@zero_alloc] annotations from OxCaml source in parsed output. Discussion indicates the data is already present in .cmi/.cmti compiler artefacts. #1422
  • Odoc OxCaml modalities: Open PR adding support for OxCaml modalities in documentation output. Fixes issue #1416. #1420

Compatibility and Releases

  • Odoc v3.2.1: Released with fixes for #1426 (docs broken in packages including base on OCaml 5.5.0), #1429, and #1431. Release
  • Odoc OxCaml version guard: Merged guard for OxCaml versions below 5.2.0minus31 to avoid conflicts. #1432

Fixes

  • Odoc v3.2.0 regression: Merged fix for an unrecoverable exception when a local module substitution in an include cannot be resolved. The signature is now left unmodified instead of crashing. #1433
  • Odoc merlin-lib build: Merged fix for an assertion failure when building docs for packages including merlin-lib. Regression triggered by the #930 fix in v3.2.0. #1430
  • Odoc voodoo include paths: Merged fix to transitive-close lib_deps before per-compile -I emission in odoc_driver voodoo mode. Previously some include paths were missing. #1434

ocaml/opam

Permalink

Features

  • opam autopin cleanup (PR #6923, open): opam install prompts to remove auto-pinned packages when installation fails or is aborted, simplifying cleanup of local package pins.

  • opam .install prefix field (issue #6919, open): proposes a prefix field in .install files so cross-compiled packages can install into subdirectories of the switch prefix.

Compatibility and Releases

  • opam documentation (PR #6809, merged): replaces the inline API code snippet in the manual with a link to the generated API documentation.

  • opam man2html (PR #6807, merged): restricts man2html invocation to actual man pages, eliminating spurious error output and empty files in the generated /doc/man directory.

Fixes

  • opam OpamSystem API (PR #6910, merged): removes unnecessary chdir calls. Adds a ?dir optional argument to OpamSystem.command, commands, and read_command_output.

  • opam shell init (PR #6930, open): fixes a non-zero exit code leak in the Zsh and Fish opam-init scripts when the environment is already initialized.

  • opam Solaris/Illumos resize (PR #6933, open): corrects the terminal-resize signal number for Illumos (20 instead of 28). Requires OCaml 5.4 or newer.

  • opam Windows DLL loading (issue #6931, open): opam publish and other dynlinked plugins fail with exit code 127 from PowerShell because depexts-installed DLLs are unreachable outside the internal Cygwin context.

ocaml/opam-repository

Permalink

Features

  • pyro-caml 1.0.0: Merged. New continuous profiler for OCaml with a Pyroscope backend, shipped as three packages (pyro-caml, pyro-caml-instruments, pyro-caml-ppx). Requires OCaml ≥ 5.3. (#29901)
  • obuilder 0.7.0: Merged. Adds QEMU sandbox, HCS (Windows containers), and Overlayfs store backends; fixes failed-build exit status and stale base-image cache. (#29887)
  • valkey 0.4.0: Open PR adding typed wrappers for Valkey Bundle Search, JSON, and Bloom modules. (#29916)

Compatibility and Releases

  • lwt 5.10.0: Merged. New release of the promise and event-driven I/O library. (#29888)
  • ocaml-version 4.1.1: Merged. Removes OCaml 4.08 from the significant-releases list; the lowest curated version is now 4.11. (#29889)

Fixes

  • Dune 3.23.1: Open PR fixing menhir dependency injection, gating version-bound deduplication on lang dune 3.23, and restoring the NetBSD bootstrap. Also restores the secondary-compiler fallback for packages with OCaml < 4.14 upper bounds. (#29903)
  • Camlp5 8.04.02: Merged. Fixes labeled-tuple syntax bugs in pa_ppx_* packages. Version 8.05.00 was retracted the same day due to a let-str-item parsing bug; 8.05.01 is pending. (#29898, #29899, #29913)
  • opam-repository Windows CI: Open PR by @dra27 fixing compiler rebuild triggers when switching host-arch- or host-system- packages, and relocating mingw-w64-shims into ocaml-env-mingw packages. (#29907)

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (QuickJS-NG): Merged PR adds a quickjs dune profile, real-disk filesystem via fs_quickjs.js, byte-faithful stdout/stderr, and a CI job. #2229
  • js_of_ocaml (Wasm build time): Open PR removes wasm-opt --opt 1, reducing wasm_of_ocaml compilation time by ~60% and preserving variable names for debugging. #2238
  • js_of_ocaml (Promise/Fetch): Open PR adds Promise, Fetch, and Abort module bindings with Lwt interop and Promise-typed Dom_html methods. #2239

Fixes

  • js_of_ocaml (Dom types): Merged PR corrects defaultChecked to bool t prop, createVideo return type, and selection.collapse signature. #2221
  • js_of_ocaml (beforeunload): Open PR fixes onbeforeunload handlers returning Js._true triggering the browser's "Leave page?" dialog. #2159

Compatibility and Releases

  • js_of_ocaml (browser compat docs): Merged PR adds a manual chapter on downleveling with Babel + core-js + esbuild, plus a CI-gated end-to-end test. #2216
  • js_of_ocaml (Wasm size): Merged PR moves constant expressions into global variables, halving the toplevel function size on the PRT benchmark. #2211
  • js_of_ocaml (target-env): Issue requesting a --target-env=neutral option closed; maintainers consider isomorphic sufficient for non-browser/non-Node targets. #2226

oxcaml/merlin

Permalink

Merlin (oxcaml/merlin): PR #239 ("[5.4] Merge minus-37", opened by dkalinichenko-js) was updated on 2026-05-11 and remains open. No commits, comments, or labels are recorded in the supplied data, so the specific change within the interval cannot be determined.

oxcaml/opam-repository

Permalink

Features

OxCaml opam-repository: Merged CI change to build documentation with upstream odoc rather than a pinned version. #45, by dra27-js.

Compatibility and Releases

OxCaml opam-repository: Open request to bump packages to v0.18~preview.130.100+614 to resolve a build failure in ocaml_intrinsics_kernel; roughly 30 packages lack release commits for that version. #46, by artempyanykh.

oxcaml/oxcaml

Permalink

Features

  • OxCaml mode polymorphism: Open research stack (#5478–#5488, #5453) by ainageorges adds functional mode polymorphism with level-based generalization and copy. Gated behind -extension mode_polymorphism_alpha.

  • OxCaml SSA backend: Open PR (#5810) by ttebbi-janestreet introduces an SSA IR between Cmm and CFG with a reducer framework and cross-pipeline validation. Enabled via -use-ssa.

  • OxCaml preemptible fibers: Merged preemption runtime (#4881) adds effects-based preemption at GC points; open follow-up (#5913) extends to per-fiber tick callbacks.

  • OxCaml custom or_null: Open PR (#5830) allows zero-, unused-, and multi-parameter [@@or_null] declarations with inferred result kinds. Reviewers settled on an ordinary-kind-scheme design over best-kind polymorphism.

  • OxCaml sparse immediate tags: Open PRs (#6097, #6098) add [@immediate <int>] on constant constructors, permitting sparse and negative runtime tags.

  • OxCaml DWARF standard attributes: Open PR (#6093) replaces the custom DW_AT_ocaml_offset_record_from_pointer with standard DW_FORM_exprloc attributes and accurate variant sizes. Breaking change for the LLDB plugin.

Compatibility and Releases

  • OxCaml ikinds: Merged (#5999) enables ikinds by default. The old -ikinds flag is replaced by -no-ikinds.

  • OxCaml metaprogramming: Merged [@magic_staged_modes] (#6066) delays mode checks on quotes and splices to program generation; merged cmi_bundle fix (#6043) resolves missing-alias crashes.

12 repositories · no changes