Thicket thicket
ocaml
REPOS 27
W19.2026 · 4–10 May

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • eio (proposal): Eio.Promise.map requested to map a promise without requiring a switch. Discussion notes the multicore scheduling problem: the mapping function's domain of execution is ambiguous when producers and consumers span domains. Issue remains open. #838

ocaml/dune

Permalink

Features

%{bin:...} resolution: Open PR changes %{bin:NAME} to resolve to the build artifact path rather than the install staging area. Not gated by lang version, making it a breaking change for actions using the pform as a string value. #14432

Per-module dependency filtering: Open PR narrows compile-rule deps to only libraries a module actually references, eliminating over-rebuilds when unreferenced sibling libraries change. Addresses long-standing issue #4572 on incremental build times. #14472

Relocatable compiler: Merged; makes the relocatable OCaml compiler the default for dune pkg, enabling build-cache reuse of the compiler across projects and builds. #14357

Single solve for portable lockdirs: Open PR replaces per-platform solves with a single SAT solve, enabling consistent package versions across platforms in dune pkg lock. #14458

Fixes

Menhir opam injection: Merged; restricts the >= "20180523" lower-bound to packages that already declare (depends menhir), fixing spurious deps added to all packages in 3.23.0. Backported to 3.23.1. #14434

Opam version gate: Merged; gates dune-bound deduplication in generated opam files on (lang dune 3.23), reverting the unversioned change that altered output for projects at earlier lang versions. #14466

Compatibility and Releases

Dune 3.23.0: Released with user rules sandboxed by default, compile_commands.json generation for C/C++ stubs (editor integration), no auto-promotion of opam files, and support for multiple (dirs ..) stanzas under (lang dune 3.23). Release

Dune 3.23.1: In progress; backports the menhir and opam-generation regressions from 3.23.0. Release branch open with fixes merged. #14441

ocaml/merlin

Permalink

Features

  • Merlin (ocamlgrep proposal): PR #2064 proposes a new ocamlgrep subcommand for type-aware structural search across project cmt files. Maintainers discuss deeper integration sharing merlin's artifact caches and project-root discovery rather than a standalone binary.

Compatibility and Releases

  • Merlin (misc.ml sync): PR #2059 merged, synchronizing merlin's utility module with the compiler's utils/misc.ml. Files moved to src/ocaml/utils/ to reduce drift on future compiler updates.

ocaml/ocaml

Permalink

Features

  • OCaml stdlib: proposes Weak.iter, Weak.iteri, and Weak.fold_left; iteri is a C primitive that avoids per-element heap allocation. #14792 (open)
  • OCaml runtime: proposes a new GC pacing mechanism with configurable parameters, tracked as a meta-issue with multiple prerequisite patches. #14796 (open, draft)

Fixes

  • OCaml trunk: Unix.opendir on Windows now raises ENOTDIR instead of EUNKNOWNERR -267 when the path is not a directory. This is a breaking change. #14788 (merged)
  • OCaml 5.5: fixes null-pointer dereference in getgrnam_r and related POSIX thread-safe functions in libunix. Cherry-picked from trunk. #14715 (merged)
  • OCaml riscv64 backend: reports a miscompile where ocamlopt emits jump tables assuming 4-byte stride but the assembler compresses to 2-byte c.j under -march=rv64gc. #14799 (open)
  • OCaml 5.4.0: Pprintast drops attributes attached to package_type nodes (e.g. (module M : (A [@a]))); a fix is in review. #14797 (open)
  • OCaml stdlib: Seq.repeat now allocates a single closure and cons cell for the entire cyclic sequence instead of one per element. #14783 (merged)
  • OCaml typechecker: adds a scope-escape check on types built by build_as_type to prevent uncaught exceptions with or-patterns and as aliases. #14789 (open)

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp (PR #1603): Merged 2026-05-05. Adds a pin-depends on merlin to ocaml-lsp-server.opam.template, resolving the build failure where Ocaml_utils.Misc was unbound. Fixes #1602.

  • ocaml-lsp (PR #1601): Merged 2026-05-04. Applies compatibility changes for #2059. No further detail is provided in the record.

Compatibility and Releases

  • ocaml-lsp (issue #1604): Open. On OCaml 4.14, opam upgrade downgrades ocaml-lsp-server from 1.21.0-4.14 to 1.17.0 because the older release predates the lsp library split, leaving an orphaned lsp package installed. A comment suggests restricting lsp >= 1.22 to OCaml ≥ 5 as a possible fix.

ocaml/ocaml.org

Permalink

Features

ocaml.org – dune 3.23.0 announcement: Merged release announcement for dune 3.23.0, noting that generated .opam files are no longer auto-promoted. #3637

ocaml.org – platform release changelogs: Open PR adding draft changelog pages for dune-release 2.2.1, mdx 2.5.2, ocamlformat 0.29.0, merlin v5.7.1-504, ocaml-lsp 1.26.0-5.5~preview, OCaml 5.5.0~beta1, utop 2.17.0, odoc 3.2.0, and opam-publish 3.0.0. #3641

ocaml.org – deps tutorial: Open PR adds the --with-dev-setup flag to the managing-dependencies tutorial so users see the option. #3646

ocaml.org – community events: Adds the recurring "Caml in the Capital" event and relocates S-REPLS from "London" to "England" to reflect its South England venues. #3633

Fixes

ocaml.org – values-and-functions page: Corrects a missing space before -> in a type definition on the values-and-functions documentation page. #3639

ocaml.org – contribution procedure: Merged clarification of how to submit entries to the industrial-users and success-stories pages. #3645

Compatibility and Releases

ocaml.org – industrial users: Adds AbsInt to the industrial-users list, confirmed by email. #3647

ocaml.org – dune alpha changelogs: Marks dune 3.22 and 3.23 alpha release notes as ignore: true in the platform-releases scraper to suppress unannounced alphas from the newsletter pipeline. #3640

ocaml/odoc

Permalink

Features

  • Odoc (OxCaml support): PR #1422 adds parsing of the [@@zero_alloc] annotation on signatures, retaining it in parsed output for documentation rendering. Still open and under review.

Compatibility and Releases

  • Odoc: PR #1432 adds an opam conflict for OxCaml < 5.2.0minus31, preventing installation with incompatible compiler versions. Merged 2026-05-11.
  • Odoc: PR #1428 removes bisect_ppx from the opam dependency list, reducing build dependencies for source builds. Merged 2026-05-05.

Fixes

  • Odoc 3.2.0: PR #1430 fixes an assertion failure when building docs for merlin-lib, a regression exposed by the earlier fix for #930. Merged 2026-05-11.
  • Odoc 3.2.0: PR #1427 fixes a Not_found crash when compiling docs with OCaml 5.5, caused by untracked identifiers in Arrow_functor type expressions. Merged 2026-05-04.
  • Odoc master: Issue #1431 reports a crash when running dune build @doc on core_unix, triggered by missing odoc files. Open within the reporting interval.

ocaml/opam

Permalink

Features

  • opam update (PR #6915, merged): opam update now applies repository diffs containing file-to-directory or directory-to-file renames, resolving the patch failure in #3830. Merged 2026-05-07.
  • opam install autopin cleanup (PR #6923, open): proposes unpinning packages that were auto-pinned during a local opam install when the user aborts the operation. Queued on #6910; discussion ongoing.

Fixes

  • opam zsh completion (PR #6930, open): adds return 0 to the zsh completion function to prevent leaking non-zero exit codes into the user's shell prompt. Opened 2026-05-09.
  • opam config subst (issue #6925, open): opam config subst /tmp/somefile fails with File_not_found because the path is treated as relative to $PWD. Reported 2026-05-06.

Compatibility and Releases

  • CI documentation trigger (PR #6927, merged): GitHub Actions now triggers the full CI suite on changes under doc/, fixing the gap where doc-only edits skipped the doc build. Merged 2026-05-11.
  • Makefile lib-tests target (PR #6928, merged): adds a lib-tests target to the top-level Makefile so library tests can be run without cd tests/lib. Merged 2026-05-11.
  • depopts documentation (PR #6920, merged): bolds the existing note distinguishing depopts filter behaviour from conflicts in the manpage. Closes #5367. Merged 2026-05-06.
  • Repository path-name modules (PR #6917, merged): introduces dedicated modules for opam-root and repository directory/filename constants, removing hardcoded strings. Merged 2026-05-11.

ocaml/opam-repository

Permalink

Features

Dune 3.23.0: Merged 2026-05-05. User rules are sandboxed by default; minimum OCaml to build Dune rises from 4.08 to 4.14. .opam files are no longer auto-promoted—use dune promote explicitly. #29844

New packages: vif 0.0.1~beta3 (web framework), mfat 0.0.1~beta1 (FAT32), mtbox 0.0.1~beta1 (Miou tools), sha256-cng 0.1.0 (Windows CNG hashing), doctor 0.1.0 (env diagnostics), ppx_forbid/ppx_enforce 0.1.0, stem 0.0.1, matcha 0.1.0, and miaou 0.5.2 (10-package TUI framework) all merged this week. vif, mfat, mtbox, sha256-cng, doctor, ppx_forbid, stem, matcha, miaou

Miou 0.6.0: Adds Miou.take for consuming orphan tasks and a Miou.Trace event system. Requires miou.runtime_events sub-package for OCaml runtime-event integration. #29855

Fixes

httpcats 0.3.0: Breaking API change: the connection value is now passed to the handler, and UNIX domain sockets can be specified for listening. Fixes double-close and runtime state-machine issues. #29859

Camlp5 8.05.00: Adds support for OCaml 5.5.0 syntax changes. A companion 8.04.01 release fixes label erasure in constructor expressions with labeled tuples. 8.05.00, 8.04.01

Compatibility and Releases

Mirage 4.11.0: Breaking: --dhcp becomes --no-dhcp; DNS/happy-eyeballs boot arguments switch from underscores to hyphens; Mirage_runtime.register removed. #29870

opam-repository lower bound: Packages requiring OCaml < 4.11 are archived. The supported compiler list is now 4.11+ and 5.3+. #29848, issue #29059

conf-git-daemon: New conf package ensuring git-daemon availability on distros that split it from git. Required by Dune 3.23.0 test infrastructure. #29838

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Wasm runtime (PR #2232, open): dispatches wasmoocaml:loaded and wasmoocaml:error CustomEvents on globalThis when asynchronous Wasm instantiation completes, letting external JavaScript wait for OCaml exports. Ported from ocaml-wasm/wasm_of_ocaml#143. Link

Compatibility and Releases

  • js_of_ocaml build system (PR #2231, open, blocked): switches to dune 3.23 and uses js_of_ocaml --build-config for configuration; blocked on ocaml/dune#14441 and ocaml/dune#14438. Link
  • js_of_ocaml CI (PR #2236, merged): adds a lower bound on the menhir dependency required by dune 3.23. Link
  • js_of_ocaml Node.js 26 (PR #2235, closed unmerged): a separate attempt to drop the same experimental flags; superseded by the merged PR #2234. Link

Fixes

  • js_of_ocaml code generation (PR #2233, merged): corrects variable coalescing to handle break instructions properly and provides a better fix for empty try bodies. Link
  • js_of_ocaml Wasm string conversion (PR #2230, merged): ensures wasm:js-string imports always resolve even when the engine lacks the JS String Builtins proposal. Link
  • js_of_ocaml Node wrapper (PR #2234, merged): removes outdated --experimental-wasm-imported-strings and --experimental-wasm-stack-switching flags that Node.js 26 rejects as "bad option". Link

oxcaml/merlin

Permalink

Fixes

  • OxCaml Merlin signature help: the fix for missing signature help on unfinished let … in bindings is closed here in favour of #6045. The labelled-argument test PR is likewise closed in favour of #6044.

Compatibility and Releases

  • OxCaml Merlin: the standalone oxcaml/merlin repository is deprecated; development continues in oxcaml/oxcaml since #5568. The repo now holds only a redirect README (#240, merged).
  • OxCaml Merlin Nix flake: the build targets OCaml 5.4 (up from 5.2), with NixPkgs pinned to Feb 14 to avoid a menhirGLR package conflict (#236, merged).
  • OxCaml Merlin: src/utils/misc.ml is synchronised with the compiler's utils/misc.ml and relocated to src/ocaml/utils/misc.ml; the erroneous misc_stdlib.ml is removed (#238, merged).
  • OxCaml Merlin 5.4: an open backport PR (#239) merges changes from the minus-37 branch; no user-facing description is provided.

oxcaml/opam-repository

Permalink

Features

  • OxCaml opam-repository: adds dune 3.22.2+ox, which includes Dune's ability to detect OxCaml builds. Merged 2026-05-07. #39
  • OxCaml opam-repository: adds extlib.1.8.0+ox as a new package. Merged 2026-05-08. #44
  • OxCaml opam-repository: adds oxcaml.action-required mirroring upstream, with available: false to account for the overlay repo. Merged 2026-05-07. #40

Fixes

  • OxCaml opam-repository: removes odoc patches now that upstream 3.2.0 is compatible; conflicts odoc < 3.2.0 instead. Merged 2026-05-08. #43

Compatibility and Releases

  • OxCaml opam-repository: updates the opam-core patch to support oxcaml-compiler 5.2.0minus31 and removes the upper-bound conflict. Merged 2026-05-08. #41
  • OxCaml opam-repository: open PR proposes a Dune package management compatibility patch for ocamlbuild; maintainer suggests simplification via extra-source. #21
  • OxCaml opam-repository: closes the Dune package management patch for odoc-parser as unnecessary after the upstream PR merged. #22

oxcaml/oxcaml

Permalink

Features

OxCaml SSA IR: Open PR introduces an SSA intermediate representation between Cmm and CFG, with a reducer framework for SSA-to-SSA transforms and a register-equivalence validator against the legacy pipeline. Enabled via -use-ssa. #5810

OxCaml metaprogramming unload: Open PR proposes treating unloadable compilation units as scannable heap regions with explicit dependency edges, enabling mark/sweep-based unloading at end of major GC cycle. #5960

OxCaml x86 binary emitter: Merged changes add 2-byte VEX prefix support, shorter AVX move encodings, and YMM reg-reg move optimization, reducing code size for metaprogramming-generated code. #6012, #6022, #6033

OxCaml JIT debugging: Open PRs implement the GDB/LLDB JIT compilation interface and jitdump file support, enabling perf and debugger use with metaprogramming quotations. #6017, #6018

OxCaml ikinds: Open PR enables ikinds by default, replacing the -ikinds flag with -no-ikinds. Core work by @julesjacobs; switch flipped by @liam923. #5999

Fixes

OxCaml kind system: Merged fixes correct ikind substitution for abstract kind constraints and allow redeclaration of implicit kinds in nested module types. #5998, #5980

OxCaml untypeast roundtrip: Merged fix restores modality information on val and external items during the untypeast/pprintast roundtrip, preventing typecheck failures on re-parsed output. #5986

OxCaml Patricia trees: Merged change encodes tree invariants via GADTs, eliminating extra allocations in Set operations and halving Set.union code size in Flambda 2. #5899

14 repositories · no changes