All repository summaries
15 active · 12 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Eio.Net.getaddrinfoandgetaddrinfo_streamnow raiseAddress_lookup_failedon resolution errors instead of returning an empty list.AI_ADDRCONFIGis passed on eio_linux and eio_posix, restricting results to configured address families. Fixes #776, #351. (#866) -
Eio.Path.loadnow uses a buffered reader with a sensible minimum buffer size, so files in/proc(which report size 0) read correctly. Fixes #835, #798. (#869, #878) -
On eio_linux,
fstatnow usesstatxwithAT_EMPTY_PATH, populatingblksizeandblocksfields previously left unset. Requires Linux ≥ 5.18 for the io_uring path. (#865) -
Open proposal: a
~optionsGADT forEio.Net.connectandEio.Net.listento set socket options and bind addresses before the connection is established. Discussion is exploring a lower-level BSD-socket-style API as an alternative. (#875)
Fixes
-
chmodandchownon confined paths no longer follow symlinks that point outside the sandbox. eio_linux usesO_PATH+AT_EMPTY_PATH; eio_posix resolves symlinks manually. Requires kernel 6.6 / glibc 2.39+ for thefchmodat2path, with a/proc/self/fdfallback. (#872, #877) -
eio_linux
read/writenow hold the file descriptor open untilUring.submit, matching the lifetime discipline ofreadv/writev. The previous code could close the fd before the submission. (#871)
Compatibility and Releases
ocaml-multicore/ocaml-uring
PermalinkCompatibility and Releases
- ocaml-uring #156 (open, updated 2026-07-10): request to support building against a system liburing instead of the vendored copy. An undated comment from avsm notes the build configuration for both modes is unresolved. The issue remains open; no merged change or release is evidenced in this interval.
ocaml-multicore/saturn
Permalinkocaml/dune
PermalinkFeatures
- #15400 (open): Adds a
(public_name ...)field torocq.theorystanzas, enabling Rocq package installation via ocamlfind. Requires rocq language support ≥ 0.15. - #15478 (open): Adds an
originfield todune describe workspaceoutput, indicating whether each module is hand-written, generated by a rule, produced by menhir/ocamllex/ocamlyacc, or a wrapper.
Compatibility and Releases
- #15458 (open): Since #14432 (3.24),
dune exec -- progresolves binaries from_build/defaultrather than_build/install/default/bin. The%{bin:...}macro no longer points to the install staging area. - #15449 (merged): Documentation now clarifies that
dune runtestis not a shorthand fordune build @runtest; it selects a single context and accepts test path arguments.
Fixes
- #15444 (merged): Compiler packages with version ≥ 5.5.0 are now treated as relocatable installs, bypassing the toolchain cache. Fixes spurious rebuilds with OCaml 5.5.
- #15475 (merged):
Fpath.existsandFpath.is_directorynow return false on ENOTDIR. Prevents a crash when~/.config/duneis a regular file. - #15293 (merged):
dune build @doc-newno longer crashes when a lock-dir package's cmti directory lives under_build/_private/.... - #15077 (merged):
dune installwith an externalDUNE_BUILD_DIRnow writes relative artifact paths indune-packagefiles instead of absolute paths.
ocaml/merlin
PermalinkFeatures
-
Preview typing recovery (draft, ongoing): PR #2087 by @xvw introduces a mechanism to recover typing information from partially parsed or erroneous source. Not yet merged; additional commits in progress.
-
LRgrep-generated syntax error messages (open, ongoing): PR #2072 by @let-def adds a declarative error specification (
parse_errors.lrgrep) and amake lrgrep-coveragetarget that reports grammatical constructs lacking error messages. Currently additive; long-term goal is to replace hand-written error-recovery code.
Compatibility and Releases
-
Exposed warnings-parsing API (open): PR #2088 by @PizieDust exposes Merlin's internal warnings-parsing function as a public API. Pre-requisite for ocaml-lsp issue #717.
-
Fuzzy CI updated to OCaml 5.5 (open): PR #2086 by @Tim-ats-d updates the fuzzy CI from OCaml 5.3 to 5.5 and regenerates the Irmin lock file. Closes issue #2006 once merged.
Fixes
-
type-enclosinganddocumentmisresolve*in tuple types (open): Issue #2093 reports that placing the cursor on the*separator in a type like'a * 'areturns the Stdlib integer-multiplication operator (int -> int -> int) instead of the tuple type. Affectsocamlmerlin single type-enclosinganddocument; visible as incorrect hover in ocaml-lsp. -
documentreturns neighbouring entries' doc comments (open): PR #2092 by @liam923 fixesdocumenton variant constructors and record fields returning all siblings' docs instead of only the target's. Corrects theafter_onlyflag and removes a stalelast_locationmechanism. -
locateonopenwith module shadowing (open): PR #2089 by @lyrm fixeslocateanddocumentresolving a module name at anopento the shadowed submodule instead of the original module. The fix carries the pre-open environment on theOpen_descriptionnode.
ocaml/ocaml
PermalinkFeatures
-
Configurable domain stack size (merged): New
OCAMLRUNPARAM=S=<size>setting controls the stack allocated when spawning a domain viaDomain.spawn. Addresses segfaults from large C stack frames in spawned domains. #14860 -
Atomic.compare_and_exchange(open): Proposed stdlib additionAtomic.compare_and_exchange : 'a t -> expected:'a -> set:'a -> 'a, implemented as a C primitive (~25% faster than an OCaml retry loop under contention). #14912
Performance
-
Inline full-application
caml_apply(open): Full (non-partial) function calls bypass thecaml_applytrampoline. Benchmarks show ~25% runtime reduction on function-call-heavy code and 1–4% instruction-count reduction across coq-bench. Code size increases ~0.56%. #14925 -
arm64 store-release for indexed stores (open): Replaces
dmb ishld; strwithstlr/stlurfor aligned word stores on arm64. 4×–50× faster on FEAT_LRCPC2 cores; configure auto-detects and falls back to the barrier on Cortex-A53/A72. New-flrcpc2/-fno-lrcpc2/-fbarrier-store/-fstore-releaseoptions. #14922
Fixes
-
Sys.file_existson Windows (merged): Replacedstat_os(which usesGetFileInformationByName) withGetFileAttributesin the runtime. Fixes a Windows 11 24H2 kernel bug whereSys.file_existsreturned incorrect results depending on another process's CWD. #14919 -
Filenamecolon handling on Windows (merged):Filename.concatandFilename.dirnamenow treat:strictly as a volume separator.Filename.concat "C:\\Foo:" "bar"yieldsC:\Foo:\barinstead ofC:\Foo:bar. Targeted for 5.6 only. #14916 -
Typing performance regression from keep-expansion (open, two PRs): Eliding the occurs-check for freshly-instantiated type variables reduces compilation of the
js_of_ocamlreproducer from ~5 min to ~5 s. A companion change checks path equivalence modulo module aliases, further reducing the same file to ~170 ms. #14913, #14927
Compatibility
- Functional updates of atomic records (open):
{ r with j }on a record with[@atomic]fields compiles to a non-atomic load, silently violating the atomicity contract. The plan is to forbid such implicit loads (matching the existing restriction on pattern matching), which would break code that relies on the current behaviour. #14918
ocaml/ocaml-lsp
PermalinkFixes
-
Merged: ppx hover now uses Merlin's
expand-ppxcommand instead of constructing the expansion locally, fixing broken@@derivingoutput fortype … and …declarations. (#1615, fixes #1614) -
Merged: Dune S-expression formatting is restricted to Dune documents only. OCamllex, Menhir, and Cram documents no longer pass through Dune RPC; unsupported formatting requests return no edits. (#1621)
Performance
- Open:
workspace/symbolrescans all.cmt/.cmtifiles on every request, producing ~13 s latency in a 50 000-file workspace. No per-workspace symbol index or cache exists in the current request path. (#1622)
Compatibility and Releases
Features
ocaml/ocaml.org
PermalinkFeatures
- Add Amazon Web Services to the industrial users page, noting AWS uses HOL Light (an OCaml-based theorem prover) for formal verification of s2n-bignum in AWS-LC. Open PR by adithn875, updated 2026-07-12. #3681
Compatibility and Releases
- Open PR to publish the opam 2.5.2 announcement on the site. Opened by kit-ty-kate on 2026-07-09; not yet merged. #3712
ocaml/ocamlfind
PermalinkFixes
ocamlfind ocamlopt -configno longer crashes when the compiler is built with--disable-systhreads. The exception handler was updated to match the current lookup-failure type. Merged 2026-07-09.
Compatibility and Releases
- #120 (opened 2026-07-10, not yet merged): install
.cmxfiles alongside.cmifiles to suppress warning 58 in client code that links against Findlib. - #119 (opened 2026-07-10, not yet merged): resolve relative paths in
ld.confagainst the file's directory, fixing compatibility with theld.confinstalled by OCaml 5.5.0. - #118 (updated 2026-07-10, open): libraries installed via Fedora
dnfare not found byocamlfindwhen the expectedMETAfile is absent from the package.
ocaml/odoc
PermalinkFeatures
-
OxCaml mode rendering (open): PR #1454 by @art-w adds rendering of OxCaml mode annotations (
@ local,@ unique, etc.) in generated docs, with heuristics to suppress redundant or implied modes. Fixes #1417. -
include functordisplay (open): PR #1452 by @Leonidas-from-XIV adds a collapsible section showing that items were included via a functor, following up on #1368. Review notes indicate the current splice approach fails on functor parameters (e.g.I.t); a dummy-module rewrite is proposed.
Compatibility and Releases
- Remove OCaml < 4.08 code paths (merged): PR #1458 by @fantazio deletes version-gated branches for OCaml versions below 4.08, the minimum already declared in
.opamfiles since odoc 3.1.0. No user-facing behaviour change.
Fixes
-
Spurious "Hidden constructors" warning with Menhir
--table(open): Issue #1459 reports that odoc 3.2.1 emits a false "Hidden constructors in type" warning and leaks a mangledMenhirLib__IncrementalEngine.positionname when documenting Menhir parsers built with--table. The constructor is rendered but itsLexing.positionargument is unresolved. -
Sibling libraries resolve to wrong module (open): Issue #1450 reports that
odoc_driverresolves same-named modules across sibling libraries (e.g.eliom.client/eliom.server) by first-found order. A maintainer proposes restrictingodoc compiletocompile-depsand using full package union forodoc link; a PR is planned. -
basedocumentation build failure with OxCaml (open): Issue #1455 reportsFailure("invalid core type")whenodoc compilereads a type kind from a cmti produced by the OxCaml compiler.
ocaml/opam
PermalinkFeatures
-
HTTP repositories are now stored as the downloaded tar.gz rather than extracted to disk.
opam updateandopam initno longer untar the index, eliminating a 1+ minute delay on Windows and network filesystems. #6625 -
..paths are re-allowed in.installfiles, reverting a 2.5.1 restriction that broke dune cross-compilation packages. Target paths are resolved before directory creation to avoid unnecessary intermediate directories. #7009
Compatibility and Releases
Fixes
-
CVE-2026-57825: a symlink in a package's
.installfile could bypass the switch prefix check and write files outside the switch without warning. Fixed on master and backported to 2.5. #7005 -
OpamSystem.real_pathnow resolves..components after a non-existent directory, matching its documented behaviour. Previously the path was returned unresolved. #7011 -
OpamFilename.starts_withanddir_starts_withno longer treatfoo/baras a prefix offoo/bar-baz. On Windows,/and\are now equivalent in these comparisons. #6953 -
Exhaustive reftests for all
.installfields were added. Testing revealed two open Windows bugs:libexecbinaries fail to install, and files without a.exeextension are not removed on package removal. #6956, #7021, #7022
ocaml/opam-repository
PermalinkFeatures
- Caqti 3.0.0 merged: the
caqtilibrary now holds the Caqti 3 API; Caqti 2 users must addcaqti.classicto their link lines. Foreign key constraints are enabled for SQLite by default. (#30174) - quickjs 0.5.0 (open, not yet merged): extensive breaking changes to
RegExp,String,Global, andNumbermodules;quickjs.candquickjs.bindingsare wrapped underQuickjs_c.*/Quickjs_bindings. Lower-bounds builds fail on Ctypes. (#30212) - Frama-C 33.0~beta-Arsenic merged: substantial API refactoring for plug-in developers; new
-eva-secure-flowoption; GTK GUI removed in favour of the Ivette-basedframa-c-gui. (#30136) - New packages merged:
ppx_deriving_melange.0.1.0(Melange-compatible ppx_deriving subset),union-find-lattice.0.1.0,pidgin.1.0.0+pidgin_pp.1.0.0,wire.1.0.0,micro_httpd.0.20.1,ocamlgrep.0.1.1,otp.0.3. (#30255, #30207, #30208, #30215, #30251, #30201, #30218)
Compatibility and Releases
- opam 2.5.2 released: eight packages (
opam-client,opam-core,opam-devel,opam-format,opam-installer,opam-repository,opam-solver,opam-state) updated; update alerts adjusted. (#30237, #30238) - bonsai.v0.16.0 / v0.17.0 upper-bounded on dune 3.24: dune 3.24 changed path-variable expansion to include a
./prefix, breaking non-normalized path usage in these packages. (#30247) - ocaml-ai-sdk 0.5 merged with source-breaking changes:
Ai_provider.Prompt.System,Ai_provider.Tool.t, andCore_tool.tgained aprovider_optionsfield;Cache_control.breakpoint_to_json/breakpoint_of_jsonremoved. (#30210) - Package availability:
riotmarked non-maintained (repo moved toleostera/riot-lib);synopsis.1.0marked unavailable (bad checksum confirmed). Open issues report bad checksums forpxshot,res_tailwindcss,coq-lsp.0.1.6+8.16, andvecosek. (#30252, #30245, #30244, #30243, #30241, #30240)
ocsigen/js_of_ocaml
PermalinkFeatures
-
WebGL2 bindings (merged): New
WebGL2module adds 3D textures, transform feedback, VAOs, instancing, MRT, and integer attribs. The existingexamples/webgldemo now requests a WebGL2 context. #2388 -
Experimental ESM output (open, RFC):
js_of_ocaml compile --esm,build-runtime --esm, andlink --esm [--bundle]emit ECMAScript modules with named imports, tree shaking, and per-unit files. Separate-compilation link step drops from 16 ms (script) to 9 ms (ESM, units on disk). #2402 -
Web Audio and Media Capture bindings (open): Adds
AudioContext, the full node-graph hierarchy,AudioParamautomation,MediaStream/MediaStreamTrack, andnavigator.mediaDevices. CompletesDom_html.mediaElementwith text tracks andsrcObject. #2401 -
BroadcastChannel and SharedWorker bindings (open): New modules fill the remaining Tier 2 communication gaps;
BroadcastChannelis testable under Node,SharedWorkeris browser-only. #2400 -
Manual sidebar ordering (merged):
@children_orderadded tomanual/index.mldso odoc lists pages in logical reading order rather than alphabetically. #2359
Fixes
- Compiler miscompilation in
js_simpl/js_traverse(merged): If-fusion now requires an effect-free condition, preventinglet a = g() in if a then g() else h()from compiling to a singleg()call. Constant-if folding preserves hoistedvardeclarations;freerecords catch-parameter destructuring defaults. #2393
Compatibility and Releases
-
Consolidated
messageEventtypes (merged, breaking): Five per-modulemessageEventclass types replaced by a single polymorphic['target, 'data] Dom_html.messageEvent. Old names remain as[@@ocaml.deprecated]aliases; existing code compiles with a migration warning. #2390 -
OCaml 5.6 support (merged): Initial compiler support merged; the 5.6 CI job runs on master. #2227
oxcaml/opam-repository
PermalinkNo repository activity falls within the reporting interval 2026-07-06 to 2026-07-13 (exclusive). The sole supplied record (PR #54, merged 2026-07-13T13:00Z) post-dates the interval end and is therefore excluded.
oxcaml/oxcaml
PermalinkFeatures
- The reaper now unboxes
int32,int64, andnativeintboxes across non-inlined function boundaries, closures, and nested pairs. Merged. (#6437) - ARM64 backend emits
stlr/stlurinstead ofdmb ishld; strfor aligned word stores; measured 4.18× speedup on NVIDIA Vera (fannkuchredux,-O3 -unsafe -flrcpc2). Opened, closed unmerged. (#6443) - Dissector parses each partition's ELF once and runs partial links concurrently under
-dissector-max-linker-parallelism <n|none>. Open. (#6447)
Fixes
- Closures built inside
noalloc/noalloc_strictfunctions are forced local and stack-allocated, fixing a soundness hole in partial application of curried functions. Open. (#6452) - Functor applications no longer leak types whose kind depends on local GADT equations, correcting scopes after substitution. Open. (#6406)
- Module-rec type approximation now preserves the layout of
with-bounded kinds instead of over-approximating toany, eliminating spurious errors. Merged. (#6395)
Research and Experimental
- Staged campaign to replace the legacy jkind bounds representation with the ikind (LDD) engine; this PR deletes the last legacy entry point and switches error-history selection to ikind ordering. Open (WIP). (#6460)
- New
cmm_invariantspass checks that machtypes of inputs and outputs of every Cmm operation are mutually consistent. Open. (#6435)