Thicket thicket
ocaml
REPOS 27
W50.2025 · 8–14 Dec

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/picos

Permalink

Features

  • picos: Open PR proposes adding peek_exn to the mpmcq concurrent queue API. (#378)

ocaml/RFCs

Permalink

Features

  • OCaml RFC 54 (transparent ascription): merged 2025-12-12 by clementblaudeau. Proposes adding transparent ascription to the signature language and redesigning the aliasing mechanism. #54

  • OCaml RFC 53 (relocatable OCaml): merged 2025-12-12 by dra27. Proposes making compiler installations relocatable and copyable without rebuilding, removing the fixed Standard Library path constraint. #53

ocaml/dune

Permalink

Features

  • Dune (files) stanza: New per-directory stanza (dune lang 3.21) to exclude files from source tree scanning, analogous to (dirs). Merged 2025-12-08. #12879

  • Dune OxCaml inline tests: Parameterised libraries now support (inline_tests) with an (arguments ...) field to select parameter implementations. Merged 2025-12-11. #12707

  • Dune enabled_if (proposal): Opened 2025-12-09. Adds conditional package inclusion in dune-project using pform syntax, independent of opam. #12905

  • Dune nested dune (open): Two PRs (#12902, #12935) fix executable resolution and PATH setup for nested dune invocations in package management. Targeting elimination of subprocess launches for build-time gains.

Fixes

  • Dune FreeBSD/Alpine builds: Fixed lmdb stubs compilation on FreeBSD and inlined KERNEL_VERSION for Alpine Linux. Both were 3.21 alpha regressions. Merged 2025-12-09 and 2025-12-14. #12901, #12926

  • Dune fs-io/top-closure opam install: Added missing copy rules for opam templates and removed the @runtest step that triggered unrelated test builds. Merged 2025-12-14. #12954

Compatibility and Releases

  • Dune 3.21.0~alpha3: Released 2025-12-11. Adds (files) stanza, OxCaml parameterised library instantiation, dune promotion show, (lang rocq) mode, unused-libs alias, and DUNE_ROOT env var. Breaking: warning 9 no longer forced in dev mode (dune lang 3.21). Release

  • Dune DUNE_JOBS: New environment variable for controlling build concurrency. INSIDE_DUNE no longer forces single-threaded builds, enabling parallel nested dune invocations (e.g., OxCaml compiler builds). Merged 2025-12-12. #12800

ocaml/merlin

Permalink

Features

  • Merlin signature-help: now triggers on unfinished let ... in bindings, so parameter hints appear while the binding is still being typed. Merged 2025-12-08. #2009

Compatibility

  • Merlin CI: build fails under OCaml 5.4.0 because vendored ppxlib/astlib rules reject the version string. Issue remains open; a fix via irmin 3.10.0 is pending verification. #2006
  • Merlin 4.7-413: opam install fails on Ubuntu 25.04 with OCaml 4.13.1 due to a -Wformat-truncation error in ocamlmerlin.c. Maintainers indicate no 4.13 release is planned; 4.14 is the supported LTS. #1993

Fixes

  • Merlin signature-help: no longer returns a response when the cursor is on the function name itself; hints appear only on parameters. Merged 2025-12-08. #1997
  • Merlin C frontend: corrects sockaddr_un size computation via offsetof, fixes Windows errno/GetLastError handling, and aligns CMSG structures for Unix-domain sockets. Merged 2025-12-11 by @MisterDA. #1998

ocaml/ocaml

Permalink

Features

Relocatable OCaml: merged --with-relative-libdir configure option and --enable-suffixing for name-mangled shared libraries and interpreters. New ocamlc flags -launch-method and -runtime-search control bytecode executable startup. (#14244, #14245)

Modular explicits: proposal for dependent functions over module parameters, e.g. fun (M : S) -> ..., enabling abstraction over higher-kinded types without functors. Open, in review. (#13275)

Typing recovery: -typing-recovery flag continues past the first type error, reporting all errors in a file. Open, in review. (#14241)

Atomic arrays: proposed Atomic.Array module with compare_and_set, exchange, and fetch_and_add for lock-free concurrent code. Open. (#14380)

Fixes

Unix socket: sun_path address length now includes the trailing NUL byte, correcting the value on non-Linux platforms and improving Haiku compatibility. Merged. (#14406)

Domain backtrace: child domains now inherit the parent's Printexc.record_backtrace state instead of defaulting to off. Merged. (#14416)

Compatibility and Releases

let rec (module ...) removed: the type checker no longer accepts let rec (module M) = ...; the construct was undocumented and unused in practice. Merged. (#14388)

OCAML_BINANNOT_WITHENV removed: cmt files now always strip the type-checking environment; the undocumented environment variable is gone. Merged. (#14373)

ocaml/ocaml-lsp

Permalink

No user-facing features, fixes, compatibility changes, or releases are supported by the supplied records for this interval. The only activity is an open, unmerged automated flake.lock dependency update (#1437), labelled no changelog, with no observable effect on the LSP binary or editor integration.

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org versions page: documentation links on https://ocaml.org/p/ocaml/latest/versions are broken. Reported by Alizter; issue is open as of the reporting interval. #3416

Features

  • ocaml.org job listings: LexiFi job-offer entry refreshed for a new OCaml developer recruitment campaign. Merged by nojb on 2025-12-10. #3413

ocaml/odoc

Permalink

Fixes

  • odoc PR #1395: page links fail URL remapping because the prefix check matches only the directory path, not the filename. The open PR by jonludlam includes the filename in prefix matching and normalises remap entries at config creation. Link

ocaml/opam

Permalink

Fixes

  • opam (PR #6829): Merged. opam now reads full lines for confirmation prompts when TERM=dumb, fixing broken input in Emacs M-x shell and similar terminals.
  • opam pin (issue #6833): Open bug. opam pin add does not update a local git repository already pinned to the same path; opam reinstall is needed to pick up pulled changes.

Compatibility and Releases

  • opam API (PR #6827): Merged. Splits URL and Descr submodules into legacy file-format and current datatype variants. API consumers must update imports.
  • opam solver (PR #6826): Open. Proposes avoiding unnecessary downgrades of root packages in the builtin-0install solver when no other package depends on them.

Features

  • opam solver (PR #6831): Open proposal. Mitigates DNF explosion when depends fields contain many disjoint disjunctions, which currently causes opam switch create to fail on large formulae.
  • Opamfile format (issue #6834): Open proposal. Contains the 1.2→2.0 format-upgrade code so descr and url files are no longer read for 2.0 Opamfiles.

ocaml/opam-repository

Permalink

Features

  • Lwt 6.0.0-beta01: merged into opam-repository, adding lwt_direct, lwt_ppx, and lwt_runtime_events packages. Constraint updates for reverse dependencies merged separately in #29039.

  • Tyre 1.0: merged with major API changes: alt retyped, new either/alt_eval combinators, charset types, and dropped Result dependency. Reverse-dependency upper bounds added in #29037.

  • New packages: secp256k1.0.5.0 (ECDSA wrapper), serialport.0.1 (POSIX/Windows serial I/O), cairn.2.1 (Menhir derivation explorer), kot.20251212 (persistent deques), camlid.0.1 (C stub generator), purl.1.0.0 (Package URLs), mazeppa.0.7.2 (supercompiler), rizzo.0.2.0 (FRP library) all merged or submitted this week.

Fixes

  • OCaml compiler extra-source URLs: merged (#29080) to point compiler package extra-source files at ocaml/ocaml instead of the retired opam-source-archives repository. No checksum changes; no switch rebuilds triggered.

  • Windows CI: a buggy guard in #29078 caused the build step to always skip; corrected in #29086. Job names now use target-host-build ordering to clarify the MinGW-w64 target (#29036).

Compatibility and Releases

  • Melange 6.0.1-51: merged requiring ocaml > 5.1.1 due to a breaking Compression module change in OCaml 5.1.1. Users on 5.1.0 must downgrade Melange.

  • opam-repository archival: a draft PR (#29058) schedules package removal for 2026-01-01. dune was excluded after community feedback in #28065.

  • x-maintenance-intent default: maintainers proposed changing the default from "(any)" to "(latest)" effective March 2026 (#29060, #29074). An amendment to the archiving rules is under discussion in #29073.

  • Dune 3.21.0~alpha3: PR #29070 closed without merge after CI timeouts on fs-io and top-closure. A follow-up alpha is expected.

  • OCaml 5.5 relocatable packages: two open PRs (#29085, #29089) add --with-additional-stublibsdir and relative-path support for relocatable bytecode installs.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml WASI runtime (PR #1831): Open proposal adding --enable wasi to wasm_of_ocaml, producing Wasm binaries runnable by Wizard or wasmtime. Output follows the existing foo.js / foo.assets convention.
  • js_of_ocaml Wasm eval (PR #2108): Open proposal to expose the JavaScript eval function from the Wasm runtime. No merged change yet.

Fixes

  • js_of_ocaml 5.5.0 stack overflow (#2122): Menhir-generated parsers trigger a stack overflow in Chrome on macOS; Safari and Node.js are unaffected. A compilation-scheme change is suspected. Issue remains open.

Compatibility and Releases

  • js_of_ocaml opam (PR #2134): Merged 2025-12-11. The wasm_of_ocaml opam package now depends on conf-binaryen instead of building binaryen-bin from source, allowing use of distribution-provided tools.
  • js_of_ocaml number type (#2136): The new number_t type from #1650 breaks existing code that relied on implicit float/int conversion. No compatibility flag exists; users must insert explicit conversions.
  • js_of_ocaml LICENSE (#2137): Open report of a typo in the LGPL exception text (Clause 3 should read Clause 2) and a version mismatch on line 12. No fix merged yet.

oxcaml/opam-repository

Permalink

Features

  • OxCaml opam-repository (PR #27, open): proposes replacing the monolithic conflicts clause in ocaml-variants.5.2.0+ox with generated guard packages (oxcaml-patch-guards) that enforce patched-version dependencies via per-package disjunctions. This allows multiple patched versions of the same upstream package to coexist in one switch. #27

  • OxCaml opam-repository (PR #23, open, updated in interval): adds updated patched versions of ocamlbuild, async_ssl, alcotest, sedlex, topkg, and uutf to resolve constraint errors when compiling upstream packages against OxCaml. Opened 2025-11-27; PR #27 supersedes its approach. #23

Fixes

  • OxCaml opam-repository (PR #26, open): reapplies a patch removing the [%%if ocaml_version < (4, 14, 0)] extension from the js_of_ocaml-toplevel build, which OxCaml does not interpret and which causes an "Uninterpreted extension 'if'" error. #26

oxcaml/oxcaml

Permalink

Features

OxCaml register allocation: Merged affinity support for all three register allocators, enabled with -regalloc-param AFFINITY:on. The allocator prefers physical registers with the most move traffic to a given temporary. #5059

OxCaml untagged int arrays: Merged support for int8#, int16#, and int# arrays and iarrays, including creation and indexed access. char# arrays are available as a byproduct of the int8# layout. #4643

OxCaml name mangling: Open PR proposes a reversible mangling scheme that reconstructs full module paths, including submodules, from a mangled name. Demangling implementations target LLVM, the Linux kernel, binutils, and GDB. #5099

OxCaml abstract kinds: Open PR (part 2 of 3) adds basic abstract kind declarations and kind aliases to the type system. Module-level with kind_ = ... constraints are deferred to part 3. #5071

OxCaml layout-polymorphic types: Open PR introduces the repr_ source syntax and Ptyp_repr / Ttyp_repr AST nodes for layout-polymorphic type definitions. Such types are currently uninhabited. #5068

Fixes

OxCaml to_cmm: Merged fix prevents illegal re-orderings that changed observable program semantics. The corrected behaviour is behind a CLI flag and OCAMLPARAM environment variable, off by default. #4941

OxCaml inlining cost metrics: Merged fixes correct code-size computation for lookup-table switches, Boolean_not switches, and canonicalized primitives. A new profiling counter tracks speculative inlining that fails to reduce code size. #5120, #5121, #5118, #5116

Compatibility and Releases

OxCaml nullability axis: Merged change converts nullability from a non-modal axis to a scannable axis, adding new syntax alongside the existing non_null form. This unblocks further work on scannable layouts and ikinds. #5086

14 repositories · no changes