Thicket thicket
ocaml
REPOS 27
W38.2026 · 14–20 Sep

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio.Path.open_in and Eio.Path.open_out now accept a ?follow argument (default Follow), matching the ~follow parameter already present on other path functions. Merged in #938; closes #899.

  • A portable environment-variable API (env, get_env, put_env under a Pi system resource) was proposed and completed via #923 and #930. Issue #922 closed 2026-09-14.

  • Windows process spawning is under active development in #936 (open). It uses CreateProcess directly rather than Unix.create_process, restricting fd inheritance to the three standard handles plus an explicit list. Layered over pipe support in #929.

  • POSIX mknod support (beyond FIFOs) is in draft in #911 (open). Reviewer suggests adding Eio.Path.mknod to the cross-platform API to avoid forcing a backend choice.

  • Eio_linux.Low_level.Fixed.avail was added to the public API in #940 (opened 2026-09-20, not yet merged). Exposes an existing internal function for querying available space on fixed-size filesystems.

Fixes

  • Odoc documentation build is repaired in #939 (merged 2026-09-17). Adds a working make docs target and fixes a linking issue with include PATH and backslash interpretation in Windows paths.

ocaml/dune

Permalink

Features

  • include_subdirs qualified now accepts literal and dynamic directory-to-module mappings, allowing subdirectories to be renamed in the qualified namespace. Merged in #13691 and #16420; closes #7605.

  • Action-plugin rules now support multiple dynamic invocations per rule, with-accepted-exit-codes on dynamic-run, and a new Action_plugin.build_deps API for batched file/directory/glob dependency waits. Merged in #16403, #16402, #16394.

  • A tool stanza for persistent discretionary-tool configuration is proposed in #16411 (open). It introduces inherit and shared_packages fields and is tagged unreleased.

Fixes

  • Menhir-generated parsers now preserve dependencies used by type inference, eliminating racy "inconsistent assumptions over interface" failures. Merged in #16447; closes #14450.

  • Breaking: Generated files are now always made read-only (executable bits preserved), removing the pre-2.4 language-version opt-out. Merged in #16388. Projects relying on writable generated files must update.

  • Breaking: Dune_rpc_lwt.V1.Action_plugin.run now returns unit Lwt.t instead of driving the event loop or exiting the process. Callers must wrap in Lwt_main.run. Merged in #16404.

Compatibility and Releases

  • generate_opam_files in dune 3.24: dune build <name>.opam no longer produces the file. Use dune build @opam instead. Reported in #16375 (open).

  • Dune 3.24.2 installed via opam segfaults on macOS 26 when the macOS 27 SDK is active. Workaround: set CFLAGS='-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk' and reinstall the switch. Reported in #16417 (open).

ocaml/merlin

Permalink

Features

  • Typedtree-based longident retrieval (open, by @voodoos): Locate now reads longident component locations directly from the typedtree instead of re-parsing source text. Falls back to the old reconstruct_identifier heuristic only when a type-error makes the longident unavailable. Affects ocaml-lsp/eglot jump-to-definition for custom operators. #2126

  • PPX_DEPS field in .merlin (open, by @panglesd): New configuration key listing PPX dependencies. The PPX cache key now includes these files, so USE_PPX_CACHE invalidates correctly when a dependency changes. Reduces stale-cache rebuilds. #2127

Compatibility and Releases

  • CI/Dockerfile merl-an reference (open): CI and Dockerfile no longer point to a personal fork of merl-an; references updated to the canonical location. #2128

Fixes

  • Haiku build (merged): The C frontend (ocamlmerlin.exe) now links with library flags from ocamlc -config instead of hardcoded arguments, resolving undefined socket/bind/listen symbols on Haiku. Closes #2124. #2125

  • Binding operators in locate/occurrences (closed): let*, and+, and similar binding operators are now resolved by merlin-occurrences and merlin-locate. Previously the lexer used for identifier reconstruction did not recognise the syntax. Closes #1398.

  • Enclosing node for applied constructors (closed): Cursor on N.A 3 now returns the constructor node rather than Texp_const 3, restoring correct context inference. Closes #1128.

  • workspace/symbol LSP crash (closed): The uncaught exception in Cmt_format.read when Neovim issued a workspace/symbol request is resolved. Closes #1860.

ocaml/ocaml

Permalink

Features

  • Parsetree: Pexp_hole and Pmod_hole nodes (#15051, merged). Wildcards in simple and module expressions now produce dedicated parsetree nodes instead of a parse error, enabling ppx transforms to operate on them.

  • Bit counting primitives %clz/%ctz (#15018, open). Int.leading_zeros and Int.trailing_zeros lower to single clz/ctz instructions on amd64 and arm64; measured 2–3× speedup over trunk.

  • Float ↔ boxed-integer conversion inlined (#15084, open). Int64.of_float, Int64.to_float and Int32/Nativeint equivalents compile to Cintoffloat/Cfloatofint instead of C calls; 1.3–2× faster on amd64, arm64, POWER10, s390x.

Compatibility and Releases

  • with module type precedence changed (#14978, merged). module type T = T with module type T = T -> T now parses as T with module type T = (T -> T), matching the := form. Existing code relying on the old grouping will fail to compile.

  • ocamldebug transmits full 64-bit object headers (#15022, merged). The REQ_GET_HEADER protocol previously clamped to 32 bits, truncating array sizes above 2²².

Fixes

  • Deadcode: atomic loads with discarded results are preserved (#15045, merged, backported to 5.5). Such loads act as fences and were incorrectly eliminated, breaking memory ordering.

  • Runtime_events.read_poll survives a user decoder exception (#15075, merged). A raising decode function no longer leaves cursor_in_poll set; the cursor remains usable and the decoder's own error is delivered.

  • Runtime_events lost-words counter widened to uint64_t (#15010, merged). The C lost_events callback previously wrapped at INT_MAX; the OCaml API retains its 63-bit int.

  • Unerasable-optional-argument check relaxed for CPS-style functions (#14671, merged). Warning 16 no longer fires when the return type is a type variable, restoring usability of continuation-passing combinators with optional arguments.

ocaml/ocaml-lsp

Permalink

Fixes

  • #2143 (open, updated 2026-09-15): On OCaml 4.14, when multiple diagnostics share the same source range, the LSP server reports only the first (a warning-as-error), hiding the underlying type error. An undated comment indicates investigation has begun; no fix is merged.

ocaml/ocaml.org

Permalink

Features

  • Proposal: public MCP server for OCaml docs and dependencies (#3775, opened by cuihtlauac, still open). Would expose package documentation search, module signatures, direct/optional/reverse dependencies, and a bounded transitive view over a single HTTPS endpoint. A capacity assessment in the thread notes the dependency half is in-memory and cheap; the documentation half proxies to ocaml-docs-ci and requires cacheable transport design to avoid bypassing Varnish.

Fixes

  • PPX documentation link now points to the latest tag (#3769, merged by khalidbelk). The Metaprogramming page previously linked to a 2022 version of the PPX docs; the link now tracks the current release automatically.

Compatibility and Releases

  • OCaml 5.5.1 release page published (#3772, merged by Leonidas-from-XIV). Includes the OSEC-2026-18 Marshal security-hardening entry and corrected opam switch create example.
  • opam 2.6.0 release announcement (#3774, opened by kit-ty-kate, still open at interval end).
  • OCAMLORG_DOC_URL default changed from sage.ci.dev to dill.caelum.ci.dev (#3776, merged by cuihtlauac). Updates the environment-variables table and Package Documentation section in CLAUDE.md to match the current documentation backend.

ocaml/ocamlfind

Permalink

Compatibility and Releases

  • #124 (opened 2026-09-20, open): Maintainer gdt notes the last release (1.9.8) dates to November 2024 and requests a new release. No release has been made.

No features, fixes, or merged code changes are recorded for this interval. Two long-standing issues (#118, #104) were closed on 2026-09-20 without code changes; the reporters resolved their situations externally.

ocaml/odoc

Permalink

Features

  • OxCaml include functor rendering is merged (via #1452, closing #1419). The collapsible section for include functor module type of … now appears in generated docs.
  • #1467 (art-w) adds rendering and cross-linking for OxCaml kind abbreviations in a new namespace. Ongoing; {!kind:xyz} link syntax proposed for documentation.

Fixes

  • #1485 (jonludlam) fixes broken links caused by missing logic in module-type alias strengthening. Regularises handling of module and module-type aliases. Ongoing.

Compatibility and Releases

  • #1472 (jonludlam) adds OCaml 5.6 support. CI on 5.6 reveals a missing empty-word case in the lexer triggered by new ocamllex warnings. Ongoing.

Build

  • #1493 (Leonidas-from-XIV) silences non-actionable informational messages from crunch to match other build rules. Ongoing.

ocaml/opam

Permalink

Features

  • Explicit Haiku platform support added in an open PR. Affects opam init and depext resolution on Haiku systems. #7138
  • opam depext gains support for Homebrew 6.0.0 interactive mode (asks before installing system deps). Open PR; requires Homebrew ≥ 6.0.0. #7144

Compatibility and Releases

  • opam 2.6.0 released (2026-09-17). Binaries and full archive signed by the opam dev team. Release · #7146
  • Solver dependency upgraded to cudf 0.11~rc1, which removes the extlib dependency. Merged for 2.7; queued on opam-repository#30737. #7145
  • OpamStd.Map.update replaced with the stdlib Map.update (different signature: key -> ('a option -> 'a option) -> 'a t -> 'a t). Merged for 2.7; broke odep and opam-dune-lint builds. #7130

Fixes

  • Removed redundant st.packages ++ st.installed set unions across the codebase; benchmarks show ~4% performance gain. Merged for 2.7. #7148
  • opam pin edit on a repository-sourced package strips the url.checksum field, triggering a lint warning. Open bug. #7143
  • opam 2.6.0 sets GIT_CONFIG_GLOBAL=/dev/null and GIT_CONFIG_SYSTEM=/dev/null, ignoring user git config (e.g. URL rewrites). Documentation should reference GIT_CONFIG_COUNT/GIT_CONFIG_KEY_<n>/GIT_CONFIG_VALUE_<n> as the supported alternative. Open. #7152

ocaml/opam-repository

Permalink

Features

  • opam 2.6.0 (8 packages: opam-client, opam-core, opam-devel, opam-format, opam-installer, opam-repository, opam-solver, opam-state) merged. #30747

  • ppx_deriving 6.2.0 adds a pp deriver and show @printer support for polymorphic variants. #30722

  • curve448.0.1.0, ascon.0.2.0, and hpke.0.2.0 merged as new packages: X448/Ed448 (RFC 7748/8032), NIST SP 800-232 Ascon, and RFC 9180 HPKE respectively. A follow-up PR for mldsa/mlkem/slhdsa (FIPS 204/203/205) is open. #30768, #30774, #30775, #30778

  • boulodrome.0.6.1 merged: an MCP server exposing Rocq/Coq proof sessions (tactics, goals, library search) to LLM tool-calling loops via Petanque. #30760

  • uucd, uucp, uunf, uuseg 18.0.0 merged, adding Unicode 18.0.0 support to the Unicode library suite. #30764

Fixes

  • rtree 0.3.0 removes the repr dependency (and its transitive deps). Rtree construction now requires user-supplied equal and pp functions; existing repr-based instantiations need a migration. #30769

  • conf-sdl2 depext updated to use SDL2-devel on openSUSE Tumbleweed, where the legacy libSDL2-devel provides entry was dropped by the sdl2-compat transition. #30767

  • opam-monorepo 0.5.0 merged with a fix for compatibility with opam 2.6.0. #30770

ocsigen/js_of_ocaml

Permalink

Features

  • Large binary string constants (parser tables, embedded files, marshaled data) are now emitted as base64 literals, decoded once at initialisation. Reduces a 3 MB binary payload from 8.3 MB escaped to ~4 MB base64; gzip output drops from 5.36 MB to 4.69 MB. Merged. (#2432)

  • All runtime stubs are now generated via gen_stubs from external declarations, replacing hand-written dynlink stubs. Stubs are emitted as weak symbols so native code linking JavaScript primitives can override them. Merged. (#2435)

  • Prototype for Introcaml runtime introspection in JavaScript: block allocations carry a descriptor index, Introspect.Print and Hashtbl.seeded_hash_param work under Node. Gated behind --enable introspection. Open. (#2430)

  • Temporary alternative storing the Introcaml block descriptor in the header word instead of an Array subclass; microbenchmarks show 20–200× faster allocation on V8. Open, not intended for merge as-is. (#2433)

  • Direct one- and two-argument partial applications in double-translation mode skip an extra caml_call_gen_direct frame. Opened. (#2437)

  • Wasm backend interns string constants, reusing strings already present elsewhere in the program to reduce bundle size. Opened. (#2436)

Fixes

  • Effect-related fixes for the Wasm backend. Opened; merge occurred after the reporting interval. (#2434)

Compatibility and Releases

  • The tests-full stdlib 5.6 snapshot was refreshed to match OCaml trunk drift (String.hash reordering, Set.union/Set.inter shortcuts). Test-only; no changelog entry. Merged. (#2438)

oxcaml/oxcaml

Permalink

Features

OxCaml LTO reaper: new flags -support-lto, -reaper-solve, and -reaper-rebuild split the reaper into traverse, solve, and rebuild stages across separate ocamlopt invocations, storing intermediate data in .cmx and .ltosol files. (#7264, #7268, #7274, #7240)

OxCaml mode polymorphism: a working demo PR combines existing mode-polymorphism work into a compilable example; a separate PR adds borrowability and borrowedness mode axes as groundwork for exclusive/separate modes. (#7223, #7255)

OxCaml layout polymorphism: merged support for layout-polymorphic records and variants, translating generalized sort variables to splice variables evaluated in Slambda; a follow-up PR adds sort variables in external declarations. (#7152, #7243)

OxCaml static functors: merged transl, fracture, and eval for static functors using compile-time templates; a follow-up PR adds staticity checks for include functor and F (). (#6846, #7193)

OxCaml datalog VM: merged a dedicated output opcode and a separate provenance atom, reducing reaper solve time by ~12% (75 s → 66 s on the compiler build). (#7204, #7203)

Fixes

OxCaml any-field updates: merged fix for miscompilation when a functional update changes a record's representation (e.g. int → float# field); the original representation is now stored in Texp_record. (#7155)

OxCaml blambda: merged fix for double-rounding in Int64↔Float32 conversions that used a Float intermediate; discovered via the experimental compiler fuzzer. (#7064)

OxCaml ARM64 runtime: opened PRs adding guard pages and --disable-stack-checks to ARM64, plus a fix that repairs the stack pointer in caml_raise_stack_overflow before backtrace collection. (#7211, #7210)

15 repositories · no changes