Thicket thicket
ocaml
REPOS 27
W47.2025 · 17–23 Nov

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • EIO (ocaml-multicore): Open issue proposes a Pool.dispose function to release all resources in a pool and clear the queue. #824

ocaml-multicore/meio

Permalink

Compatibility and Releases

  • Meio (ocaml-multicore): open PR #72 by tmcgilchrist rebases patricoferris's earlier work to target Eio 0.14+. Still open as of 2025-11-22; no merged change yet.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #37 (uniform arrays): Open proposal, updated 2025-11-20, adds a CamlinternalUniform_array module and specialized primitives for arrays always using Array_tag. Discussion includes support from multiple contributors; no opposition recorded. Link

  • OCaml RFC #55 (OLC conflicts of interest): Open governance proposal, updated 2025-11-18, adds a transparency-based conflict-of-interest policy and an affiliation field to the committee member list. Link

ocaml/dune

Permalink

Features

Dune parameterized libraries: Merged support for instantiating parameterized libraries in (libraries ...) dependencies, requiring the OxCaml compiler. The syntax (mylib arg1 arg2 :as newname) binds a parameterized library to concrete implementations. #12561

Dune promotion show: Open PR adding dune promotion show, which prints corrected file contents for failed diff rules without modifying sources. Addresses a long-standing request for inspecting promotions before accepting them. #12669

Dune warning defaults: Open PR that stops Dune from overriding the compiler's default warning set starting at dune lang 3.21. A new %{dune-warnings} variable provides the previous Dune-specific set for opt-in use. #12766

Dune concurrent builds: Closed proposal to remove the global build mutex so RPC requests (e.g. from an LSP) execute without waiting for a watch-mode build. Not merged; the team judged the current state insufficient for standalone value. #12730

Fixes

Dune pkg build time: Merged memoization of lock-directory reads, reducing dune build time by roughly 28% on a large project (4.8 s → 3.5 s in the reported benchmark). #12758

Dune pkg unzip error: Merged a clearer error when unzip is absent and bsdtar/tar cannot extract a ZIP archive, naming the missing tool explicitly. #12683

Compatibility and Releases

Dune 3.21 release: The release tracker lists feature-gating readonly permissions on promoted files as a blocker; the change is a breaking change that must be gated behind a dune lang version. #12746

Dune dev-tool lock dirs: Open PR moving dev-tool lock directories from the source tree into a hidden _build subdirectory, eliminating the need to commit or ignore them in git. #12671

ocaml/merlin

Permalink

Fixes

  • Merlin #1118: Closed after #1996 confirmed the crash on let a : type b. 'a as b list = [] no longer reproduces. Incoherent hover errors may still appear in that case.
  • Merlin C server (PR #1998): Proposes correcting sockaddr_un size computation for BSD systems and replacing perror with GetLastError/FormatMessage for WinAPI calls in ocamlmerlin.c. Open, not yet merged.

Features

  • Merlin compiler integration (issue #1999): Tracking issue for adopting OCaml 5.4 module-path occurrence APIs and 5.5 functor-body renaming support. No implementation merged yet.
  • Merlin signature help (PR #1997): Proposes suppressing signature-help responses on function names so the popup appears only on parameters. Open, not yet merged.

Compatibility and Releases

  • Merlin CI (issue #2006): Fails on OCaml 5.4.0 because the irmin 3.10.0 lockfile pins ppxlib 0.35.0, which lacks 5.4 support. Resolution awaits ppx_repr compatibility with ppxlib ≥ 0.36.0.
  • Merlin v4.7-413 (issue #1993): Fails to build on Ubuntu 25.04 with OCaml 4.13.1 because the dune file references the removed seq library. A manual patch removing the dependency is required.
  • Merlin #2000: Hovering over let a : type b. 'a as b list = [] shows a nonsensical type error instead of a syntax error. #2003 adds a reproduction test.

ocaml/ocaml

Permalink

Features

OCaml stdlib (trunk): merged new lprintf-family functions in Format and Printf that accept a heterogeneous argument list, producing a compile-time error on supernumerary arguments. New names: l{,f,e,s,as}printf (Format) and l{,f,b,e,s}printf (Printf). #13372

OCaml typechecker (trunk): open PR upstreams Merlin's typing-recovery mechanism behind a new -typing-recovery flag; the typer continues past the first error and reports all errors in a file. Still work-in-progress; error reporting in CLI mode is incomplete. #14241

OCaml language (trunk): open PR implements modular explicits—functions of type (module M : S) -> foo where M may appear in foo—enabling dependent abstraction over module parameters without functors. Review deferred to after 5 December. #13275

OCaml runtime (trunk): open PR adds named GC parameters settable via OCAMLRUNPARAM (e.g. Xmark_stack_prune_factor=123) and a new Gc.Tweak stdlib module. First parameter exposed: mark-stack pruning threshold. #14367

Fixes

Domain.join (trunk): merged fix preserves the originating domain's backtrace when Domain.join re-raises an uncaught exception, instead of reporting the backtrace at the join call site. #14363

Simplif (trunk): merged fix prevents substitution of Alias bindings under lambdas that are no longer guarded by Lfunction after the Lletrec refactoring; previously certain allocations could outlive their intended scope. #14368

Ephemeron runtime (trunk): merged fix replaces non-atomic writes to the ephemeron data field with relaxed atomic writes, silencing TSan data-race reports for weak pointers. General ephemeron synchronisation remains unresolved. #14210

Compatibility and Releases

Relocatable OCaml (trunk): open PR series (first of three) removes the absolute Standard Library path from compiler binaries and the bytecode runtime. Adds --with-relative-libdir configure option, %standard_library_default primitive, and -set-runtime-default link flag. Also changes ld.conf loading to process all candidate locations and supports explicit-relative paths. #14244, #14243

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: Issue #1209 (open, updated 2025-11-18) reports spurious Unbound module diagnostics persisting in a dependent file after the source error is corrected. The maintainer attributes the cause to a watch-mode bug; restarting the LSP clears the stale diagnostic.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org: adds the opam 2.5.0~beta1 changelog to the site. Merged by kit-ty-kate. #3395
  • ocaml.org: adds the dune ocaml doc command to the generating-documentation tutorial. Merged by sabine. #3391

Fixes

  • ocaml.org: fixes the video scraper by increasing the YAML buffer size, resolving the failure in #3390. Merged by sabine. #3392
  • ocaml.org: proposes three typo corrections in tutorials/language. Open, not yet merged. #3399

ocaml/ocamlfind

Permalink

ocamlfind: open issue reports that ocamlfind query -i-format emits unquoted -I paths, breaking shell parsing when the library directory contains spaces. #114 (opened by kit-ty-kate, 2025-11-23; no resolution yet).

ocaml/odoc

Permalink

Features

  • odoc HTML backend: merged PR adds persistent KaTeX macros. \gdef-defined macros now persist across subsequent math blocks; \def retains local scoping. (#1391, by dlesbre)

Compatibility and Releases

  • odoc build: open PR removes obsolete symlinks to ease compilation with dune pkg. A comment notes odoc.mld also requires renaming to index.mld. (#1392, by Sudha247)

ocaml/opam

Permalink

Releases

opam 2.5.0~rc1: First release candidate; no significant changes compared to 2.5.0~beta1. Binaries and archive are signed by the opam dev team. Release notes · #6800

Features

opam update (WIP): Draft PR uses the downloaded repository tar.gz in place via ocaml-tar, eliminating the untar-and-rescan cycle. Targets Windows and network-filesystem performance. #6625

opam cache versioning: Open issue proposes decoupling internal repository and switch-state caches from the opam version string so caches invalidate only on structural changes. #6799

Fixes

opam install.sh: Fixes the AppArmor profile replacement option, replaces mv+chmod+chown with install, and cleans up the temporary profile file. Merged by rjbou. #6760

opam Makefile: Adds .SHELLFLAGS := -euo pipefail to all Makefiles so inline shell commands fail fast on errors and broken pipes. Merged by kit-ty-kate and dra27. #6751

opam doc generation: Open PR restricts man2html to actual man pages, preventing empty files and error spam in the /doc/man output directory. #6807

Compatibility

opam MSYS2 build: shell/build-putenv.ml raises Invalid_argument "index out of bounds" when building opam-devel.2.5.0~rc1 on MSYS2/Win32. Open, labelled portability and build. #6803

opam CI (GHA): Merged change triggers main workflows on modifications to the shell/ directory, enabling shellcheck hygiene tests for install.sh. #6767

ocaml/opam-repository

Permalink

Features

  • opam 2.5.0~rc1: Eight packages merged, including opam-client, opam-core, opam-solver, and opam-state. A known MSys2 build failure in opam-devel is gated behind os-distribution != "msys2". #28928

  • query-json 0.6.0: Breaking release requiring OCaml 5.1+ (uses effect handlers and List.find_mapi). Adds regex, path, math, and variable support to the jq-like language. PR open. #28955

  • lwt 6.0.0-beta01: Four packages submitted as a beta. CI shows incompatibilities in downstream packages using the old let%lwt binding syntax. Ongoing, awaiting fixes. #28894

  • albatross 2.6.1: Breaking change: Vmm_core.Name gains Label and Path submodules. Console ring-buffer limits and a Console_list_inactive command added. Merged. #28915

  • Raven 1.0.0~alpha2: Eleven packages for the Raven ML numerical/ML ecosystem (Nx, Rune, Kaun, Talon, Saga, Fehu). Ongoing; maintainer suggests merging without arch restrictions. #28827

  • conf-libclang.21: New package with a generic configure script to track current LLVM/Clang versions across distributions. Addresses failures where libclang-15-dev is no longer available. PR open. #28950

Fixes

  • MSys2 conf-packages: Three PRs correct os-distribution side-conditions broken by the opam 2.2 rename from "cygwin" to "msys2". Parts 1 and 3 merged; part 2 open. #28939, #28944, #28945

Compatibility and Releases

  • opam-repository archiving policy: A summary section added to the top of the archiving policy document. A periodic archival run is proposed for January 1, 2026, based on x-maintenance-intent. #28922, #28489

oxcaml/merlin

Permalink

Features

  • Merlin type hovers: draft PR proposes hover information for jkinds nodes; blocked on upstream oxcaml/oxcaml#5041. Opened 2025-11-21 by liam923. #200

Fixes

  • Merlin outline: outline now includes items declared inside include statements, restoring imenu navigation in Emacs for ppx_template users. Merged 2025-11-19 by liam923. #199

oxcaml/oxcaml

Permalink

Features

  • OxCaml unboxed modules: Merged support for unboxed elements at the top level of modules, lifting the value-only restriction on module fields. New module_representation types track mixed modules through typing and compilation. #4020

  • OxCaml scannable axes: Merged the pointerness axis as a scannable axis in layouts, with non_pointer < maybe_pointer ordering. An open follow-up (#5031) extends this to separability and renames the base sort to Scannable. #5006

  • OxCaml runtime metaprogramming: Merged the runtime_metaprogramming extension, enabled by default. Compiling quotes, splices, and quotation evaluation is gated behind this extension. #5012

  • OxCaml 128-bit intrinsics: Opened PR adding add_int128, sub_int128, mul_int64, and unsigned_mul_int64 externals returning unboxed (int64# * int64#) pairs. Compiles to add adc/sub sbb/imul on x86; LLVM backend not yet implemented. #5025

  • OxCaml AVX2 gather: Opened PR adding AVX2 gather intrinsics with the reg + vec[..] * scale + displ addressing mode. Gathers are not address-sanitized; a library-level scalar fallback is the recommended approach. #5040

  • OxCaml arm64 typed DSL: Opened PR introducing a typed DSL for the arm64 backend to constrain types so the binary emitter can be more easily implemented. Aims to make architectural constraints explicit in the type system. #5037

Fixes

  • OxCaml Tof_jkind: Merged use of Tof_jkind for unboxed existentials and Tpoly, replacing conservative Jkind.round_up calls. Fixes a stack overflow when type-checking type 'a t = { f : 'b. 'b t }. #4995

Compatibility and Releases

  • OxCaml upstream sync: Merged downstream of #12943 (bitfield marking) and #13866 (occur_rec changes). Introduces a ~0.3–0.4% non-optimized build slowdown, accepted because the 5.4 merge will include the same changes. #5015
13 repositories · no changes