All repository summaries
15 active · 12 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
v1.4 released (release). Adds
Eio_unix.Pty,Eio.Net.Sockopt,Path.with_dir_entries,Flow.null,Path.chmod/chown,spawn_unix ?uid ?gid ?pgid,Stdenv.override, andEio_unix.Err. -
Eio_unix.Ptyprovides pseudoterminal creation and configuration;spawn_unix ?login_ttyconnects a pty to a child process. (#531) -
Path.with_dir_entriesreads a directory incrementally and reports each entry's type, avoiding onestatper entry. (#821, #897)
Compatibility and Releases
-
eio_linux now requires Linux 5.18 or later;
Eio_main.runfalls back to eio_posix on older kernels. (v1.4) -
Breaking:
Net.getaddrinforaises an exception on lookup failure instead of returning[]; error messages now include the queried name. (#900, #866) -
Function applications eta-expanded to support OxCaml compilation, where local inference requires explicit arity. No effect on standard OCaml. (#898)
Fixes
-
eio_posix on macOS: FDs where
poll()returnsPOLLNVAL(e.g./dev/null,/dev/tty) now fall back toselect()in a systhread. Fixes a crash inEio.Flow.copy_stringto/dev/null. (#893, #757) -
eio_linux
getdentsno longer returns an empty batch when only./..entries are present, preventing premature end-of-directory on FUSE filesystems. (#897)
ocaml-multicore/ocaml-uring
PermalinkFixes
- #160: Reported double-free in the
io_uring_queue_init_paramserror path inuring_stubs.c. Closed 2026-07-20; the maintainer confirmed the dangling pointer was not referenced, so no code change was made.
Compatibility and Releases
- #156 (ongoing): Request for a build option to use system liburing instead of the vendored copy. The issue was updated 2026-07-21, but the undated comment does not establish a specific resolution or configuration change. Evidence is insufficient to describe a concrete effect on the build workflow.
ocaml/RFCs
PermalinkFeatures
- #62 (Drup) proposes an API to manipulate
Destinationvalues for rendering. Open since 2026-06-30; updated 2026-07-24. No merged or released change.
Fixes
None in this interval.
Compatibility and Releases
- #63 (c-cube) opens 2026-07-25 to remove the modular-IO RFC, already rejected in #14775. Open; no effect on compiler or library behaviour.
Note: Both items are open, unmerged proposals in the RFCs tracking repository. No language feature, compiler change, or tooling fix was merged or released in this interval. The evidence does not support further detail on PR #62's 2026-07-24 update (no comments supplied).
ocaml/dune
PermalinkFeatures
-
dune completion fishnow generates a Fish shell completion script with subcommand, flag, and value completion. Install viadune completion fish > ~/.config/fish/completions/dune.fish. (#15515, merged) -
dune promote <TAB>completes against staged.to-promoteentries in the build directory, honouring--rootand--build-dir. (#15338, merged) -
dune pkg enabledqueries a running Dune RPC server for the effective--pkg enabled/--pkg disabledstate, avoiding a build-lock acquisition. Falls back to the local workspace check when no server is running. (#15589, merged) -
dune shell TARGETopens an interactive session at a prepared rule action boundary, exposingrun,show_action, andshow_commandfor inspecting and replaying individual build steps. (#15597, open) -
dune describe workspacegains anoriginfield per module, distinguishing hand-written, rule-generated, ocamllex/ocamlyacc/menhir, and wrapper modules. Opt-in--with-origin-depsflag controls dependency expansion. (#15478, open)
Fixes
-
Artifact-substitution file I/O now runs on the scheduler worker pool, removing a serial bottleneck from builds with many generated files. (#15559, #15598, merged)
-
%{bin:...}PATH layouts on Windows now materialise native executables with the.exeextension, fixing a 3.24 regression that broke tool resolution. (#15518, merged)
Compatibility and Releases
-
Dune 3.24.1 released 2026-07-21. Fixes: jsoo
build_runtime_flagssilently dropped in separate compilation mode; Melange sandboxing reverted (build-time regression); OCaml 5.5+ compiler packages treated as relocatable; Windows.exelayout fix. (release) -
Ongoing discussion:
depswill no longer load package dependencies transitively in 3.25.0, breaking workflows that relied on transitive closure (e.g. Frama-C test rules). No opt-in flag proposed yet. (#15511, open)
ocaml/merlin
PermalinkFeatures
ocamlmerlin single destructnow closes open record patterns in complete matches, inserting the missing field bindings (e.g.{ b = _; _ }→{ b = _; a; c }). Merged by @panglesd. #2103- The warnings-parsing function is now exposed in the public API, a prerequisite for ocaml-lsp warning handling. Merged by @PizieDust. #2088
Compatibility and Releases
opam install merlinfails on OCaml 5.5.0:merlin-libcompilation hitsUnbound value Seq.delayinparmatch.ml. Reported by @akhiltulluri; closed 2026-07-27 without a merged fix in this interval. #2108
Proposals
- Open PR removes value candidates from the type-enclosing fallback list and guards against interpreting
*in tuple types as multiplication. Awaiting maintainer review. #2105
Fixes
- Occurrences queries now correctly report out-of-sync files; a tuple-evaluation-order bug left the staleness cache empty, so ocaml-lsp never received incomplete-result warnings. Merged by @ikostia. #2104
- Occurrences staleness detection is fixed when Merlin runs from a subdirectory rather than the project source root. Merged by @voodoos. #2097
locateanddocumenton anopenin a.mlinow resolve the module name in the pre-open environment, fixing incorrect jumps when a submodule shadows the opened module. Merged by @lyrm. #2089- On Windows,
ocamlmerlin.exefalls back toSearchPathwhenocamlmerlin-server.exeis absent from the dune test-binary shim directory. Merged. #2095
ocaml/ocaml
PermalinkFixes
- The fiber stack cache now has a per-size-class limit, preventing unbounded memory growth when fibers migrate between domains. Configurable via OCAMLRUNPARAM. (merged) #14940
- The compiler build now ignores
OCAMLTOP_INCLUDE_PATH, fixingopam switch createfailures on Windows where a stale path caused a fatal error. (merged) #14914 - The RISC-V backend routes large stack offsets through a
li+addsequence, fixing assembler rejections when offsets exceed the 12-bit immediate range. (merged) #14943
Compatibility
- Record updates
{ r with … }that implicitly copy an[@atomic]field currently emit a plain load; this PR adds the missing atomic load. (open) #14935
Features
Performance
- Inlining the full-application path of
caml_applyreduces runtime by ~25% on function-call-heavy workloads; coq-bench shows 1–4% improvement across packages. (open) #14925 - Checking path equivalence modulo aliases in the type checker reduces compilation of certain Dune-wrapped libraries from >10 min to 170 ms. (open) #14927
ocaml/ocaml-lsp
PermalinkFeatures
-
Open dune file code action (merged): A new code action searches parent directories for the nearest
dunefile and opens it viawindow/showDocument. Stops atdune-projectordune-workspaceboundaries. #1817 -
Semantic highlighting: operator classification (merged): OCaml symbolic and word operators now emit the standard
operatortoken type in bindings, applications, and signatures. Binding operators (let*,and*) are included. #1831 -
Dune event tracing (merged): The
$/setTracesetting now emits$/logTracenotifications for Dune RPC connections, build events, and thedune ocaml-merlinconfiguration process. Off level computes nothing. #1899
Compatibility and Releases
- LSP 3.18 spec update (merged): The bundled metamodel and generated OCaml types now target LSP 3.18.0, adding workspace text-document-content requests, code-action tags, snippet edits, and related protocol fields. No user-facing behaviour change expected. #1749
Fixes
-
Document-symbol selectionRange containment (merged):
textDocument/documentSymbolnow clips or falls back to the symbol range when Merlin returns an out-of-bounds selection. Prevents VS Code from rejecting the entire response. #1775 -
Polymorphic-variant backtick completion range (merged): Completion immediately after a lone backtick now produces a replacement range covering the typed character instead of a zero-width insert. Fixes #1427. #1823
-
Completion protocol compliance (merged): Sort keys widen past 10 000 items; non-ASCII identifiers and CRLF prefixes parse correctly; deprecation uses
CompletionItem.tagswhen supported; polymorphic variants reportConstructorwhen the client lacksEnumMember. #1883, #1886, #1903, #1887 -
Semantic-tokens capability negotiation (merged): The server advertises
semanticTokensProvideronly when the client declares support, requires the relative format and full-request capability, and honours the delta opt-out. #1851, #1853, #1856, #1859
ocaml/ocaml.org
PermalinkFeatures
-
#3713 (open, smorimoto): Restructures opam package version pages to separate "Latest version", "Previous versions", and "Versions not normally selected by opam". Replaces misleading "release date" labels with "Added to opam-repository" and exposes UTC ISO dates via
time[datetime]. -
#3722 (merged, vouillon): Adds a new blog feed to OCaml Planet.
Governance
- #3725 (open, nojb): Proposes an update to library team governance documentation. No further detail provided in the PR body.
Fixes
- #3719 (open, smasher164): Corrects the 2ct_03_wasm.md documentation to state that
ocamlctargets the WASM-GC extension, matching the js_of_ocaml README.
Compatibility and Releases
ocaml/ocamlfind
PermalinkFeatures
Compatibility and Releases
- #122 (open): Adds support for the relative paths OCaml 5.5+ writes in
ld.conf, fixing the lookup failure described in issue #115. Not yet merged; no released behaviour change.
ocaml/odoc
PermalinkFeatures
-
OxCaml parameterized libraries: odoc renders parameterized library definitions, parameter descriptions, and
Lib[Param:Impl]references with individual links on each component. Fixes #1390. Open PR by @art-w: #1464. -
OxCaml kind abbreviations: odoc renders and links kind abbreviations in a new namespace alongside types. Requires explicit
[@@ocaml.doc]on the OxCaml-minus31 branch until the parser fix lands. Open PR by @art-w: #1467.
Fixes
-
OxCaml
with-bounds: odoc no longer errors when an arbitrary type (e.g.'a M.t) appears on the right of awith-bound, using a best-effort parsetree conversion. Fixes #1455. Open PR by @art-w: #1466. -
Spurious source links from ppx-generated code: odoc now prunes subtrees marked
[@@merlin.hide]when collecting source occurrences, eliminating nested clickable tokens (e.g.type,t,charonCore.Char). Fixes #1456. Open PR by @klakplok: #1465. -
Multi-line link extraction: backslash-newline sequences inside
{{:url}text}links are collapsed to a single URL; trailing backslash handling refined per RFC 3986. Open PR by @Tim-ats-d, updated 2026-07-22: #1439.
ocaml/opam
PermalinkFeatures
- 2.6.0-alpha1 adds
--ignore-available-onto bypass theavailable:field for specified packages. (release) .installfiles gainrootandrootexecsections for installing files from the prefix root. (#6938)- The shell env hook now updates the current bin path in
PATHin place instead of always prepending opam's path. (release) - Repository operations speed up on constrained filesystems via archive-based storage;
opam init --bareno longer computes a default compiler. (#6957, release)
Fixes
Compatibility and Releases
ocaml/opam-repository
PermalinkFeatures
- eio 1.4 merged:
Net.getaddrinfonow raises an exception on error instead of returning[]. AddsEio.Net.Sockopt,Path.chmod/chown,Eio_unix.Pty, andFlow.null. Linux backend requires kernel ≥ 5.18. (#30318) - Frama-C 33.0-Arsenic merged: removes the GTK GUI (
frama-c-guinow runs the Ivette-based GUI), adds-eva-secure-flowfor non-interference proofs, and refactors plug-in APIs. (#30323) - New packages merged this week:
ocaml-sbom0.1.0 (SBOM generator),termaid1.0.0 (Mermaid-to-Unicode renderer),tw1.0.0 (Tailwind CSS v4),cascade1.0.0 (CSS library),wax0.1.0 (Wasm toolchain),theo0.1.0 (BDD library),fungi0.2.0 (graph library),noise0.1.0 (Noise Protocol rev 34),qiskit2.0.1,menhirformat0.2.0,menhir-lsp0.5.0,cvc51.3.0-2. (#30292, #30287, #30314, #30280, #30278, #30279, #30338, #30288, #30281, #30327, #30328, #30289) - wire 1.1.0 merged:
parse_erroris now a{ at; field; kind }record (was a flat variant);uint32/uint64decode toOptint.t/Optint.Int63.tinstead of nativeint. (#30313)
Fixes
- dune 3.24.1 merged: fixes an internal error with duplicate library names under mutually exclusive
enabled_if, fixes environment variable passing to formatter actions, and reverts default sandboxing of Melange rules. (#30298) - Compiler cloning disabled for OCaml 5.5.0 on macOS (fixes #29496):
opam switch createwith a second switch no longer fails on a here-document temp-file error. Pending an upstream fix in 5.5.1. (#30317)
Compatibility and Releases
- lstar-rocq 3.0 merged: teacher modules changed substantially; adds TTT for DFAs and L* for Moore/Mealy machines. (#30291)
- ocamlfind 1.9.9~preview added for OCaml 5.5:
ocamlfind1.9.8 cannot parseld.confunder 5.5; the preview isavoid-version-flagged and selected only on macOS, Windows (Cygwin/MSYS2), and Linux for 5.5+.conf-python3-tomli/conf-python3-pyparsingdepexts fixed for CentOS and OpenSUSE. (#30285, #30340)
ocsigen/js_of_ocaml
PermalinkFixes
- Wasm: resolve assets relative to the runtime file, not
require.main(open, by @vouillon) — The Node.js Wasm runtime located separately-compiled.wasmassets viapath.dirname(require.main.filename), breaking programs loaded throughrequire, symlinks, or worker threads whererequire.mainis undefined. The fix switches tomodule.filename, matching the browser branch's self-locating behaviour; the same change applies to the WASI runtime. #2389
oxcaml/opam-repository
Permalinkoxcaml/oxcaml
PermalinkFeatures
-
A PL-theory formalism of Flambda 2 was produced as a Markdown document and used to identify a constant-folding soundness bug (float32 double rounding, fixed in #6474). The formalism lives in #6475 (open).
-
A Z3 Datalog-based validator for the
cfg_simplifydead-code-elimination pass was added in #6564 (open). It was verified free of false negatives by running the compiler on itself. -
A breadth-first meet strategy (plus a hybrid variant) for Flambda 2 type environments is available via
-X flambda2-meet-strategy=bfsin #6191 (open). It defers equation processing to a saturation fixpoint, reducing precision loss under relational tracking. -
A 24-PR series adds end-to-end DWARF debugging for Flambda 2–compiled code: phantom lets for optimised-out variables, inlined-frame attribution, and call-site DIEs. Key merged pieces: #6503, #6504, #6506. Stacked PRs #6519, #6521, #6522 are open.
-
The reaper was split into traverse, solve, and rebuild stages for link-time optimisation (#6627, merged). New
reaper-rebuildandreaper-solvecompiler entry points were added in #6632 (merged). -
Faulting safepoints replace compare-and-branch GC polls with a double-load that SIGSEGVs on interrupt, saving 6–12 bytes per poll on AMD64 (#6551, open). Interrupt latency is +1.2 µs;
--disable-faulting-safepointsopts out.
Fixes
-
GADT calling-convention specialisation now joins layouts across all match cases instead of using the first, preventing segfaults when a caller selects a different constructor (#6533, #6356, both merged).
-
Recursive-module inclusion checking now tries unroll depths 1, 2, then N; a 1145-member group drops from 53.5 GiB peak / 5 min to 3.0 GiB / 37 s (#6532, merged).