Thicket thicket
ocaml
REPOS 27
W12.2026 · 16–22 Mar

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (proposal, #834): Open proposal to add a Close variant to the return type of Eio.Flow.buffer_sink, enabling use with functions that close the flow. Awaiting maintainer feedback on semantics and backward compatibility. Issue

Fixes

  • Eio Eio.Path.load (#835): Open bug report identifying a stat-then-read race condition and a failure mode on /proc pseudo-files (kernel reports size 0). Proposes using file size only as an initial buffer hint and delegating to Eio.Path.with_open_in + Eio.Flow.read_all. Issue

ocaml-multicore/picos

Permalink

Compatibility and Releases

  • picos (PR #387): Merged support for OCaml 5.5, referencing #14224. No release was planned at the time of merge. (#387)

ocaml/dune

Permalink

Features

  • Dune 3.22.0: Released 2026-03-19. Sandboxes test and tests stanzas by default; adds DUNE_JOBS, @doc-markdown, and dune trace cat. Release

  • Dune @revdep alias: Merged 2026-03-18. Builds all reverse dependencies of libraries in a directory via @revdep, @revdep-check, and @revdep-runtest. #13800

  • Dune Odoc v3 rules: Open PR rewriting @doc and @doc-new into unified @doc and @doc-full aliases with hierarchical MLD trees and ocaml.org links. #12995

  • Dune promote directories: Open PR extending dune promote foo to promote all descendants of foo/; old single-file behaviour available via --file. #13876

  • Dune bounded dynamic_include: Open proposal to restrict a dynamic_include stanza to specific stanza kinds, target globs, or packages, avoiding unnecessary rule generation. #13843

  • Dune Js_of_ocaml runtimes: Merged 2026-03-17. Shares standalone JS runtimes across executables in a workspace, reducing redundant compilation. #13621

Fixes

  • Dune pkg lock lock_dir: Open bug: dune pkg lock with no argument ignores the lock_dir path from dune-workspace, always writing to dune.lock. #13841

Compatibility and Releases

  • Dune 3.22.0 on Windows 7: Open regression: bootstrap fails because GetSystemTimePreciseAsFileTime is unavailable before Windows 8. A fallback patch is under discussion. #13871

ocaml/merlin

Permalink

Fixes

  • Merlin: merged a portability fix defining PATH_MAX to 4096 on platforms that lack the constant. (#2039, by @glondu)

Compatibility and Releases

  • Merlin: merged a test pinning the current type-enclosing output for inconsistent type variables; maintainers note a proper fix is "tricky to improve properly." (#2004)
  • Merlin: open issue reports that locate cannot find a type declaration when the cursor is inside a different declaration; a reproduction test PR is also open. (#2033, #2034)
  • Merlin: open issue reports inconsistent type-variable names between type-enclosing hover and individual variable hover (e.g. 'b shown as 'a). (#1949)

Features

  • Merlin: open PR upgrades the codebase to ocamlformat 0.29.0; the large formatting diff prompted discussion about mitigating churn. (#2047)

ocaml/ocaml

Permalink

Features

  • Atomic.Array (trunk): new stdlib module providing make, get, set, exchange, compare_and_set, and fetch_and_add for lock-free concurrent data structures. Safe and unsafe (unbound-checked) variants are available. #14611

  • List.append_map / List.rev_append_map (trunk): tail-recursive combination of map and append in a single pass, roughly twice as fast and half the allocations of the composed form. #13554

  • Semantic highlighting in type errors (trunk, open): type-comparison error messages now highlight the specific incompatible subexpressions using a syntactic pass plus trace-guided pass. #14659

Compatibility and Releases

  • Gc.stat deprecated (trunk): Gc.stat no longer triggers a full major collection and is now equivalent to Gc.quick_stat. Call Gc.full_major explicitly for up-to-date counters. #12023

  • Sys.runtime_parameters (trunk): the R (randomised-hashtable) option is now preserved and visible in Sys.runtime_parameters instead of being silently consumed. #14292

Fixes

  • Polymorphic parameters soundness (trunk, 5.5): a segfault triggered by let f ([x] : 'a. 'a list) = ... is fixed by correctly splitting poly-pattern typing from the exhaustiveness checker. Cherry-picked to 5.5. #14652, issue #14434

  • Bytecode effects heap corruption (trunk): try Effect.perform with Effect.Unhandled under a deep Effect.Deep.match_with handler no longer segfaults in bytecode; the continuation is now rooted across the C call. #14647, issue #14644

  • Ephemeron GC budget (trunk): restores a missing budget-consumption line in the ephemeron marking loop that was dropped during a prior rewrite. #14610

Performance

  • Faster minor GC (trunk, open): inlines the hot oldify_one path and exposes major-heap free lists for inline allocation, yielding 2–3 % total-runtime gains on promotion-heavy workloads. #14571

  • Ephemeron quadratic blowup (trunk, open): eagerly marks data of preserved ephemerons so dependent ephemerons are resolved in one round; a 20 000-deep chain drops from ~0.4 s per cycle to ~1 ms after the first. #14657

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp 1.26.0-5.5~preview: adds a destruct custom request for pattern-match code actions. (release)
  • ocaml-lsp 1.26.0-5.5~preview: supports non-dune build systems via $OCAMLLSP_PROJECT_BUILD_SYSTEM and $OCAMLLSP_PROJECT_ROOT environment variables. (release)
  • ocaml-lsp issue #1595: open request to expose the destruct code action on the match token, not only on individual pattern lines. (issue)

Fixes

  • ocaml-lsp 1.26.0-5.5~preview: improves signature-help readability for long signatures. (release)
  • ocaml-lsp PR #1594: open fix for Dune 3.22 compilation; constraint updates still needed. (PR)

Compatibility and Releases

  • ocaml-lsp 1.26.0-5.5~preview: preview release for OCaml 5.5, published 2026-03-19. (release)
  • ocaml-lsp PR #1597: open branch for OCaml 5.5 support; new Texp_struct_item cases pending review. (PR)

ocaml/ocaml.org

Permalink

Features

  • ocaml.org: adds OCaml 4.14.3 release data, designating it as the Long Term Support release. Highlights the security fix for CVE-2026-28364 (Marshal deserialization buffer over-read, OSEC-2026-01). #3571, merged.
  • ocaml.org: opens a PR to announce the dune 3.22 release. #3570, still open.

Fixes

  • ocaml.org: opens a PR to resolve markdown lint issues (MD003, MD004, MD012, MD026, MD040) in the 4.14.x release data files. #3572, still open.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind: Issue #115 reports duplicate Cannot read directory ../stublibs warnings when invoking ocamlfind ocamlopt directly under OCaml 5.5. Open; no resolution recorded.

ocaml/odoc

Permalink

Features

  • Odoc OxCaml support: #1399 upstreams OxCaml AST handling into odoc, using ocaml-config:ox for detection. Still open; bisect_ppx is noted as incompatible with OxCaml.

Fixes

  • Odoc OxCaml rendering: Draft #1404 fixes missing parentheses around polymorphic parameters in generated documentation. Depends on #1399 merging first.

Compatibility and Releases

  • Odoc OCaml 5.5 tracking: #1401 remains open for OCaml 5.5 compatibility work. Updated within this interval; no merged changes yet.

ocaml/opam

Permalink

Features

  • opam shell completions (PRs #6854, #6867, #6868, #6869): Open PR series replaces existing bash and zsh completion scripts with cmdliner-generated completions and adds PowerShell support. Updates vendored cmdliner to 2.1.0 and registers completion functions for all custom argument types.

  • opam update/init performance (PR #6625, WIP): Open draft PR eliminates the untar step for HTTP repositories by reading the tar.gz in-place via ocaml-tar. Targets multi-minute delays on Windows, network filesystems, and busy shared servers.

  • opam admin add-conflict (issue #6865): Open feature request for a new opam admin add-conflict subcommand, analogous to the existing add-constraint. Maintainer confirmed feasibility and invited a contribution.

Fixes

  • opam MSYS2 build (PR #6862): Open PR sets _WIN32_WINNT to the Windows 8.1 constant, resolving a build failure where GetCurrentProcessToken was unavailable under MSYS2's default Windows 7 target. Maintainer confirmed inclusion in 2.6.0~alpha1.

  • opam publish post-install confusion (issue #6870): Open bug where opam publish invoked immediately after plugin installation references an incorrect archive URL. Reporter could not reproduce on a clean machine.

Compatibility and Releases

  • opam Darcs backend (PR #6866): Open PR removes the Num-patches fallback code dating from the 2.10.3 era. Maintainer noted it should merge before 2.6.0~alpha1, pending Darcs test coverage.

ocaml/opam-file-format

Permalink

Features

  • opam-file-format: PR #65 (open, updated 2026-03-16) updates the README, fixing issue #64. Authored by kit-ty-kate; not yet merged.

ocaml/opam-repository

Permalink

Features

  • Dune 3.22.0: Merged release. Moves build cache to $DUNE_CACHE_ROOT/db, sandboxes test execution by default, and adds DUNE_JOBS for concurrency control. (#29562)
  • ATD 4.0.0: Merged. Adds the atdml tool generating self-contained OCaml modules from .atd files, and experimental from ... import ... module syntax. (#29552)
  • parseff 0.2.0: Merged. Direct-style parser combinator library for OCaml 5 using algebraic effects; 0.2.0 renames chainl/chainr to fold_left/fold_right and unifies *1 variants. (#29573)
  • opam-repository MSYS2/UCRT64: Open PR adds UCRT64 support to six conf-mingw-w64-* packages and missing MSYS2 depexts for conf-m4, conf-perl, conf-findutils. (#29579, #29575–#29578)

Compatibility and Releases

  • Raven 1.0.0~alpha3: Merged. Unifies Nx.t and Rune.t into one tensor type; removes in-place mutation ops, Rune.to_nx/Rune.of_nx, and the JIT backend. (#29490)
  • ocamlformat 0.29.0: Merged. Adds OCaml 5.5 syntax support and sets ocaml-version default to 5.4, recognising the effect keyword without explicit configuration. (#29553)
  • letsencrypt 2.0.0: Merged. Removes lwt and uri from the core (now functorized over scheduler) and replaces yojson with jws, lun, jsont. (#29572)
  • ppxlib 0.38.0: Open PR. Adds OCaml 5.5 support, 5.4 bivariant type parameters alongside ppx-es, and labeled tuples support. (#29563)

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: Merged variable coalescing (#2166), merging variables with disjoint lifespans. Reduces V8 register count by 74–91% and gzip size by 10–16% on benchmarks.
  • js_of_ocaml: Merged bigstring optimizations for the Wasm backend (#2144). Targets a known engine performance gap in typed-array operations.
  • js_of_ocaml: Open proposal for dynlink and toplevel support in the Wasm backend (#2187). Intended to make the Wasm and JS toplevels behave identically.
  • js_of_ocaml: Open proposal for Wasm native effects using the Stack Switching (JSPI) proposal (#2189). Blocked on a dune release.
  • js_of_ocaml: Open proposal for a WASI runtime (#1831). Produces Wasm binaries runnable by wizeng or wasmtime via wasm_of_ocaml --enable wasi.

Fixes

  • js_of_ocaml: Merged fix for an assertion failure in variable coalescing with empty try bodies (#2201). Short-circuits when the catch handler is unreachable.
  • js_of_ocaml: Merged fix for a double variable definition when inline_recursively inlines a function argument (#2200). Forces closure duplication to avoid param conflicts.

Compatibility and Releases

  • js_of_ocaml: Open proposal for initial OCaml 5.5 compiler and runtime support (#2195). No release date stated.

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin: merges OCaml compiler 5.2.0minus-34 changes, updating the codebase for compatibility with that compiler snapshot. Merged by liam923. #225

oxcaml/oxcaml

Permalink

Features

OxCaml metaprogramming: merges beta-reducing eval in type expressions, adding Tquote_eval to distribute evaluation through concrete type constructors. (#5402)

OxCaml modes: proposes write and observable modes, making visibility and statefulness axes into diamonds with partial ordering. (#5608)

OxCaml unboxed reprs: experimental draft adds constructor-level [@repr immediate], [@repr null], [@repr pointer], and [@repr value] annotations for allocation-free variant encodings. (#5678)

OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, update-level) into type inference behind -extension mode_polymorphism_alpha. (#5483)

OxCaml optimization fuel: open PR adds OPT_FUEL_RECORD, OPT_FUEL_THRESHOLD, and OPT_FUEL_FAIL environment variables plus a fuel_bisect.py driver for binary-searching miscompiling optimization steps. (#5651)

Fixes

OxCaml CamlinternalQuote: merges fixes for seven printing bugs (missing integer suffixes, wrong guard keyword, unparenthesized negatives, lost variant tags) plus a second round of parenthesization corrections. (#5649, #5660)

Compatibility and Releases

OxCaml eval architecture: proposes replacing the [%eval] extension point with a library function Eval.eval : 'a expr -> 'a eval, adding -requires-metaprogramming and -uses-metaprogramming linker flags. (#5657)

OxCaml staging+GADTs: open chain tracks environment stage during typing, forbids spliced-type instantiation, and removes local constraints on stage regression. (#5641, #5586, #5643)

12 repositories · no changes