All repository summaries
13 active · 14 unchanged
ocaml-multicore/domainslib
PermalinkFixes
- Issue #135 (opened 2026-06-17, still open) reports that
fib_par.exehangs indefinitely on single-CPU systems becausekcas_integrationcomputesnum_domains = recommended_domain_count() - 2, yielding −1, whichTask.setup_poolrejects. A one-line patch clamping the value withmax 0is proposed in an undated comment. The issue'supdated_atfalls within this interval (2026-09-27), but the undated comment cannot be attributed to that date; the specific event triggering the update is not established by the supplied data.
ocaml-multicore/eio
PermalinkFeatures
Eio.Process.Env(v1.6, #930, #923): snapshot the current environment, modify it viaEnv.override, and pass it toProcess.spawn ~env.Eio.Pathopen functions gain?follow(v1.6, #938):~follow:falseraises on symlinks instead of following them.Eio_unix.Filemodule (v1.6, #937): construct Eio files and flows from raw file descriptors.- Windows: rename support (v1.6, #934):
Eio.Path.renamenow works on the Windows backend. Eio_linux.Low_level.Fixed.avail(merged #940): previously internal function exported to the public API.Path.sync_dir(opened #943): fsync a directory; no-op on Windows. Not yet merged within this interval.
Fixes
- eio_windows NT path handling and stat (v1.6, #932): creating files with absolute paths no longer returns
Unix.ENOENT; several other path-handling bugs corrected.
Compatibility and Releases
ocaml/dune
PermalinkFixes
-
Menhir + relocatable compiler:
Unbound module Stdlibon macOS.dune buildwith a(menhir ...)stanza anddune pkg(relocatable compiler) now succeeds. The fix adds an explicit Stdlib dependency to the inference rule and reclassifies the path for sandboxing. Merged in #16374; will ship in 3.25. -
Menhir qualified module group interfaces (
include_subdirs qualified). Menhir parsers can now serve asfoo/foo.mlgroup interfaces. The fix opens a private alias interface for inference and uses digest-based helper names to avoid filename-length and collision issues. Merged in #16464 and #16489; closes #8989 (open since 2023). A follow-up extending the fix to OCaml 4.02–4.07 was opened in #16497. -
Windows: file-descriptor hashing crash. Hashing Windows handles by integer value caused assertion failures and CI timeouts. Dune now uses
Poly.hashon Windows. Merged in #16476; fixes #16459. -
Concurrent
dune buildRPC rejection. Runningdune buildwhile another instance holds the build server now produces a descriptive error instead ofserver error (error kind: Code_error). Merged in #16486; fixes #16219. -
Package dependency closure for installed-file tracking. Library-induced package dependencies are now followed to their full package closure, preventing stale install states. Merged in #16362.
Features
-
job_slotsrule (proposal). A new rule lets a build compute and expose a slot count via an environment variable, enabling polyglot sub-builds (e.g. Cargo) to size their parallelism without a jobserver. Open in #16475; labelledneeds-version-bump, so it will require a new dune language version. -
Merlin PPX cache (proposal). Dune would emit
USE_PPX_CACHEandPPX_DEPSMerlin directives so the editor caches PPX-processed files, reducing editor latency for PPX-heavy projects. Open in #16460; depends on a Merlin release. -
-Werror=unguarded-availability-newfor C/C++ on macOS (proposal). Dune would add this flag to standard C/C++ flags so that calls to APIs newer than the deployment target fail at compile time rather than crash at runtime. Open in #16456; fixes #16413.
Compatibility and Releases
- The Menhir/relocatable-compiler fix (#16374) is targeted for the 3.25 release; a nightly binary is available via nightly.dune.build. The
job_slotsrule (#16475) will require a language-version bump and is expected in 3.26.
ocaml/merlin
PermalinkFeatures
- The
enclosingcommand (LSP Selection Range) now selects sub-expressions incrementally rather than jumping to the full parent node, and handles nested type constraints as separate layers. Merged by @panglesd and @PizieDust. (#2121) - A new
PPX_DEPSfield in.merlinfiles is included in the PPX cache key, soUSE_PPX_CACHEinvalidates correctly when a PPX dependency changes. Merged by @panglesd. (#2127)
Compatibility and Releases
Fixes
- The parsetree cache fingerprint now includes the full Merlin configuration, preventing stale results when a config change (e.g. reader, extension, warnings) affects parsing. Fixes #2130. Merged by @panglesd. (#2131)
- CI and Dockerfile references to
merl-annow point to the canonical repository instead of a personal fork. Merged by @Tim-ats-d. (#2128) - Reproduction tests for issues #1980, #2033, and #1786 were merged, replacing earlier superseded PRs.
ocaml/ocaml
PermalinkFeatures
-
Dynarray.sort,Dynarray.stable_sort,Dynarray.stable_sort_subadded to the standard library. They delegate toArray.stable_sort_subon the backing array and raise on length change. Merged. (#14848) -
Bulk float-array operations (
dot,sum,scale,axpy,add,mul) proposed as newFloat.Arrayprimitives. The compiler emits a four-lane loop in Cmm; an arm64 NEON exemplar is included. No language or type-checker changes. Open proposal. (#15094)
Compatibility and Releases
-
Weak.get_copyis deprecated and now an alias ofWeak.get(no shallow copy). Code relying on the copy-to-avoid-lifetime-extension semantics must migrate. Merged. (#15064) -
New warning 76 (
syntactic-unerasable-optional-argument) proposed for optional arguments not followed by a non-labelled argument. Extends warning 16; disabled by default. Open proposal. (#15097)
Fixes
-
Int.popcount,Int.leading_zeros,Int.trailing_zerosnow lower to%popcount,%clz,%ctzprimitives. arm64 emits a singleclz/ctzinstruction; other backends fall back to a C call. 2–3× speedup on amd64 and arm64. Merged. (#15018) -
Unaligned memory accesses enabled on s390x.
Bytes.get_int64and related operations no longer emit byte-at-a-time sequences. 2× speedup on z15 for unaligned 64-bit reads. Merged. (#15090) -
Typemod.type_packagenow callsMtype.lower_nongen, preventing a weak type variable from unifying with an out-of-scope type. Previously the compiler accepted programs that should be rejected. Merged. (#12195) -
Unix.selecton Windows: fixed an out-of-bound array access in the 63-fd packet emulation (missing slot for the stop handle) and a socket-handle leak on the error path. Merged. (#15093, #14975)
ocaml/ocaml-lsp
PermalinkFeatures
- Topiary formatter (open, by toastal): adds Topiary as a formatting backend. Topiary does not support range formatting, so the full document is reformatted on each request.
Compatibility and Releases
- switchImplIntf and inferIntf params documented as an array (open, by dayangac): the JSON-RPC spec now matches the implementation, which requires a single-element array rather than a bare
DocumentUristring.
Fixes
- Fatal warnings now report error severity (open, by dayangac): warnings configured as fatal (e.g.
[@@warnerror "+26"]) are published with severity 1 (Error) instead of severity 2 (Warning), matching their build-failing behaviour. - Operator completion resolves the operator's own documentation (open, by dayangac):
completionItem/resolvefor operators after a module path (e.g.Bool.(&&)) now returns the operator's doc instead of the module's. - Regression tests confirm prior fixes on current master: document-symbol for annotated functions, hover for
and*bindings, hover for adjacent variant constructor docs, and document-highlight for module names (all open, by dayangac).
ocaml/ocaml.org
PermalinkFeatures
-
A hosted MCP server is live at
POST /mcp, exposing five read-only tools: package dependencies, reverse dependencies, package documentation overview, and module documentation. Connector-setup docs cover Claude, ChatGPT/Codex, Gemini, Mistral Vibe, and local models. (#3785, #3790, #3794, #3801) -
Doc output is sanitised (active markup stripped, invisible characters removed, body capped ~100 KB) and labelled
content_trust: community-authored-untrusted. Per-IP rate limiting (60 req/60 s) and a fixed SSRF allowlist guard the endpoint. (#3787, #3797, #3800) -
/llms.txt(curated LLM site index) merged after a link-freshness pass. Five AI-drafted tutorials now carry a provenance note. The Functional Programmer blog feed (OCaml-tagged) added to Planet. (#3579, #3798, #3791)
Fixes
-
INRIA and Gallium Planet feeds switched from
http://tohttps://(plaintext endpoints hung indefinitely). The patricoferris feed now uses river's~repairto tolerate a missing<updated>field. (#3784, #3783) -
The
dune buildopam-generator drift that silently droppeduucpand therivergit pin is resolved. The obsolete pin is replaced by ariver >= 0.6constraint available in the updated opam-repository. (#3778, #3777)
Compatibility and Releases
-
The opam 2.6.0 release announcement was published on the site. (#3774)
-
Ocsigen Server 8.0.0 blog post published, describing a modernised API and single-command deployment. (#3805)
-
Docker base image moved from deprecated Alpine 3.21 to 3.24; the opam-repository pin advanced from a 13-month-old commit to 2026-09-18, unblocking ~79 package upgrades. (#3781, #3782)
ocaml/odoc
PermalinkFixes
-
Issue #1339 (OCaml 5.4 build failure) closed 2026-09-25; resolved by PR #1355. odoc 3.0.0 previously failed to compile against OCaml 5.4 due to
Typedtree.package_typeandTpat_aliassignature changes. -
PR #1494 opened 2026-09-22: handles the
ocamllexexhaustiveness warning introduced in OCaml 5.6 by matching the missing-case explicitly rather than relying on a caughtFailureexception. Backward-compatible; no 5.6+ features used. -
PR #1481 (open, under review as of 2026-09-23): corrects inconsistent dropping of type equalities in
include-strengthened signatures. The fix also permits strippinginclude sig … endbodies, a significant build-time reduction for ppx_template-heavy OxCaml code.
Compatibility and Releases
- PR #1495 opened 2026-09-23: adds a regression test for sibling libraries sharing module names (issue #1450), covering a resolution edge case in cross-library references.
Ongoing Work
-
PR #1464 (OxCaml parameterized libraries, fixes #1390) remains open; no merge or state change within this interval.
-
Multiple open issues received updates on 2026-09-25 within a ~20-minute window (e.g. #1286, #1160, #1345, #1346). No per-issue comments or state transitions are recorded in the supplied data; the specific change is not determinable from the evidence.
ocaml/opam
PermalinkFixes
-
opam install --deps-onlyno longer installs the target package's own depexts since 2.6.0. Fix PR #7158 was opened 2026-09-21; merged after this interval. Affects pinned and simulated packages. -
Sandbox escape when the first command argument starts with a dash (open). On Linux this requires bubblewrap ≥ 0.3.0. Backport to 2.6 in #7162 was closed without merge.
-
Unwanted recompilation caused by oversized universe set in
OpamSwitchState.universe(open). Removing legacy set operations prevents unnecessary package reinstalls duringopam install/upgrade. -
opam init --reinit -iskips updating~/.bashrcwhen an alias containsopam env(open). The check matches any occurrence of the string rather than a sourcing line.
Compatibility and Releases
-
cudf upgraded to 0.11~rc1 (merged 2026-09-21). Removes the extlib dependency from the solver stack for the 2.7 release.
-
FreeBSD 32-bit build fails in the bundled
checkseumC stubs (open). Aptrdiff_ttypedef conflict on 32-bit x86. Maintainers confirm 32-bit support is still provided. -
opam 2.6.0 ignores git system/global config (open). Scripts relying on
git config --globalURL rewrites break. Documentation should point toGIT_CONFIG_*environment variables. -
Git cache race condition with parallel fetches to the same repository (open).
download-jobs=1is a workaround; a fix would serialise git fetch/push when the latest commit is absent from the cache.
ocaml/opam-repository
PermalinkFeatures
-
ocsigenserver 8.0.0 (merged): Public modules moved under wrappers (
Ocsigen_extensions→Ocsigen.Extensions, etc.). Newocsigenserver-compatpackage provides old names. 16 published ocsipersist versions now bounded toocsigenserver < 8.0.0. (#30806) -
windtrap 0.2.0 (merged): Complete rewrite of the test framework. Adds stateful testing (model-based, with shrinking) and mutation testing. Extensive breaking API changes:
runreturns an int,Testablerestructured,Gencombinators renamed, snapshot/expect API replaced byexpect/expect_file, coverage instrumentation renamed toppx_windtrap.coverage. (#30817) -
eio 1.6 (merged): Adds
Eio.Process.Envfor snapshotting and overriding process environment,?followargument toEio.Pathopen functions,Eio_unix.Filemodule for creating files from FDs, and Windowsrenamesupport. (#30781) -
wax 0.2.0 (merged): Adds parenthesized type ascription
(e : t), compilation-hint annotations,--faithfuldecompilation mode, and LSP quick-fix support. Fixes multiple silent miscompilations in numeric-width handling. (#30788) -
New post-quantum crypto packages (merged):
mldsa.0.2.0,mlkem.0.2.0,slhdsa.0.2.0(FIPS 204/203/205 pure-OCaml implementations) andhpke.0.3.0(RFC 9180 with ML-KEM KEM support). (#30820, #30813)
Fixes
-
Frama-C/Frama-Clang 0.0.20 (merged): Removes the
camlp5dependency.framaCIRGenregisters as a clang tool via libtooling. Supports Clang 21 and 22; minimum Clang is now 13. Compatible with Frama-C 33.0 Arsenic. (#30680) -
sail 0.20.3 (merged):
whereis now a reserved keyword (breaking for models using it as an identifier).SAIL_PLUGIN_DIRaccepts a colon-separated list. Addssail --tool strip_jsonfor JSON config files. (#30798)
Compatibility and Releases
ocsigen/js_of_ocaml
PermalinkFeatures
- Recursive-descent JavaScript parser (open, by hhugo) replaces the Menhir-based parser. Accepts all valid test262 programs and rejects invalid ones the old parser accepted; reports errors as
unexpected {, expected , or ). - Skip wasm-opt --opt 1 (open, by vouillon). Reduces
wasm_of_ocamltest-suite compilation time by ~60% and preserves variable names for debugging.
Compatibility and Releases
- Block map replaced by a 32-way trie (merged, by hhugo). Compilation of large programs is 10–14% faster; generated code is byte-identical.
Js_traverse.freeis now an iterator, not a mapper (merged, by hhugo). Breaking API change for compiler-library consumers: the class typefreevarinherits fromiterator; the returned program is no longer a copy.
Fixes
- JS syntax errors now report as
file:line:col(merged, by hhugo) with the offending source line. Runtime-file parse errors no longer surface as uncaughtFailureexceptions. - Optional-chain parentheses are preserved in generated code (merged, by hhugo).
(a?.b).cno longer prints asa?.b.c, which changes runtime semantics. - Two
natbugs fixed in both JS and Wasm runtimes (merged, by vouillon): digit comparison treated digits as signed; 64-bit marshalled size was doubled, breaking cross-platform deserialisation. - float32 unsafe get/set primitives gated on
//If: oxcaml(merged, by vouillon). Fixes a compilation failure with OCaml 5.2 caused by an obsolete//OxCamlmarker.
oxcaml/opam-repository
PermalinkFixes
- PR #60 (oxcaml/opam-repository, opened 2026-08-15 by shunueda) proposes a corrected
dune-ignorepatch for theoxcaml-compileropam package after an upstream implementation change broke the existing patch. The PR remains open; itsupdated_attimestamp (2026-09-26) falls within the reporting interval, but no dated comment, merge, or closure is recorded in that window. Evidence is insufficient to confirm a specific in-interval event beyond the timestamp update.
oxcaml/oxcaml
PermalinkFeatures
-
SSA intermediate representation (merged): New
-use-ssaflag activates an experimental SSA pipeline between Cmm and CFG, with aCfg_comparevalidator that cross-checks the SSA path against the legacyCfg_selectgenoutput per function. Enabled by-experimental-optimizations; incompatible with-llvm-backend. #5810 -
Link-time optimization flags (open):
-support-ltostores Reaper traversal data in.cmxfiles;-reaper-solveruns a whole-program fixpoint over multiple units;-reaper-rebuildresumes codegen from a.ltosolfile. A demo build ofocamloptwith LTO produces a 41.6%-smaller binary on ARM64. #7264 #7268 #7274 #7289 -
Linker-level dead code elimination (open): Per-symbol data sections and link-order frame-table pieces let
--gc-sectionsdrop unreferenced functions and module fields. Measured 31.8% file-size reduction on a 1.3 GB production executable; a follow-up eliminating module blocks reaches 38.2%. #7324 #7334 -
Guard-page stack idling for fiber scaling (open): Suspended fibers on the major heap are "idled" into malloced buffers, freeing their 8 MiB guarded mappings. A 100 000-fiber test completes with a peak of 2 000 VMAs (previously unbounded). AMD64 only;
OCAMLRUNPARAM Xmax_guarded_stacks(default 1024) bounds total guarded stacks. #7349 -
Allocation mode axis (open): Introduces
alloc/noalloc/noalloc_strictas a first-class modality orthogonal to statefulness, enabling the type checker to reject allocation innoalloccontexts. #7162
Fixes
-
Reaper segfault with
-no-reaper-unbox(merged): The calling-convention-changes analysis was skipped when unboxing was disabled, causing all functions to be treated as having mutable conventions. The analysis now runs unconditionally. #7320 -
Principality check for mode crossing (merged):
crossing_of_tyusedgeneric_levelas the threshold, butmoregenoperates atsubject_level(one below), so the actual crossing was always replaced byCrossing.max. The check now tests>= subject_level. #7298
Compatibility and Releases
-syntax-quotations/-no-syntax-quotationsflags (merged): Syntax quotation is now a per-invocation compiler flag (also settable viaOCAMLPARAM syntax-quotations=0|1) rather than a configure-time constant. The#syntax quotations on|offdirective still overrides per file. Accepted byocamlc,ocamlopt,ocaml,ocamlnat,ocamldep. #7286