Thicket thicket
ocaml
REPOS 27
W10.2026 · 2–8 Mar

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml/dune

Permalink

Releases

  • Dune 3.22.0~alpha0: Released with a new trace system (dune trace cat), default sandboxing of tests and Melange rules, dune runtest for individual test files, and @doc-markdown for odoc output. The build cache path moves to $DUNE_CACHE_ROOT/db (breaking). Release notes

Features

  • Dune ppx (proposal): Open PR computes the transitive closure of ppx dependencies before collecting cookies, so cookies survive nested rewriter composition. Fixes a bug reported in 2020. #13737

  • Dune trace (proposal): Open PR resolves the default trace file path relative to the build directory root instead of the initial working directory. Marked as blocking the 3.22 release. #13735

Fixes

  • Dune cache (Windows): Merged fix enables hard links on NTFS/ReFS and clears read-only attributes before rename during deduplication. Without this, the shared cache was effectively non-functional on Windows. #13713, #13714

  • Dune memo library: Post-release fix checks for self-dependency cycles before blocking on an ivar, resolving a deadlock that caused infinite hangs. Fixes a bug dating to 2022. #13710

  • Dune pkg (OpenBSD): Merged fix detects the tar implementation and passes explicit -z/-j flags when auto-detection is unavailable. Resolves package installation failures on OpenBSD. #13688

  • Dune pkg (rev_store): Merged change restricts git negotiation to only the tips relevant to the target remote, reducing network traffic and download time. #13698

  • Dune pkg (depexts): Merged fix makes portable lock directories filter out depexts containing unknown variables, matching non-portable and OPAM behaviour. #13729

ocaml/merlin

Permalink

Features

  • Merlin (PR #1948): adds a refactoring-extract-region command to the Merlin protocol, allowing an expression to be extracted into a fresh let binding. Merged 2026-03-05 by Tim-ats-d.

Compatibility and Releases

  • Merlin + OxCaml (Issue #2045): with merlin.5.2.1-502+ox and OCaml 5.2.0+ox, every few keystrokes in Emacs triggers the Lisp debugger via an unhandled Invalid_argument from the Menhir parser. Open; no fix yet.

  • Merlin LSP documentation (Issue #2042): requesting documentation for symbols from external libraries (e.g. OS.Cmd.run from Bos) raises an uncaught Envaux.Error in ocaml-lsp-server, returning a JSON-RPC error instead of doc text. Open; affects Merlin 4.18-414 with OCaml 4.14.

  • Merlin Emacs project-wide occurrences (Issue #1740): closed 2026-03-05 as no longer relevant. The experimental Emacs patch for project-wide occurrences is not being pursued.

ocaml/ocaml

Permalink

Features

  • OCaml stdlib Fun.todo: Merged new function raising a Todo exception with call-site location, providing a typed placeholder for unimplemented code. (#14525)
  • OCaml runtime (continuations): Open PR adds GC for captured effect continuations, finalising unreachable ones to release closed-over resources such as file descriptors. (#14580)

Compatibility and Releases

  • OCaml cleanup-at-exit: Open PR would replace the current segfault with a fatal error when OCAMLRUNPARAM=c=1 is set and unjoined domains remain at exit. (#14614)

Fixes

  • OCaml compiler (Utf8_lexeme): Merged optimisation extends the ASCII fast path for identifier normalisation, reducing its share of compilation time on small files from 32% to 1.5%. (#14620)
  • OCaml warning 16: Merged fix delays the unerasable-optional-argument check until after type inference, correcting false negatives in nested let bindings. (#14512)
  • OCaml 5.5 alpha: Merged fix for a fatal Ctype.Cannot_apply crash on unboxed types with polymorphic annotations; cherry-picked to the 5.5 branch. (#14604)
  • OCaml Marshal (CVE-2026-28364): Open PR adds bounds checking to Marshal.from_* to prevent buffer over-reads on crafted or truncated input. (#14615)
  • OCaml 5.5 Tfunctor: Open tracking PR lists multiple typechecker sites that do not handle module-dependent functions (Tfunctor), a regression from the modular-explicits change. (#14624)

ocaml/ocaml-lsp

Permalink

Features

ocaml-lsp rangeFormatting: Merged 2026-03-06. Implements textDocument/rangeFormatting by invoking ocamlformat on the selected range while preserving surrounding indentation. Closes #1891. (#1591, WardBrian)

ocaml-lsp signatureHelp: Merged 2026-03-05. signatureHelp is now supported in ocaml-lsp-server. (#1592)

ocaml-lsp locate-types: Merged 2026-03-05. Adds a custom request for merlin-locate-types, returning a field set of reachable types. (#1584)

ocaml-lsp extract-query: Merged 2026-03-06. Refactors the extract custom query to use the corresponding Merlin command from #1948. (#1545)

Compatibility and Releases

ocaml-lsp jump performance: Open. Sends a single query for all jump targets instead of recursive per-target checks, reducing code-action response time. Depends on #1891. (#1461)

ocaml-lsp extract-action: Open. Replaces the previous broken extract code action with a proper implementation inside Merlin. (#1546)

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org exercises: Merged fix for solutions appearing under the Statement tab. #3548 resolves issue #3544.
  • ocaml.org exercises: #3553 opened to correct alphabetical-to-numeric slug sorting on the exercises page. Merge occurred after the reporting interval.

Compatibility and Releases

  • ocaml.org platform releases: Open #3551 contains new platform release data from the automated scraper.

Features

  • ocaml.org tutorials: Open #3238 adds a language frontmatter field and a language selector for multi-lingual tutorial docs, with an initial Japanese translation.
  • ocaml.org governance: Open #3536 adds a /governance/dev-meetings-calendar page with iCal export for recurring dev meetings.
  • ocaml.org governance: Open #3550 adds a scraper to pull confirmed events from platform teams' ICS calendars.

ocaml/odoc

Permalink

Features

  • odoc (PR #1403, open): Proposes emitting ocaml language tags on fenced code blocks in the Markdown backend for API declarations, aligning with the HTML backend. Also unifies separate code blocks into a single block with inline doc comments.

Compatibility and Releases

  • odoc (issue #1401, open): Tracks OCaml 5.5 support; updated 2026-03-06 with a request for status on the first alpha. No concrete change or release yet.

ocaml/opam

Permalink

Features

  • opam (PR #6864): proposes reordering the action list so removals appear last, reducing scrolling during upgrades. Open, not merged. Addresses issue #6863.

Fixes

  • opam (issue #6857): closed 2026-03-04 as waiting for feedback; no fix applied. Reports opam switch link corrupting an existing _opam switch with no error message.

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format 2.2.0: README omits the menhir build dependency introduced in PR #60; builds fail with "Program menhir not found" until menhir is installed. Issue #64 (opened by gdt) remains open; the maintainer confirmed the README is incorrect but no fix has been merged.

ocaml/opam-repository

Permalink

Features

  • opentelemetry 0.13: Merged with a breaking change: the vendored opentelemetry.ambient-context is removed; users must depend on ambient-context 0.2 and call Ambient_context.set_current_storage directly. Seven packages updated. #29501

  • ppxlib 0.38.0~5.5preview: Merged as a preview for the OCaml 5.5 release cycle. A vlt build failure was noted during CI. #29507

  • spectrum 1.0.0.alpha: Five new packages for terminal colour and formatting: spectrum, spectrum_capabilities, spectrum_palette_ppx, spectrum_palettes, spectrum_tools. #29512

  • dunolint 0.0.20260306: Three new packages (dunolint, dunolint-lib, dunolint-lib-base) providing a linter for dune build files. #29518

  • crs 0.0.20260307: New package for managing inline review comments in source code, with a CLI and library API. #29519

Fixes

  • OCaml 5.5 compatibility: lwt < 6.1.1, ocp-index < 1.4.0, opam-client < 2.5.0~beta1, and rocq-runtime/coq-core 8.19.2–9.1.0 are now marked incompatible with OCaml 5.5 due to non-exhaustive pattern matches and C header changes. #29510, #29515, #29514, #29516

  • MPI 1.07: Merged to ensure compatibility with OCaml ≥ 5.4.1 and support dynamic linking of stubs in bytecode. #29520

Compatibility and Releases

  • dune 3.22.0~alpha0: Closed without merge due to packaging failures. The release included sandboxing of tests, a trace-event system, and DUNE_JOBS support. #29497

  • raven 1.0.0~alpha3: Open PR with extensive breaking changes: Rune.t unified into Nx.t, in-place mutation ops removed, saga renamed to brot, new nx-oxcaml and kaun-board packages. #29490

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml OCaml 5.5: #2195 (open, by hhugo) adds initial compiler and runtime support for OCaml 5.5. The ocaml55 branch is available for testing.
  • js_of_ocaml OCaml 5.5: #2193 (open) confirms the ocaml55 branch was added to opam-alpha-repository. wasm_of_ocaml is not yet supported for 5.5.

Fixes

  • js_of_ocaml: #2194 (opened in interval, by vouillon) contains runtime bug fixes. Merged after the reporting window.

Compatibility

  • js_of_ocaml OCaml 5.5: No stable release yet; the ocaml55 branch is the current path for 5.5 builds. wasm_of_ocaml remains unsupported on 5.5.

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml): Merged fix for type recovery in function applications within local opens. A type mismatch in an argument no longer discards the function identifier from the typed tree, preserving locate results. #222

  • Merlin (oxcaml): Open PR fixing signature-help not triggering on unfinished let … in bindings. Downstreams the fix from #2036. #223

  • Merlin (oxcaml): Open PR fixing signature-help to highlight optional arguments once preceding labelled arguments are already written. Downstreams #2032. #216

Compatibility and Releases

  • Merlin (oxcaml): Merged compiler sync for 5.2.0minus-32. #224

oxcaml/opam-repository

Permalink

oxcaml/opam-repository: Open issue #35 from the raven project asks how to publish the nx-oxcaml package, which depends on oxcaml. No resolution as of the reporting interval.

oxcaml/oxcaml

Permalink

Features

  • OxCaml static computation: Merged framework inserts a fracturing pass between transl and simplif, splitting lambda into static and dynamic parts. Open follow-ups add the simplest fracturing and a first static evaluator. (#5430, #5544, #5512)

  • OxCaml type-level eval: Open PR adds Tquote_eval to type_expr, enabling beta-reduction of quoted types into the meta stage. Distributes eval through concrete type constructors, e.g. <[ $'a list ]> eval = 'a eval list. (#5402, #5288)

  • OxCaml mode polymorphism: Open PR integrates level-relation operations into type inference behind -extension mode_polymorphism_alpha. A companion PR prints polymorphic mode variables with bounds and constraints. (#5483, #5488)

  • OxCaml abstract kinds: Open PR adds kind declarations in recursive modules with cycle checking to prevent recursive kinds. Generalizes the Typedecl.reaching_type_path infrastructure for error reporting. (#5517)

  • OxCaml runtime preemption: Open PR implements effects-based preemption, performing a Preemption effect at the next GC poll point. A companion PR moves the tick thread into the runtime as a single per-process thread. (#4881, #5349)

  • OxCaml zero-alloc arguments: Open PR extends [@zero_alloc] to arguments of higher-order functions, requiring explicit arity. The applied argument must be an identifier or function abstraction. (#5493)

Fixes

  • OxCaml AVX2 gather: Merged fix tracks the mask register as a separate result for AVX2 gather instructions, which clear their mask argument. Prevents the mask from overwriting the expected-immutable input. (#5567)

  • OxCaml unboxed array indices: Merged change removes language-level array block-index syntax, replacing it with explicit %unsafe_array_idx primitives. Get/set operations are now safe; index creation is the only unsafe step. (#5556, #5559)

14 repositories · no changes