All repository summaries
13 active · 14 unchanged
ocaml-multicore/eio
PermalinkFeatures
- #916 (open): Implements
Eio.Path.nativeas a Pi backend with Windows path parsing. Splits off from #908; incorporates approach from #738. - #911 (open, draft): Adds
mknodsupport toeio_posixfor creating device nodes beyond FIFOs. IntroducesEio.File.Dev.t; tested on macOS and Linux. - #912 (open):
Eio.File.synccannot target a directory. A path-basedsyncinFs.Pi.DIRis proposed, withfdatasyncalso under consideration.
Compatibility
Fixes
- #907 (merged): Fixes
Eio.Path.mkdirsfailing on relative paths whose first component doesn't exist.fstatatrejected empty paths oneio_posix; closes #906. - #910 (merged): Increases the
getdentsstack buffer to 64 KB. Directory traversal on ~1M-file directories is ~30% faster due to fewer syscalls. - #915 (merged): Optimises POSIX path
splitto allocate less by scanning. Part of the path-backend refactoring from #908. - #914 (open):
Eio.Private.Traceallocates 23 words per event when the runtime ring is active. A zero-allocation write path is being explored upstream in OCaml.
ocaml-multicore/ocaml-uring
PermalinkFixes
- #161 (open, glondu):
tests/main.mdpipe-read/write tests hang on Debian build machines. A proposed patch guardsconsumeresults so the test tolerates I/O failures instead of asserting a fixed return value.
ocaml/dune
PermalinkFeatures
-
dune shell TARGETopens an interactive shell at a prepared rule action boundary, exposing the expanded action, environment, and sandbox for debugging. Open PR by Alizter. #15597 -
(instrumentation (backend XXX) (libraries ...))adds conditional library dependencies active only when the instrumentation backend is enabled. Gated on Dune language 3.25. Open PR by nojb. #15622 -
@pkg-sourcealias fetches all locked package sources without building them, enabling offline builds after a network-enabled fetch phase. Open PR by Alizter. #15629 -
dune describe external-lib-deps --include-emptynow lists libraries with no dependencies, making the output self-contained for tooling consumers. Merged by NatKarmios. #15585
Fixes
-
RPC registry polling now rescans the directory when its mtime changes, fixing a race where clients (e.g. ocaml-lsp) never discovered a newly registered Dune instance. Merged by rgrinberg. #15634
-
Anonymous actions attached to multiple aliases no longer create inter-alias dependencies; each alias now triggers only its own actions. Merged by NatKarmios. #15581
-
dune buildwith a menhir stanza fails withUnbound module Stdlibwhen the relocatable compiler is selected bydune pkg lock. Open regression report against 3.24. #15642
Compatibility and Releases
dune pkg enablednow queries a running Dune RPC server, observing transient--pkg enabled/--pkg disabledsettings without acquiring the build lock. Merged by Alizter. #15589
ocaml/merlin
PermalinkFeatures
- OCaml 5.6+trunk support merged into the
506branch (#2087, by @xvw). Preview release v5.8.1-506~preview published 2026-07-31.
Compatibility and Releases
Fixes
documentno longer returns neighboring entries' doc comments for variant constructors and record fields (#2092, by @liam923, merged).ocaml-indexnow uses the original source file digest for staleness checks when ppx preprocessing is active (#2110, by @liam923, merged).- Load-path staleness across multiple typer states (visible with dune watch mode) reproduced and fixed (#2109, by @rgrinberg, merged).
outlineselection range can fall outside the item range for compiler-generated eta-expansion bindings; PR proposes a containment fallback (#2111, by @MavenRain, open).destructraises an unhandledAssert_failureon object method syntaxx with|0(#2112, open).
ocaml/ocaml
PermalinkFeatures
Sys.filepath_exists(PR #14974, open) returnstrueiffstat(2)succeeds,falseonENOENT/ENOTDIR, raisesSys_errorotherwise. Addresses #12393.Dynarray.append_iarrayandPqueue.of_iarrayadded (PR #14909, merged). Avoids copying iarrays through regular arrays.- Native
Atomic.exchangeandAtomic.compare_and_setemitted as inline assembly on amd64, arm64, riscv, power, s390x (PR #14980, open). Single-domain exchange ~2.6× faster than the C-call path.
Compatibility and Releases
module type T = T with module type T = T -> Twill parse asT with module type T = (T -> T)(PR #14978, open). Breaking for code relying on the previous grouping.- RFC #14967 proposes deterministic Hashtbl iteration via insertion-order tracking, enabling random-seeded tables by default. Implementation in PR #14956 (open) adds ~42% memory per binding.
Fixes
- Type-checking performance regression from #11648 resolved. Merged PRs #14913, #14947, #14950, #14952 reduce compilation of affected files from ~10 min to ~170 ms.
- Pattern-matching compiler overflow guard failed on
abs min_int = min_int. Fixed in PR #14890 (merged). ocamlc -ccrashes withFatal error: exception Ctype.Unify(_)on certain locally-abstract module patterns (issue #14842, open). Regression since 5.5.0-beta1; no fix merged yet.
ocaml/ocaml-lsp
PermalinkFeatures
-
LSP 3.18
codeAction/resolvefor inline edits (merged). Clients advertisingresolveSupportnow receive inline code-action edits lazily viacodeAction/resolveinstead of eagerly in the initial response. Reduces round-trip payload for unused-binding and other inline actions. #1808 -
Destruct-line on inline and whole-match expressions (merged). The
destruct-linecode action now recognisesmatchexpressions embedded in larger lines and accepts ranges covering the entire match, so the action is available at thematchtoken where the diagnostic is reported. Fixes #1595. #1829
Compatibility and Releases
-
1.28.0-506~preview released 2026-07-31. Bundles the LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, the open-dune code action, and the fixes listed above. #release
-
Dune RPC polling kept responsive (merged). Connected Dune instance runners are now scheduled in the active fiber pool so the registry poll loop continues observing workspace changes after the first connection. Previously the poll loop stopped after the first Dune connection, leaving stale diagnostics. #1919
Fixes
-
Function-parameter inlay hints enabled without client configuration (merged).
Config_data.defaultnow setshint_function_params = true, matching the[@default true]used when aninlayHintsobject is deserialized. Clients that never sendworkspace/didChangeConfigurationnow see parameter hints. Fixes #1371. #2097 -
Missing
dunebinary reported as a diagnostic (merged). A missing project build-system executable no longer abortsdidOpenand discards the document. The server reports the failure as a diagnostic and keeps the document open with fallback configuration, so hover and other features remain available. Fixes #1417. #1814 -
Completion replaces the full identifier suffix (merged). Selecting
is_prefixfromString.is_pr|wordnow replaces the entireis_prwordtoken instead of leaving the trailingwordbehind. Fixes #838. #1964 -
Infix operator rename excludes surrounding parentheses (merged).
prepareRenameand rename edits for symbolic operators such as(^*$)now target only the operator token, so clients prefill the bare name and edits preserve the surrounding syntax. Fixes #1190. #1966 -
FreeBSD build: include
<sys/mount.h>forstatfs(merged). The vendored libev now uses the correct header on FreeBSD, resolving thesys/statfs.h: No such file or directorycompilation failure. Fixes #1069. #2070
ocaml/ocaml.org
PermalinkFeatures
- Merged: ocaml.org now uses the new dill docs server, replacing the previous sage server. Documentation status page links are added per package; old reporting links are removed. (#3716, by jonludlam)
Fixes
- A revert of the dill switch (#3731, by cuihtlauac) was opened 2026-07-31 after dill omitted README, CHANGES, and LICENSE from package Overview pages. It was closed unmerged 2026-08-01 once dill restored those pages.
Compatibility and Releases
ocaml/odoc
PermalinkFixes
-
#1468 (open, by MavenRain): Constructor and record-field references no longer splice the type name into rendered text;
{!Bla.Alpha}displays asBla.Alphainstead ofBla.ha.Alpha. Link anchors are unchanged. -
#1465 (open, by klakplok): Source-occurrence collection now skips subtrees marked
[@merlin.hide], eliminating spurious cross-reference links on ppx-generated code in rendered source pages.
Compatibility and Releases
ocaml/opam
PermalinkFeatures
opam envwill setXDG_DATA_DIRSandFPATHfor bash/zsh completion (open, by WardBrian). Adds the switch'sshareroot toXDG_DATA_DIRSand%{share}%/zsh/site-functionstoFPATHunder zsh.
Compatibility and Releases
- Version bumped to
2.7.0~alpha1~dev(open, by kit-ty-kate). Supersedes the closed2.6.0~alpha2~devbump.
Fixes
opam install .foono longer pins a mangled package nameoo(closed, unmerged, by MavenRain). Cuts the basename at the first dot and declines inference for dot-prefixed directories. Fixes #7043.opam switchdescription left empty on creation (open, by kit-ty-kate). Prevents stale auto-generated descriptions after a compiler upgrade. Fixes #7061.opam init --reinitno longer exits with code 10 when upgrading from a 2.1 root (open, by kit-ty-kate). Removes the "retry your command" prompt after a successful format upgrade. Fixes #7057.- CRLF line endings in repository files cause
opam updateto fail (open, by kit-ty-kate). Reported against opam-repo CI; no fix yet.
ocaml/opam-repository
PermalinkFeatures
-
Introcaml 5.5.0 (merged): Alpha preview adding
Introspect.Printto the standard library for polymorphic value printing in user programs. Works in bytecode and native; does not work on 32-bit or with Flambda. #30379 -
jsonkit 1.0.0 (merged, new): Compositional JSON encode/decode PPX for OCaml and Melange. #30377
-
hedgehog 0.1 (merged, new): Property-based testing library with integrated shrinking. #30369
Fixes
-
mirage-crypto 2.2.0 (merged): Addresses OSEC-2026-12 (AEAD decrypt-before-tag-validation) and OSEC-2026-13 (point-at-infinity as ECDSA key). Adds ECDSA signing blinding and moves entropy test to startup. #30344
-
merlin 5.8.1-505 (merged): Fixes occurrences staleness, locate/document on open paths in
.mlifiles, andload_pathstaleness in watch mode. #30380
Compatibility and Releases
-
opam 2.6.0~alpha1 (merged): Eight packages (client, core, solver, state, format, repository, installer, devel) published as alpha. #30284
-
codept 0.13.0 (merged, breaking): Adds OCaml 5.5 support; renames two library modules to avoid stdlib collisions. An upper bound was added to
mlfrontto prevent revdep breakage. #30347 -
AI-generated responses policy (open): Proposes that all post-submission discussion on new-package PRs be conducted by a human, and that bot-submitted PRs tag a human contact. #30367
ocsigen/js_of_ocaml
PermalinkCompatibility
- #2405 (open, updated 2026-07-29): Consolidates the four separate linear memories (caml_buffer scratch, zstd-impl.wasm, blake2-impl.wasm, WASI libc) into a single shared memory. Safari rejects WASM modules declaring multiple memories; this change makes such output loadable in Safari. Author: vouillon.
oxcaml/opam-repository
PermalinkFixes
Compatibility and Releases
- The OxCaml
5.2.0+oxopam switch now installsutopsuccessfully after the above fix. No new OxCaml release or experimental compiler feature was introduced in this interval.
oxcaml/oxcaml
PermalinkFeatures
- First-class modalities:
t @@ mas a writable type with automatic introduction and elimination rules. ReducesStdlib.Modeswrapper boilerplate. #6678 (open, draft) - AVX-512 EVEX encoding merged; ZMM/mask register backend and 512-bit array support in progress. #6294 (merged), #6339, #6340 (open)
- Variant subtype declarations (
type t :> u) behind-extension subtypes: zero-cost coercion via inherited runtime tags. #6655 (open) - Atomic block indices (
idx_atomic): read and write[@atomic]record fields viaIdx_atomic.get/set. #6667 (open) - BFS meet strategy for flambda2 type unification, selectable via
-X flambda2-meet-strategy=bfs. #6191 (merged)