Thicket thicket
ocaml
REPOS 27
W23.2026 · 1–7 Jun

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio Eio_linux.Low_level.Fixed: New module for managing fixed-buffer regions inside Eio, replacing the Uring.Region API. Breaking change for existing fixed-buffer users. Merged 2026-06-04. (#848)
  • Eio ftruncate/fdatasync: Adds ftruncate and fdatasync operations and routes fsync through io_uring. Requires trunk ocaml-uring. Open, not yet merged. (#850)
  • Eio chown: Adds fchownat-based ownership changes to both eio_posix and eio_linux. Open, not yet merged. By patricoferris. (#781)

Fixes

  • Eio parallel stdout writes: Closes a long-standing Eio.Io Unix_error (Interrupted system call, "writev") crash when multiple domains write to stdout concurrently. Fixed via DEFER_TASKRUN in #842. Closed 2026-06-01. (#788)

Compatibility and Releases

  • Eio scheduler read/write path: Proposes moving short-read/write retries from the scheduler into the calling fiber, removing fixed-buffer special cases and the Read/Write job types. Open, not yet merged. (#849)
  • Eio fixed buffers default: Proposes disabling io_uring fixed buffers by default to avoid a ZFS kernel bug requiring reboot; also considers restricting io_uring to kernel 7+. Open. (#845)

ocaml-multicore/meio

Permalink

Features

  • Meio: Merged PR #75 switches the meio executable to cmdliner for argument parsing and bumps the ocamlformat version.

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring: adds shutdown, socket, renameat, and symlinkat syscall bindings. Merged by avsm. #147
  • ocaml-uring: adds fallocate and ftruncate bindings for file allocation and truncation via io_uring. Merged by avsm. #149
  • ocaml-uring: proposes switching the buffer type from bigarray/cstruct to bytes, requiring backing buffers >2 KB. Open by avsm. #153
  • ocaml-uring: proposes setting CLOEXEC on socket creation to support Eio fd management directly from uring. Open by avsm. #151

Fixes

  • ocaml-uring: corrects an inverted statx attribute-supported check that could report unsupported attributes as supported. Merged by avsm. #142
  • ocaml-uring: io_uring_submit now reports errors instead of returning a negative number. Merged by talx5. #144
  • ocaml-uring: Region.init now raises early on out-of-bounds slot counts rather than failing on a later access. Merged by avsm. #145

Compatibility and Releases

  • ocaml-uring: proposes an errno module exposing Linux-specific error codes for uring operations. Open by avsm. #152

ocaml/RFCs

Permalink

Features

  • OCaml RFC #52 (implicit source positions): open proposal, updated 2026-06-03. Introduces a loc:[%call_pos] arrow that auto-fills a Lexing.position parameter with the call-site location. #52

ocaml/dune

Permalink

Features

Dune enabled_if: Merged (#14860). enabled_if in executable and install stanzas now accepts any variable, matching library behaviour. Requires dune language 3.25.

Dune configurator Pkg_config: Merged (#14947). C.Pkg_config.get gains a ~static parameter that passes --static to pkg-config, enabling static-linking flag queries.

Compatibility and Releases

Dune 3.24.0~alpha2: Released 2026-06-05. Adds %{pkg:<pkg>:<section>:<path>} pform, enables the relocatable compiler by default, promotes directory targets to GA, and validates profile names. (release)

Dune Melange 1.0: Merged (#15022). The built-in ReScript dialect is no longer registered for projects using (using melange 1.0).

Dune 3.25 (main): Version bumped from 3.24 to 3.25 on the main branch. (#14872)

Fixes

Dune Melange build: Merged (#15021). Dune skips Melange rule generation when melc is not on PATH, preventing build failures in single-context projects.

Dune on illumos/Solaris: Merged (#14980). wait4(0, …) replaces wait4(-1, …) and the spawn stub retries read() on EINTR, fixing indefinite hangs.

Dune install with dirs: Conflicting stanzas targeting the same path now report "Multiple rules generated" instead of crashing with an internal Map.add_exn error. (#14422)

ocaml/merlin

Permalink

Fixes

  • Merlin Emacs integration: replaces when-let with let + when in merlin--construct-point to silence an Emacs 31 byte-compiler obsoletion warning. Behaviour is unchanged; the declared minimum Emacs version stays at 25.1. (#2076, merged 2026-06-02, by dannywillems)

ocaml/ocaml

Permalink

Features

  • OCaml Lambda (proposal): Open PR merges nested labelled applications in Lambda, eliminating spurious intermediate closures. May change evaluation order for optional arguments in edge cases; under discussion at the developer meeting. #14763

  • OCaml GC (proposal): Open PR defers ephemeron marking rounds until all domains finish normal marking, reducing redundant work on multi-domain systems. Benchmarks show ~14% speedup on a 12-domain hashconsing workload. #14774

Compatibility and Releases

  • OCaml DragonFly BSD: Merged support for frame-pointer backtraces on DragonFly BSD, including recognition of the platform in ocamltest. Resolves assembler errors with gcc 8.3 and binutils 2.34. #14840

Fixes

  • OCaml flambda: Merged fix prevents an infinite inlining loop when a recursive function's default-argument stub calls itself. Resolves a compiler hang on code like let rec f ?(x = f ()) () = x + 1. #14839

  • OCaml runtime events: Merged fix terminates with a fatal error when an event exceeds the ring buffer size, instead of looping indefinitely. Closes a hang in test_caml_runparams.ml with the instrumented runtime. #14834

  • OCaml warning 60: Merged fix reports the unused-module warning at the substitution site rather than the original declaration, correcting the source location when .mli files are compiled separately. #14831

  • OCaml type recovery: Merged fix copies module paths during type-expression freezing so that later unification of unscoped identifiers does not alter earlier error messages involving modular explicits. #14824

  • OCaml typechecker (regression): Open bug reports a Ctype.Unify crash on trunk when passing a functor argument through a locally-abstract scope; bisected to PR #11648. A fix is proposed in an open PR. #14842, #14845

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (proposal): #1607 proposes integrating ocamlgrep, a structural search tool that queries typed ASTs (cmt files) with OCaml expressions and optional type constraints. A maintainer questions the LSP protocol fit, comparing it to wrapping ripgrep.

ocaml/ocaml.org

Permalink

Features

ocaml.org Workshop 2026 site: Merged pre-event mini-site at /ocaml-workshop-2026 with CFP and committee pages for FPW'26 (24 Aug 2026, Paris). Content by co-chairs Sudha Parimala and Paulo de Vilhena. #3670

Backstage OCaml (WASI prototype): Open PR proposes an article documenting the WASI toolchain. Comments note exnref exception handling is now default for WASI binaries; --enable exnref is removed and wizeng no longer requires -ext:legacy-eh. #3667

ocaml/odoc

Permalink

Features

  • odoc: merged PR #1422 renders [@@zero_alloc] annotations on OxCaml signatures in generated documentation. Closes #1418.
  • odoc: open PR #1444 omits the arity argument from [@@zero_alloc] display when it matches the function's own arity, reducing redundant output.
  • odoc: open issue #1443 requests rendering of OxCaml kind_ definitions and cross-links from kind abbreviations to their definitions.

Compatibility and Releases

  • odoc 3.2.0: issue #1401 closed confirming OCaml 5.5 support; opam-repository ships 3.2.1.

ocaml/opam

Permalink

Features

opam .install format: PR #6938 (open) adds prefix and prefixexec sections to .install files, letting package authors declare path-relative install targets. Queued behind #6956, which adds an exhaustive reftest for all .install fields.

opam OpamTar module: PR #6945 (open, labelled READY TO MERGE) introduces an OpamTar API for creating and reading .tar.gz archives in-process, replacing external tar invocations. Part of the larger effort in #6625 to eliminate I/O from repository parsing.

Compatibility and Releases

opam public API: PR #6954 (open) removes 366 unused exported values, fields, and constructors identified by dead-code analysis. This is a breaking change for external consumers of the opam library; the OpamHash and OpamSHA APIs are also simplified.

Fixes

opam init --bare: PR #6957 (open) skips default-compiler selection when --bare is passed, removing a ~2.5 s delay. Fixes #5815.

opam source --dev: PR #6955 (open) prevents opam-specific git configuration from being applied during opam source --dev (full-fetch) operations. Resolves #6451.

opam upgrade cycle: Issue #6951 (open) reports that consecutive opam update; opam upgrade runs oscillate between downgrading and upgrading the same packages (e.g. dune-rpc, stdune), forcing repeated recompilation of dependents. No fix merged in this interval.

ocaml/opam-repository

Permalink

Features

  • Dune 3.24.0~alpha2: removes (lang coq) in favour of (using rocq <version>), adds the %{pkg:<package>:<section>:<path>} pform, and enables the relocatable compiler by default. Projects still declaring (using coq <version>) now receive an error. (#29996)
  • Awskit 0.1.0: new 10-package submission covering AWS signing, credentials, endpoints, and an S3 client with Eio and Lwt runtime adapters. PR #29980 is open. (#29980)
  • Raylib 2.0.0: major update to raylib 6.0; flag-like constants change from variants to values with a + combinator, and of_int/to_int are removed from most enum constants. Merged. (#29978)
  • Migra 1.0.0: new database migration tool for PostgreSQL, MariaDB, and SQLite with checksum validation, --dry-run, and a redo command. PR #30002 is open. (#30002)
  • opam-packages-option-static-linking: proposal to add a marker package that, when installed, causes discover.ml scripts to emit static-linking flags via pkg-config --static. Discussion ongoing. (#29975)

Fixes

  • opam-repository conf-* packages: a commit adding conf-pkg-config {>= "5"} to multiple conf-* packages invalidated existing opam lock lockfiles and broke Windows builds. The change was fully reverted. (#29985, #29987)
  • opam-repository Windows CI: new workflow installs edited packages at their master version, locks the switch, then upgrades to the PR version to catch state changes and verify lockfile behaviour. PR #29998 is open. (#29998)

Compatibility and Releases

  • Coq/Rocq packages: upper bound dune < 3.24 added to all packages using (lang coq) or (using coq <version>), which dune 3.24 removes. Merged. (#29988)

ocsigen/js_of_ocaml

Permalink

Features

  • Js_of_ocaml: Intl.RelativeTimeFormat binding merged, adding the ECMA-402 relative time formatting API to the standard library. #2070
  • Js_of_ocaml: Css_font_loading module proposed, binding FontFace, FontFaceSet, and document.fonts for the CSS Font Loading API. #2255
  • Js_of_ocaml: WASI output target proposed via wasm_of_ocaml --enable wasi, producing binaries runnable by wasmtime or Wizard. #1831
  • Js_of_ocaml: documentation migration to odoc and wodoc proposed, replacing the wiki pipeline with a single dune build @doc step. #2261

Fixes

  • Js_of_ocaml: uncaughtException handler now installs only for standalone programs, so loading jsoo output in the Node REPL no longer aborts the host process. #2258
  • Js_of_ocaml: wasm-opt --opt 1 call removed from the wasm pipeline, reducing test-suite compilation time by ~60%. #2238
  • Js_of_ocaml: cosmetic minification proposed for compact-mode JS output: booleans as !0/!1, stripped leading zeros in fractions, normalised exponents. #2257

Compatibility and Releases

  • Js_of_ocaml 6.4: release tracking issue updated, listing targeted PRs for the next release alongside OCaml 5.5. #2241

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin 5.4: #239 ("Merge minus-37") was updated 2026-06-03 and remains open. No merge or release occurred within the interval.

oxcaml/oxcaml

Permalink

Features

OxCaml box types: proposes a box type operator that reduces with unboxed types (t# box = t), enabling explicit boxing in the type system. Under active review with concerns about GADT exhaustiveness and type-inference completeness. #5342

OxCaml SSA backend: introduces an SSA intermediate representation between Cmm and CFG, with a reducer framework for SSA-to-SSA transforms and a Cfg_compare validator. Enabled via -use-ssa; off by default. #5810

OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, copy) into type inference behind -extension mode_polymorphism_alpha. Prints polymorphic mode variables with bounds and constraints. #5483

OxCaml layout-polymorphic functions: implements let poly_ f x = … translation through kind templates and closure conversion in slambda. Currently creates duplicate function bodies per call; deduplication deferred. #5870

OxCaml -remap / -alias: two new flags for redirecting persistent module references. -remap rewrites names in generated artifacts; -alias records a hidden module alias in the .cmi. #6182

OxCaml Flambda2 BFS meet: adds a breadth-first (and hybrid) strategy for processing type equations during meet, selectable via -X flambda2-meet-strategy=bfs. Addresses precision loss from depth-first recursion in relational typing. #6191

Fixes

OxCaml recursive jkind computation: merged fix that computes declaration jkinds in topological order, resolving incorrect variable representations and previously rejected mutually recursive types. #6177

OxCaml variant unboxing: open issue identifying that eager variant unboxing in Flambda2 defeats identity-switch elimination when no local allocation exists. Proposes unboxing only when a use already has the field available. #6180

12 repositories · no changes