All repository summaries
12 active · 15 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Windows process spawning merged by @avsm.
Eio_unix.Processnow supportsCreateProcess-based spawning on Windows with restricted fd inheritance, sandbox cwd, and non-blocking cancellation. (#936) -
Eio_unix.System_infomerged by @talex5. Exposesunamefields (sysname, release, version, machine) for platform-conditional logic; Windows reports sysname only. (#952) -
Win32 path normalisation merged by @avsm.
Eio_unix.Nt_pathgainsto_win32,beneath, and aclassifyfunction covering reserved names, trailing dots/spaces, and long-path prefixes. (#947) -
File and socket flow handlers split.
Eio_unix.Pi.flow_handleris now separate for files and sockets, allowing independent implementations per OS. (#950)
Fixes
-
eio_posix SIGCHLD wake-up (open, by @samoht). A C handler writes to a scheduler-polled pipe so a child exit arriving just before
poll(2)is handled immediately rather than at the next timer. Fixes #946 for SIGCHLD; general signal latency still tracked in ocaml/ocaml#13189. (#948) -
MSG_DONTWAITon all socket I/O (open, by @talex5).recvmsg/sendmsgalways set the flag, preventing a peer process from changing blocking state mid-operation.Eio_unix.Net.import_socket_streamon non-sockets now raisesEio.Io Unix_error. (#951)
Compatibility and Releases
- Minimum OCaml version raised to 5.4 (merged, by @talex5). Enables labelled tuples, immutable arrays, and atomic record fields; thread-pool workers are now named via
Thread.set_current_thread_name. (#949)
ocaml/dune
PermalinkFeatures
js_of_ocamlandwasm_of_ocamlwhole-program mode now pass-bytecode-hintswhen linking the bytecode executable, starting with OCaml 5.6. Merged in #16560.- Proposed
(job_slots ...)rule lets a build compute and expose a slot count via an environment variable for polyglot sub-builds (e.g. Cargo). Requires a dune version bump. Open in #16475.
Compatibility and Releases
Fixes
- 3.25.0-rc introduced a ~5× zero-build slowdown and ~9× peak-RSS increase on large Rocq workspaces (7 s → 34 s, 722 MiB → 6.7 GiB). A memoization patch reduces this to 11.5 s / 1.5 GiB; a follow-up alias-based cache brings it to 7.6 s. Open in #16543.
- Merlin now selects the correct reader for preprocessed filenames without an extension, fixing wrong implementation/interface lookup in editors. Merged in #16536.
- A
SIGKILLafter an action writes targets but before_build/.dbis saved leaves stale targets that the next build trusts and stores in the shared cache, corrupting downstream builds across workspaces. Open in #16559. - Stdlib paths under
_buildare now localized only when they fall within a registered context, restoring the oxcaml trunk build broken by the sandboxed-stdlib change in #16374. Open in #16563.
ocaml/merlin
PermalinkFixes
- #2138 (open, updated 2026-10-05): Corrects diagnostic deduplication in
query_commands.ml. Previously, two distinct diagnostics sharing the same start/end position were collapsed into one by a position-only comparison; the fix orders by severity then raw text before discarding duplicates. Affects editor error/warning display in Merlin 4.14.
ocaml/ocaml
PermalinkFeatures
Fixes
- Closure conversion no longer recomputes free variables per nesting level; compilation of deeply nested local functions is now linear in depth. Merged in #15139.
- The compiler reads source files exceeding
Sys.max_string_length(16 MB on 32-bit) via a fallback path, restoring builds of large generated files. Merged in #15134. - Bytecode emits
Hint_int_comparisonon integer equality/inequality, replacing the unusableHint_physical_comparison; unblocks js_of_ocaml optimisations. Merged in #15135. - Multiple command-quoting defects on Windows fixed (OSEC-2026-24). Merged in #15133.
Gc.compactno longer leakspool_statsmemory when a size class contains no live blocks. Merged in #15127.- A soundness bug in variance composition permits a segfault via functor abstraction of an invariant GADT parameter; a stricter fix is pending and may reject currently accepted programs. Open in #15142.
ocaml/ocaml-lsp
PermalinkFixes
- #2229 (opened, not merged): Corrects the
getDocumentationserver capability name in spec docs fromhandleDocumentationtohandleGetDocumentation, matching what the server actually advertises. Also fixes typos inlocate-spec.md,locate-types-spec.md,merlinJump-spec.md,phrase-spec.md,inferIntf-spec.md, andjumpToTypedHole-spec.md. Documentation only; no code changes.
Open Issues
- #2143 (open, updated 2026-10-05): On OCaml 4.14, when multiple diagnostics share the same range, the LSP server reports only the first (a warning-as-error) and suppresses the subsequent real type error. A comment references a fix at #2138; the comment carries no timestamp, so its posting date is unconfirmed.
ocaml/ocaml.org
PermalinkFeatures
- New ATOM feed for grim.cargocut.org added to OCaml Planet. Merged by gr-im. (#3837)
- OCaml Planet now carries a post on Zostera, a new WireGuard implementation in OCaml, from robur.coop. (#3840)
- New OCaml Planet posts include Tarides' "An Overview of OCaml Release Readiness" and the September 2026 Roundup. (#3839)
- New OCaml Planet post: "OCaml's module language is the perfect fit for agentic programming" by anil. (#3841)
- New OCaml Planet post: ".plan-26-40: A whole new world (of wall-to-wall Tessera embeddings)" by anil. (#3835)
Fixes
- PR to remove five AI-generated tutorial/tool pages and revert AI rewrites of two opam tutorials; human-authored edits from #3574 and #3646 are preserved. Open, not yet merged. (#3834)
- Fix for broken internal links on /docs and /install pages (compiler-backend anchors, memory-representation path, relative module links, opam install anchor). Open, not yet merged. (#3842)
Compatibility and Releases
- opam 2.6.1 release announced on the site. Merged by kit-ty-kate. (#3838)
ocaml/odoc
PermalinkFeatures
- Merged: OCaml 5.6 compatibility. Odoc now builds against OCaml 5.6 trunk. (#1472, closes #1470)
- Open: OxCaml parameterized library support. Adds rendering and cross-references for
Lib[Param:Impl]syntax. (#1464, by art-w) - Open: OxCaml kind abbreviation rendering and linking. Introduces a new namespace for kind abbreviations. (#1467, by art-w)
- Open: Display
[@atomic]annotation on mutable fields in generated docs. Requires OCaml 5.4+ or OxCaml. (#1496, by ElectreAAS) - Open: Tracking issue for new markup extensions (quotes, strikethrough, definition lists, details/spoiler, footnotes). Each extension is a separate ticket; no implementation merged yet. (#1497, #1498, #1499, #1500, #1501)
Fixes
- Merged: Corrected inconsistent handling of type equalities in signatures containing
include. Enables droppinginclude sig ... endbodies, a significant speedup on ppx_template-heavy code. (#1481, by jonludlam) - Merged: Suppressed non-actionable informational messages from
crunchduring builds to reduce noise. (#1493, by Leonidas-from-XIV)
ocaml/opam
PermalinkFeatures
opamnow setssafe.directory=.when invoking git, allowing repositories owned by a different local user (e.g. in Docker containers). Fixesgit ls-filesfailures under CI. #6980, backported to 2.6 in #7182.- Explicit Haiku platform support added:
vminhandling corrected for Haiku'svmin=4, and platform-specific code paths adjusted. #7138 (merged 2026-10-08).
Compatibility and Releases
- opam 2.6.1 released 2026-10-07. Includes the git
safe.directoryfix, theGIT_CONFIG_*Windows fix, and the lockfile update. See release notes. - FAQ now documents that since 2.6.0, global/system git config is ignored, and that
GIT_CONFIG_COUNT,GIT_CONFIG_KEY_<n>,GIT_CONFIG_VALUE_<n>environment variables remain available for URL rewriting and similar use cases. #7187.
Fixes
- FreeBSD/i386 build failure (
ptrdiff_ttypedef conflict in vendored checkseum) resolved by updating the lockfile to checkseum 0.5.4 and decompress 1.6.1. #7172, backported in #7181. GIT_CONFIG_GLOBAL/GIT_CONFIG_SYSTEMnow use/dev/nullon Windows as well as Unix, working around a bug in Git-for-Windows 2.56.0.windows.1 that rejectsNUL. #7085, backported in #7191.opam install --depext-onlynow installs depexts only for newly added packages rather than all packages in the solution, preventing spurious system-package installs for packages being removed or updated. #7166.- Removed redundant set operations in
OpamSwitchState.universethat caused opam to consider a larger package set than necessary, eliminating unwanted recompilation of already-installed packages. #7154.
ocaml/opam-repository
PermalinkFeatures
- ppxlib 0.39.0 adds support for OCaml 5.6 primitive aliases and holes; also fixes attribute duplication in
Ast_builder.Default.pexp_apply. Merged. (#30868) - mldsa.0.2.1, mlkem.0.2.1, slhdsa.0.2.1 — pure OCaml implementations of FIPS 204/203/205 post-quantum signatures and KEM. Merged. (#30907)
- frei0r.0.1.3 (video effects) and lo.0.2.1 (OSC input controls) added as new bindings. Merged. (#30897, #30892)
- liquidsoap 2.4.6 (4 packages) updates the multimedia streaming suite. Merged. (#30906)
Fixes
Compatibility and Releases
- dream 1.0.0 (4 packages) is the first stable release; adds OCaml 5.5 support and adopts semantic versioning. Merged. (#30890)
- opam 2.6.1 (8 packages) updates the package manager libraries. Merged. (#30880)
- OCaml 5.7.0+trunk development packages (
ocaml.5.7.0,ocaml-compiler.5.7,ocaml-variants.5.7.0+trunk) added for the next compiler cycle. Merged. (#30875)
ocsigen/js_of_ocaml
PermalinkFixes
-
#2495 (merged 2026-10-07):
inline_recursivelyno longer duplicates a closure at every nested-functor level. The fiat-crypto benchmark, which previously exhausted memory, compiles again in ~42 s / 1.4 GB. -
#2492 (merged 2026-10-05):
Str.string_partial_matchno longer allows a group's start to exceed its end (OSEC-2026-21). The JS runtime also stops the matcher on a partial match instead of looping until heap exhaustion. -
#2504 (merged 2026-10-09): The Wasm linker fixes instruction decoding (legacy exceptions, SIMD immediates,
memory.atomic.fence, stack switching), segment/table retargeting, continuation-type equality, and export ordering. -
#2499 (merged 2026-10-08):
Array.make,Float.Array.create,Array.append/concat,Obj.new_block,Weak.create, and unmarshaling now enforceMax_wosizeand raise the same exceptions as OCaml, instead of trapping or silently succeeding on oversized allocations.
Features
-
#2493 (merged 2026-10-05): The JS and Wasm runtimes implement
Sys.filepath_exists(OCaml 5.6), returningfalseonly on ENOENT/ENOTDIR and raisingSys_errorotherwise. -
#2423 (open): A new
Split_toplevelpass outlines the Wasm toplevel function at liveness boundaries, controlled by thesplit-toplevelflag andtoplevel_split_sizeparameter, to keep JIT compilers from stalling on a single huge function.
Compatibility
-
#2494 (merged 2026-10-09): With OCaml 5.6,
EQ/NEQcarryingHint_int_equality_testcompile to a plainref.eqin Wasm without boxing, removing unnecessarycaml_js_strict_equalscalls. -
#2502 (merged 2026-10-09): The JS backend no longer emits ES2021 logical-assignment operators (
&&=,||=,??=) and preserves blocks around a single block-scoped declaration, restoring compatibility with older engines.
oxcaml/opam-repository
PermalinkFixes
-
Merged: #62 (dra27-js) updates all
oxcaml-compilerpatches to apply without fuzz. Theignore-opam.patchline-number drift that broke Dune builds is resolved. -
Merged: #62 removes the faulty patch for
oxcaml-compiler.5.4.0-ox2, replacing it with the command pattern already used inoxcaml-compiler.5.4.0-ox7after upstream removedruntime4.
Compatibility and Releases
-
Closed (not merged): #51 and #60 addressed the same Dune patch-application failure; both superseded by #62. Dune's switch to a pure-OCaml patch implementation (ocaml/dune#14177) made line-number mismatches fatal.
-
Closed (not merged): #36 proposed adding 5.4.1 as a bootstrap compiler variant. The approach was superseded by a change in #42 that selects the closest OxCaml commit recipe.
oxcaml/oxcaml
PermalinkFeatures
-
A stacked PR series adds grammar, typing, and morphism translation for mode-polymorphic annotations such as
'a @ [< 'm] -> 'a @ [> 'm]. Currying constraints are generated implicitly; the typechecker rejects non-constant modes. (#7502, #7503, #7504, #7461) -
Merged tests for omnidirectional constructor disambiguation establish expected behaviour across three implementation stages. Open PRs add the Scheduler/Ivar/Tivar infrastructure and labeled tuple projections as the first expression-level client of omnidirectionality. (#7372, #7418, #7432)
-
The reaper is split into traverse, solve, and rebuild stages, with cross-unit calls deferred to rebuild time. Merged groundwork covers analysis-scope parameterisation and exportable fields; open PRs add
-support-lto,-reaper-solve, and-reaper-rebuild. (#7240, #7244, #7260, #7496, #7264, #7268) -
Four PRs open a new SSA-based backend: post-dominator computation, loop analysis, inter-block move support in the reducer, and a partial dead-code-elimination (operation sinking) pass. All are labelled experimental. (#7514, #7515, #7517, #7518)
-
A new
-bytecode-hintsflag stores Lambda-level information (block immutability, closure layouts, immediate-ness, physical comparisons) in a HINT section of .cmo files, enabling downstream compilers such as wasm_of_ocaml to generate better code. (#7509) -
Address pattern syntax
addr_andaddr_imm_is merged for parsing. Open PRs add type-checking (with mode interactions) and lambda translation via Pget_ptr. (#7410, #7456, #7458) -
A prototype FDO (feedback-directed optimization) implementation and its counter types are in open PRs, introducing pseudo-instrumentation data for branch and switch-case profiling. (#7395, #7462)
15 repositories · no changes
- janestreet/opam-repository
- ocaml-dune/spawn
- ocaml-multicore/domainslib
- ocaml-multicore/eio-trace
- ocaml-multicore/kcas
- ocaml-multicore/meio
- ocaml-multicore/ocaml-iomux
- ocaml-multicore/ocaml-uring
- ocaml-multicore/picos
- ocaml-multicore/saturn
- ocaml/RFCs
- ocaml/ocamlfind
- ocaml/opam-file-format
- oxcaml/js_of_ocaml
- oxcaml/merlin