Thicket thicket
ocaml
REPOS 27
W18.2026 · 27 Apr – 3 May

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/ocaml-uring

Permalink

Compatibility and Releases

  • ocaml-uring PR #110: Closed without merging on 2026-05-02. The change would have imported io_uring constants from linux/fcntl.h for 5.x-series kernels. (#110)

ocaml/RFCs

Permalink

OCaml RFCs: PR #30 to remove the modular IO RFC was closed without merging on 2026-04-27. Author c-cube states they will not implement the proposal; the RFC remains in the repository.

ocaml/dune

Permalink

Features

Dune 3.24 install layouts: For (lang dune >= 3.24), (deps (package ...)) restricts PATH/OCAMLPATH to declared dependencies only. Previously all workspace packages were visible to every action. (#14373, open)

Dune pkg relocatable compiler: PR makes the relocatable OCaml compiler the default for dune pkg, enabling full cache restoration of the compiler across builds. Fixes occasional cache misses. (#14357, open)

Per-module -I filtering: Narrows -I/-H flags per module to match the dependency filter, reducing cache-key bloat. Adding an unreferenced library to (libraries ...) no longer invalidates unrelated modules. (#14186, open)

Rocq (stdlib ...) rename: Proposes renaming the misleading (stdlib yes/no) field to (corelib ...) or (no_corelib). The current name conflates Rocq's Corelib prefix with the Stdlib library. (#14358, open)

Fixes

dune fmt / dune promotion apply: Rejects --disable-promotion with a clear error, since these commands exist specifically to perform promotion. Also fires when DUNE_DISABLE_PROMOTION is set. (#14379, open)

Promote dir-to-file: Merged fix for "Is a directory" errors when a promoted target changes from directory to file between builds. Cleans the staging path before rename. (#14371)

Compatibility and Releases

Dune 3.23.0~alpha2: Released 2026-04-30. User rules are sandboxed by default; .opam files require explicit dune promote. Minimum OCaml to build Dune bumped from 4.08 to 4.14. (release)

Cross-compilation .install paths: Dune 3.22.2 generates .install files with ../ paths that opam 2.5.1 rejects. Affects opam-cross-windows and similar cross-compilation setups. (#14393, open)

ocaml/merlin

Permalink

Features

  • Merlin (proposal): proposes integrating ocamlgrep for project-wide type-aware code search. A new merlin command would accept a type pattern and return matches across files. (#2063)

Compatibility and Releases

  • Merlin v5.7.1-504: released 2026-04-30. (release)
  • Merlin (merged): src/utils/misc.ml moved to src/ocaml/utils/misc.ml, changing merlin library module paths. Breaks ocaml-lsp; repair pending. (#2059)

Fixes

  • Merlin v5.7.1-504: fixes typer cache not invalidating when new .cmi files appear in the build path. Affects OCaml 5.2+ dune builds. Bug identified by @JimmyZJX. (#2062)
  • Merlin v5.7.1-504: merged index files now cross-reference each other, reducing index file size. Project index is defined by all index files, not only the final aggregation. (release)

ocaml/ocaml

Permalink

Features

OCaml stdlib (extensible IO channels): Open proposal adding user-defined In_channel and Out_channel implementations via In_channel.make / Out_channel.make with read/write/flush/close callbacks. Existing C channels are renamed "native"; new channels integrate with Printf.fprintf, input_line, and combinators. #14775

OCaml stdlib (Atomic.fold_update): Open proposal adding val fold_update : ('a -> 'acc * 'a) -> 'a Atomic.t -> 'acc, enabling atomic read-modify-write that returns the previous value (e.g. Treiber-stack pop). #14725

OCAMLRUNPARAM memory units: Open proposal adding explicit w/B suffixes (e.g. s=2Mw, s=16MiB) to s, l, e parameters so users can disambiguate words from bytes. Bare k/M/G remain unchanged. #14756, issue #14658

Fixes

OCaml stdlib (Seq allocation): Merged reduction of per-element closure allocation in Seq.cycle, Seq.repeat, and Seq.forever; a follow-up making Seq.repeat constant-space was opened the same day. #14781, #14783

OCaml 5.5 (recursive + first-class modules): Open regression: let rec f (module M : S) = f (module M) compiles on 5.4 but fails on 5.5 with "The signature for this packaged module couldn't be inferred." issue #14630

OCaml compiler (Lambda labelled applications): Open proposal to merge nested labelled applications in Lambda, eliminating spurious intermediate closures when optional arguments are omitted in the inner call. #14763

Compatibility and Releases

OCaml 5.5.0~beta1 (configure on OpenSUSE): ./configure --with-relative-libdir fails because OpenSUSE defaults libdir to ${exec_prefix}/lib64, which configure treats as an explicit --libdir. A fix accepting both lib and lib64 is open. issue #14760, #14761

OCaml debugger (ocamldebug): Merged support for setting a breakpoint on a module-dependent function (tfunctor), previously unsupported. #14771

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

ocaml-lsp (neovim integration): Issue #1521 remains open, updated 2026-05-02. It documents that codelens and inlayHints settings in the LSP settings block do not activate those features in neovim without additional client-side autocmd wiring. An undated comment provides a working LazyVim configuration; the comment's timestamp is unavailable, so its posting date cannot be confirmed within this interval.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org events: #3633 (open) adds the recurring "Caml in the Capital" event and reclassifies S-REPLS from "London" to "England" to reflect its rotating South England locations.

Fixes

  • ocaml.org tutorial: #3630 (merged) corrects the Hash Tables page, which described O(1) lookup as "linear time." O(1) is constant time; linear is O(n).
  • ocaml.org tutorial: #3631 (open) expands the Hashtbl introduction to explain when Map is preferable, citing its functional interface.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind (PR #99, open): fixes a crash when the compiler is built with --disable-systhreads; the exception handler for a missing threads package was not updated after the underlying exception changed, causing ocamlfind ocamlopt -config to fail. Rebased onto master within this interval by shym. #99

ocaml/odoc

Permalink

Features

  • Odoc 3.2.0: Adds OxCaml support, OCaml 5.5.0 compatibility, markdown-generate multi-file input (eliminating shell scripting), and persistent LaTeX macros in the HTML/KaTeX backend. Release
  • Odoc 3.2.0: Markdown backend now defaults to ocaml as langId on declarations and renders all code snippets in a single block with comments rather than splitting per constructor or field. Release
  • Odoc zero-alloc annotation: Open PR retains [@@zero_alloc] (including strict/opt variants) in parsed output for signatures. Binding-level support is deferred to a follow-up. #1422

Fixes

  • Odoc 3.2.0: Fixes compile-time crashes, incremental build breakage, --warn-error coverage, missing parentheses for polymorphic arguments, and URL remapping for page references. Release
  • Odoc (post-3.2.0): Merged fix for a crash when compiling base docs with OCaml 5.5, caused by untracked identifiers in Arrow_functor type expressions. #1427

Compatibility and Releases

  • Odoc 3.2.0: Released 2026-05-01. Requires updated dune and opam-format dependencies for OxCaml AST compatibility; new AST nodes are ignored pending feature PRs. Release · #1423

ocaml/opam

Permalink

Features

  • opam repository update (WIP #6625): Proposes reading HTTP repository tar.gz archives in place of untarring, removing a 1+ minute extraction step. Targets Windows and network-filesystem portability.
  • opam .install format (#6919): Proposes a prefix field in .install files to support path prefixes without rolling back 2.5.1 changes. Packages using it would restrict to opam-version >= "2.6".
  • opam API (#6914, merged): Adds a Filename.Unix module abstracting over /-separated paths. Part of the repository-format rework in #6625.

Compatibility and Releases

  • opam API (#6910, open): Removes internal chdir usage, a breaking change for external library users. Discussion ongoing on deprecation strategy.

Fixes

  • opam OpamFile (#6913, merged): Fixes comparison between two dummy files that previously failed when paths differed. Part of #6625.
  • opam install (#6906, queued): Removes the build directory immediately after each package install rather than at the end. Benchmarks show a 5% improvement on IO-constrained filesystems.
  • opam manpages (#6921): Standardises highlighting of options, environment variables, and arguments to bold in generated manpages. Resolves #6112.
  • opam depopts documentation (#6920): Makes the existing note about filter behaviour in depopts more visible using bold formatting. Fixes #5367.

ocaml/opam-repository

Permalink

Features

  • Dune 3.23.0~alpha2: submitted as a proposal; not yet merged. Breaking changes include sandboxing user rules by default, removal of --makefile from dune rules, no automatic file promotion, and a minimum OCaml 4.14 build requirement. #29824
  • OxCaml virtual package: merged. Adds an oxcaml signalling package so opam-repository packages can reference OxCaml in build filters and emit a helpful error when the OxCaml opam remote is not configured. #29809
  • wol 1.0: new packages wol, wol-eio, and wol-mirage for Wake-on-LAN magic packet construction, merged. #29831
  • notty-miou 0.0.1: new package for declaring terminals with Miou, merged. #29833
  • cattery 0.0.1: new package providing a pool for Miou, merged. #29810

Fixes

  • lwt 6.1.2: merged. Bug-fix release for the Lwt promises and event-driven I/O library. #29752
  • core v0.17.1: upper OCaml bound added to prevent build failures on OCaml 5.5, where Gc.stat gained a live_stacks_words field. Merged. #29820

Compatibility and Releases

  • cohttp-async 6.1.0 / 6.2.1: opam metadata updated to declare compatibility with OCaml ≥ 5.3, merged. #29841

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (QuickJS-NG): Open PR adds a quickjs dune profile and runtime shim so unmodified jsoo output runs on QuickJS-NG without Node globals. Stacked on the Babel-downlevel and inliner-fix PRs. #2229
  • js_of_ocaml (OCaml 5.6): Open PR by vouillon adds initial compiler and runtime support for OCaml 5.6. #2227
  • js_of_ocaml (target-env): Open feature request proposes a --target-env=neutral option for JS runtimes that are neither browser nor Node (e.g. QuickJS), avoiding the current need to pass --target-env=browser. #2226
  • js_of_ocaml (Dom bindings): Open PR corrects three type signatures to match runtime behaviour: inputElement.defaultChecked becomes bool, createVideo return type fixed to videoElement, and selection.collapse signature updated. #2221

Fixes

  • js_of_ocaml (compiler): Merged fix removes Plus from the commutative-operator list in the peephole pass, preventing x = e + x from being rewritten as x += e under use-js-string. Previously produced reversed string concatenation (e.g. Filename.temp_file paths). #2228
  • js_of_ocaml (Wasm): Merged fix guards Int64.of_string against inputs like "+", "-", "0x" that previously trapped on an out-of-bounds array access instead of raising Failure. #2223

Compatibility and Releases

  • js_of_ocaml (Wasm, OCaml 5.5): Merged PR embeds .cmi files in separate-compilation .wasmo bundles and stubs caml_dynlink_parse_ld_conf, completing OCaml 5.5 support for the Wasm backend. #2220
  • js_of_ocaml (browser compat docs): Open PR adds a manual chapter documenting the Babel + core-js + esbuild pipeline for downleveling jsoo output (ES2020) to older browsers, with an opt-in CI test. #2216

oxcaml/merlin

Permalink

Fixes

  • Merlin (cmi cache): backports upstream cache-invalidation logic from ocaml/merlin#2062, changing how stale .cmi files are detected. Merged 2026-05-01.
  • Merlin (typeopt): replaces Misc.fatal_error calls with proper error raising in typeopt.ml and typeopt.mli, reducing the diff against the upstream compiler. Merged 2026-05-01.

Compatibility and Releases

  • Merlin (Nix flake): updates the build flake from OCaml 5.2 to 5.4; pins NixPkgs to a pre-menhirGLR revision to avoid build breakage. Merged 2026-05-04.

oxcaml/opam-repository

Permalink

Features

  • oxcaml/opam-repository PR #41 (open): adjusts the opam-core patch to support oxcaml-compiler 5.2.0minus31 and removes the corresponding upper-bound conflict. By vouillon. Link
  • oxcaml/opam-repository PR #42 (open): adds opam-format 2.5.1+ox, a transitive dependency of odoc via opam-core. By art-w. Link
  • oxcaml/opam-repository PR #40 (open): adds oxcaml.action-required mirroring upstream ocaml/opam-repository#29809, with available: false because the overlay repo makes oxcaml.latest and oxcaml.archived available. By dra27-js. Link

Fixes

  • oxcaml/opam-repository issue #28 (closed): oxcaml_effect installation failed with a checksum error after the source repository was renamed to handled_effect. Newer package versions (v0.18~preview.130.91+190, v0.18~preview.130.83+317) carry corrected checksums. Link
  • oxcaml/opam-repository issue #15 (closed): opam update ox failed because the external patch binary exited with code 1. Closed as resolved by opam 2.4, which no longer invokes an external patch implementation. Link

Compatibility and Releases

  • oxcaml/opam-repository issue #35 (open): a contributor to the raven project asks how to publish nx-oxcaml, which depends on oxcaml. A maintainer notes that commit 231c88c allows listing "oxcaml" in the depends field, enabling such packages. Link

oxcaml/oxcaml

Permalink

Features

OxCaml metaprogramming unloading: proposes GC-based unloading of compilation units via Code_block heap objects and back-pointers in .text. A unit is munmaped when no Code_block or data block is marked at end of major cycle. #5960 (open)

OxCaml preemptible fibers: adds a tickc callback to fibers, invoked in reverse order at each runtime tick to trigger preemption. Replaces the interval-timer test mechanism and removes caml_domain_preempt_self. #5913 (open)

OxCaml runtime event PMCs: adds hardware performance-counter sampling to runtime events on Linux x86-64. Callbacks receive a perf_sample array of {config; value} pairs; enabled via OCAML_RUNTIME_EVENTS_PERF_COUNTERS. #5937 (open)

OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, copy) into type inference behind -extension mode_polymorphism_alpha. Mode variables are functional and carry level annotations. #5483 (open)

OxCaml layout-polymorphic functions: extends the layout-polymorphism machinery to function types, enabling values whose memory layout is determined at the call site. #5870 (open)

OxCaml first-class modules in quotes: enables module packing and unpacking inside metaprogramming quotations, inserting type annotations required for non-HM inspection. #5885 (open)

OxCaml register-allocation affinity: uses phi-move information from the split pass to group temporaries into equivalence classes, deleting 0.5–2.2% of moves across allocators. #5844 (merged)

OxCaml metaprogramming expect-tests: makes Eval.eval work inside expect-test files, enabling runtime metaprogramming checks alongside static fexpr assertions. #5933 (open)

12 repositories · no changes