Thicket thicket
ocaml
REPOS 27
W14.2026 · 30 Mar – 5 Apr

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #836): Proposes making Linux and Posix eventfd creation functions configurable so callers can control FD allocation. Open PR by patricoferris, not yet merged. Link

Fixes

  • Eio (issue #835): Eio.Path.load has a stat-then-read race condition and returns empty strings for /proc files. Open issue, updated 2026-04-01 with discussion on splitting the report. Link

ocaml/RFCs

Permalink

Features

  • OCaml RFC 52 (Implicit source positions): Open proposal for a loc:[%call_pos] arrow that auto-fills a Lexing.position parameter with the call-site position. Updated 2026-04-03; discussion covers representation choices and performance trade-offs. #52

ocaml/dune

Permalink

Features

Dune (main): adds c_library_flags field to foreign_library stanzas for passing linker flags to ocamlmklib. Merged #13484.

Dune (main): introduces DUNE_PROJECT_ROOT so actions can reference the project root without polluting action digests. Merged #13934.

Dune package management: adds relocatable-compiler detection, enabling the compiler to be built and cached as a regular package instead of a toolchain. Merged #13321.

Dune (main): proposes per-module library dependency filtering via ocamldep to reduce unnecessary recompilation across library boundaries. Open #14021.

Dune (main): proposes deprecating (mode promote) in favour of dune build --promote-file and diff-based corrections. Open issue #14044.

Fixes

Dune (main): ignores spurious SIGCHLD signals on macOS that caused crashes during interrupted high-concurrency builds. Merged #14047.

Compatibility and Releases

Dune 3.22.1: restores Windows 7 compatibility, fixes a dune test crash when no default context exists, and corrects dune trace cat --chrome-trace timestamps. Release.

Dune (main): enables hardlink-based sandboxing on Windows (previously copy-only); core sandbox tests now run on Windows CI. Merged #13987.

ocaml/merlin

Permalink

Features

Merlin (ocaml-index): open PR proposes pointing-index support, allowing an aggregated index to reference an existing on-disk file instead of duplicating its contents. Benchmarks show ocaml-index aggregate dropping from ~2.4 s to ~0.9 s; read performance is unchanged. (#2051)

Merlin (indexer memory): open PR replaces the unbounded hashtable of index links with an LRU cache to bound memory usage during indexing. (#2050)

Compatibility and Releases

Merlin 5.7.0-504: open PR updates the changelog for the upcoming release. (#2055)

Merlin (jump targets): PR proposing a get_all function to return all jump targets in one round-trip was closed without merge on 2026-04-03. (#1891)

Fixes

Merlin (type enclosing): merged fix improves the enclosing-type response for class and object items, addressing #1587. Labeled for LTS consideration. (#2053)

Merlin (forward compatibility): merged type annotation on Destruct.refine_complete_match prevents a scope-escape error once #11648 lands in a future compiler. (#2054)

ocaml/ocaml

Permalink

Features

  • OCaml trunk: allows unparenthesized application in record update syntax, e.g. { Gc.get () with space_overhead = 100 }. Merged in #14692.
  • OCaml trunk: adds Dynarray.of_iarray and Dynarray.to_iarray, converting between dynamic and immutable arrays in a single copy. Merged in #14693.
  • OCaml trunk (proposal): introduces primitive aliases (external foo = Bar.baz) per RFC #44, letting one primitive reference another's C function and type. Open in #13377.
  • OCaml trunk (proposal): highlights incompatible subexpressions in type error messages using syntactic and trace-guided passes. Open in #14659.

Fixes

  • OCaml trunk: fixes class self-type escape and assertion failures in the object system; backported to 5.5. Merged in #14680 and #14696.
  • OCaml trunk: in cleanup-at-exit mode (OCAMLRUNPARAM=c=1), the runtime now emits a warning and skips resource release when unjoined domains remain, instead of segfaulting. Merged in #14642.
  • OCaml trunk: fixes a peephole bug where PUSHENVACC4 was never emitted, causing four-argument environment pushes to use the slower two-word form. Merged in #14534.
  • OCaml trunk (proposal): adds overflow checking to Bigarray.reshape, fixing an out-of-bounds read (CVE-2026-34353). Open in #14691; issue in #14655.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp hover (PR #1599): Merged 2026-03-31. Hover now triggers on class and object-related identifiers (e.g. super, class names in inherit), closing issue #1587. Hovering over record curly brackets in expressions is also enabled.

Compatibility and Releases

  • ocaml-lsp -short-paths config (PR #1579): Open, updated 2026-04-03. Corrects the default so real_paths = true matches Merlin's behaviour; discussion ongoing on whether to change the default or keep it configurable.

  • ocaml-lsp 1.26.0-504 (PR #1600): Open, created 2026-04-03. Changelog update in preparation for the 1.26.0-504 release.

Fixes

  • ocaml-lsp signature-help (PR #1598): Merged 2026-03-31. Reverts the line-break formatting from #1580 because editors render the label field as a single line, making the change unusable.

  • ocaml-lsp build (PR #1594): Merged 2026-03-31. Restores compilation under Dune 3.22.

ocaml/ocaml.org

Permalink

Features

ocaml.org – Hilite MDX highlighting: Open PR enables syntax highlighting for OCaml code blocks using the MDX # directive via Hilite's new ocaml-mdx support. Not yet released to opam; ocaml.org is the test consumer. (#3593)

ocaml.org – Jobs page: Merged addition of a CNAF (French social-benefits agency) position to maintain the Catala compiler. (#3592)

Fixes

ocaml.org – Analytics: Merged revert of Posthog tracking; the site layout no longer loads the Posthog script and the privacy policy restores the Plausible analytics reference. (#3594)

ocaml/odoc

Permalink

Features

  • odoc (PR #1408, open): Adds an @inline tag for module declarations, rendering module contents on the parent page instead of a separate sub-page. Mirrors existing include … (** @inline *) behaviour; nested sub-modules still get their own pages unless also marked.

Fixes

  • odoc (PR #1407, open): Propagates the unboxing marker from the compiler's Punboxed_ty representation so the trailing # on OxCaml unboxed named types appears in generated documentation. Follow-up to #1404.

ocaml/opam

Permalink

Features

  • opam (PR #6873): Adds Nushell shell support for opam env via JSON output and shell config integration. PR is open; review requires a minimum-version check and fallback messaging.

  • opam (PR #6874): Proposes following symlinks in file:// repository diffs so opam update no longer rejects symlinked files. PR is open; maintainers note the same code is being rewritten in #6625.

Fixes

  • opam DockerHub images: Closed issue #6875. DockerHub page updated to state /usr/bin/opam is the lowest supported version and the latest release is at /usr/bin/opam-<version>.

Compatibility and Releases

  • opam (PR #6864): Proposes reordering the action list so downgrades appear after upgrades. PR is open; no version bump indicated.

ocaml/opam-repository

Permalink

Features

  • opentelemetry 0.90: Merged major refactor splitting the library into nine packages with per-signal trace, meter, and logger providers. Adds opentelemetry-client-ocurl-lwt and HTTP/JSON protocol support. #29633
  • gendarme 0.4.1: New nine-package family for marshalling OCaml data to CSV, JSON, TOML, YAML, and Yojson via ppx_marshal. #29566
  • Rocq 9.2.0: Merged major release of the Rocq proof assistant. Requires rocq-stdlib >= 9.1.0 from the dedicated Rocq opam repository. #29617

Fixes

  • dune 3.22.1: Restores Windows 7 compatibility and fixes a dune test crash when no context is named "default". Also corrects dune trace cat --chrome-trace timestamps. #29632

Compatibility and Releases

  • libbinaryen 126.0.0 / binaryen 0.35.0: Breaking upgrades to Binaryen v126 and v125 respectively. binaryen.0.35.0 adds try/throw exception-handling bindings. #29612, #29611
  • oniguruma 0.2.0: Breaking release: minimum OCaml raised to 4.12, composition operator changed to <|>, Syntax.default now returns unit -> Syntax.t. #29583
  • conf-perl 3 / MSYS2 UCRT64: Open PRs add switch-local CPAN for conf-perl on Cygwin/MSYS2 and extend six conf-mingw-w64-* packages to the UCRT64 environment. #29613, #29579
  • opam-repository: exenum.0.84 returns 404 and its source repository is unreachable; similar issues reported for azure-cosmos-db and omtl. #29646

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml (PR #2210): Merged fix for a substitution bug in reference unboxing that caused an assertion failure when compiling packages such as containers-data. Resolves issue #2209. (PR)
  • js_of_ocaml WASM (PR #2207): Merged fix preserving physical identity of empty closures; previously all empty closures shared a single placeholder, breaking == comparisons between distinct closures. (PR)
  • js_of_ocaml WASM (PR #2208): Merged guard preventing direct W.Call emission when the target closure was eliminated by global dead-code analysis; falls back to an indirect call. (PR)

Features

  • js_of_ocaml WASM (PR #2187): Open PR adding dynlink and toplevel support for the WASM backend. Updated during the reporting interval. (PR)
  • js_of_ocaml JS (PR #2163): Open PR introducing initial tooling for ECMAScript module output in the JS backend. Updated during the reporting interval. (PR)

Compatibility and Releases

  • js_of_ocaml (PR #2195): Open PR adding initial compiler and runtime support for OCaml 5.5. Updated during the reporting interval. (PR)

Build Performance

  • js_of_ocaml (PR #2185): Open PR proposing a speedup to the substitution pass in the compiler. Updated during the reporting interval. (PR)

oxcaml/merlin

Permalink

Features

  • Merlin (PR #228): Merges upstream OCaml 5.2.0minus-35, bringing metaprogramming/staging (quote/splice) and layout polymorphism into the type-checking pipeline. Merged 2026-04-02 by liam923.

Compatibility and Releases

  • Merlin (PR #227): Open upgrade to OCaml 5.4; requires ocamlformat 0.29.0 because 0.28.x over-reformats. Not yet merged.

Fixes

  • Merlin (PR #230): Corrects ptyp_of_type for Tquote_eval so the metaprogramming type node renders as Typ.quote (core_type ty) rather than a predef path. Merged 2026-04-03.
  • Merlin (PR #228): Fixes a Not_found error in cross-module GADT destruct where is_aliasable_ty calls Env.find_type under Env.without_cmis.

oxcaml/opam-repository

Permalink

Features

  • OxCaml opam-repository: Open PR #36 updates the bootstrap compiler to 5.4.1 in the ocaml variants opam file. The change supports creating OxCaml opam switches via opam-compiler.

oxcaml/oxcaml

Permalink

Features

  • OxCaml staging/GADTs soundness: Merged a four-PR chain (#5641, #5586, #5607, #5698) making GADT inference sound under staging. Spliced types are no longer instantiable; local constraints are stage-tracked; quotes of expansive expressions require mode once.

  • OxCaml abstract kinds: Merged with kind_ constraints (#5629), completing the planned feature set before announcing abstract kinds. The parser enforces that the RHS is an lr-kind, preventing nested with constraints.

  • OxCaml mode system: Merged write/writing (#5608) and corrupted/corruptible (#5713) modes, making visibility and statefulness axes partial-order diamonds. This isolates write-only contended/portable bits without requiring shared or shareable.

  • OxCaml layout polymorphism: Merged type checking for let poly_ (#5513). Open PRs add val poly_ descriptions (#5755) and static module fracturing (#5724) for the layout-poly pipeline.

  • OxCaml generalized unboxed reprs: Open experimental draft (#5678) adding constructor-level [@repr ...] annotations (null, immediate, pointer, value, unboxed) for allocation-free variant encodings. Enables compact mixed representations for trees and small-int bignums.

  • OxCaml x86 peephole pass: Merged a new -x86-peephole-optimize pass (#5639), disabled by default, that removes dead-register MOVs, redundant CMPs, and combines adjacent ADD RSP sequences. Gated per-rule for fine-grained control.

  • OxCaml runtime preemption: Open PR (#4881) implementing effects-based preemption at GC poll points. A Preemption effect is performed after the next GC; unhandled preemptions resume execution rather than raising.

Fixes

  • OxCaml n-way join: Merged fixes for symbol-projection joins (#5745) and nullability detection (#5718) in the new n-way join algorithm. An open PR (#5751) adds extra params for created variables to eliminate duplicate %is_int primitives.
13 repositories · no changes