Thicket thicket
ocaml
REPOS 27
W39.2025 · 22–28 Sep

All repository summaries

16 active · 11 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Compatibility and Releases

  • janestreet/opam-repository #74: opam install bonsai.v0.18~preview.130.50+1016 fails with a cyclic dependency between ppxlib and ppxlib_jane. The janestreet fork's ppxlib_jane opam file declares a ppxlib dependency absent from the mainstream oxcaml repository. Issue (open, reported by irategopher).

ocaml-multicore/eio

Permalink

Features

  • Eio (ocaml-multicore): Open draft PR #575 proposes an Eio_unix.Sockopt module for setting and getting socket options on Eio_unix.Fd.t values, including Linux-specific options. Updated 2025-09-28; the GADT-based interface received maintainer approval.

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring v2.7.0: Released 2025-09-27. Adds socket bind/listen and mkdirat operations, Uring.Setup_flags module, and vendors liburing 2.7. Release

Compatibility and Releases

  • ocaml-uring v2.7.0: Release numbering now tracks the vendored liburing version. #126
  • ocaml-uring: Closes issue #111 (RPM Provides conflict from dlluring.so); resolution is for distributions to exclude stublibs from ELF dependency scanning. #111

Fixes

  • ocaml-uring v2.7.0: Fixes a use-after-free data race in CQE handlers where cqe->res was read after io_uring_cqe_seen marked the entry for reuse. Reported by @polytypic. #124 · #123
  • ocaml-uring: Fixes mkdir test failure caused by setgid bits in st_mode not being masked. #127

ocaml/RFCs

Permalink

Features

  • OCaml RFCs – Tuple projections: proposes labeled and 0-indexed unlabeled tuple projections, e.g. x.tuple and x.3. Opened by johnyob on 2025-09-26. #57

  • OCaml RFCs – for…in: proposes a for ... in loop construct over iterators. Updated 2025-09-25; open discussion addresses HOF redundancy and newcomer-benefit arguments. #56

ocaml/dune

Permalink

Features

  • Dune private modules: PR opened to replace include-flag hiding with OCaml's -H compiler flag for private modules, ensuring the compiler always sees hidden modules. #12511

  • Dune cram tests: Feature request to emit a warning when merge conflict markers (<<<<<<<) are detected in .t files, preventing silent test promotion of conflicted content. #12512

Compatibility and Releases

  • Dune (modes js): Issue closed clarifying that (modes js) is not valid on (library) stanzas; libraries compile to JS without any special declaration. #12503

  • Dune pkg dev tools: Issue opened reporting that dune tools install ocamllsp rebuilds the OCaml compiler from scratch even when the same compiler is already built as a project dependency. #12491

Fixes

  • Dune pkg build time: Merged change removes backtracking from the lockdir parser by selecting portable or non-portable syntax via the solved_for_platforms field, reducing null-build time from ~8 s to ~4 s. #12487

  • Dune melange: Merged fix stops emitting empty .js files for module aliases, eliminating spurious build artifacts. #12464

  • Dune pkg toolchain hash: PR opened to replace Digest.generic with a deterministic package hash for toolchain directory names, preventing duplicate toolchain directories and unnecessary compiler rebuilds. #12495

  • Dune pkg fetch errors: Merged change corrects typos and wording in package fetch error messages. #12490

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #1948): adds a refactoring-extract-region command to the Merlin protocol, allowing an editor to extract an expression into a fresh let binding. Still open; test coverage was extended on 2025-09-26. Not yet merged or released.

ocaml/ocaml

Permalink

Features

  • OCaml tuple projections (PR #14257): proposes 0-indexed e.j syntax for tuple component access, including labeled tuples. An RFC was opened for broader discussion. Still open. (link)

  • OCaml typing recovery (PR #14241): adds a -typing-recovery flag so the type checker reports all errors in a file rather than stopping at the first. Still open and work-in-progress. (link)

  • OCaml thread-local storage (PR #13355): proposes a new Thread_local_storage module alongside Domain.DLS, sharing the same interface and implementation. Still open. (link)

  • OCaml relocatable OCaml (PR #14243): adds --with-stublibs to ./configure and makes ld.conf paths relative to the file's directory. Part of a three-PR series implementing RFC #53. Still open. (link)

Fixes

  • OCaml Lambda string sharing (PR #14259): merged; Lambda.make_key now treats string constants as shareable, allowing match arms with identical string results to compile to a single branch. (link)

  • OCaml TSan shadow stack (PR #14213): merged; fixes incorrect __tsan_func_exit call count during stack unwinding in the ThreadSanitizer runtime. (link)

  • OCaml -init with -e (PR #14190): ocaml -init file -e "script" previously ignored the init file; this PR loads it before executing the script. Still open. (link)

Compatibility and Releases

  • OCaml Format Unicode (PR #14272): merged; documents that Unicode width changes in Format between 5.3 and 5.4 are intentional breaking changes, not regressions. Cherry-picked to 5.4. (link)

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: Nix build on master resolved; nix build .# previously failed with a missing yojson dependency in jsonrpc. Issue #1544 closed 2025-09-25.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org Neovim LSP docs (PR #3322, open): Adds setup instructions for the OCaml LSP server in Neovim, covering both nvim-lspconfig and vim.lsp (the latter requires Neovim ≥ 0.11). Closes issue #3319. PR

  • ocaml.org package 404 page (issue #3327, open): Proposes showing the package-specific 404 page with a version switcher when a requested version does not exist, instead of the generic site 404. Aims to help users recover from stale backlinks to removed opam packages. Issue

Fixes

  • ocaml.org stdlib docs (issue #3330, open): The stdlib API documentation at ocaml.org/manual/4.11/api/index.html and all earlier versions returns a dead link. No fix merged yet. Issue

  • ocaml.org Zulip link (PR #3328, open): Updates the site link from caml.zulipchat.com to ocaml.zulipchat.com to match the completed domain migration. PR

Compatibility and Releases

  • ocaml.org governance page (PR #3306, open): Proposes removing mailing-list references from the governance page after the lists.ocaml.org email service was taken down due to spam. Discussion points to discuss.ocaml.org as the replacement. PR

  • ocaml.org "Zen of Coding" feed (PR #3183, closed without merge): The proposal to add Joel Reymont's OCaml-tagged RSS feed to the site was closed on 2025-09-23 without being merged. PR

ocaml/odoc

Permalink

Features

  • odoc: Open proposal to reduce navigation between sibling modules from three clicks to one, similar to Rustdoc's navigation menu. Issue opened 2025-09-28, no resolution yet. (#1386)

ocaml/opam

Permalink

Features

opam update (PR #6614, open): Loads only changed .opam files during opam update instead of reloading the full repository. Reduces repository-load time from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. Link

OPAMAUTOANSWER (PR #6709, open): Adds an internal OPAMAUTOANSWER environment variable that auto-answers OpamConsole.confirm prompts. Intended for CI and test harnesses; not yet a public API. Link

OpamFile.OPAM API (PR #6679, open): Restructures OpamFile.OPAM.get_extra_files to return file lists directly rather than a directory path, preparing the API for non-directory repository backends. Link

Fixes

Pinned depends on simulated pins (PR #6611, open, queued): Corrects opam ignoring pinned-package dependencies when simulating a pin. Backported to 2.4 in PR #6612. Link

Windows GHA re-run failure (issue #6711, open): opam init --no-git-location fails on re-run with git fetch exit code 128 in GitHub Actions on Windows. Rebuilding the cache does not resolve it. Link

Compatibility and Releases

OpenBSD static binaries (PR #6705, merged): ./configure --enable-static --with-vendored-deps now produces a statically linked opam binary on OpenBSD 7.7, removing runtime dependencies on libc++, libpthread, and libm. Link

Vendored dependency updates (PR #6700, merged): Bumps download-if-missing dependencies to dune 3.20.0, re 1.14.0, and menhir 20250903. Link

cmdliner 2.0.0 constraint (PR #6707, open): Adds upper-bound constraints to exclude cmdliner 2.0.0, which breaks the build. Link

ocaml/opam-repository

Permalink

Features

  • cmdliner 2.0.0 (proposed): removes prefix-matching for commands and options, adds Arg.Conv, Arg.Completion, and a cmdliner CLI tool for manpage/completion installation. Set CMDLINER_LEGACY_PREFIXES=true to restore old prefix behaviour. #28599

  • opam-repository CI: adds a Windows MSys2 MinGW workflow alongside the existing Cygwin-MinGW job, enabling testing of conf-mingw-w64-* packages under MSys2. #28598

  • conf-gtksourceview3: gains MinGW support via Cygwin and MSys2 packages; no i686 MSys2 package exists. #28585

Fixes

  • inifiles 2.0 (merged): replaces the pcre dependency with pcre2 (required for Debian 13), switches the build to dune, and renames the package from ocaml-inifiles. A conflict with the old ocaml-inifiles package prevents file collisions. #28583

  • conf-gmp.1: marked avoid-version after __gmp_init symbol removal broke compilation on current glibc. #28540

Compatibility and Releases

  • cmdliner 2.0.0 constraints (merged): upper-bound constraints added to opam-* packages and ~30 direct dependents (archsat, cppffigen, zeit, mirage-*, etc.) to prevent breakage before the release lands. PRs #28601, #28602, #28603

  • lwt 6.0.0~beta00 (proposed): major beta release of lwt and lwt_direct; lwt_log currently fails to compile against it. #28558

  • progress 0.5.0 (merged): removes the Vector module in favour of a new progress.vector sub-library backed by Stdlib.Dynarray on OCaml ≥ 5.2.0; a breaking change for code importing Progress.Vector. #28569

  • New packages (merged): cudd.0.1.3 (CUD bindings), monolith.20250922 (random-testing framework), intPQueue.20250925 (integer priority queue), catala.1.0.0~alpha (tax-code DSL compiler), pplumbing.0.0.16 (6 split utility packages), cmdlang.0.0.10 (5 CLI-parsing packages), yocaml.2.6.0 (13 SSG packages). PRs

ocsigen/js_of_ocaml

Permalink

Features

  • Wasm_of_ocaml WASI runtime: proposes --enable wasi flag producing WASI binaries runnable by Wizard engine; --enable exnref adds wasmtime compatibility. Open, not merged. (#1831)
  • Wasm_of_ocaml Stack Switching: proposes effects via the Wasm Stack Switching proposal, requiring Binaryen dev build or v124. Open, not merged. (#1832)
  • Js_of_ocaml benchmarking: adds benchmarks comparing Js_of_ocaml and Wasm_of_ocaml output ahead of planned optimizations. Open, not merged. (#2099)

oxcaml/merlin

Permalink

Fixes

  • Merlin (Nix flake): Merged 2025-09-22. Disables the flake check phase, which required a locally built OCaml via MERLIN_TEST_OCAML_PATH, and updates nixpkgs, flake-utils, and menhir-repository lock inputs. #188
  • Merlin (CI workflow): Merged 2025-09-22. Reverts the update-flake-lock GitHub Actions workflow added in PR #186, removing the automated lock-file update job. #189

oxcaml/opam-repository

Permalink

Features

  • Ox opam-repository: Merged PR #13 adds an oxidized ppx_deriving package, patching it to accommodate parsetree changes introduced by the Ox compiler.

  • Ox opam-repository: Open PR #14 adds zarith.1.14+ox to enable installation of the latest TLS libraries. A rebase issue causing linking errors on some architectures has been resolved.

Compatibility and Releases

  • Ox opam-repository: Open issue #15 reports opam update ox failing with a patch error on Debian Stable with opam 2.3.0. Suggested workarounds include installing gpatch (macOS) or upgrading to opam 2.4.

oxcaml/oxcaml

Permalink

Features

  • OxCaml layout_poly extension: Merged PR adds the -extension layout_poly flag with alpha/beta/stable maturity levels; currently a no-op placeholder for future layout polymorphism support. #4756
  • OxCaml sort variable levels: Open PR introduces levels on sort variables, enabling polymorphic sort variables as groundwork for layout polymorphism; levels are assigned but not yet used for decisions. #4785
  • OxCaml ikind prototype: Open PR adds new subsumption and mode-crossing algorithms behind -extension ikinds, targeting performance issues with polymorphic variants and GADTs; not ready for production. #4675
  • OxCaml runtime quotations: Open PR introduces <[, ]> quotation syntax with $ splicing, a stage notion in the type system, and a camlInternalQuote AST module in stdlib. #4395
  • OxCaml forkable axis: Merged PR adds a forkable mode axis with identical behaviour to yielding, intended to constrain password use while yielding applies to effect handlers. #4748

Fixes

  • OxCaml jkind normalization: Open PR fixes a soundness bug where jkind normalization incorrectly skipped types under different modalities, erroneously accepting invalid type declarations. #4777

Compatibility and Releases

  • OxCaml untagged int arrays: Open PR adds int8#, int16#, and int# array and iarray support with dedicated tags, plus char# arrays via shared layout. #4643
  • OxCaml slambda IR: Open PR introduces a slambda intermediate representation with a SLquote constructor, a static evaluator, and a -dslambda flag for inspection. #4776
11 repositories · no changes