All repository summaries
11 active · 16 unchanged
ocaml-multicore/eio
PermalinkFeatures
- #927 (open, by kentookura): Proposes
Eio.Fiber.List.partition_map. Reviewers suggest a simpler one-liner viaList.partition_mapovermap ?max_fibersrather than the initial fork-and-wait approach. - #926 (merged 2026-08-24, by talex5): Adds a hand-written
index.mldfor the eio package, replacing the auto-generated index for better documentation navigation.
Fixes
- #928 (open, by avsm): Proposes rejecting out-of-range uid/gid in the portable
chownlayer while allowing −1 for "unchanged" per POSIX. Notes thatuid_t/gid_tsignedness varies across platforms, requiring explicit casts.
ocaml/dune
PermalinkFeatures
-
Dune 3.25: sandboxed pkg-config, MDX, and PPX lint actions.
pkg-configqueries,ocaml-mdxgenerators (extension 0.6), and PPX lint actions now run inside the sandbox by default, preventing them from reading undeclared workspace inputs. Earlier language versions retain prior behaviour. (#16178, #16177, #16176) -
dune pkg lock: single SAT solve across all requested platforms. All platform roles are solved in one SAT problem; packages appearing on multiple platforms are constrained to the same version. Portable lock directories now produce a consistent cross-platform solution. (#15982, by Alizter) -
dune trace cat: new--only-actionsand--no-actionsflags. Mutually exclusive options filter events collected from actions while leaving the default combined output unchanged. Applies to JSON, S-expression, Chrome, and followed output. (#16245)
Compatibility and Releases
-
Experimental
(fdo ...)workspace field removed. The FDO integration with external OCamlFDO tooling has no known users and is deleted along with its compilation, linking, and documentation. Projects using the field must remove it. (#16198) -
Dune 3.25: cram test names preserve the full
.tbasename. Generated aliases anddune testtargets use the complete filename from language 3.25 onward; older projects retain the historical truncated form. (#16146)
Fixes
-
RPC: forwarded paths rebased to workspace root. Relative
build,exec, andruntestpaths sent to a running Dune process are now interpreted from the client invocation directory rather than the server's startup directory. Fixes editor-integration workflows where client and server start in different subdirectories. (#16267) -
Merlin: mode-aware configurations for mixed libraries. OCaml and Melange
.merlinconfigs are generated and persisted for mixed-mode libraries; exact file matches are preferred over extensionless fallbacks. Improves editor diagnostics in projects using both backends. (#16192, #16194, by anmonteiro) -
dune build @opam: promotion restored after file deletion. Deleting a generated.opamfile now causes@opamto regenerate and offer the file for promotion. Fixes a 3.24.2 regression where the stale build-tree copy was excluded from the sandbox. (#16234, #16233) -
OCAMLFIND_CONFtoolchain-only config crashes (open). SettingOCAMLFIND_CONFto afindlib.confthat defines a tool only under a toolchain predicate raisesFilename.of_string_exn: invalid filenamesince 3.24.2. A fix distinguishing "no matching predicate" from "invalid value" is in review. (#16226, #16239)
ocaml/merlin
PermalinkFixes
locatewith an explicit identifier no longer returns "Already at definition point" when the cursor sits on a different declaration. Context detection now compares the cursor declaration's name against the requested identifier before short-circuiting. Covers value and type declarations. (#2118, opened by aryemans; not yet merged)
ocaml/ocaml
PermalinkFixes
-
Unmarshaling overflow guard (merged):
Marshal.from_stringandMarshal.from_channelnow reject marshaled data whoseheader_len + data_lenoverflows, preventing ineffective bounds checks. Backported to 4.14 in #15030. (#15019) -
Runtime events ring buffer size overflow (merged): The ring buffer file size is now a
size_twith an overflow check. Previously,e=21,d=128caused SIGBUS ande=22+silently corrupted event names. (#15000) -
Win32 thread starvation regression (open): A non-yielding thread on Windows 5.5.0 held the runtime lock indefinitely, starving other threads in its domain. The fix corrects an invalid backup-thread handle passed to
caml_plat_thread_equal. Reported in #15028; fix in #15029. -
Win32
Unix.selectdescriptor mapping (open): Two bugs caused out-of-bounds lookups or wrong descriptors when a socket appeared in multiple fd lists or duplicates existed within one list. The fix replaces positional indices with per-mode handle sets. Reported in #14758; fix in #15025. -
POWER assembler error for frames > 32 KB (open): Frame-management offsets exceeding the 16-bit immediate range now use
addis-based sequences. Previously, functions with ~6000 locals failed with "operand out of range". (#15021)
Features
-
Bit counting primitives (open):
Int.popcount,Int.leading_zeros, andInt.trailing_zerosbecome%popcount,%clz,%ctzprimitives. arm64 emits nativeclz/ctz; all backends gain a speedup over the prior OCaml-level implementations. (#15018) -
Global roots debugging (open): Adds
Gc.check_roots(runtime abort on corrupted root) and a GDBocaml rootscommand that reports the registration site of a damaged root. XOR-stamped cells and a provenance skiplist track origin. (#15027) -
ocamldebug 64-bit headers (open): The
REQ_GET_HEADERprotocol now transmits the full 64-bit object header on 64-bit platforms, fixing incorrect array sizes for objects > 2²² words. May require patches in earlybird. (#15022)
ocaml/ocaml-lsp
PermalinkFeatures
- Document and range formatting now support ocp-indent. Formatter selection walks up from the document directory to the workspace root;
.ocamlformattakes precedence over.ocp-indent. (#2148) textDocument/onTypeFormattingis implemented for OCaml and ocamllex files via a persistentocp-indent-rpchelper. Newline-triggered requests update only the new line's leading whitespace; missing helpers degrade to no edits. (#1986)
Compatibility
workspace/symbol,textDocument/codeLens,textDocument/signatureHelp,textDocument/selectionRange,textDocument/rename, andworkspace/workspaceFoldersnow accept the nullable and variant result shapes defined by LSP 3.18. (#2154, #2153, #2152, #2151, #2025)- Merlin diagnostic
relatedInformationlocations were emitted with one-based line numbers instead of zero-based LSP positions. Reported by Alizter; closed 2026-08-31. (#2145)
Fixes
textDocument/inlayHintresponses are now filtered to the client-requested range. Hints whose insertion positions fall outside the viewport are no longer returned. (#2155)- Edit ranges for replacements ending with a newline now advance the end position to the next line. Previously the trailing newline was discarded, causing ranges to end on the prior line. (#2159)
- Destruct-line code actions now reject Merlin recovery locations whose endpoints escape the queried source line. This prevents edits targeting unrelated source or splitting UTF-8 scalars. (#2063)
ocamlformat-rpcstartup negotiation failures no longer terminate the LSP session. The server reports the failure as a LogMessage and falls back to unformatted hover output. (#2132)
ocaml/ocaml.org
PermalinkFeatures
Compatibility and Releases
- An opt-in
repair:flag for per-feed HTML void-element self-closing was proposed for the MirageOS feed but closed unmerged (2026-09-02) after the upstream feed was fixed directly. (#3756)
Fixes
ocaml-bookandemilpriverplanet sources markeddisabled: trueafter both authors confirmed their blogs are gone; archived posts remain published. Merged 2026-08-26. (#3755)- Five planet sources (mirage, ocaml-book, patricoferris, dinosaure, emilpriver) fail scraping for non-timeout reasons (malformed XML, DNS failure, 404). Open issue tracking per-source resolution. (#3753)
ocaml/odoc
PermalinkFeatures
- OxCaml modes (
@ local,@ unique,@ once, etc.) now render in generated documentation. Merged 2026-08-27. (#1454) include functorsupport: odoc will display that items were included via a functor. Open, under review. (#1452)- Kind abbreviations (
kind_) get a new namespace with rendering and cross-reference links. Open, under review. (#1467)
Performance
- Removing the internal
idwrapper reduces generated documentation disk usage by ~30% with no measurable speed change. Open, not yet merged. (#1479)
Fixes
odocno longer raisesFailure("invalid core type")when awith-bound contains an arbitrary type (e.g.'a M.t). Fixes documentation builds forbase. Merged 2026-08-28. (#1466)odoc_drivernow uses Findlib's own logic to locate the stdlib directory, fixing builds where stdlib lives in$prefix/lib64(e.g. openSUSE Tumbleweed). Merged manually 2026-08-27. (#1474)
Compatibility and Releases
- OxCaml 5.2.0minus39 compatibility: module types with
with kindexpressions are handled; opam constraint updated. Merged 2026-08-26. (#1469)
ocaml/opam
PermalinkFeatures
opam install --no-lint(open, queued): suppresses lint diagnostics duringopam installand related commands. Addresses #7110.opam-installer --exclude-sections(open proposal): allows partial package installation by skipping named sections (e.g.doc,lib), replacing ad-hocprocess.sedfiltering.- Cache magic version tied to data format, not opam version (open proposal): multiple opam versions would share a single cache, avoiding unnecessary recomputation.
Compatibility and Releases
OpamFilename.in_dirremoved in 2.6.0~beta1 (closed 2026-08-25): the function was deleted in #6910. Migration path: useOpamfile.exec/OpamSystem.commandfor in-directory execution, or reimplement the three-linechdirwrapper. Affects external tools such asorb.
Fixes
- Reproducible Windows release (merged 2026-08-30): passes
/Breproto the linker so the Windows binary no longer embeds build timestamps. Closes #6752. - Harden release script against sshpass instability (merged 2026-08-29): works around documented
sshpass(1)race conditions in the release pipeline. - Stop recursive directory scan during pin (open, active): limits file scanning to
descr,url, andfiles/instead of the entire project root, reducing memory and time on large or dirty checkouts. - GC tuning for low-end hardware (open): replaces
Gc.compactwith higherspace_overhead; on OCaml 4.14 reduces peak memory from 512 MB to 336 MB with negligible time cost.
ocaml/opam-repository
PermalinkFeatures
- opam 2.6.0~beta1 (8 packages: opam-client, opam-core, opam-devel, opam-format, opam-installer, opam-repository, opam-solver, opam-state) merged. First beta of the 2.6 series. (#30542)
- A cluster of Eio-native packages merged: aws-eio.0.1.0 (SigV4 signing, credential resolution, HTTP transport), kafka-eio.0.1.1 (librdkafka-backed producer/consumer), https-eio.0.1.0 (TLS wrapper for cohttp-eio), and obs-eio.0.1.0 (tracing, structured logging, metrics). (#30589, #30557, #30570, #30595)
- New packages merged: owebview.0.1.0 (cross-platform webview bindings), cdp/cdp-gen.0.1.0 (Chrome DevTools Protocol types), hpke.0.1.1 (RFC 9180), highway.0.0.1 (HTTP router), fxmacrodata.0.1.0, mfetch.0.1.0, ucharset.0.1.0, uniq.0.1.0, ease-caml.0.1.7, locswijch.0.1.1, river.0.5, forcamla.0.4.0. (#30577, #30594, #30590, #30555, #30575, #30573, #30572, #30383, #30599, #30553, #30554, #30558)
Fixes
- mirage-crypto 2.4.1 (6 packages) merged with security hardening: CCM/GCM/ChaCha20 block-count limits, RSA encoding validation, poly1305 negative-length rejection, RNG fork-duplicate fix, X25519 constant-time zero check. (#30568)
Compatibility and Releases
- wire 1.2.0 merged with multiple breaking changes: fixed-width integer fields now decode to typed carriers (e.g.
uint8→Wire.UInt8.t),uint63/uint63beremoved,Wire.uintdecodes toOptint.Int63.t, OCaml ≥ 5.3 required,Codec.encoderaisesInvalid_argumenton out-of-range values. (#30580) - miou 0.9.0 merged. Breaking: internal
Selfeffect no longer yields;Miou.Ownershipfunctions enforce atomicity for finalizer attachment. Benchmarks on httpcats show no throughput regression. (#30582) - quickjs 0.5.0 merged with breaking API changes:
RegExp.execreturnsmatch_result option, captures arestring option array, indices are UTF-16 code units,Libregexp/Atod/Dtoa/Cutils/Bindingswrapped underQuickjs_c.*/Quickjs_bindings. (#30212) - mnet 0.0.5 (7 packages) merged. Breaking:
TCP.getrenamed toTCP.read,TCP.{really_,}readrenamed toTCP.{really_,}input. Also addsMnet_dhcp.Or_staticand IPv6 gateway specification. (#30584)
ocsigen/js_of_ocaml
PermalinkFeatures
Compatibility and Releases
- Merged: The dev CI doc build now runs
wodoc --strict-refs, failing on dead intra-manual links or unrendered wiki images. Release builds are unaffected. By balat. #2411
Fixes
- Merged: Wasm Node runtime now resolves
.wasmassets relative to the runtime file (module.filename) instead ofrequire.main.filename. Programs loaded viarequire, symlinks, or worker threads no longer crash. By vouillon. #2389 - Open: Wasm sourcemap support probe on Windows redirected stderr to
/dev/null, which does not exist there, silently disabling sourcemaps. Replaced withFilename.null. By vouillon. #2418 - Open: Typed array constructors (
Int32Array,Float64Array, etc.) now acceptnumber_t js_array tinstead offloat js_array t, correcting the OCaml type signature. By vouillon. #2416 - Open: OCaml-to-JS string conversion uses
TextDecoderwithignoreBOM:trueso a leading BOM is preserved rather than stripped. By vouillon. #2414
oxcaml/oxcaml
PermalinkFeatures
-
Mode solver levels and operations (merged): Adds level tracking,
generalize,copy, and alloc-mode-as-locality to the mode solver, providing the infrastructure for mode polymorphism. Stacked as #6966 over #5478–#5482. -
Box kinds (open): Introduces the
k boxkind constructor, wherek box < scannablealways holds and specific subkinds (e.g.bits64 box < value non_float) are enumerated. Box kinds are not yet linked to types. #6956 -
Addressable kinds (merged): Adds an idempotent
addressableoperator to the kind system, distinguishing kinds whose boxed form is a block (pointer-takeable) from those that are immediates. Enablesptr_ofonbits64 boxbut rejectsbits8 box. #6712 -
LTO solution files (merged + open):
-reaper-solvenow writes.ltosolfiles and unions dependency graphs from.cmrinputs;-reaper-rebuildreads them. Full solution serialisation and calling-convention threading are in progress. #6752, #6731, #6895, #6964 -
SSA empty-loop deletion (open): A
-ssa-delete-empty-loopspass uses Fourier-Motzkin entailment over affine facts to prove loop termination and side-effect-freedom, then rewrites the header exit to an unconditional jump. Off by default. #6948 -
Experimental
Eval.inject(open): Runtime value injection for metaprogramming quotes, with a%reify_approxprimitive that marshals middle-end approximations so the second compilation can drive inlining. Polymorphic values require monomorphisation annotations. #6560
Fixes
-
DWARF size and correctness (merged): A series of changes reduces
ocamlopt's DWARF from 361 MiB to ~46 MiB on macOS: assembler-local temporaries, free-depth cache keys, shared enum DIEs, compact forms, and correct file paths for inlined frames. #6915, #6916, #6945, #6882, #6877, #6517 -
CFG block-layout pass (merged): New
-cfg-block-layoutpass reorders blocks to maximise fallthrough and sink cold blocks, removing ~15% of intra-function unconditional jumps at +0.3% text size. #6918
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