All repository summaries
15 active · 12 unchanged
ocaml-multicore/domainslib
PermalinkFixes
- domainslib (ocaml-multicore): Issue #132 reports a ThreadSanitizer data race in
camlSaturn__Ws_deque.steal_as_578triggered by thefib_par.mlREADME example under OCaml 5.3.0+options withocaml-option-tsan. The race is reproducible with a minimal four-domain pool and is linked to the previously closed #39. The issue remains open; no fix or annotation has been merged.
ocaml-multicore/eio
PermalinkFeatures
- Eio (ocaml-multicore): Open issue #807, updated 2025-09-10, reports that fiber-local state is not inherited by domains spawned via
Domain_manager.run;Fiber.getreturnsNonein the child domain. Discussion proposes an opt-in flag onFiber.create_keyor context preservation atExecutor_pool.submit.
ocaml/RFCs
PermalinkFeatures
- OCaml RFC
for...in(PR #56): Open proposal by giltho for afor...inloop construct, described as syntactic sugar over existing iterator calls such asList.iter. Still in discussion; no merged or released change. #56
ocaml/dune
PermalinkFeatures
-
Dune
DUNE_ROOT: New environment variable sets the project root, equivalent to--root. Takes precedence over directory traversal;--rootstill overrides it. Merged in #12438. -
Dune RPC formatting:
dune fmtanddune rpc fmtcan now run while adune build -wwatch server is active, enabling editor-driven formatting without stopping the build. Merged in #12064, closing #11958. -
Dune OxCaml parameterized libraries: The
implementsfield now accepts a parameter, allowing a library to implement a parameterized library. Requires the OxCaml compiler; the(parameters ...)library stanza is still in progress in #12336. Merged in #12392. -
Dune Melange
melange.runtime_deps: Public libraries can now declare directory targets inmelange.runtime_deps, supporting bundled asset directories. Merged in #12297. -
Dune Docker images: A GitHub Action publishes a minimal Dune Docker image to the GitHub container registry on each release, providing a base for
dune pkgdeployments without opam. Merged in #12252.
Fixes
-
Dune
(pkg disabled): The option now actually disables package management features rather than only changingdune pkg enabledoutput. Previously undocumented and non-functional; now documented. Merged in #12444. -
Dune RPC exit code:
dune buildnow returns a non-zero exit code when the RPC connection is terminated unexpectedly, instead of returning 0. Merged in #12446, fixing #12445.
Compatibility and Releases
-
Dune 3.20.2: Release tracker closed 2025-09-11 with changelog merged in #12441. Backports include fixes from #12325 and #12324.
-
Dune package management on Windows: Multiple issues opened this week document failures: shell scripts cannot execute as binaries (#12432),
menhir.exeis not found in the build tree (#12433),ocamlfind.installomits.exeextensions (#12430), and compiler source fetching fails on directory targets (#12429). Tracked under #11161.
ocaml/merlin
PermalinkFeatures
- Merlin (PR #1951): Proposes a new
locate-type-multicommand returning a tree of all identifier locations within a type, enabling "Go to Type Definition" for compound types in VSCode. Still open.
Compatibility and Releases
- Merlin (issue #1964): Clarified that
ocamlmerlin single locatedoes not search build directories for generated files; the workaround is to promote generated files to the source tree. - Merlin (PR #1890): Ongoing typer-domain experiment for parallel typing; a comment notes the work may have moved to a separate
merlin-domainsbranch.
Fixes
- Merlin (PR #1962): Merged fix for type recovery at structure-item level; a missing
raise_errorcaused entire recursive definition blocks to be dropped on error. Closes #1953. - Merlin (PR #1963): Merged fix for an uncaught exception in Typecore affecting mutual recursive functions, improving error recovery.
- Merlin (PR #1956): Merged fix for
merlin_readeron OpenBSD, whereexecve(2)requiresargvto contain at least one element.
ocaml/ocaml
PermalinkFeatures
-
OCaml trunk (typing recovery): Open PR upstreams Merlin's typing recovery into the typechecker via a
-typing-recoveryflag, letting the compiler report multiple errors in a single pass rather than stopping at the first. #14241 -
OCaml trunk (as-patterns): Open PR lifts restrictions on existentials in as-patterns, enabling retyping of patterns such as
Value_boxed_int _ as y. Reviewers flag a potential regression when mixing existential and non-existential constructors. #14229 -
OCaml trunk (transparent ascription): Open PR implements step 1 of the transparent ascription RFC, splitting module aliases into static and dynamic variants with
[@@static_alias]and[@@dynamic_alias]attributes. #14064
Fixes
-
OCaml trunk (warnings): Merged PR silences unused-constructor warnings on variant constructors defined as
private, supporting the GADT-index patterntype a = private Arecommended in the manual. #14225 -
OCaml 5.4 (parsetree mapper): Merged PR adds a missing location in toplevel directive arguments to AST mappers and iterators, fixing tools such as ocamlformat that normalize locations. #14236
-
OCaml trunk (C headers): PR opened during this period removes an unused variadic argument from
CAML*allocmacros inmemory.h, resolving a C99 compliance error when user code includes the header under strict warnings. #14238 -
OCaml trunk (compaction): Merged PR applies integral type hygiene throughout the compaction code, fixing potential integer-overflow bugs identified in OxCaml. #14123
-
OCaml toplevel (
-init): Open PR fixesocaml -init FILE -e "expr"so the init file is read before evaluating the expression, matching interactive-mode behaviour. #14190
ocaml/ocaml-lsp
PermalinkFixes
- ocaml-lsp: PR #1553 opened to fix hover on object method calls returning "No information available" in LSP editors. The fix adds a missing case in the hover filtering logic. (Opened 2025-09-09; not yet merged within this interval.)
Workflow
- ocaml-lsp: Discussion #1554 asks whether cross-module code completion can work without
.cmifiles alongside.mlsources when usingocamloptdirectly. The reporter sees unbound-module errors in Zed and VSCode when intermediates are placed in a separate build directory.
ocaml/ocaml.org
PermalinkFeatures
-
ocaml.org security pages: Merged PR adds
/securityand/security-reportingpages documenting the OCaml Security Response Team, vulnerability reporting process, and advisory database. (#3300) -
ocaml.org Backstage OCaml: Open PR introduces a "Backstage OCaml" content category separating unstable and experimental posts from the main OCaml Changelog. (#3278)
-
ocaml.org web packages: Merged PR adds
vif,ocaml-h1, andhttpcatsto the web development documentation page. (#3311) -
ocaml.org nushell instructions: Open PR adds
opam envinstructions for nushell to the Windows installation page. (#3307)
Fixes
- ocaml.org Planet aggregation: Closed issue confirms the Planet scraper now correctly aggregates blog posts from blog.robur.coop after a four-month gap. (#3263)
Compatibility and Releases
ocaml/opam
PermalinkFeatures
opam (PR #6434, open): Adds spelling hints when a package name is not found, using edit distance to suggest the closest match. Affects opam install, opam remove, opam pin, opam source, and related commands.
opam list (issue #6677, open): Proposes replacing single-line truncation with multi-line indented output, matching the behaviour of opam pin. Would prevent users from missing package descriptions in narrow terminals.
Fixes
opam update (PR #6614, open): Loads only changed opam files during repository updates instead of rescanning the full tree. Reduces repository loading from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix.
opam update (PR #6625, WIP): Restructures HTTP repository handling to read the downloaded tar.gz in place rather than extracting it to disk. Fixes multiple performance and portability issues on Windows and network filesystems.
Compatibility and Releases
opam (PR #6670, queued): Adds build support for OCaml 5.5. Queued behind the test-matrix update in PR #6684.
opam CI (PR #6684, queued): Adds OCaml 5.4 and trunk to the GitHub Actions test matrix. Depends on a corresponding opam-repository change.
opam API (PR #6644, merged 2025-09-11): Replaces all polymorphic uses of List.mem with typed alternatives to avoid Repr.equal. Affects downstream API consumers of the opam-core library.
ocaml/opam-file-format
PermalinkCompatibility and Releases
- opam-file-format: PR #62 to generate the
.opamfile with Dune and update the menhir extension to 3.0 was closed without merging on 2025-09-12. No user-facing change results.
ocaml/opam-repository
PermalinkFeatures
- OCaml 5.4.0 beta2: packages for the second beta release merged into opam-repository, including a type-system variance fix, Windows
Thread.set_current_thread_name, and aWeak.setmemory-ordering fix. (#28483) - MinGW/Cygwin conf packages:
conf-freetype,conf-cairo,conf-sdl2-net,conf-sdl2-mixer,conf-sdl2-ttf,conf-sdl2-image, andconf-liblz4now install native MinGW libraries on Windows, enabling standalone executables. (#28515, #28514, #28513, #28512, #28510, #28507, #28505) - proton.1.0.15: new OCaml driver for Timeplus Proton (ClickHouse native protocol), supporting streaming queries, LZ4/ZSTD compression, TLS, and connection pooling. (#28518)
Fixes
Compatibility and Releases
- albatross 2.6.0: breaking release removes legacy wire-protocol commands and replaces
--drop-labelwith--no-drop-pathfor full-name reporting. (#28503) - opentelemetry 0.12: breaking change to
Collector.cleanup(now takes a callback); adds Eio collector andLogsintegration. (#28469) - uucd/uucp/uunf/uuseg 17.0.0: Unicode 17.0.0 support across the four Unicode library packages. (#28502)
- tezos packages: marked with no maintenance intent; Tezos publishes via its own channel, so these will be archived. (#28443)
ocsigen/js_of_ocaml
PermalinkFeatures
- js_of_ocaml (wasm): Merged reference unboxing (#1958), eliminating redundant reference boxing in generated Wasm. By vouillon.
- js_of_ocaml (wasm): Merged more precise types for Wasm primitives (#2100). By vouillon.
- js_of_ocaml (wasm): Open PR for OCaml effects via the Stack Switching proposal (#1832); requires
wasm_of_ocaml --enable wasiand a development Binaryen build. - js_of_ocaml: Open PR for more aggressive lambda lifting (#1886), measured at roughly 1.45× speedup on a Bonsai benchmark. By OlivierNicole.
Fixes
Compatibility and Releases
- js_of_ocaml: Open PR to test OCaml 5.4 support (#2103). By hhugo.
oxcaml/merlin
PermalinkFeatures
- Merlin (oxcaml), PR #168: Adds LSP syntax hovers documenting oxcaml-specific constructs—modes, modalities, linearity, inlining attributes, and regions. Still open; full mode/modality hover support awaits typedtree location data (internal ticket 4845). Updated 2025-09-11 with revised English descriptions after review.
oxcaml/opam-repository
PermalinkFixes
oxcaml opam-repository: Merged fix for js_of_ocaml installation failure caused by a bad patch. The updated patch allows js_of_ocaml-compiler.6.0.1+ox to build successfully. (#11, matthewelse)
oxcaml/oxcaml
PermalinkFeatures
OxCaml small integers: Merged literals for int8, int16, int8#, int16#, int#, untagged chars (#'a'), and small array indices (.S(i), .s(i)). Includes C runtime support, selector intrinsics, and DWARF debugging. (#4635, #4658, #4691, #4677, #4672, #4478)
OxCaml JSIR backend: The JavaScript intermediate representation branch merged to main, adding dynamic integer-width dispatch, effects translation, multi-arity returns, and unboxed tuple handling for extern calls. (#4638, #4681, #4656, #4663)
OxCaml Flambda 2 n-way join: Rewritten to follow the underlying Datalog seminaive algorithm more closely, using leapfrog join for sub-linear performance when joined levels share few variables. Merged 2025-09-11. (#4369)
OxCaml shrink-wrapping: Merged basic prologue duplication to clear hot paths of prologue/epilogue overhead. A dataflow-based alternative (#4710) benchmarks ~2× slower and is unlikely to merge. (#4579)
OxCaml runtime quotations: The #syntax metaprogramming on directive and -metaprogramming flag enable <[ ]> and $ splice tokens in the lexer. A full typing and stdlib implementation is in review. (#4608, #4395)
OxCaml TLS: Thread-local storage merged with the same interface as DLS, using per-thread storage via caml_thread_{get,set}_state. TLS permits safe mutable state without mode crossing. (#4671)
OxCaml ikind prototype: Open PR behind -extension ikinds introducing new subsumption and mode-crossing algorithms for polymorphic variants and GADTs. Not production-ready; under active review. (#4675)
OxCaml Flambda 2 research plan: A batch of issues opened 2025-09-11 outlines next-phase work: reaper value-slot analysis, phantom lets through DWARF, match-in-match heuristics, function specialisation, and a potential Cmm replacement. (#4697, #4698, #4701, #4700)
Fixes
OxCaml Flambda 2 compilation speed: free_names_transitive no longer recomputes free names for already-processed variables, reducing CFML parser compilation from >10 min to ~74 s. Merged 2025-09-10. (#4684, #4674)
OxCaml register allocator: Workaround inserts a block on back edges to prevent reload-before-spill ordering in the split subpass. Merged 2025-09-10. (#4685)