Thicket thicket
ocaml
REPOS 27
W16.2026 · 13–19 Apr

All repository summaries

14 active · 13 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Compatibility and Releases

  • opam-repository: PR #37 (closed unmerged, 2026-04-19) adds a patch so async_ssl builds on arm64 Linux toolchains. The change was not merged.

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #833): Open, unmerged proposal to add a missing_ok parameter to Eio.Path.unlink. Updated 2026-04-14; no merge or review resolution recorded. Link

Compatibility

  • Eio (issue #837): Reports 100% single-core CPU usage on the Windows backend during bidirectional Eio.Flow.copy on an idle connection; Linux is unaffected. An undated comment points to a missing FdSet.remove in the Windows scheduler and reports a local patch resolves the symptom. Link

ocaml/dune

Permalink

Features

Dune compile_commands.json: Generates a JSON compilation database for C/C++ editor tooling when dune lang is 3.23. Promoted to the workspace root; verified with ccls. #14185

Dune per-module dependency filtering: Uses ocamldep output to restrict each module's inter-library deps to actually-imported libraries, reducing unnecessary recompilation. Open PR; currently introduces a 40–70% null-build regression under active review. #14116

Dune %{pkg:foo:lib} pforms: Makes package install-layout variables available outside lock files, supporting ocamlfind, dune package management, and workspace packages. Open PR. #14200

Dune Dyn.pp: Now prints Char as quoted literals, Int32/Int64/Nativeint with suffixes, and Float special values as valid OCaml syntax. #13394

Fixes

Dune watch-mode cancellation: Child processes now receive SIGTERM with a grace period before SIGKILL on both shutdown and watch-mode rebuilds. #14170, #14224

Dune inline tests (byte-only): dune runtest now executes inline tests for libraries with (modes byte); previously the runner linked natively and silently skipped all tests. #14174

Dune generated opam files: Auto-injects menhir {>= "20180523"} when the menhir extension is active, eliminating manual lower-bound fixes in opam-repository. #14168

Compatibility and Releases

Dune 3.22.2 / 3.23.0: 3.22.2 point release merged 2026-04-14. The 3.23.0 release tracker targets 2026-04-20; a sandboxed package-deps regression (#14213) is a known blocker. #14113, issue #14211

ocaml/merlin

Permalink

Fixes

  • Merlin: merged fix for jq array indexing in test issue1949.t; the old .value.[0] form requires jq 1.7+, the corrected .value[0] works on 1.6. #2057

Features

  • Merlin ocaml-index: open proposal to point to an existing index file on disk, reducing index size and write operations. Last updated 2026-04-14. #2051

Compatibility and Releases

  • Merlin menhirLib: open PR to switch snapshotting to the --dump-menhirLib flag (available since 20230608), replacing copy rules that fail on recent menhir versions. #2058
  • Merlin misc.ml: open PR to synchronise src/utils/misc.ml(i) with the compiler's utils/misc.ml(i), relocating it under src/ocaml/utils/ to prevent future drift. #2059
  • Merlin saved parts: open investigation documenting that mimicking the typechecker's saved-parts behaviour causes browse-tree blowup; no user-visible change proposed. #2060

ocaml/ocaml

Permalink

Features

  • OCaml 5.6 package types: Merged support for nested with type in package types, e.g. (module T with type t = int with type x = float). Available starting with OCaml 5.6. #14710

  • OCAMLRUNPARAM size units: Open PR adds explicit suffixes (Mw, MiB, MB, Gw, GiB, GB, etc.) to s, l, and e parameters. Existing bare k/M/G remain unchanged for backward compatibility. #14756, issue #14658

Compatibility and Releases

  • OCaml typechecker object types: Merged change to eqtype and moregen that rejects mismatched field privacy in object types with a clear error instead of raising an uncaught exception. #14738

  • OCaml signature inclusion: Open PR allows following type abbreviations when checking signature inclusion, enabling declarations such as type b = y = T where y is a public alias. #14746, issue #13872

Fixes

  • OCaml typechecker memory: Merged fix reducing peak memory from over 20 GB to pre-5.3 levels during counter-example search in pattern-matching exhaustiveness checking. #14727

  • OCaml 5.5 typechecker: Merged fix for a spurious "syntactic arity" error when a module-dependent arrow appears in a function type constraint. #14721, issue #14719

  • OCaml Bigarray: Merged overflow check in caml_ba_reshape, fixing an out-of-bounds read and segfault on 4.14. Backported to the 4.14 branch. #14691

  • ocamlyacc: Merged fix for an uninitialized lineno field in symtab.c that produced garbage line directives in generated parser files. #14748, issue #14747

ocaml/ocaml-lsp

Permalink

No user-facing features, fixes, compatibility changes, or releases are present in the supplied evidence for this interval. The only record is an open, unmerged automated flake.lock dependency update in ocaml-lsp (#1437), labelled no changelog; it does not alter any command, option, or workflow.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org syntax highlighting: Merged PR uses Hilite's new ocaml-mdx support to fix incorrect comment styling in tutorial code samples. Closes issue #3037. (#3593)
  • ocaml.org platform release scraper: Merged PR adds per-project ignore_patterns and auto-detects pre-release tags (alpha, beta, rc, preview) as experimental. Dune alpha releases are now excluded from the changelog. (#3616)

Fixes

  • ocaml.org install page: Merged PR adds dune to the opam install command on the install page and tutorial, which previously omitted it despite mentioning it in text. (#3609)

Compatibility and Releases

  • opam 2.5.1: Added to the platform releases page. (#3614)
  • dune 3.22.2: Announced on the platform releases page. (#3608)
  • dune 3.22.1: Announced on the platform releases page. (#3596)
  • ocaml-lsp 1.26.0, merlin 5.7.0-504: Changelogs added to the platform releases page. (#3605)
  • wasm_of_ocaml 6.1→6.3: Backstage OCaml post documents changes between versions, with verified code examples. (#3612)

ocaml/odoc

Permalink

Features

  • Odoc OxCaml support: PR #1399 merged, enabling odoc to process OxCaml codebases. Prior patches from oxcaml/odoc are now upstream.
  • Odoc OxCaml roadmap: Tracking issue #1411 opened by shonfeder, listing sub-issues for layouts, modalities, modes, unboxed types, and include functor.
  • Odoc OxCaml modalities: PR #1420 opened by art-w, adding rendering for @@ portable contended and similar modality annotations.
  • Odoc OxCaml kind annotations: PR #1410 opened by art-w, adding rendering for type kind annotations such as : immediate and : value.

Fixes

  • Odoc polymorphic parameters: PR #1404 merged, restoring required parentheses around polymorphic parameters in rendered signatures.

Compatibility and Releases

  • Odoc OCaml 5.5: PR #1406 merged, adding support for external types (displayed as abstract) and module arrows.
  • Odoc OxCaml unboxed types: PR #1407 remains open, fixing the missing # suffix on unboxed named types in generated documentation.
  • Odoc @inline modules: PR #1408 closed without merge; cross-reference resolution for inlined module contents requires further path-tracking work.

ocaml/opam

Permalink

Compatibility and Releases

  • opam 2.5.1: Released 2026-04-15 with security fix OSEC-2026-03, nix depexts injection fix, Gentoo detection, and GC corruption fixes. Release notes
  • opam (master): Drops build support for OCaml 4.08, 4.09, and 4.10. Merged 2026-04-14; affects plugin and library users. #6879
  • opam-core (master): Renames the result type to solver_result to avoid conflict with Stdlib. Merged 2026-04-14; breaking for library consumers. #6885

Features

  • opam (proposal): Adds Nushell shell support via opam env | to json and shell config. Open PR by @jneem. #6873
  • opam CI (proposal): Reworks GHA depexts to use latest Docker tags, eliminating repeated OCaml compilation. Open PR. #6905

Fixes

  • opam .install (2.5.1): Invalidates destination paths containing .. that escape the package scope. Fixes OSEC-2026-03; reported by @andrew. #6897
  • opam nix depexts (2.5.1): Loads package names from JSON instead of inlining them into nix expressions, preventing string injection. Merged 2026-04-16. #6894
  • opam depexts (2.5.1): Parses single-quoted values in /etc/os-release, restoring Gentoo distribution detection. Merged 2026-04-14. #6886

ocaml/opam-repository

Permalink

Features

  • ocgtk 0.1~preview1: New OCaml GTK 4 bindings, open for review. Includes conf-gtk4.1 with depexts for Linux and macOS; Windows support deferred. #29729

  • ocaml-ai-sdk 0.2: Adds Smooth_stream transformer, retry with exponential backoff, and OpenTelemetry-compatible telemetry spans. Merged 2026-04-17. #29724

  • ochre 1.0.0: New syntax highlighter using TextMate grammars and themes. Merged 2026-04-18. #29700

  • ppx_mixins 0.2.0: PPX for mixing module type signatures into type declarations via [%mixins Printable + Comparable]. Merged 2026-04-19. #29746

  • atd 4.1.0: Adds atd-yamlx and atd-jsonlike packages; sum types now encode as single-key JSON objects. Requires OCaml >= 4.14 (breaking). Merged 2026-04-13. #29709

Fixes

  • dune 3.22.2: Reverts --diff-command behaviour so non-existent files are passed to the command instead of /dev/null. Merged 2026-04-14. #29704

Compatibility and Releases

  • opam 2.5.1: Eight opam library packages released; adds an INFO-level warning for users still on opam 2.4. Merged 2026-04-16. #29731

  • opam-repository MSYS2/UCRT64: Six conf-mingw-w64-*-x86_64 packages now accept msys2-ucrt64 alongside msys2-mingw64; MSYS2 depexts added for conf-m4, conf-perl, conf-findutils. Merged 2026-04-19. #29579

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: merged 2026-04-16, adding Oxcaml as a supported compiler backend for wasm_of_ocaml. #2105

  • js_of_ocaml – WASI runtime: open and blocked; wasm_of_ocaml --enable wasi produces a Wasm binary runnable under wizeng or wasmtime (with --enable exnref). Blocked on dune and internal PRs. #1831

  • js_of_ocaml – Wasm native effects: open and blocked; implements the Stack Switching proposal for native effects in Wasm output. #2189

Compatibility and Releases

  • js_of_ocaml – JSPI documentation: merged 2026-04-16; clarifies JavaScript Promise Integration support and notes JSPI is enabled by default in Chrome 137 and Node 25. #2213

Performance

  • js_of_ocaml – toplevel size reduction: open; moves constant toplevel expressions into global variables, halving the toplevel function size on the PRT benchmark. #2211

  • js_of_ocaml – loop extraction for Wasm: open; extracts loops from the large toplevel/init function into small helpers so Wasm engines tier up only the helpers, reducing Turbofan compilation cost. #2212

oxcaml/merlin

Permalink

Features

  • Merlin syntax-doc (scannable axes): Open PR adds support for scannable axes to the syntax-doc feature. #235 by liam923.

Compatibility and Releases

  • Merlin compiler sync (5.2.0minus-37): Open PR merges compiler changes from 5.2.0minus-37, including parsing of both -I and -Ix include flags. #234 by liam923.

  • Merlin typeopt divergence: Open PR reduces the diff between the upstream compiler and Merlin in typeopt.ml/typeopt.mli by commenting out irrelevant sections and replacing Misc.fatal_error with proper error types. #233 by liam923.

Fixes

  • Merlin signature help (optional arguments): Signature help now highlights the correct optional argument when preceding labelled arguments are already written, instead of always showing the first labelled parameter. Merged 2026-04-15; downstreamed from #2032. #216 by Lucccyo.

  • Merlin signature help (let … in): Signature help now triggers on unfinished let … in bindings where the in keyword is missing. Merged 2026-04-15. #215 by Lucccyo.

oxcaml/opam-repository

Permalink

Features

OxCaml opam-repository (PR #27): proposes an oxcaml-patch-guards package to replace per-package conflicts, allowing multiple patched versions of upstream dependencies in one switch. Still open; updated 2026-04-14. (#27)

Fixes

OxCaml opam-repository (PR #38): open PR pinning lwt, utop, and checkseum to repo-specific versions and backporting a cut fix for macOS. Also addresses odoc and sherlodoc build failures. (#38)

OxCaml opam-repository (PR #37): closed without merge on 2026-04-19; superseded by PR #38. (#37)

oxcaml/oxcaml

Permalink

Features

OxCaml layout polymorphism: Merged infrastructure for sort-variable serialization, fatal_error on uninstantiated layout vars, and the -Ix include-path flag that will gate layout-poly library calls. Open PRs add let poly_ function support and make persistent modules static. (#5835, #5817, #5654, #5870, #5834)

OxCaml preemption: Open PR provides an initial effects-based preemption mechanism: a domain can be preempted at the next GC poll point, performing a Preemption effect that resumes silently if unhandled. ARM backend support is included. (#4881)

OxCaml scannable axes on abstract kinds: Open PR allows nullability/separability upper bounds (e.g. k mod separable) on abstract kinds, enabling signatures like ('a : k mod separable). 'a array -> 'a. Overrides remain a type error. (#5874)

OxCaml SSA/CFG backend: Draft SSA variant of the CFG and an experimental empty-loop-deletion pass (induction-variable analysis + termination proof) are open. The latter eliminates loops whose induction variable is unused outside indexing. (#5810, #5840)

OxCaml metaprogramming (beta): Runtime metaprogramming upgraded from alpha to beta. The REPL no longer requires a double semicolon after #syntax quotations on, and three Translquote fatal errors (class types, type-constraint patterns, layout poly) now report gracefully. (#5843, #5801, #5823)

OxCaml structured name mangling: Merged a reversible mangling scheme that encodes full module paths (including submodules) into symbol names. De-manglers exist for LLVM, GDB, addr2line, and a pure-OCaml ocamlfilt. (#5099)

OxCaml functor inlining: Merged separate small/large size thresholds for functor inlining (large default ≈ 7 500). Reduces speculative-inlining time on large functors; function return-type tracking at -O3 still applies. (#5878)

Fixes

OxCaml caml_modify for non_pointer: Merged: skips caml_modify calls on non_pointer fields, improving codegen for unboxed types. Record-representation comparison is relaxed to scannable-axes equality to avoid spurious type errors after with-substitution. (#5831)

Compatibility and Releases

OxCaml 5.4 merge: Multiple open and merged PRs advance the upstream 5.4 merge: runtime merge draft, Iarray re-oxidation, effect-syntax compilation fix, caml_raise_async correction, and testsuite resolutions. (#5598, #5882, #5880, #5846)

OxCaml scannable axes (merged): Merged: scannable axes now compute nullability and separability, with mod bounds meeting (not overriding) multiple axes. Bumps mixed-block version. (#5169)

13 repositories · no changes