All repository summaries
14 active · 13 unchanged
janestreet/opam-repository
PermalinkOxCaml opam package: open PR updates the package source to the OxCaml opam-repository, replacing a deprecated branch reference. Not yet merged. #75
ocaml/RFCs
PermalinkFeatures
- OCaml RFC 52 (proposal): introduces a
[%call_pos]attribute that auto-fills a labelledLexing.positionparameter with the call-site location in signatures and implementations. Still open; last updated 2026-04-09. #52
ocaml/dune
PermalinkFeatures
Dune (dirs) stanzas: Multiple (dirs ..) stanzas in a single dune file are now supported under (lang dune 3.23), taking the union of specified directories. Fixes #6249. (#13734)
Dune per-module library deps: Open PR proposes filtering inter-library dependencies per module using ocamldep output, eliminating unnecessary recompilation when a library changes. Supersedes the earlier #14021 approach. (#14116)
Dune dune rules --deps: New --deps flag prints only the dependencies of a given rule, aiding incremental-build debugging. Merged 2026-04-07. (#14071)
Dune dune init start-file: New subcommand generates the recommended start file for driving dune build -w in watch mode. Merged 2026-04-08. (#14083)
Dune Rocq extracted_files: New field in the rocq.extraction stanza declares non-OCaml extraction outputs (e.g. .hs files), preventing them from being wiped on rebuild. Merged 2026-04-10. (#13997)
Fixes
Dune @ocaml-index: The @ocaml-index alias is now generated only for merlin-enabled contexts, fixing build errors in alternative contexts where libraries are hidden by enabled_if. Merged 2026-04-11. (#14137)
Dune root_module: Entry modules are now deduplicated before writing root.ml-gen, fixing "Multiple definition of the module name" errors when findlib sub-packages share a directory (e.g. logs.lwt). Merged 2026-04-11. (#14135)
Compatibility and Releases
Dune 3.22.2: Patch release reverting the --diff-command behaviour change from 3.22.0; non-existent files are again passed to the command rather than replaced with /dev/null. Released 2026-04-10. (#14098, #14112)
ocaml/merlin
PermalinkFeatures
- Merlin v5.7.0-504: adds
refactor-extract-regioncommand for extracting a region to a freshletbinding; marked experimental. Release notes - Merlin v5.7.0-504: adds
-end-positionparameter to theenclosingcommand. Release notes - Merlin v5.7.0-504:
locate-typesreturns an "Other" variant and omitsoptionwrapping for optional parameters. Release notes - Merlin v5.7.0-504: signature help appears even when
inis not yet written; improves type enclosing for class and object items. Release notes
Fixes
- Merlin v5.7.0-504: fixes record field autocompletion, a signature-help parameter loop, and labelled/optional parameter handling. Release notes
Compatibility and Releases
- Merlin v5.7.0-504: released 2026-04-09; defines
PATH_MAXas 4096 when undefined (e.g. Hurd). Release notes - Merlin (proposal): PR #2051 proposes pointing
ocaml-indexto existing on-disk index files, reducing index size and write operations. Still open. - Merlin (proposal): PR #2050 proposes replacing the indexer's unbounded hashtable with an LRU cache to bound memory usage. Still open.
ocaml/ocaml
PermalinkFeatures
-
OCaml trunk (primitive aliases): Merged new syntax
external foo = Bar.bazandexternal foo : quux = Bar.bazto alias existing primitives, copying C names and representations. The typed form unifies the declared type with the source. #13377 -
OCaml stdlib (Format): Merged
Format.pp_print_iarrayfor pretty-printing immutable arrays, addressing a gap noted in #14320. #14724 -
OCaml stdlib (Atomic): Proposed
Atomic.fold_update : ('a -> 'a * 'a) -> 'a Atomic.t -> 'ato perform an atomic update and return the new value. Naming is under active discussion. #14725
Compatibility and Releases
- OCaml trunk (ocamltest): Merged a
coldaction that skips tests unlessOCAMLTEST_COLD_TESTSis set, allowing slow or rarely-needed tests to be excluded from default CI runs. #14713
Fixes
-
OCaml trunk (typechecker): Merged the "keep expansion" change, which tracks type-abbreviation expansions as first-class nodes. Fixes non-termination, incorrect principality, and missed ambivalence across five long-standing bugs. #11648
-
OCaml 5.5 (ephemeron GC): Merged a fix for ephemeron orphaning that left unmarked ephemerons on the live list, causing assertion failures in debug builds. Trunk fixes for related orphaning and counter bugs are in review. #14718, #14734
-
OCaml trunk (error messages): Merged a hint suggesting type annotations when a GADT equation variable escapes its scope, improving the previously unactionable "ambiguous" error. #14695
-
OCaml trunk (typing): Proposed a fix for a spurious syntactic-arity error when a function type contains a module-dependent arrow. The error incorrectly reported an arity mismatch. #14721
ocaml/ocaml-lsp
PermalinkFeatures
- OCaml LSP 1.26.0: adds
ocamllsp/refactorExtract,destruct, andlocate_typescustom requests for editor integration. (release) - OCaml LSP 1.26.0: adds support for the
textDocument/rangeFormattingLSP request. (release) - OCaml LSP 1.26.0: allows configuring merlin via
$OCAMLLSP_PROJECT_BUILD_SYSTEMand$OCAMLLSP_PROJECT_ROOTenvironment variables for non-dune build systems. (release)
ocaml/ocaml.org
PermalinkFeatures
-
ocaml.org docs (current-bench tutorial): New platform tutorial proposed covering continuous benchmarking with
current-bench, including JSON output, thecobenchlibrary, hosted setup atbench.ci.dev, and self-hosting via Docker Compose. PR is open. #3598 -
ocaml.org docs (OCaml-CI tutorial): Self-hosting section proposed, covering Docker image builds, GitHub App permissions, Docker Swarm secrets, and stack deployment. PR is open. #3599
-
ocaml.org docs (Emacs/combobulate): Note proposed for setting up
combobulatefor OCaml in Emacs, pending the upstream combobulate PR. PR is open. #3603
Compatibility and Releases
-
ocaml.org (ocaml-lsp 1.26.0, merlin 5.7.0-504): Changelogs for both releases submitted for the site. PR opened 2026-04-10; merge occurred after the reporting interval. #3605
-
ocaml.org (dune 3.22.1): Release announcement submitted. PR opened 2026-04-07; merge occurred after the reporting interval. #3596
Fixes
ocaml/odoc
PermalinkFeatures
-
odoc
@inlinemodule tag: PR #1408 opened as a prototype for issue #564, adding an@inlinetag to module declarations so their contents render on the parent page instead of a separate sub-page. -
odoc markdown frontmatter: Issue #1409 proposes supporting line tags (e.g.
@short_title,@children_order) as YAML frontmatter fields in the markdown backend. Opened by davesnx.
Compatibility and Releases
-
odoc OCaml 5.5 support: PR #1406 (draft) adds support for external types (displayed as abstract) and module arrows. In active development during this interval; not yet merged.
-
odoc OxCaml support: PR #1399 rebases OxCaml patches for upstream integration, using
ocaml-config:oxfor compiler detection. In active review during this interval; not yet merged.
ocaml/opam
PermalinkFeatures
opam Nushell support: Open PR adds opam env output for Nushell via JSON and shell config support. Minimum Nushell version under discussion (0.102+). #6873
opam update/init performance: Open WIP PR restructures HTTP repository handling to read tar.gz in-place, eliminating the untar step. Targets a 1+ minute reduction on first opam update. #6625
Compatibility and Releases
opam build requirements: Open PR removes build support for OCaml 4.08, 4.09, and 4.10. Newer opam clients still run on older compilers even if removed from the package repository. #6879
opam dependency bounds: Open PR adds missing lower-bounds to build dependencies. #6878
Fixes
opam PGP key: The release signing key expired on 2025-12-16. The updated key at opam.ocaml.org/opam-dev-pubkey.pgp is now live. #6877
opam GC corruption: Open PR registers GC roots for intermediate strings in the uname module to prevent memory corruption. Backported to 2.5. #6880
opam pinned packages: Ongoing issue where opam pin and related commands fail with chdir errors when a pinned package's source directory is absent. #6600
ocaml/opam-repository
PermalinkFeatures
- atd 4.1.0: Merged; requires OCaml ≥ 4.14 (previously 4.08) and adds
atd-yamlxandatd-jsonlikepackages. Sum types now encode as single-key JSON objects instead of arrays. (#29709) - ocaml-ai-sdk 0.1: Merged. New provider-agnostic AI model abstraction with Anthropic and OpenAI backends, streaming, tool calling, and Melange React bindings. (#29679)
- yamlx 0.1.0: Merged. New pure-OCaml YAML 1.2 parser with lossless comment-preserving AST, YAML 1.1 schema support, and a CLI tool with seven output formats. (#29684)
- linol 0.11: Merged. Breaking: Eio output channels now require a paired
Eio.Mutex.tto prevent race conditions. Also allows request handlers to returnResponse.Errors. (#29666)
Fixes
- conf-libffi: Merged. Adds
mingw-w64-shimsas a direct build dependency, preventing incorrect i686 dependency pulls during MSVC builds on Windows. (#29691) - dune 3.22.2: Opened. Reverts the 3.22.1 change to
--diff-commandso non-existent files are passed to the command instead of being replaced with/dev/null. (#29704)
Compatibility
- stdcompat / js_of_ocaml-compiler: Merged. Both packages now declare incompatibility with OCaml 4.14.3 due to a removed
ce_recfield in compiler internals. (#29667, #29692) - patricia-tree 0.13.0: Merged. Breaking:
polyfold2renamed topolyfold2_inter;polyfold2_unionrenamed topolyfold2with a new parameter for heterogeneous maps. (#29687)
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml (Wasm): merges Dynlink and toplevel support for the Wasm target (#2187). Merged 2026-04-08 by vouillon.
-
js_of_ocaml (Wasm codegen): proposes moving toplevel constant expressions into global variables to halve the toplevel function size on the PRT benchmark (#2211). Open, not yet merged.
-
js_of_ocaml (Wasm codegen): proposes extracting loops from the large toplevel function into small helpers so Wasm engines tier up only the helpers, reducing wasted compilation of a once-called function (#2212). Open, not yet merged.
oxcaml/merlin
PermalinkCompatibility and Releases
- Merlin (OCaml 5.4 upgrade): Merged 2026-04-06. Upgrades to OCaml 5.4; requires
ocamlformat0.29.0 because 0.28.x over-reformats. (#227)
Fixes
- Merlin (magic number mapping): Merged 2026-04-08. Updates the
Caml1999I576mapping from 5.2.0minus-35 to 5.2.0minus-36 to match the new compiler tag. (#231) - Merlin (ocamlopt flag tests): Merged 2026-04-10. Adds test coverage for
ocamloptflags, complementing theocamlcflag tests introduced in PR #202. (#232)
oxcaml/opam-repository
PermalinkOxCaml opam-repository: PR #36 (open, updated 2026-04-08) proposes bumping the bootstrap compiler to 5.4.1 in ocaml-variants.opam. Reviewers note this breaks the 5.2.0minus-25 tag workflow, which requires the 4.14.2 bootstrap; a separate version entry for main is under discussion.
oxcaml/oxcaml
PermalinkFeatures
-
OxCaml (unboxed reprs): Open PR proposes constructor-level
[@repr null],[@repr immediate],[@repr pointer], and[@repr value]annotations for allocation-free variant encodings. Enables unboxed small ints in bignums and compact tree nodes. (#5678) -
OxCaml (mode polymorphism): Open PR integrates level-relation operations (update-level, generalize, instantiate) into type inference behind
-extension mode_polymorphism_alpha. Mode variables are functional but not yet printed. (#5483) -
OxCaml (concurrency): Open PR adds a
unique_implies_uncontendedjkind/ikind axis so@ uniquevalues can be used as@ uncontendedwhen no@@ aliasedmodality intervenes. Draft for design discussion. (#5716) -
OxCaml (mixed blocks): Open PR changes all-value/void mixed records and variants to compile as uniform blocks, enabling poly compare and marshalling. Removes the 254-value mixed block limit for these types. (#5774)
-
OxCaml (or_null): Merged PR adds user-defined
[@@or_null]declarations with custom constructor names, reusing theVariant_with_nullrepresentation. Accepts two-constructor types with one nullary and one unary constructor. (#5668) -
OxCaml (backend): Open draft PR introduces an SSA variant of the CFG representation for the Flambda2 backend. No description provided; labelled
backend. (#5810)
Fixes
- OxCaml (Flambda2 n-way join): Merged PR fixes missing CSE with the n-way join by introducing extra params for variables created at join points. Resolves duplicate
%is_intprimitives when the n-way join is enabled. (#5751)
Compatibility and Releases
- OxCaml (layout poly): Merged PR adds
Texp_apply_layoutto the typedtree, exposing layout instantiation to users and recording it for later passes. Part of the ongoing layout polymorphism feature. (#5634)