Thicket thicket
ocaml
REPOS 27
W09.2026 · 23 Feb – 1 Mar

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #833): Open PR adds a missing_ok parameter to Eio.Path.unlink, mirroring the existing option on Eio.Path.rmtree.

  • Eio (issue #831): Open proposal for an Eio.Stdenv.tmp capability and Eio.Path.open_temp_dir / with_temp_dir functions for temporary-directory creation with automatic cleanup. Updated 2026-02-27.

Fixes

  • Eio (issue #830): Reports that Eio.Net.run_server cancels all running fibers when accept fails (e.g., fd exhaustion). Proposes per-connection error recovery and a conservative max_connections default. Updated 2026-02-27.

ocaml/dune

Permalink

Features

Dune Rocq expected-output tests: When a .v file has a corresponding .expected file in a rocq.theory stanza, Rocq stdout is captured and diffed under @runtest. Guarded by (lang rocq 0.12). #13632, #13684.

Dune excluded_modules field (proposal): New (excluded_modules) field for library stanzas. Listed modules compile but are invisible to non-excluded modules, not linked, and not installed. Avoids the recompilation penalty of a second library. #13682.

Dune rev_store tip negotiation: dune pkg git fetches now store references per remote and use --negotiation-tip, avoiding full-history downloads on repeated fetches. #13659. A follow-up (#13698) restricts negotiation to only the relevant remote's tips.

Compatibility and Releases

Dune 3.21 portable lock-dir regression: Switching the default lock format to portable in 3.21 changed depext filtering (undefined variables in filters are kept rather than removed). Workaround: set DUNE_CONFIG__PORTABLE_LOCK_DIR=disabled. Fix targeted for 3.22. #13680.

Dune OpenBSD tar extraction (proposal): PR adds tar-implementation detection via --version and passes explicit -z/-j flags when the local tar cannot auto-detect compression. Fixes package extraction on OpenBSD. #13688, #10123.

Dune 3.21.1 released: Release tracker closed 2026-02-24. #13557. The 3.22.0 release tracker is open with the portable-lock regression as a known blocker. #13674.

Fixes

Dune C stubs header dependency: C stub compilation rules now declare dependencies on the actual *.h files in the OCaml include directory rather than only the directory path. Switching compilers within the same prefix triggers a rebuild. Fixes stale-cache failures. #13652, closes #13651.

Dune install cycle crash: dune build @install no longer hangs or crashes when multiple install stanzas target the same share directory. The dependency-cycle traversal no longer follows self-references. #13692, fixes #5771.

Dune error-message log path: Internal-error messages now direct users to _build/trace.csexp instead of the removed _build/log. #13683, closes #13679.

ocaml/merlin

Permalink

Features

  • Merlin enclosing command: adds a -stop flag to limit traversal depth, enabling LSP extensions like locate-types and annotate-type to target sub-expressions rather than only the outermost enclosing item. (#2029, merged)

Compatibility and Releases

  • Merlin v5.7-505~preview: released 2026-02-27; includes locate-types result refinements, a record-field autocompletion fix, and a signature-help loop fix. (release)
  • Merlin portability: open proposal to define PATH_MAX as 8192 when the platform does not provide it, improving portability across systems. (#2039, open)

Fixes

  • Merlin signature help: corrects incorrect parameter binding for let..in expressions so signature help no longer misattributes bindings. (#2036, merged)
  • Merlin MSVC build: resolves a Winsock1/Winsock2 header conflict that broke compilation with OCaml 5.4 on Windows. (#2038, merged)

ocaml/ocaml

Permalink

Features

Lazy.Mutexed (trunk, 5.5): new stdlib module providing mutex-protected lazy thunks for safe concurrent initialization. Merged to trunk and cherry-picked to 5.5. The thunk may be forced by multiple domains; the first result wins and subsequent forces return the cached value. #14393

Compatibility and Releases

OCaml minor GC (trunk, open): inlines the hot path of oldify_one, eliminates global-variable access, and exposes major-heap free lists for inline allocation. Measured 2–3% total runtime improvement on promotion-heavy workloads in OxCaml. #14571

Fixes

OCaml ARM64 codegen (trunk, 5.4, 5.5): replaces manual add-immediate instructions with emit_addimm to handle offsets exceeding the 12-bit range, fixing "immediate out of range" assembler errors when frame pointers are enabled. Cherry-picked to 5.4 and 5.5. #14589

OCaml s390x shared runtime (trunk): switches runtime glue calls from PLT to GOT-indirect calls, preventing the lazy-binding trampoline from corrupting the OCaml fiber stack. Fixes segfaults with libasmrun_shared.so on RHEL/Fedora s390x. #14547

OCaml linear scan allocator (trunk, 5.5): disables stack-slot reuse when evicting a previously register-allocated interval, fixing silent miscompilation under ocamlopt -linscan. Cherry-picked to 5.5. #14583

OCaml 5.5.0~alpha1 typing: Ctype.Cannot_apply fatal exception on unboxed record types with polymorphic annotations, introduced by #13806. Fix proposed in #14604 (open); issue #14603.

OCaml cleanup-at-exit mode (trunk): OCAMLRUNPARAM=c=1 segfaults on bytecode when secondary domains are blocked in C calls at shutdown. Root cause: caml_shutdown unloads shared libraries while cancelled threads are still executing. Open; discussion proposes removing or no-op'ing the mode. #14594

OCaml 4.14 ARM64 (4.14 branch): backports instruction-size underestimation fixes from #13667, resolving "conditional branch out of range" assembler errors on arm64. #14606

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: merged PR handling a new enclosing parameter from merlin (#1590, #2029). Merged 2026-02-26.

Compatibility and Releases

  • ocaml-lsp: open issue reporting that Reason doc comments do not appear in hover or autocomplete, only the signature is shown (#1589). Opened 2026-02-24; no fix merged in this interval.

ocaml/ocaml.org

Permalink

Features

OCaml.org tutorials: adds GitHub Actions, Docker images, and OCaml-CI tutorials for newcomers. Merged by @cuihtlauac. (#3458, #3457, #3456)

OCaml.org navigation: Governance page now appears in the Community sub-navigation, improving discoverability beyond the footer link. (#3538)

OCaml.org /packages: adds a section explaining how package documentation is generated via ocaml-docs-ci and improves the missing-docs error page with a pre-filled issue link. (#3471)

OCaml.org tutorials: rewrites the opam switches and dependency management tutorials as step-by-step walkthroughs, updating examples to OCaml 5.4.0. (#3526)

Fixes

OCaml.org RSS feeds: all Atom and RSS feeds were broken by debug output prepended to the XML. Fixed in #3530.

OCaml.org playground: /play returned HTTP 500 due to a missing default code example. Fixed in #3535.

Compatibility and Releases

Dune 3.0: major release with breaking changes: option prefixes are now disallowed and an option was removed. Announcement PR still open on ocaml.org. (#3498)

OCaml.org changelog: adds release announcements for OCaml 5.4.1, OCaml 4.14.3, and Dune 3.21.1. (#3522)

ocaml/odoc

Permalink

Fixes

  • odoc PR #1402: two bugfixes opened by jonludlam, noted as important for upcoming dune rules. The PR is open and unmerged; specific changes are not detailed in the record. Link

ocaml/opam

Permalink

Fixes

  • opam (issue #6861): A second opam switch create on macOS fails during compiler cloning with "cannot create temp file for here document: Operation not permitted." Open; no fix yet. (#6861)

Compatibility and Releases

  • opam (PR #6862): Proposes setting _WIN32_WINNT to the Windows 8.1 constant so GetCurrentProcessToken resolves under MSYS2, fixing a vendored-build failure. Open; not yet merged. (#6862)

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format: Open issue reports the README omits menhir as a build dependency; building 2.2.0 fails with "Program menhir not found" when only dune is installed. #64

ocaml/opam-repository

Permalink

Features

Raven 1.0.0~alpha3: proposes 11 packages with major breaking changes: saga renamed to brot, Rune.t unified into Nx.t, in-place mutation ops removed, JIT/LLVM backend dropped, and two new packages (nx-oxcaml, kaun-board) added. Author notes no downstream users depend on the alpha yet. #29490

Mosaic 0.1.0: new terminal UI framework (3 packages: mosaic, matrix, toffee) implementing Elm Architecture, Flexbox/Grid layout, and Tree-sitter syntax highlighting. Merged 2026-02-28. #29312

relocatable virtual package: proposes a relocatable package that non-relocatable packages (compilers < 5.5, ocamlfind, ocamlbuild) conflict with, enabling switch invariants to enforce copyable artefacts. Open for discussion. #29451

Compatibility and Releases

OCaml 5.5.0~alpha1: first alpha released with a new compiler-cloning meta-package (enabled by default) that allows instant switch creation from a previously compiled compiler. A follow-up fix relaxed the ocaml-base-compiler bound to accept prerelease versions. #29462, #29472

opam-publish 3.0.0: major release of the package-publishing tool merged 2026-02-23. #29443

ambient-context 0.2: breaking API rename (create_key→new_key, with_binding→with_key_bound_to) and storage type change from first-class module to record. Upper bounds added to opentelemetry 0.6–0.10 to prevent breakage. #29418, #29459

ortools 9.15.0: merged 2026-02-23 with C++ interface rewrite; companion conf-zlib and conf-bzip2 packages add support for CentOS, MSYS2, SUSE, and FreeBSD. #29380, #29394, #29395

vif 0.0.1~beta2: new lightweight web framework for OCaml 5 (2 packages including vifu unikernel variant), merged 2026-02-26. #29458

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (PR #2177): Adds --build-config to print compiler settings as key=value pairs and --apply-build-config to override them, ensuring linked units share consistent settings. Open, not yet merged.
  • js_of_ocaml (PR #1831): Produces WASI binaries via wasm_of_ocaml --enable wasi, runnable by Wizard or wasmtime (with --enable exnref). Still open and labelled blocked.
  • js_of_ocaml (PR #2189): Implements Wasm native effects using the Stack Switching proposal. Open, not yet merged.
  • js_of_ocaml (PR #2187): Adds Dynlink and toplevel support to the Wasm backend. Open, not yet merged.

Fixes

  • js_of_ocaml 6.3.2 (issue #2190): Build fails on Debian Bookworm because the system binaryen package lacks wasm-merge. Workaround: install binaryen-bin via opam or use a newer distribution.
  • js_of_ocaml (PR #2191): Adds a check that Binaryen ≥ 119 is available before linking Wasm, addressing the missing wasm-merge failure. Open, not yet merged.
  • js_of_ocaml (PR #2192): Runtime fixes for the Wasm backend. Open; no further detail provided.

Compatibility

  • js_of_ocaml (issue #2142): Tracks support for OCaml trunk, referencing #14469 and #14580. Open, updated during the interval.

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml fork): Open PR #222 proposes fixing type recovery in function applications where a mismatched argument type discarded the typed function identifier, breaking locate queries. The fix records unification errors in type_argument instead of raising, preserving the application node. Comments reference ongoing upstream recovery work by Xavier and Thomas but are undated.

oxcaml/oxcaml

Permalink

Features

  • OxCaml type-level eval: adds Tquote_eval to the type algebra for beta-reducing eval through concrete type constructors in runtime metaprogramming. Open PR by jbachurski; a dependency for removing the %eval extension. #5402

  • OxCaml mode polymorphism: integrates level-relation operations (update-level, generalize, instantiate) into type inference under -extension mode_polymorphism_alpha. Open PR by ainageorges; mode variables are functional but not yet printed. #5483

  • OxCaml zero_alloc: extends the zero_alloc attribute to arguments of higher-order functions, e.g. let[@zero_alloc] f (g [@zero_alloc arity 2]) = …. Open PR by Dreian; checks are front-end only. #5493

  • OxCaml layout polymorphism: implements canonical syntax for layout-polymorphic value descriptions, including parsing, printing, and inclusion checking. Open PR by riaqn, split from the broader sort-polymorphism work in #5473. #5498

  • OxCaml static evaluator: first version of a static evaluator for a lambda calculus, with no size-control or cross-module access yet. Open PR by lukemaurer. #5512

  • OxCaml pointerness axis: adds a scannable pointerness axis to the mode system, merged by rtjoa (work by zackbach). Extends the kind/mode framework for tracking pointer scannability. #5484

  • OxCaml x86_64 backend: selects lea for multiplications by 3, 5, and 9 via scaled-add addressing, and removes the two-address constraint on Iadd to reduce register moves. Merged by ttebbi-janestreet. #5475

Fixes

  • OxCaml separability: corrects a soundness bug where type definitions with constraint (e.g. type 'a t constraint 'a = 'b list) were misclassified as separable, causing segfaults. Merged by goldfirere, fixing #5502. #5510
14 repositories · no changes