All repository summaries
13 active · 14 unchanged
ocaml-multicore/domainslib
PermalinkFixes
- #125 (DarioHett): Closed without merge on 2026-10-02. Proposed a
Parraymodule providing iterators that mirrorStdlib.Arrayfor the domainslib parallel-array type. No merged change; the API is not available.
ocaml-multicore/eio
PermalinkFeatures
-
Eio.Fiber.List.partition_mapis now available. Merged in #927 (by kentookura). -
Eio.Path.sync_dirflushes a directory entry to stable storage. Merged in #943; closes #912. Windows is a no-op. -
Windows process spawning is under review in #936 (by avsm). Uses
CreateProcesswith restricted fd inheritance; layered over pipe support in #929.
Fixes
- On macOS/BSDs, a signal arriving between the runtime's last pending-signal check and
poll(2)is not delivered until the next timer fires. Reported in #946; a kqueueEVFILT_SIGNALpatch is proposed.
Compatibility and Releases
-
uring-dependent tests are skipped when io_uring is unavailable, preventing false failures. Merged in #945.
-
Eio.Net.run_serverdocumentation now notes that anacceptfailure (e.g. fd exhaustion) terminates the server; operators should setmax_connectionsor raise the OS limit. Merged in #944; closes #830.
ocaml-multicore/ocaml-uring
PermalinkFixes
-
Tests in
tests/main.mdnow callmdx_skipto skip blocks that require kernel features absent on the host (e.g.Uring.Op.writev_fixed, Linux 6.15+). This prevents test hangs on older-kernel build environments. Merged in #162 by @talex5; closes #161. -
The fix relies on two MDX tooling additions (separate repository): hang-location reporting in #476 (shipped in MDX 2.6.0) and the
mdx_skipfunction in #483. These allow test authors to conditionally skip the remainder of a block with a diagnostic message.
ocaml/dune
PermalinkFeatures
- PR #15622 (open):
(instrumentation (backend X) (libraries ...))links the listed libraries only when the backend is active. Requires dune lang 3.26. - PR #16475 (open):
(job_slots ...)rule exposes a computed parallelism count via an environment variable for polyglot builds driven by Dune. - PR #13758 (open):
dune format-dune-filepreserves multi-line block-string syntax (\|,\>) for lang 3.25+ instead of lowering to quoted strings.
Compatibility and Releases
- 3.25.0~alpha0 published (2026-10-02). Breaking: generated files are read-only even before lang 2.4;
:is rejected in context names;(warnings (duplicate_deps ..))now requires lang 3.22. - PR #16523 (merged): RPC and supported Dune language version bumped to 3.26.
Fixes
- PR #16515 (merged):
dune buildnow shows curl's own error text (e.g. "could not resolve host") instead of "invalid error code 6" on offline fetch failures. - PR #16519 (merged): Empty patches are treated as no-ops, matching Opam behaviour.
- PR #16529 (merged): Installed packages discovered through a local package's library closure are accepted on language versions before 2.9, fixing a regression from #16362.
- PR #16536 (merged): Merlin reader selection disambiguates preprocessed filenames without extensions, fixing lookup for
.ml/.mlipairs.
ocaml/merlin
PermalinkFixes
-
#2135(merged, @voodoos):merlin single outlineno longer emits compiler-generated (ghost) bindings as children. The LSPselectionRangecontainment invariant is now upheld; editors receiving outline data will not see invalidline 0, col -1selections. Supersedes the earlier#2111approach. -
#2138(open, @PizieDust): Proposes fixing diagnostic deduplication so that multiple errors spanning the same source range are all reported, ordered by severity. CurrentlyList.sort_uniqdrops all but one diagnostic per range. Affectsmerlin singlediagnostics output in editors. -
#2118(closed without merge, @aryemans): A fix forlocatereturning "Already at definition point" when the cursor is on a different declaration than the requested identifier was closed pending a better solution. The underlying bug (#2033) remains unfixed.
Compatibility and Releases
#2086(merged, @Tim-ats-d): CI compiler updated from OCaml 5.3 to 5.5; Irmin lock file regenerated for 5.5.0. No user-facing API change.
ocaml/ocaml
PermalinkFeatures
- Optional polymorphic parameters are now supported in function signatures, e.g.
let f (?x: 'a. 'a -> 'a) () = (). Merged 2026-10-01. #14985 - Bytecode
.cmofiles now carry hints for immediate-value reads and variant-type tests, usable by downstream bytecode compilers such as wasm_of_ocaml. Merged 2026-10-02. #15122
Compatibility and Releases
Fixes
- The pattern-matching compiler no longer uses GADT equations from a single row to classify shared record fields as immediate, preventing unregistered GC roots. Merged 2026-09-30. #15114
- Three security fixes merged 2026-09-29:
Unix.map_fileoverflow guard (OSEC-2026-22),Str.string_partial_matchinvalid captured groups (OSEC-2026-21), andMarshaldemarshaling issues (OSEC-2026-23). #15112 #15113 #15115 Int64.of_float,Int64.to_float, andInt32/Nativeintequivalents now compile to native instructions instead of C calls, roughly doubling throughput on amd64. Merged 2026-09-29. #15084- s390x now permits unaligned memory accesses, eliminating byte-at-a-time sequences in
Bytes.get_int64and similar operations. Merged 2026-09-28. #15090
ocaml/ocaml-lsp
PermalinkFixes
ocaml/ocaml.org
PermalinkFixes
- ocaml.org was down ~6 h on 3 Oct due to a socket fd leak in gluten (the I/O runtime under Dream). A patched fork is now pinned; the upstream fix is at #90. (#3831, merged)
- Fixed broken links and type errors in tutorials: the error-handling guide's Yaml/Result example, the loops/recursion
rangereference, the cookbook Dream templates link, and the CONTRIBUTING.md success-stories URL. (#3819, merged) - The Planet scraper pulled ~200 non-OCaml Terraform posts from the terrateam feed after its RSS URL redirected to a general blog.
publish_allis nowfalseso the "caml" keyword filter applies. (#3809, merged)
Infrastructure
- The
/mcpendpoint is disabled in the deployed image (reverts #3786). The route returns 404; the implementation remains in-tree and can be re-enabled viaOCAMLORG_MCP_ENABLED=true. (#3832, merged) - The data-packer now serialises the embedded blob with stdlib
Marshalinstead ofbin_prot, removing 9 packages from the dependency closure. Blob size is ~1.3 % smaller. (#3824, merged)
Compatibility
Content
- "The Functional Programmer" blog source was removed from the Planet and its scraped posts deleted. The source was identified as low-quality or fraudulent. (#3829, #3830, merged)
- The OCaml-CI tutorial was edited: a leaked AI-chat artifact was removed, stale example output (alpine-3.10-ocaml-4.08) was replaced with current variants, and a master/main branch inconsistency was fixed. (#3823, merged)
ocaml/odoc
PermalinkFeatures
-
Display
[@atomic]annotations in record fields (PR #1496, opened 2026-10-01, in progress). Parses the annotation from.cmi/.cmtiand renders it on mutable fields. Resolves issue #1405. -
OxCaml parameterized library support (PR #1464, ongoing). Adds link resolution for
Lib[Param:Impl]syntax and fixes broken references to instantiated parameterized libraries. Fixes #1390.
Fixes
-
ocamllexexhaustiveness warning (PR #1494, merged 2026-09-28). Handles the missing-match case explicitly instead of relying on aFailureexception, silencing the new OCaml 5.6 warning. Error messages now start character numbering at 1. -
Incremental build broken by stale module hashes (issue #1396, closed 2026-09-28).
odoc compilepreviously resolved modules without hash checks, causing silent link failures. Fixed in PR #1402.
Compatibility and Releases
ocaml/opam
PermalinkFixes
-
opam install <pkg> --deps-onlynow installs the target package's own depexts, restoring 2.5.2 behaviour. Merged in #7158 and backported to the 2.6 branch in #7174. -
Merged #7170 replaces the internal
Map.unionwith the Stdlib version (OCaml ≥ 4.03), improving one benchmark by ~23%. The API change is breaking for opam-rt and requires a matching update there.
Compatibility and Releases
- Open issue #7165 documents a git-cache race: parallel fetches to the same repository cause redundant network traffic and cache pushes.
--global download-jobs=1is a workaround; a targeted fix is proposed.
Features
-
Open PR #7179 detects an interactive shell via
$-instead of[ -t 0 ], soenv_hook.shandcomplete.share sourced under VSCode remote-SSH where stdin is not a tty. Fixes #6606. -
Open PR #7180 creates symlinks atomically (temp name +
rename(2)), eliminatingEEXISTfailures when concurrent opam processes write the same download-cache path. Fixes #5739. -
Open PR #7172 updates the vendored checkseum and decompress lockfile to restore FreeBSD/i386 compilation. Tracks #7163, targeted at 2.6.1.
-
Open PR #6980 allows
opam installto read git repositories owned by another local user viaGIT_CONFIG_*environment variables. Fixes #6963.
ocaml/opam-repository
PermalinkFeatures
-
windtrap 0.2.0 (merged): Complete rewrite adding stateful and mutation testing alongside unit, expect, and property tests. The API is substantially changed; a migration guide ships with the package. #30817
-
dune 3.25.0~alpha0 (open): Adds shell completion,
%{git-sha}, sandboxed PPX lint actions, and concurrent dependency-cutoff restore. Breaking: generated files become read-only; colons are rejected in context names. #30850 -
New packages (merged): reeve 0.1.0 (SLATEC math library port), hpke 0.4.0 (RFC 9180), mutaml 0.4 (mutation tester), and six ohttp 0.1.2 packages (RFC 9458). #30857, #30858, #30861, #30860
Fixes
-
zmq 6.0.0 (merged): Fixes EINTR handling to prevent inconsistent multipart socket state and corrects Eio multipart sending. Async bindings remain compatible with Async v0.15. #30824
-
ocsipersist 3.1.2 (merged): First release targeting Ocsigen Server 8; requires
ocsigenserver >= 8.0.0 < 9.0.0. Adds aDecoding_errorexception to JSON frontends. #30819
Compatibility and Releases
-
OCaml 5.6 branch:
ocaml-compiler.5.6andocaml-variants.5.6.0+trunknow point to the 5.6 branch rather than trunk. The trunk version will be updated to 5.7 after propagation. #30855 -
License metadata (merged, ongoing): Three PRs added license fields to 107 opam files across 20 packages, each verified against its release tag. #18343 remains open with ~998 files still missing the field. #30835, #30848, #30849
-
shakuhachi 0.4.0 (merged): Adds float variables from the command line and artist statistics. Breaking:
%album_countnow returns 1;skhc-modifyno longer prompts for cover kind. #30859
ocsigen/js_of_ocaml
PermalinkFeatures
- Recursive-descent JavaScript parser (open, by hhugo): Replaces the Menhir-based parser with a hand-written one over the same Flow lexer. Parsing concatenated runtime files drops from 0.313 s to 0.258 s and promoted memory from 92 MB to 59 MB; the compiler library no longer links
menhirLib. Syntax errors now name the unexpected token and expected rule. #2467
Compatibility and Releases
- OCaml 5.6 support (merged, by vouillon): Updates the compiler for the OCaml 5.6 toolchain. #2469
Fixes
-
JS syntax-error reporting (merged, by vouillon): Columns are now 1-based as editors expect; lines split at
\r\n,\n,\r, U+2028, U+2029; long lines show a 100-code-point window. Fixes a crash on OCaml 4.13 whereIn_channel.input_lineis absent. #2471 -
Parse_info.Debug/Parse_info.Diagnosticprinters (open, by hhugo): Splits the singleto_stringinto a debug variant (0-based, for IR and--debug-info) and a diagnostic variant (1-based, for all user-facing errors). Lexer errors gain the source excerpt and print location first. #2491 -
Reference unboxing codegen (merged, by vouillon): The dominator tree was built from
Structure.build_graphextra edges, so a reference allocated in a loop and read after leaving it had its allocation removed but not its reads, producing an unbound variable. The pass now uses the actual CFG dominator tree. #2489 -
Wasm
landnormalization (merged, by vouillon):x land ywas typed as 31-bit-normalized whenever one operand was normalized, even if that operand was negative (e.g.-1), leaving high bits set. Normalization now requires a non-negative constant or both operands normalized. #2490 -
CPS-based effects (merged, by vouillon): Corrects code generation for effects compiled in CPS form. #2484
-
Recursive inlining (merged, by vouillon): Fixes a bug in the inliner's handling of recursive call sites. #2482
oxcaml/oxcaml
PermalinkFeatures
-
Box kind constructor merged. The
k boxkind denotes the boxed (scannable) version of kindk; e.g.type t : (value & float64) box. Merged 2026-10-03. No existing types yet carry this kind. #6956 -
%box/%unboxlayout-directed primitives (alpha). Gated behind-extension layouts_alpha; currently unsound for types whose unboxed representations share a layout (e.g.t#vsint8#). Blocked on restoring the bytecode boxing invariant. #7254 -
Labeled tuple projections and region-local omnidirectionality. New syntax
e.~lfor labeled tuples, typed via a suspended constraint in the current region. First client of the omnidirectionality mechanism; stages 2–3 will lift the restriction to patterns. Open. #7432 #7418 -
Reaper link-time-optimization infrastructure. Multiple merged changes split the reaper into traverse/solve/rebuild phases, precompute rebuild queries at solve time, parameterise analysis by scope, and record cross-unit call references. Prepares for running reaper steps in separate
ocamloptprocesses. #7222 #7244 #7239 #7240 -
TLS per preemptible fiber; guard pages only for active stacks. TLS state splits at fiber creation; non-preemptable fibers inherit from the nearest enclosing preemptable fiber. Separately, suspended fibers release their 8 MiB guarded mapping (idled to a malloced buffer), enabling 100 000+ fibers without exhausting VMAs. Both open. #7399 #7349
-
Mode-polymorphism parsing and borrowability/borrowedness axes. Parser accepts mode variables and bounds in signatures (
'a @ [< 'm] -> 'a @ [> 'm]). Two new mode axes (borrowable/unborrowable,owned/borrowed) are plumbed through the solver with no semantics yet; groundwork forseparateandexclusivemodes. Both open. #6829 #7255 -
FDO prototype and cold-continuation propagation. A feedback-directed-optimization prototype is under review. In parallel,
[@cold]annotations now propagate both downward (cold context) and upward (code reaching only cold code), enabling inlining of cold continuations in Simplify. Both open. #7395 #7361 -
optionparameter kind widened toany; mixed tuples in progress.type ('a : any) optionmerged 2026-10-03, permitting non-valuepayloads. Mixed tuples (tuples with per-element sorts) extend tuple data definitions withJkind.Sort.ts, deduplicating unboxed/boxed tuple codegen; benchmark shows −0.35 % compile time on Core+Parallel. Open. #5462 #7135