All repository summaries
11 active · 16 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Eio.Process.environmentandEio.Process.getenv_optnow expose the process environment as a snapshot (Env.t) and single-variable lookup, respectively. Merged in #923 by @patricoferris. -
New
Eio_unix.Filemodule createsEio.Fileand flow values from raw file descriptors, enablingpread/pseekon imported FDs. Merged in #937. -
Eio.Path.renameis now implemented on the Windows backend using Win32 move APIs; FAT32 volumes reject rename-onto-directory. Merged in #934. -
Windows process spawning (
Eio.Process.run/spawn) is under active development in #936, layered over the pipe fix in #929. Restricts FD inheritance to the three standard handles plus an explicit list.
Fixes
-
eio_windowsNT path handling, symlink resolution, andstatare corrected: paths are now passed qualified toNtCreateFile,~follow:falseno longer follows links, andstaton directories no longer fails. Merged in #932; closes #931. -
Intermittent
ETXTBSY(errno 26) fromexecveafter io_uring writes was traced to a Linux kernel bug on ZFS, confirmed by Jens Axboe and targeted for a 7.4 kernel fix. No Eio-side workaround exists. Closed in #935.
Compatibility and Releases
-
Eio.Path.link(hard link) is requested for capability-safe OCI image extraction; the currentUnix.linkfallback is check-then-use and unsafe under the sandbox. Tracked in #925; queued behind Windows symlink work. -
Anonymous pipe I/O on Windows is being reworked to run in a systhread rather than relying on non-blocking pipe semantics; cancellation support is pending an IOCP migration. Open in #929.
ocaml/dune
PermalinkFeatures
-
Breaking: Generated files are now always made read-only, removing the pre-2.4 language-version opt-out. Executable bits are preserved; builds behave identically with or without the shared cache. #16388
-
Breaking API:
Dune_rpc_lwt.V1.Action_plugin.runnow returnsunit Lwt.tinstead of driving the event loop or exiting the process. Callers must useLwt_main.runand manage process lifetime. #16404 -
Action plugins now support multiple
dynamic-runinvocations per rule (viaprognorconcurrent) and honorwith-accepted-exit-codes. Each invocation retains its working directory; discovered inputs invalidate the enclosing rule. #16403, #16402 -
New
Action_plugin.build_depsAPI exposes batches of file, directory, and glob dependencies. Plugins can wait for these and use ordinary I/O without reading contents through the plugin API. #16394
Fixes
-
Action-plugin
dynamic-runnow forwardswith-stdout-toto the subprocess, writing output to the requested target instead of Dune's terminal. #16376 -
Action-plugin dependency paths are resolved from the client's current directory rather than its launch directory, fixing reads after a
chdir. #16384 -
Menhir type inference with package management and the relocatable compiler fails with
Unbound module Stdlibon macOS. A fix adding an explicit stdlib dependency and path reclassification is in review. #16374 -
Melange mode now resolves
.cmi,.cmt, and.cmtiagainst the OCaml module set first, falling back to Melange artifacts, fixing regressions in mixed builds. #16339
ocaml/merlin
PermalinkFeatures
- #2121 (open, panglesd & PizieDust): Reworks the enclosing/Selection Range request to select sub-expressions incrementally instead of jumping to the full parent node. Adds
merlin_locto sequence expressions and handles nested type-constraint layers.
Compatibility and Releases
Fixes
- #2120 (merged): Corrects
merlin_locfor constrained expressions solet _ = 1 in (x : int)extends the location over both theingap and the constraint parentheses. - #2123 (open):
ocamlmerlin single complete-prefixreports"deprecated": falsefor record fields carrying[@deprecated]. Affects downstream OCaml-LSP deprecation markers. - #2122 (open): Go-to-definition and occurrences fail on
self#methodcalls, returning "Locate: not in environment". - #1917 (open, updated): Proposes go-to-definition fixes for
:=and custom indexing operators, including a heuristic for single-indexing forms.
ocaml/ocaml
PermalinkFeatures
-
Parsetree:
Pexp_holeandPmod_holenodes (merged). The parser now emitsPexp_hole/Pmod_holefor_in simple-expression and module-expression positions instead of a parse error; the type checker reports the diagnostic. PPX rewriters and Merlin can now transform or inspect these positions. #15051 -
[@@deprecated_unlabelled]attribute (open proposal). Annotating a labelled argument with this attribute permits unlabelled calls while emitting a deprecation alert, enabling gradual labelling of existing stdlib functions (e.g.Atomic.compare_and_set). #15054 -
Atomic.compare_and_exchange(open, under consideration). Addsval Atomic.compare_and_exchange : 'a t -> expected:'a -> set:'a -> 'ato the standard library, returning the value found in the atomic. Label naming is still under discussion. #14912
Compatibility and Releases
with module typeprecedence change (merged, breaking).T with module type S = X -> Xnow parses asT with module type S = (X -> X)rather than(T with module type S = X) -> X, matching the:=form. Code relying on the old grouping will fail to compile. #14978
Fixes
-
ocamlopt segfault on partial GADT match (merged).
Translcoreno longer uses local GADT equations introduced by a refutable pattern to infer parameter value kinds, eliminating a miscompilation that produced invalid lambda and a segfault. #15035 -
Weak.get_copyno longer copies continuations (merged). Shallow-duplicating a continuation produced two handles to the same fiber, causing a segfault on double-resume.Weak.get_copynow treats continuations like custom values and does not duplicate them. #14988 -
Runtime events: consumer no longer reports "corrupt stream" on overwrite (merged). A consumer that falls behind a fast producer of user events now reports lost events instead of a fatal
Failure("Runtime_events: corrupt stream"). A producer-side fence ensures the head advance is visible before slot overwrites. Affects all 5.x releases. #15016 -
Set.{union, inter, diff}: fast path for shared structure (merged). Physical-equality shortcuts reduce complexity when sets share subsets and increase sharing in results. #15009
ocaml/ocaml-lsp
PermalinkFeatures
-
Whole-call completions (merged): Functions with ≥2 labelled or optional arguments now offer a secondary
(call)completion that inserts a snippet with independent_placeholders per argument. Snippet-capable clients receive one edit; others get plain text. #2199 -
Constructor application completions (merged): Constructors with payloads offer parenthesized application variants with
_slots (e.g.Pair _ _forint * bool). Name-only entries remain and sort first. Available in expression and pattern positions. #2212 -
Go to Implementation for interface types (merged):
textDocument/implementationresolves type-declaration names in.mlifiles to their.mlcounterparts, including nested modules, functor results, includes, and aliases. Fixes #1163. #2074 -
Interactive destruct bodies (merged):
destructanddestruct-linegenerate branch bodies as snippet placeholders, allowing tab-navigation between them. Requiresworkspace.workspaceEdit.snippetEditSupport; plain edits are the fallback. #2204 -
Semantic highlighting: parameters and built-in types (merged): Function parameters now emit the standard
parametertoken type with customlabeled/optionalmodifiers. Predeclared types (int,string, etc.) receive thedefaultLibrarymodifier; shadowed names are not marked. #1857, #1858 -
Odoc document links (open): Implements
textDocument/documentLinkanddocumentLink/resolveso{!ref}and{{:url} text}in doc comments become clickable links in editors. Cross-module and stdlib references resolve once the project is built. #2139
Fixes
-
Overlapping
with typetokens (merged): Constrained names inwith typeequations and destructive substitutions were emitted twice (long identifier + type-declaration name). The duplicate token is no longer produced. #2206 -
Inline edit crash avoidance (merged): The Inline code action now checks applicability before constructing replacement edits, preventing a crash on deeply recovered expressions with no recognized uses. #2041
ocaml/ocaml.org
PermalinkFeatures
- Package pages do not display optional dependencies (e.g.
bytesrwlists several on opam but ocaml.org shows only normal, dev, reverse, and conflict deps). Opened as a proposal by @sim642. (#3768) - OCaml Planet scrape merged, adding the TyXML 5.0.0 release post (HTML living standard / SVG 2) among other entries. (#3766)
Compatibility and Releases
- On 2026-09-08, rendering any doc page downloaded the package's full odoc
index.jsto compute a cache-busting MD5. The newly publishedawsopackage (371 MB index) caused repeated OOM kills of both server replicas, producing site-wide Varnish 503s. Interim mitigation:/p/awso/*blocked at Varnish withRetry-After: 3600. Durable fix tracked in #3767 and upstream in #193. (#3765)
Fixes
- Open PR adds a 50 MB size ceiling on doc-backend HTTP fetches, prefers a
search_index_digestfield instatus.jsonover downloading the full odoc index, and switchesSidebar_cachetoHashtbl.replace. Closes the OOM vector from #3765; not yet merged. (#3767) - Metaprogramming page PPX documentation link updated from a pinned 4-year-old version to the
latesttag so it tracks current releases. Opened in interval; merge landed 2026-09-14 (outside interval). (#3769) - Dead Planet feed
lthms(soap.coffee, no DNS record) disabled inplanet-sources.yml; 21 archived posts continue to render. Merged 2026-09-08. (#3763)
ocaml/odoc
PermalinkFeatures
-
odoc/odocl file compression (#1486): When the compiler supports it, odoc and odocl files are now compressed, reducing file sizes by roughly 4–5×. Merged 2026-09-11 by @jonludlam.
-
include functordisplay for OxCaml (#1452): Generated docs now show that items were included via a functor. Merged 2026-09-11 by @Leonidas-from-XIV. -
Canonical chain search fix (#1483): Resolves broken cross-references when a wrapper module omits some library modules, enabling
@canonicaltags in those cases. Merged 2026-09-11 by @jonludlam.
Compatibility and Releases
-
Removed id wrapper (#1479): Eliminates an unnecessary identifier indirection, reducing overall disk usage by ~30% with no measurable speed change. Merged 2026-09-07 by @jonludlam.
-
Merged word runs in internal AST (#1488): Consecutive
Word/Spacecomment tokens are stored as a singleWordstring. Theodoc-parserAST is unchanged; ocamlformat is unaffected. Merged 2026-09-11 by @jonludlam.
Fixes
-
OCaml 5.5 optional-argument rendering (#1489): OCaml 5.5 wraps optional arguments in a
TPolyconstructor that odoc previously rendered as???. The fix unwraps them. Merged 2026-09-07 by @jonludlam. -
Extended open support (#1482): Two related fixes for extended-open handling in generated documentation. Merged 2026-09-08 by @jonludlam.
-
Memoized docstring parsing (#1480): Repeated doc-comment texts (common with
ppx_template) are parsed once and shared. On OxCaml code: −13% user CPU, −18%.odoc/ −23%.odoclfile size. Merged 2026-09-11 by @jonludlam.
ocaml/opam
PermalinkFeatures
- #7138 (open): Adds explicit Haiku platform support to the build system.
- #7136 (open): Upgrades the release lockfile to build opam with OCaml 5 by default on 64-bit platforms; both 4.14 and 5.x binaries ship in the archive.
- #7140 (open): Proposes investigating
landlock(7)as a sandboxing replacement for bubblewrap, potentially removing a dependency.
Fixes
- #7131 (merged, in 2.6.0~rc1): Skips opening tar.gz repositories during install when
extra-filesis empty, saving ≥500 ms per package. Fixes a 2.6 performance regression. - #7139 (open): Makes
opam switch --switch <name> showexit with an error when the named switch is not installed, instead of printing the name and exiting 0.
Compatibility and Releases
- 2.6.0~rc1 released 2026-09-08. Binaries signed by the opam dev team; see the blog post for upgrade instructions.
- #7130 (merged):
OpamStd.Map.updatenow delegates to the stdlibMap.update, changing the signature and adding binding-deletion capability. Breaking for existing callers of the old three-argument form.
ocaml/opam-repository
PermalinkFeatures
-
x509 1.2.0 (merged): Breaking changes to
Distinguished_name—equalnow compares tags, newmatchescompares data;Certificate.hostnamesrestricted to SubjectAlternativeName per RFC 9525. Downstream bounds added for albatross, dns-certify, letsencrypt, tls-miou-unix. (#30712, #30714) -
tyxml 5.0.0 (merged): Major release aligning HTML/SVG output with WHATWG and SVG 2. Breaking:
hiddenandcontenteditabletake enumerated args; URL attributes useXml.uri; SVG doctype removed;Wrapped_functionsgains four required methods. Requires OCaml ≥ 4.08, dune ≥ 3.18, ppxlib ≥ 0.36. (#30641) -
atproto.1.0.2 (merged): New AT Protocol client library. Supports OCaml ≥ 4.14.1 < 5.4;
opam install -tis offline-safe by default (live tests opt in viaATP_PUBLIC=1). Requires system libzstd. (#30707) -
opam 2.6.0~rc1 (merged): Eight packages (opam-client, opam-core, opam-devel, opam-format, opam-installer, opam-repository, opam-solver, opam-state) for the opam 2.6 release candidate. (#30686)
-
New packages (merged):
dead_code_analyzer.1.3.0,rpmfile.1.1.0,kube.0.1.3(Kubernetes client),secret.0.1.3(zeroized off-heap memory),cryptoverif.2.13,utcp.0.0.8(TCP for MirageOS),binaryen.0.40.0+libbinaryen.132.0.0,gendarme.0.6.0(9 packages, data marshalling). (#30720, #30709, #30662, #30672, #30682, #30675, #30710)
Fixes
Compatibility and Releases
-
Compiler support timeline (opened, ongoing): Proposal to raise the opam-repository lower bound to 4.13 after CentOS 9 EOL (~2027), then 4.14 after Debian 12 EOL (2028), holding 4.14 for several years before considering 5.x. Labeled "policy discussion." (#30671)
-
Package archival (opened, ongoing): Proposal to archive opam packages whose upstream GitHub repositories are marked archived; ~13 candidates identified. A related PR to archive lwt alpha/beta packages is pending the archive-repo counterpart. (#30550, #30711)
ocsigen/js_of_ocaml
PermalinkFeatures
-
Introcaml runtime introspection in JS (open, by hhugo): Block allocations and tuple constants carry descriptor indices;
Introspect.Printon options, lists, records, variants, and closures produces output matching the native binary. Gated behind--enable/--disable introspection, enabled by default only on Introcaml-built compilers. #2430 -
Base64 encoding for large binary string constants (open, by hhugo): Constants above a size threshold are emitted as base64 literals decoded once at init, reducing a 3 MB binary payload from 8.3 MB to ~7 MB of generated JS. Short strings remain escaped. #2432
-
Wasm toplevel function splitting (open, by vouillon): A new
Split_toplevelpass outlines runs of instructions at liveness boundaries into separate functions, controlled bysplit-toplevelandtoplevel_split_size. Addresses Binaryen/TurboFan failures on large programs. #2423
Fixes
-
Safari 17
staticclass-field misparse (merged, by habakan): The printer now uses a non-breaking space afterstaticin all four class-element cases, preventing JavaScriptCore 17 from reading a line break as a field separator. FixesInt64.of_stringcrashes on Safari 17.x. #2421 -
ASI over-insertion after
async/usingidentifiers (open, by hhugo): The parser previously inserted a semicolon after any line break following these words, breakingx = async\n+ 1andvar async\n= 1. Semicolons are now inserted only before the restricted continuations the spec requires. #2422 -
Single linear memory for Wasm (merged, by vouillon): The four previously separate linear memories (scratch buffer, zstd, blake2, wasi libc) now share one, resolving Safari's lack of multi-memory module support. #2405
Compatibility and Releases
-
Introcaml build support (merged, by let-def, hhugo): js_of_ocaml now builds on the
5.5.0+introcamlopam switch; newConfig.oxcaml/Config.introspectflags gate stubs, and unmarshalers skip Introcaml's reserved-bits prefix. Plain 5.5.0 output is unchanged. #2409 -
Toplevel build with tyxml 5 (merged, by hhugo): tyxml 5.0.0's new
selement shadowed a string argument in the colorize helpers, breaking type-checking. Arguments renamed to avoid the capture. #2425
oxcaml/oxcaml
PermalinkFeatures
-
LTO prototype opened by @mirivella. The Reaper solver assumes a closed world; calling-convention and slot-offset decisions move to solve time; solutions serialise to
.ltosolfiles. Draft, not ready for review. #7156 -
Static functor transl, fracture and eval merged. Adds
Ltemplatefor functors whose arguments exist at both compile-time and runtime; single-argument functors only. Partial application and overapplication deferred. #6846 -
Layout-polymorphic records and variants opened by @joe-kerrigan.
finalize_instantiated_shapetranslates generalised sort variables to splice variables evaluated in Slambda; mixed-block checks deferred past Slambda. Recursive definitions still unsupported. #7152 -
Box kinds opened by @rtjoa. Adds the
k boxkind constructor:k box < scannablealways, with layout-specific implied axes (e.g.float64 box < value). Not yet linked to types; no existing types carry this kind. #6956 -
Mode polymorphism parsing opened by @ainageorges. Argument/result annotations accept mode variables (
'm) and bounds ([< 'm],[> 'm]); curry-mode constraints generated implicitly. Grammar enforces upper-then-lower bound order and meet/join separators. #6829 -
Keep functions specialisable after lambda lifting opened by @mshinwell. The reaper emits a "specialisation site" (synthetic value slots, no runtime allocation) at the original binding; the simplifier re-specialises lifted code when the enclosing function is inlined, restoring
[@zero_alloc]guarantees lost by lifting. #7109
Fixes
-
n-way join performance merged by @bclement-ocp, closing #6586. Projects linearly-occurring existential variables and imports physically-equal types without canonicalisation; join time halved on the compiler build (~1% total compile-time reduction). #6681
-
-OclassicCmm crash on Int64 operations fixed. The peephole engine'sadd_construle producedorwhere+was expected forInt64.subof a shifted value. All optimisations now use the preferred input form consistently. Merged; found via oxfuzzer. #7111 / #7102
16 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
- oxcaml/opam-repository