Thicket thicket
ocaml
REPOS 27
W43.2025 · 20–26 Oct

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • eio PR #575: Draft PR updated 2025-10-20 proposing a new Eio_unix.Sockopt module for setting and getting socket options on Eio_unix.Fd.t values, including Linux-specific options. The PR remains open and unmerged; the interface uses a single GADT. Link

ocaml/RFCs

Permalink

Features

  • OCaml RFC 57 (tuple projections): Open proposal for labeled and 0-indexed unlabeled tuple projections (e.g. x.tuple, x.3). Updated 2025-10-25; still in discussion. #57

ocaml/dune

Permalink

Features

  • Dune (dir ..) field: New (dir ..) field in dune-project designates a single directory per package. Stanzas inside that directory are restricted to the package; stanzas outside cannot attach to it. Merged in #12614, fixes #3255.
  • OxCaml parameterized libraries: Open #12561 adds instantiation of parameterized libraries via (my_lib arg1 arg2 :as new_name) in library and executable dependencies. Requires OxCaml compiler support; not yet merged.
  • Dune pkg lock output: Open #12620 changes dune pkg lock output for portable lockdirs to group packages by platform, separating common dependencies from platform-specific ones. Addresses confusion in #11868.

Compatibility and Releases

  • Dune 3.21.0: Release tracker #12619 opened 2025-10-23; cutting planned for October 27. #12608 bumps the dune language version in preparation.

Fixes

  • Dune self-pinning: Merged #12583 makes dune pkg lock pin the running dune version, preventing selection of packages requiring a newer dune language version. Fixes #12381.
  • dune init absolute paths: Merged #12601 fixes a crash when dune init project is given an absolute directory path. Fixes #7806.
  • include_subdirs qualified resolution: Merged #12607 corrects module resolution so the nearest same-named module wins under include_subdirs qualified, matching bootstrap behaviour.
  • Merlin multi-executable config: Open #12621 fixes dune ocaml-merlin returning the wrong .eobjs directory when multiple executables share a folder. Fixes #12611.

ocaml/merlin

Permalink

Merlin (issue #1980): ocamlmerlin single locate -look-for implementation returns the declaration position instead of the implementation for values inside recursive modules. Open, reported by trefis.

Merlin (issue #1977): ocamlmerlin single complete-prefix returns no entries for inlined record fields in sum-type constructors (e.g. Constr of { some_lbl: int }). Works when the record type is named separately. Open, reported by trefis.

ocaml/ocaml

Permalink

Features

OCaml trunk (modular explicits): proposes fun (M : S) -> ... for dependent module-parameterized functions whose return type references M. Open PR; not merged. https://github.com/ocaml/ocaml/pull/13275

OCaml trunk (Relocatable OCaml): adds -launch-method, -runtime-search, and --enable-suffixing so bytecode executables locate the interpreter without an absolute path. Open PR series. https://github.com/ocaml/ocaml/pull/14245

OCaml trunk (l*printf): proposes Format.lprintf and Printf.lprintf taking a heterogeneous argument list, producing compile-time errors for extra arguments. Open PR. https://github.com/ocaml/ocaml/pull/13372

OCaml trunk (-i-variance): extends the -i-variance flag to classes and extension constructors; updates manpages. Open PR. https://github.com/ocaml/ocaml/pull/14315

Fixes

OCaml trunk (memprof): allocates memprof configuration floats on the major heap to eliminate a data race with the minor GC. Merged. https://github.com/ocaml/ocaml/pull/14304

OCaml trunk (#show_constructor): fixes the toplevel directive printing wrong type parameters for non-GADT extension constructors. Merged. https://github.com/ocaml/ocaml/pull/14239

Compatibility

OCaml trunk (pipe operator): proposes typing x |> f y as (f y x) instead of ((f y) x), breaking code that relies on the current left-associative reading. Open PR. https://github.com/ocaml/ocaml/pull/14286

OCaml trunk (Unix C API): deprecates union sock_addr_union for struct sockaddr_storage and socklen_param_type for socklen_t, using C11 _Generic for source compatibility. Open PR. https://github.com/ocaml/ocaml/pull/14310

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1567, merged 2025-10-23): adds a for_nested_bindings option (default false) to CodeLens settings, letting users opt in to lenses on internal let-bindings. Resolves #1561.

  • ocaml-lsp (PR #1564, open): proposes autocompletion for labelled arguments on variants and records. Excludes primitives like int and bool. Awaiting review.

Fixes

  • ocaml-lsp (PR #1565, merged 2025-10-23): replaces Unix.time with Unix.gettimeofday in view-metrics, so the dur field reports sub-second request durations instead of always showing 0.

  • ocaml-lsp (issue #1560, open): textDocument/documentSymbol fails in v1.23.0 with "selectionRange must be contained in fullRange" on some modules. Regression from v1.22.0; suspected link to PR #1529. No fix merged yet.

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org playground: The / keypress no longer shifts focus from the code editor to the search bar. Fixed by dinakajoy in #3032; issue #3031 closed 2025-10-25.

Compatibility and Releases

  • opam 2.5.0~alpha1: The release announcement has been added to the ocaml.org data. Merged by kit-ty-kate in #3376.

  • ocaml.org PPX tutorial: A proposed edit removes redundant compile-time explanations and corrects a Windows USER variable claim. #3382 is open.

Features

  • ocaml.org compilation targets: New pages describing all OCaml compilation targets (native, bytecode, JS, WASM, unikernels) are proposed. #3378 is open with review feedback on integer widths, missing backends, and unikernel targets.

  • ocaml.org Backstage OCaml: A new article explaining how the opam-repository works is in review. #3379 covers package metadata, CI via OCurrent, linting rules, governance policies, and maintainer onboarding.

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind Windows builds: Open PR by dra27 fixing build failures with OCaml 5.0+ on Cygwin and MSYS2. Addresses findlib.conf misgeneration and an incorrect META.pkg check in ocamlfind install. #112

Compatibility and Releases

  • ocamlfind OCAMLPATH ordering: Open proposal by kit-ty-kate to place site-lib before the OCaml stdlib in the default OCAMLPATH. A comment from dra27 notes the opam site-lib should not override compiler META files. #106

ocaml/odoc

Permalink

Fixes

  • odoc: Open issue reports that long lines in code blocks force horizontal scrolling of the entire page; suggests enabling text wrapping or a sub-scrollbar. #1389

ocaml/opam

Permalink

Features

  • opam 2.5.0~alpha1: opam update now loads only changed opam files incrementally, reducing repository update time. This is the headline performance change in the release. (release)
  • opam 2.5.0~alpha1: shell hooks write to .bashrc instead of .profile for bash; csh no longer double-sets variables. The installer now applies an AppArmor profile where configured. (release)
  • opam repo show (PR #6720): proposes opam repo show <reponame> to display a repository's URL and rank. Supports --all for all switches. (PR)

Fixes

  • opam 2.5.0~alpha1: fixes opam remove --force executing in the wrong directory and opam install --depext-only returning exit code 0 instead of 20. (release)
  • opam 2.5.0~alpha1: a minor regression from incremental loading preserves syntactic version differences (e.g. 00 vs 0) across opam update. (issue #6754)

Compatibility and Releases

  • opam 2.5.0~alpha1: first alpha of the 2.5 series; breaking API changes include removed OpamSwitchState.files and changed OpamRepository.update return type. See the changelog. (release)
  • opam cmdliner vendoring (PRs #6755, #6756, #6757): proposes vendoring cmdliner 1.3.0 as OpamCmdliner to decouple from cmdliner 2.0.0. Backports target the 2.4 and 2.5 branches. (#6755, #6756, #6757)
  • opam 2.5.0~alpha1: ./configure --enable-static produces a fully static binary on OpenBSD (LLVM-based architectures). The release archive is now reproducible. (release)

ocaml/opam-repository

Permalink

Features

ocamlformat 0.28.1: Adds OCaml 5.4 support, a module-indent option, and makes exp-grouping=preserve the default in the default and ocamlformat profiles. With cmdliner >= 2.0.0, command-line option prefixes (e.g. --max-iter) are no longer accepted. #28774

Catala 1.0.0~beta: New compiler for tax-code specification, released alongside catala-lsp and catala-format. #28723

New packages: otp 0.2, handlebars-ml 0.2.0, huml 0.1.1, cure2, oglsl 0.1.0, and ninja_utils 1.0.0 merged. otp handlebars-ml huml cure2 oglsl ninja_utils

Fixes

goblint-cil 2.0.8: Fixes 32-bit Machdep generation on 64-bit hosts. #28478

Compatibility and Releases

opam 2.5.0~alpha1: Eight packages merged; removes OpamStd.String.starts_with, contains_char, and Option.iter from the public API. Upper bounds added to opam-publish and orb to prevent breakage. #28748 #28766

Fmlib 0.6.0: Breaking syntactic interface changes across six packages; module and function names changed while the semantic interface is preserved. #28732

libbinaryen 117.0.0-b: Drops OCaml 4.12 support; the -b suffix tracks upstream Binaryen 117 rather than a patch increment. Open. #28763

conf-mbedtls 4.0.0: Closed without merge; the discussion left the versioning semantics of conf- packages unresolved. #28742

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: Open PR proposing Oxcaml as a backend. Updated 2025-10-24; no merged changes yet. #2105

  • js_of_ocaml – Runtime value access: Open PR to let users directly access values exported in the JS runtime, addressing LexiFi/gen_js_api#177. Currently works only with whole-program compilation. #2086

  • js_of_ocaml – Wasm eval access: Open PR exposing the JavaScript eval function to the Wasm runtime. Updated 2025-10-21; not yet merged. #2108

Compatibility and Releases

  • js_of_ocaml – OCaml 5.4 CI: Merged 2025-10-20. CI now runs the test suite against OCaml 5.4. #2103

  • js_of_ocaml – Extended 5.4 test coverage: Merged 2025-10-21. Expands the set of tests executed under OCaml 5.4 in CI. #2115

Developer Experience

  • js_of_ocaml – ppx_optcomp_light: Open PR refining the ppx_optcomp_light compiler plugin. Review comments discuss matching on signatures rather than individual items. #2117

  • js_of_ocaml – Exit-code propagation: Open PR propagating the return code of main so exit picks it up, replacing scattered exit calls in error branches. #2118

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml/merlin): adds missing LLVM flags to the ignored-flags list, preventing them from being passed through to the compiler. Merged 2025-10-23 by liam923. #192

oxcaml/oxcaml

Permalink

Features

OxCaml slambda IR: New experimental IR with a single SLquote constructor wrapping lambda, plus a static evaluator. The -dslambda flag prints slambda before evaluation. (#4776)

OxCaml ikind prototype: New subsumption and mode-crossing algorithms behind -extension ikinds, targeting performance issues with polymorphic variants and GADTs. Not production-ready. (#4675)

OxCaml mixed modules: Lifts the value-only restriction on module fields via automatic field reordering. New module_representation types thread through typing, lambda, and flambda2. (#4020)

OxCaml untagged int arrays: Adds int8#, int16#, and int# array and iarray types with dedicated tags. char# arrays follow from the same layout. (#4643)

OxCaml CFG optimisations: A new Cfg_reducibility module gates loop-info rewrites; value propagation extends to float constants and tracks copies through Move. (#4920, #4921, #4807, #4879)

OxCaml preemption: Open PR adds preemption support; a companion refactor makes %resume take the continuation directly, removing Must_not_enter_gc and enabling gc_regs in continuations. (#4881, #4901)

OxCaml name mangling: New reversible scheme encodes full module paths (including submodules) in mangled names. De-mangling implementations target LLVM, the Linux kernel, and binutils. (#4850)

OxCaml mode system: Merged the staticity mode axis (static < dynamic) and allocation mode hints, completing previously truncated hint chains in error messages. (#4799, #4917)

13 repositories · no changes