All repository summaries
13 active · 14 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Eio.Net.Sockoptmodule added with an extensible variant type andgetsockopt/setsockoptfunctions for setting and retrieving socket options onEio.Nethandles. Unsupported options raiseIo Net Invalid_option. (#858, merged 2026-06-24) -
Portable option names (
Eio.Net.Sockopt.TCP_NODELAY, etc.) are now available independent of the Unix backend, usable in unikernels and mocks. Closes long-standing requests forsetsockopt/getsockoptsupport. (#859, merged 2026-06-24; closes #322, #376) -
Linux-specific socket options (e.g. TCP congestion-control name) merged as a follow-on to the portable Sockopt work, completing the original design by avsm. (#575, merged 2026-06-25)
-
Eio.Process.pipereturn types relaxed from[Flow.source_ty | Resource.close_ty]to[< Flow.source_ty | Resource.close_ty], allowing the returned source/sink to unify with monomorphicFlow.source_tyorFlow.sink_tyconsumers (e.g.Cohttp_eio.Body.t). (#775, merged 2026-06-25; closes #750) -
Proposal to add an
SO_TYPEquery to the portableEio.Netsocket interface; discussion notes the integer return is of limited cross-platform value and a typed variant would require a larger API change. (#860, opened 2026-06-25)
Compatibility and Releases
- The
eio_linuxAsync-integration PR was closed as stale with no merge; no user-facing change results. (#221, closed 2026-06-25)
ocaml-multicore/ocaml-uring
PermalinkFixes
- Corrected vectored read/writev fixed-buffer bindings in the C stubs. Previous stubs were misnamed and did not perform actual vectored calls. (#155, merged 2026-06-28, by avsm)
Compatibility
- Open request to build ocaml-uring against a system liburing rather than the vendored copy. Discussion notes that opam-installed uring often requires a newer liburing than distro packages provide. (#156, open)
Features
- Adds per-operation RWF flags (e.g.
RWF_DSYNC,RWF_NOWAIT) to read/write io_uring submissions. Enables skipping a post-write fsync and avoiding buffer-cache pollution during large copies in Eio. (#154, in progress during interval; merged after interval, by avsm)
ocaml/dune
PermalinkFeatures
-
dune completion bash|zsh|powershellnow generates shell completion scripts for subcommands and flags. Merged in #14779. Follow-up issues track target,promote,runtest,exec, and fish completions (#126, #15335, #15336, #15334). -
Timed-out cram tests now display partial output up to the point of failure instead of only an error message. Merged in #15269, closing #12343.
-
Per-module library dependency filtering is under review in #14492. A consumer module's compile rule will see only the artefacts of libraries it references, reducing unnecessary recompilation on incremental builds.
Compatibility and Releases
-
Melange upgraded to v7-54 in the test suite; the earlier cap at
< 7.0(#15322) was lifted once cram expectations were updated. Merged in #15367. -
dune install --prefixdirectory-layout behaviour (opam-styleman → <prefix>/man,--prefixoverriding./configure) is now documented with an FHS recipe using explicit--mandir/--docdirflags. Merged in #15306, closing #5733.
Fixes
-
dune build --auto-promote(anddune fmt) now exits 0 when all diffs are successfully promoted, removing the need for|| truewrappers. Merged in #15284, fixing #785. Non-promotable diffs still exit non-zero. -
Watch mode now debounces file-watcher events with a short quiet period before starting a rebuild, preventing editor save sequences (delete/create) from triggering spurious "Source files changed" restarts. Merged in #15344, closing #11134.
-
andandorinenabled_ifboolean expressions now short-circuit instead of eagerly evaluating both sides. Merged in #15291. -
Odoc and sherlodoc actions now run under sandboxing with declared hidden dependencies for include directories. Merged in #15190. HTML and JSON doc rules now always run together as a side effect.
-
dune cleanwill accept source directories (e.g.dune clean foo) in addition to build-directory paths. Open in #15305, fixing #2288.
ocaml/merlin
PermalinkCompatibility and Releases
Fixes
- Renaming a type in a signature does not propagate to the implementation in the same file; the occurrences command omits the implementation side. Open bug. (#2084)
- Error messages are truncated in Emacs + Merlin on OCaml 5.04; discussion identifies
merlin.elas the truncation point and notes the same issue inocaml-eglot. Open. (#2080) - ppx expressions (e.g.
ppx_blob) report file-not-found errors in the LSP thatdune builddoes not; root cause identified as Merlin starting ppxes from the source root rather than_build/default. Open. (#2082) - Issue #1965 (error discrepancy between dune and ocaml-lsp) closed 2026-06-22 as a duplicate of #2082.
ocaml/ocaml
PermalinkFixes
-
ctype scope error in modular explicits (merged): A scoping mistake in
occur_univar_or_unscopedcaused non-dependent applications to erase the result type with the first package type encountered, producing unsound type assignments. Fixed in #14892; the author notes a 5.5.1 release is warranted. -
Recursive function compilation regression (5.2) (merged): Since #12596,
let rec f = let __0 = f in function …generated an extra closure allocation, breaking inlining for ppx_deriving-generated code. Two PRs restore the optimisation: #14885 inlines variable-to-variable renamings; #14894 extends it to module-identifier redefinitions. -
Assertion failure with external types under module constraints (merged):
module Q(P : P) : P with type t = P.ttriggered an assertion inout_typewhen the constrained type wasexternal "int". External types are now treated as always abstract in this path. #14882 -
Pattern-matching switch overflow (open): The integer-overflow guard in the pattern-matching compiler failed to handle
abs min_int = min_int. A fix is proposed in #14890.
Features
-
Static linking and link-time linking (open): New compiler options
-cclib-static,-static,-cclib-variant, and-linking-variantallow recording per-variant C library lists in.cmafiles and resolving them at link time via an external command (e.g.pkg-config). Proposed in #14895. -
RISC-V compressed instructions (merged): The RISC-V backend now emits C-extension instructions when the host supports them, reducing
ocamlopt.optcode size by 11%. Register allocation is adjusted to favour x8–x15. #14873 -
Native
Iatomic_fetch_addon all backends (merged):Atomic.fetch_addnow compiles to a single atomic instruction (lock xadd, ldaddal, amoadd.d.aqrl, or ldarx/stdcx loop) instead of a C call, on amd64, arm64, riscv, and power. #14575 -
Pattern counter-example printing (merged): Constructor patterns with all-underscore fields now print as
A _instead ofA (_,_). Nested records collapse similarly. #14887
ocaml/ocaml-lsp
PermalinkFeatures
Compatibility and Releases
Fixes
- Type-signature display now defaults to
real_paths = true, matching the compiler's output when-short-pathsis absent. Previously the LSP always applied short paths, making aliased types unreadable. (#1579, by SkySkimmer; closes #1395) - Compatibility with upcoming Dune versions is restored by removing a dependency on the
Stdune.Pidmodule. (release notes)
ocaml/ocaml.org
PermalinkFeatures
- New cookbook example for SQLite FTS5 full-text search using the
sqlite3-ocamlbinding, with external-content virtual table and sync triggers. Opened by @jonesmelton. #3698 - OCaml Planet scrape merged with posts covering the OCaml 5.5 release summary, Ocsipersist 2.1.0 (type-safe persistence via Deriving), and Neocaml 0.9 (REPL and Dune/Opam completion improvements). #3697
Compatibility and Releases
- CI dependency
actions/checkoutbumped from v6 to v7; v7 blocks fork-PR checkout inpull_request_targetandworkflow_runcontexts. Merged. #3691 - Platform newsletter covering February–May 2026 added to site data. Merged by @sabine. #3680
- LexiFi job listing updated for a new recruitment campaign. Merged by @nojb. #3701
Fixes
- The
watch.ocaml.orgvideo scraper now isolates per-source failures (expired TLS cert, network outage) as non-fatalScrape_report.Errorentries instead of aborting the entire Planet scrape job. Merged by @cuihtlauac. #3695 - The Emacs LSP setup guide still references the obsolete
ocaml-eglot-hook; the fix is to bindeglot-ensuretoocaml-eglot-mode-hook. Opened by @Lemonsity. #3700 - GC tutorial PR adds a preamble note that
Gc.tuneexamples depend on Jane Street's Core, with a planned appendix providing Stdlib equivalents viaGc.get/Gc.set. Ongoing. #3682
ocaml/ocamlfind
PermalinkCompatibility and Releases
- #115 (open, updated 2026-06-23):
ocamlfind ocamlc/ocamloptemits a duplicate "Cannot read directory …/stublibs" warning under OCaml 5.5. No fix merged; comments in the thread are undated, so the specific in-interval activity cannot be established from the supplied data.
ocaml/odoc
PermalinkFixes
- #1450 (opened, ongoing):
odoc_driverresolves cross-library references to the wrong sibling when two libraries expose same-named modules (e.g.eliom.client/eliom.server). Automatic API links in client docs point to server definitions. No fix merged; discussion in progress.
ocaml/opam
PermalinkFeatures
- Merged:
opam update/opam initnow read HTTP repository archives via theocaml-tarlibrary instead of invoking the externaltartool, eliminating a full untar step. Part of the #6625 performance rework. (#6945) - Merged: A conditional hard-upgrade mechanism for the opam root is added, so the 2.6 repository-format migration triggers a full reinit only for affected users. (#6949)
- Opened:
opam source --devandopam sourceshould skip opam-specific git configuration (e.g.--depth=1); afull_fetchparameter is introduced toVCS.init. (#6955)
Compatibility and Releases
- Opened: After upgrading opam (e.g. 2.5.0 → 2.5.1), stale
~/.opam/repo/state*.cachefiles causeopam list --safeto exceed 2 s, slowing Emacs/IDE startup. A warning and shell-hook auto-refresh are proposed. (#6975) - Opened:
opam switch importdoes not restore the switch invariant (e.g.ocaml-base-compilerpin), which is a critical part of switch state. (#6982)
Fixes
- Merged:
opam config substnow handles absolute paths correctly; previously it misinterpreted the path as a basename. (#6936) - Merged: A lock-file filter referencing an undefined variable no longer crashes; the error is reported gracefully in strict mode and ignored in normal mode. (#6947)
- Opened: On Windows,
opam install dir/*.opamrejects/as a directory separator. A fix to the filename validation is proposed. (#6981, #6940) - Opened:
opamfails when the git repository is owned by another local user (e.g. CI running as non-root). A fix addsgit -c safe.directory=<dir>. (#6980, #6963)
ocaml/opam-repository
PermalinkFeatures
-
js_of_ocaml 6.4.0 adds OCaml 5.5 support, WASI 0.1, a
Promiselibrary, andFetch/Abortbindings. Breaking: drops SVG 1.1getTransformToElement,MouseScrollEventbindings, and changesmediaElement.playto returnunit Promise.t. -
awskit 0.2.0 is a breaking release: runtime constructors return structured validation errors, S3 object bodies use scoped
Reader/Bodymodules, and presigned requests return opaque artifacts. Custom runtimes must implement grouped capability modules. -
New packages merged: batteries 3.11.0 (community stdlib extension), gendarme 0.5.0 (9-package marshalling suite), forcamla 0.2.0, melange-edn 0.5.0, nel 1.0.0, sek, and camlp4 5.5.
Compatibility and Releases
-
merlin 5.8-505, lsp 1.27.0, eliom 12.1.0, melange 7.0.0, reason 3.18.0, and ocaml-solo5 1.3.0 all add OCaml 5.5 support. melange 7.0.0 is a major version bump.
-
Upper bounds on dune 3.24 were added to lablgtk3, wasm_of_ocaml-compiler, cppo (tests only), and camomile 1.0.2/2.0.0 (#30143, #30132). These packages use non-normalized paths from dune variables that change in 3.24.
-
Spurious architecture bounds were removed from
coreand its dependencies, allowing installation on arm32 (#30147). The bounds were already removed upstream in the upcoming v0.18 release.
Fixes
-
Tarballs for wol, tm-grammars, netkat, ansicolor, otp, lablgtk-extras, odoc-depgraph, starpath, and ocaml-systemverilog were recovered from the opam cache and URLs redirected to opam-source-archives (#30129, #30126, #30127, #30128). The wol mismatch was caused by a tangled.org archive-generation change.
-
conf-pkg-config now invokes
pkg-configdirectly on OpenBSD, where the separatepkgconfport was absorbed into the base system. Fixes #30080.
ocsigen/js_of_ocaml
PermalinkFeatures
- Merged:
Js_of_ocaml.NotificationandJs_of_ocaml.Clipboardbindings added, with Promise-typed methods andis_supported()probes. (#2379) - Merged:
Js_of_ocaml.Cryptobindings for the Web Crypto API, includingSubtleCrypto, typed key enums, and overloadedgenerateKey/importKey/exportKeymethods. (#2380) - Merged:
Lwt_js_events.mutationandLwt_js_events.mutationsprovide Lwt-friendly MutationObserver awaiting; closes #250. (#2376) - Opened: bindings for Service Worker (both sides), MessageChannel/MessagePort, and Cache/CacheStorage APIs. Merge landed 2026-06-29, just after this interval. (#2381)
- Opened: toplevel
WrappedAPI (structured error/warning results) andAsyncsublibrary running the toplevel in a Web Worker. Merged 2026-07-01. (#2377)
Fixes
- Merged:
wasm_of_ocamlruntime build now takes the basename of dune-expanded.watpaths before stripping the suffix, fixing a break with dune ≥ 3.24. (#2371)
Compatibility and Releases
- Merged:
js_of_ocaml-lwt.logger(thelwt_log_jslibrary) removed; thelwt_logoptional dependency is dropped fromjs_of_ocaml-lwt.opam. Users of that logger must migrate. (#2378) - Merged: in-tree
ppx_expect_lightreplaces theppx_expectdependency; per-backend/version test gating moves from duneenabled_ifinto[@when]/[@@@if]annotations in test sources. (#2369)
oxcaml/oxcaml
PermalinkFeatures
-
AVX512 SIMD backend (experimental). Three open PRs plumb 512-bit ZMM/K mask registers, EVEX instruction encoding, and basic 512-bit vector operations through the compiler. Gated behind
simd_alpha; disabled by default. #6293, #6294, #6339 -
Allocation mode axis for zero-alloc analysis. A new
Allocationmode axis was merged, forcing closures containing heap allocation toallocmode. A follow-up PR adds detection of all allocation sites, distinguishing stack from heap. #6269, #6319 -
Functional mode polymorphism (ongoing). Integrates level-relation operations into type inference so mode variables are polymorphic. Controlled by
-extension mode_polymorphism_alpha; printing via-extension mode_polymorphism_printing. #5483 -
Compiler performance CI. A new GitHub Actions workflow compares base vs. head compiler CPU time on a corpus of compiler source files, failing when the 99% lower confidence bound exceeds a 1.5% threshold. #6365
Fixes
-
Zero-alloc unsoundness with
never_returns_normally.[@zero_alloc assume never_returns_normally]on an inlined function that raises makes the checker accept allocating code in the caller.[@zero_alloc assume]alone is also unsound. #6297 -
Stack-check SIMD save (opened). The inserted
Stack_checkinstruction received an empty live set, so the realloc trailer used the plaincaml_call_realloc_stack(no xmm/ymm/zmm save). Fix gives the check the correct live-in set and selects the_sse/_avx/_avx512variant. #6337
Compatibility and Releases
-
Typing-Recovery integrated into the type checker. Ported from Merlin to reduce divergence between the two type checkers, facilitating upstreaming. Reviewed by @trefis and @Octachron on the ocaml/ocaml side. #6366
-
Inlining attribute semantics redesign (proposal). Proposes splitting the current two-axis
[@inline]into a four-level hierarchy (always/available/hint/never) pluslocalvariants, fixing the interaction with[@inlined]. #6312