All repository summaries
15 active · 12 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
io_uring for additional operations (Linux).
ftruncate,fdatasync,fsync,shutdown,socket,bind, andlistennow use io_uring when available, reducing syscalls on the hot path. Merged by @avsm. #850 -
Cross-platform socket options.
TCP_KEEPIDLEmaps toTCP_KEEPALIVEon macOS. Per-platform availability is now documented in the API.TCP_FASTOPENis disabled on non-Linux systems due to inconsistent behaviour. Merged by @talex5. #890 -
Eio_unix.Errmodule. New public module providingErr.vto wrapUnix_errorintoEio.Ioexceptions, replacing ad-hocwrap/wrap_fshelpers across backends. Merged by @talex5. #887 -
Pre-connect socket options (proposal). A GADT-based options list allows setting socket options (e.g.
reuse_addr) beforeconnect, building on earlier work by @art-w. Open, under review. #875
Fixes
-
Sockopt exception handling restored. Sockopt functions again raise
Eio.Ioexceptions in all failure cases; a regression introduced by the stub relocation in #889. Merged by @talex5. #891 -
macOS
POLLNVALfallback (open).eio_posixresumes waiters with anUnpollableexception whenpoll()returnsPOLLNVAL(e.g./dev/tty,/dev/null), then polls those fds viaselect()in a systhread. Open, not yet merged. #893
Compatibility
- Sockopt stubs moved to
eio.unix. C stubs for extended socket options are now shared betweeneio_linuxandeio_posix, and are structured to compile on Windows (untested). Merged by @talex5. #889
ocaml-multicore/ocaml-uring
PermalinkFixes
- Issue #160 (opened and closed 2026-07-19/20) reports a potential double-free in
uring_stubs.cwhenio_uring_queue_init_paramsfails. A comment disputes the report, noting the custom-block finaliser iscustom_finalize_default(NULL), so no dangling pointer is freed. Resolution is not stated in the supplied data.
ocaml-multicore/saturn
PermalinkFixes
- Merged: test suite build corrected to work against a recent
qcheckrelease. Affects developers building the saturn test suite; no change to the public API. (#188, lyrm)
ocaml/dune
PermalinkFeatures
--sandbox-actionsnow supportssandbox-execon macOS alongside bubblewrap on Linux. The sandbox-exec profile denies writes to the shared cache while preserving normal filesystem access. (#15500, merged)dune completion fishis available in an open PR, adding subcommand, flag, and value completion for fish 3.x/4.x. Filename fallback applies when Dune has no semantic completions. (#15515, open)dune cache trim --trimmed-size 0now accepts a bare0without a unit suffix, since all units are equivalent at zero. (#15498, merged)
Compatibility and Releases
- Breaking (Dune 3.25): Melange extension version 0.1 is removed. Only
(using melange 1.0)is accepted. Projects using 0.1 must update theirdune-projectlanguage version. (#14574, merged) dune depsno longer resolves package dependencies transitively. The previous transitive closure was an unintended side-effect of the install staging area. Projects relying on it (e.g. Frama-C) must list dependencies explicitly. (#15511, open)
Fixes
- Shell completion scripts (bash, zsh, PowerShell) fall back to the shell's filename completion when Dune has no semantic completions. Restores behaviour lost when completion moved to cmdliner in #14779. (#15442, merged)
- The persistent digest database now records
ctimealongsidemtimeand size. Same-size edits that restoremtimeno longer produce stale builds. (#15495, merged) %{bin:...}PATH layouts on Windows omit the.exeextension for native executables, a regression from 3.24. Fix is in review. (#15512, #15518, open)
ocaml/merlin
PermalinkFeatures
- Merged: An LRU cache limits indexing memory usage; small values are stored alongside their parent and filenames are made relative to the indexer's working directory. (#2079, by voodoos)
- Open: Integrates LRgrep for declarative syntax-error message generation; adds a
make lrgrep-coveragetarget that reports grammatical constructs lacking error messages. Additive; no existing parser behaviour changes. (#2072, by let-def)
Fixes
- Open: The lexer now skips non-interpolated string-literal content when computing hover and documentation, so
/in"/usr/bin/home"no longer returns division-operator docs. Interpolated%{name}segments are still processed. (#2098, by ikostia) - Open: Occurrences staleness detection is corrected when Merlin runs from a directory other than the project's source root. (#2097, by voodoos)
Compatibility and Releases
- Open: Dune 3.24.0 changed
%{bin:NAME}resolution to a per-rule.binaries/<hash>/shim directory, breakingocamlmerlin-serverdiscovery on Windows. Server tests fail withstat(ocamlmerlin-server): No such file or directory. A fix adds aSearchPath()fallback and declares both binaries in the dunebinariesstanza; CI currently pins Dune to 3.23.1. Reported upstream as #15512. (#2095, #2096)
ocaml/ocaml
PermalinkFeatures
-
Frame-pointer support is now available on RISC-V (s0/x8 as CFA). Tested on Spacemit X60; works with and without C frame pointers. (#14506, merged)
-
PR adds
{Option,Result}.try_value, a combinator that attempts a computation and falls back on failure. Stdlib team approved the design; PR is open. (#14941)
Compatibility and Releases
-
caml_atomic_exchange,_cas, and_fetch_addno longer emit redundant acquire/release fences around the seq_cst RMW on AArch64. The RMW is itself a full ordering point (RCsc); verified with herd7. (#14936) -
A new GC-pacing algorithm replaces the current one, tracking off-heap and ephemeron allocations. The PR is open with remaining work on custom-block accounting and test failures. (#14796)
Fixes
-
ocamloptnow emits a store-release (stlr) for non-atomic assignment stores on all arm64 targets, replacingdmb ishld; str. On FEAT_LRCPC2 cores this is 4–50× faster; configure auto-detects and falls back for Cortex-A53/A72. (#14922, merged) -
A functional record update that implicitly copies an atomic field now performs an atomic load instead of a plain field read. PR #14935 is open; the alternative (forbidding such updates, #14931) was closed. (#14918)
-
A size limit is added to the fiber cache to prevent unbounded growth when fibers migrate between domains. Configurable via
OCAMLRUNPARAM; backport to 5.5 is in progress. (#14940) -
The runtime now queries
sysconf(_SC_MINSIGSTKSZ)at startup instead of using the compile-timeSIGSTKSZconstant. Fixes a fatal error on Alpine 3.24 (musl 1.2.6) with Intel Xeon Platinum 8488C. (#14933)
ocaml/ocaml-lsp
PermalinkFixes
- Merged:
workspace/symbolnow resolves each outline item's source path independently, preferring existing workspace files over Dune build-directory paths. Symbols for generated code no longer point to nonexistent locations. #1742 - Merged: The server accepts the first dynamic
workspace/didChangeWorkspaceFoldersupdate whenworkspaceFolderswasnullat initialization, instead of asserting. #1747 - Merged:
textDocument/formattingroutes onlyDocument.Dune.tvalues to the Dune S-expression formatter. OCamllex, Menhir, and Cram documents now return no edits instead of being misrouted through Dune RPC. #1621 - Open:
textDocument/documentSymbolfalls back torangewhen Merlin'sselectionRangeviolates the LSP containment invariant, preventing VS Code from discarding the entire symbol response. #1750
Features
- Open: Updates the bundled LSP meta-model from 3.17 to 3.18.0, adding workspace text-document-content requests, snippet edits, code-action tags, and related protocol types. Downstream call sites are updated to the new API shapes. #1749
Compatibility and Releases
- Merged: Development tooling updated to Dune 3.24 and OCamlFormat 0.29.0;
make devnow creates an OCaml 5.5 switch matching package constraints. #1740 - Merged: The legacy Jest/Node/Yarn end-to-test harness is removed; all e2e tests now run in the OCaml expect-test suite. Node and Yarn are no longer required to build or test. #1726
- Open: A missing
<workspace>/_build/defaultdirectory is treated as an empty symbol source instead of emitting awindow/showMessagewarning on everyworkspace/symbolrequest. #1666
ocaml/ocaml.org
PermalinkFeatures
-
Package version pages restructured (#3713, open, @smorimoto): Versions on
/p/ocaml/latest/versionsare now grouped into "Latest", "Previous", "Avoided by opam", and "Deprecated by opam". Date labels read "Added to opam-repository" instead of implying release dates. -
Compiler package pages show a banner (#3713, open): A notice on
ocaml,ocaml-compiler,ocaml-base-compiler,ocaml-system, andocaml-variantsversion pages directs readers to ocaml.org/releases for official release information. -
OCaml package doc links corrected (#3713, open): Documentation links for the
ocamlpackage now point to/manual/<major>.<minor>/index.html(micro version dropped) rather than the empty/p/ocaml/<version>/meta-package page. -
New documentation build server (#3716, open, @jonludlam): Documentation links redirect to the rebuilt server at
dill.caelum.ci.dev, which exposes per-package build status, logs, and distinguishes doc-build, build, and cascade failures. -
Dune 3.24 release announcement (#3704, open, @shonfeder): Adds the dune 3.24 release to the site's release announcements.
Fixes
- Broken success-stories link (#3714, open, @Geerayef): The "OCaml success stories" link in
CONTRIBUTING.mdreturns 404; the correct target is the Industrial users page.
ocaml/ocamlfind
PermalinkFeatures
- #122 (open, by dra27): Adds support for the relative paths in
ld.confintroduced by OCaml 5.5.0 and makes the installedocamlfindrelocatable (byte-identical across prefixes for the same compiler). - #123 (open, by dra27): Proposes removal of the
-with-relative-paths-atconfigure option, a breaking change for existing build scripts.
Compatibility and Releases
- #122 (open): Required for correct operation with OCaml 5.5.0, whose installed
ld.confuses relative paths (../stublibs,./stublibs,.). #119 (closed 2026-07-18) addressed the same issue and was closed in favour of #122. - #121 (open): Restores correct
ocamlfind listandtopfindbehaviour on mingw-w64/MSVC with OCaml 5.0+; previouslyfindlib.confwas silently misgenerated.
Fixes
- #120 (merged 2026-07-18, by rlepigre-skylabs-ai): Installs
.cmxfiles alongside.cmifiles, eliminating compiler warning 58 (no-cmx-file) in client code such as Rocq. Closes issue #117. - #121 (open, by dra27): Fixes build failures on Cygwin and MSYS2 with OCaml 5.0+ caused by semicolons in paths during
findlib.confgeneration; also corrects aMETA.pkgcheck inocamlfind install. Supersedes #112.
ocaml/odoc
PermalinkFeatures
-
odoc compile/odoc compile-impl(open, not merged): gain an option to override the output path, relaxing the strict path requirement for-Lresolution. Output files can sit alongside.cmifiles, inheriting compiler path resolution. -
OxCaml mode annotations (open, ongoing): render in generated documentation, with heuristics omitting legacy or contextually implied modes for readability. Fixes #1417.
Fixes
- Several driver fixes (open, not merged): a set of related corrections to the odoc driver plus one fix to odoc itself. Documentation was updated as part of the change.
ocaml/opam
PermalinkFeatures
opam installnow acceptsrootandrootexecsections in.installfiles, enabling cross-compiled package layouts. Requiresopam-version: "2.6"in the package file. #6938- New
--ignore-available-onflag (andOPAMIGNOREAVAILABLEenv var) forces installation of packages whoseavailableconstraint is unmet, for compatibility testing. #6836
Compatibility and Releases
Fixes
- The
.opam-switch/sourcesdirectory now stores only dev/pinned packages; regular packages extract directly into the build directory. Benchmarks show a 24% speedup on multi-package installs. #6440 - The shell env hook now updates the existing opam switch path in
PATHin place rather than prepending it, preserving user-defined directory precedence. #6859 opam init --bareno longer computes a default compiler, eliminating a several-second delay. #6957- Build directories are removed immediately after each package installs instead of at the end of the command, reducing peak RAM usage. #6906
ocaml/opam-repository
PermalinkFeatures
-
opam 2.6.0~alpha1 (8 packages: opam-client, opam-core, opam-devel, opam-format, opam-installer, opam-repository, opam-solver, opam-state) submitted as an alpha release. Open. (#30284)
-
New packages submitted: noise 0.1.0 (Noise Protocol Framework rev 34), termaid 1.0.0 (Mermaid-to-Unicode renderer), theo 0.1.0 (BDD with theory support), wax 0.1.0 (WebAssembly toolchain), ppx_deriving_melange 0.1.0 (merged).
-
lstar-rocq 3.0 (formally-verified automata learning in Rocq) introduces breaking changes: teacher modules restructured; TTT for DFAs and L* for Moore/Mealy machines added. Open. (#30291)
-
quickjs 0.5.0 (QuickJS bindings) contains extensive breaking changes:
RegExp.execreturn type, UTF-16 index semantics,parse_intradix auto-detection, and library module renames (Quickjs_c.*). Open. (#30212)
Fixes
-
ppx_regexp 0.5.2 adds compatibility with ppxlib ≥ 0.36. Merged. (#30261) melange 7.0.1 fixes relocation of relative
mel.moduleexternals during inlining. Merged. (#30253) -
riot package marked non-maintained; five versions with invalid checksums (0.0.2–0.0.5, 0.0.7) marked unavailable and source URLs redirected to opam-source-archives. Merged. (#30252, #30242)
Compatibility and Releases
ocsigen/js_of_ocaml
PermalinkFeatures
-
Pointer Capture API bindings added to
Dom_html.element(merged).setPointerCapture,releasePointerCapture, andhasPointerCaptureare now typed methods;pointerEventgainsgetPredictedEvents,altitudeAngle, andazimuthAngle. #2403 -
Lwt_js_events.load/error/abortaccept any#Dom_html.element(merged). The.mlirestriction toimageElementis removed; the implementation was already generic. Backward compatible. #2404 -
Experimental
--esmflag for ES module output (open, RFC).js_of_ocaml compile --esm,build-runtime --esm, andlink --esmemit.mjsfiles with named imports/exports instead of IIFE globals.link --esm --bundleproduces a single tree-shaken module. Separate-compilation link step is faster than script concatenation when per-unit files are already 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,srcObject, and missing event listeners. #2401
Compatibility and Releases
-
Single linear memory for Safari (open). The runtime previously declared four separate linear memories; Safari rejects multi-memory modules. All memories now share one. #2405
-
Wasm FFI "bad cast" root cause identified (closed, no fix in this repo). A
Js.Unsafe.coerceread in ocsigen-toolkit inferredintfor a fractionalpageYOffset, trapping at the wasm FFI boundary. Fix lands in #271. AnyJs.Unsafe.coerceread typed asint/bool/floatis a latent wasm trap. #2406
oxcaml/opam-repository
PermalinkFeatures
- PR #54 (merged 2026-07-13, by dra27-js) adds five compiler releases to the opam repository, including experimental
5.4.0-ox1and5.4.0-ox2builds. The 5.4.0 compilers are installable but no packages build against them yet.
Compatibility and Releases
- The merged PR introduces
5.2.0minus-38(Jane 130.100+614),5.2.0minus-39(Jane 130.106+341),5.2.0minus-40,5.4.0-ox1, and5.4.0-ox2.5.2.0minus-39is the recommended release. - Issue #46 (closed 2026-07-13) requested a bump to Jane 130.100+614 to resolve a build failure in
ocaml_intrinsics_kernel; the PR above addresses this.
oxcaml/oxcaml
PermalinkFeatures
-
DWARF debugging for Flambda 2 (dwarf202607 series). Merged: stack-offset fix (#6510),
-ddebug-avail-setsflag (#6511),Cmm.symbolfor phantom expressions (#6512), entry-value operators (#6525),size_of_expression(#6527). Open stacked PRs add phantom-let translation, availability ranges, inlined-frame DIEs, and call-site info; the final PR (#6523) flipsphantom_letson by default. Debuggers will be able to print optimised-out variables and reconstruct callee parameters by virtual unwinding. -
arm64:
stlr/stlurreplacesdmb ishld; str(#6538, open; supersedes closed #6443). Routes 64-bit non-value stores through aSixtyfourmemory chunk;-flrcpc2emitsstlurfor imm9 offsets. Measured 80.8 s → 19.4 s (4.18×) on NVIDIA Vera fannkuchredux; removes ~73 % backend stall from per-store fences. -
Adaptive recursive-module unroll depth (#6532, open).
check_recmodule_inclusiontries depth 1, 2, then N; first success wins. A 1145-member generated group drops from 30.9 GiB peak / 8 m 38 s to 1.44 GiB / 13.8 s;.cmi/.cmsare byte-identical at depth 1. -
Functional mode polymorphism (#5483, #5478, #5480–#5482, all open). Adds levels,
generalize/generalize_structure,copy, andupdate_levelto the mode solver; gated behind-extension mode_polymorphism_alpha. Polymorphic mode variables print as[< 'm]/[> 'm]with constraint annotations. -
Flambda 2 formalism (#6475, open). A PL-theory Markdown formalization of the Flambda 2 pipeline, produced by an LLM and reviewed by a human. Used to identify a float32 double-rounding bug in constant folding (fixed in #6474) and a comparison-to-zero signedness miscompile (fixed in #6497).
-
Compact frametables (#6399, open; measurement in #6487, emitter plumbing in #6488). Short descriptor format, ULEB128 deltas, linker de-duplication of debuginfo strings, and shared suffixes reduce rodata by 40 % and executable size by 8 % on a 3 GiB binary.
Fixes
-
GADT calling-convention soundness (#6533, #6356, open). Parameter value kinds were taken from the first GADT case only; a caller selecting a different case passed an immediate where a tuple was expected, segfaulting at
-O3. The fix joins layouts across all cases. -
CFG CSE hoisting mutable loads over fences (#6433, #6476, merged). The CSE pass satisfied a mutable load from before an atomic load or
lfence/mfence, effectively hoisting it above the barrier. A minimal fix classifies barrier operations as invalidating; a fuller redesign is in #6434.