Thicket thicket
ocaml
REPOS 27
W35.2025 · 25–31 Aug

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Eio issue #788: The evidence is insufficient to place a specific event within the 2025-08-25 to 2025-09-01 interval. The issue (parallel writev to stdout raising Interrupted system call) was opened 2024-12-06 and last updated 2025-09-06; the sole comment is undated. No merge, closure, or dated comment falls inside the reporting window. #788

ocaml-multicore/meio

Permalink

Features

  • Meio PR #71: Open proposal to port internal tracing to Eio runtime event types (eio>=0.14). Updated 2025-08-27; not merged. Link

ocaml-multicore/ocaml-iomux

Permalink

Fixes

  • ocaml-iomux PR #7: opened by avsm to clamp the maximum open file descriptor count to 2^19, preventing macOS from allocating an oversized Bigarray at Eio startup. Merged outside this reporting window. #7

ocaml/dune

Permalink

Features

  • Dune format-dune-file: now uses the lang dune version declared in the enclosing project when formatting, rather than always applying the latest syntax. Merged in #11865.

  • Dune @ocaml-index alias: now resolves Melange stanzas and their compiler paths, so dune build @ocaml-index covers Melange targets. Merged in #12246.

  • Cram timeout messages: the timed-out shell command is now included in the error output, making it easier to identify which step hung. Merged in #12307.

Compatibility and Releases

  • Dune 3.20.1 was released on 2025-08-25. The 3.20.2 release tracker is open with backports collected; the dune exec --watch fix for long-running processes (#12360) is deferred to 3.20.3. See #12328.

Fixes

  • Dune 3.20.1: fixes runtest-js incorrectly depending on byte, corrects path interpretation in dune runtest from a subdirectory, and reverts the 3.20.0 s-expression formatting change that filled long lists horizontally. Released 2025-08-25.

  • Dune 3.20.0 jsoo regression: building an executable with (modules_without_implementation …) and (modes js) no longer fails with "No rule found". Fixed in #12320, backported to 3.20.2.

  • Dune Cygwin bootstrap: the bootstrap now uses the portable Blake3 implementation on Cygwin, resolving unresolved-symbol link errors. A CI job for Cygwin was added. Merged in #12325.

  • Dune cram tests: the temporary .cram.<name>.t file is no longer visible in the test directory during execution, fixing spurious ls -a failures. Merged in #12329.

  • Dune dune pkg rebuilds: hash and digest computation for package rules no longer calls Poly.hash on Set/Map values or marshals maps, eliminating spurious rebuilds caused by non-structural equality. Merged in #12310 and #12319.

ocaml/merlin

Permalink

Features

  • Merlin (PR #1920): Merged typer interruption into the merlin-domains branch. Enables interrupting in-progress type-checking operations.
  • Merlin (Issue #1902): DocumentSymbol query is now available from Merlin directly rather than only in ocaml-lsp-server. Closed as fixed on trunk.

Compatibility and Releases

  • Merlin (PR #1952): Closed without merge. The query_protocol_kernel refactor was rejected to avoid adding a ppx_jane dependency.
  • Merlin (PR #1951): Open proposal adding a locate-type-multi command that returns a tree of identifier locations within a type expression. Not yet merged.

ocaml/ocaml

Permalink

Fixes

  • OCaml runtime: Weak.set now uses a proper memory barrier, fixing a data race that could publish uninitialised pointers across domains. Merged 2025-08-29; targeted for 5.4 backport. #14209

  • OCaml typechecker: fixes a variance-check bypass where private type aliases could be coerced across unrelated private types via variance annotations. Merged 2025-08-27; cherry-picked to 5.4. #14202

  • OCaml compiler: Obj.magic and similar %identity primitives are now recognised as nonexpansive, exempting them from the value restriction. Merged 2025-08-29. #14029

  • OCaml on NetBSD: fixes a missing cast in the pthread_setname_np call that broke compilation. Merged 2025-08-27; cherry-picked to 5.4. #14208

  • ocamldebug: inverts BUILD_PATH_PREFIX_MAP when resolving source paths, restoring source-file lookup for dune-built programs. Merged 2025-08-25. #14055

Features

  • OCaml stdlib: adds List.split_with, a generalised List.split that applies a function to each element before splitting. Merged 2025-08-29. #14185

Compatibility and Releases

  • OCaml compiler: proposes allowing -use-runtime together with -runtime-variant, removing a prior mutual-exclusion restriction. Opened 2025-08-28; not yet merged. #14211

ocaml/ocaml.org

Permalink

Features

  • Backstage OCaml: Open PR introduces a content category for unstable and experimental posts, separate from the OCaml Changelog. Creates a three-tier structure including Platform Tools Releases. #3278

  • OCaml.org build: Open PR replaces the opam-based build with Dune Package Management. Requires dune >= 3.20; removes the opam switch workflow. Supersedes closed PRs #3132 and #3280. #3281

  • OCaml Planet: Merged syndication cleanup renames the filter to publish_all (default true) and disables broken feeds. Two new blogs added: Mark Elvers and Chukwuma Akunyili. #3272, #3277, #3260

  • FUN OCaml 2025: Event added to the ocaml.org events page. #3275

Compatibility and Releases

  • Dune 3.20.1: Changelog entry published on ocaml.org. #3274

  • ocaml-eglot: Changelog post announcing the Eglot-based Emacs frontend for OCaml merged. Notes that merlin.el is no longer actively maintained. #3080

Fixes

  • CONTRIBUTING.md: Merged clarification of publish_all behaviour for OCaml Planet feeds. #3283

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc (PR #1383): merged support for opam 2.5. Uses String.starts_with (OCaml ≥ 4.13); backward compatible with the existing 5.1 minimum.

Fixes

  • odoc 3.1.0 assets: issue #1382 reports that the media feature does not work via dune build @doc; odoc_driver is required. Documentation does not state this prerequisite.

ocaml/opam

Permalink

Features

opam format upgrade (#6417): merged 2025-08-27. Extends the on-the-fly state format upgrade to repository and switch config files, so a write-lock triggers a global upgrade rather than blocking. Affects all opam commands that read or write repo/switch state. PR

opam pkg:opamfile variable (#6659): opened 2025-08-28. Corrects the pkg:opamfile variable to match its documented specification, fixing cases where the path pointed to a non-existent file in tar-based repositories. Fixes #5346. PR

Compatibility and Releases

opam rsync reimplementation (#6651): opened 2025-08-25. Tracking issue to replace rsync with native copy logic for local repositories and SSH for remote ones, removing a hard dependency. Follows the macOS 15 openrsync incompatibility. Issue

opam macOS 15 CI (#6656): merged 2025-08-28. Installs GNU rsync in CI because macOS 15 ships openrsync, which is incompatible with opam's current rsync usage. Confirms the incompatibility affects users on macOS 15. PR

Fixes

opam package-name error display (#6640): merged 2025-08-25. Handles non-displayable characters when opam detects a typo in a package name or version, preventing garbled terminal output. PR

opam packaging documentation (#6653): merged 2025-08-26. Corrects subsection titles and replaces a deprecated md5 checksum example on the Packaging page. PR

opam Software Heritage link (#6650): merged 2025-08-25. Fixes a relative URL that rendered as a broken link on opam.ocaml.org. PR

opam show source-hash (#6665): opened 2025-08-30. After opam pin with an amended commit, opam show reports a source-hash that does not match the installed source. Affects opam 2.3.0; maintainers request reproduction on 2.4.1. Issue

ocaml/opam-repository

Permalink

Features

  • dune 3.20.1: fixes runtest-js byte dependency and subdirectory path handling; reverts 3.20.0 s-expression list formatting. (#28397)
  • conf-gtk2, conf-gtk3, libao: MinGW, MSys2, and Cygwin depexts added for Windows GTK and audio builds. (#28387, #28389, #28376)
  • smtml 0.10.0: new SMT solver frontend merged; smtml.0.1.2 revived to restore owi 0.2 compatibility. (#28399, #28409)

Fixes

  • fswatch, conf-fswatch: both packages flagged deprecated due to upstream Debian/Ubuntu packaging issues. (#28396)
  • ppx_rapper: with-test bound set to ppxlib < 0.31.0 to prevent test failures on newer ppxlib. (#28371)
  • shuttle_http, shuttle_websocket 0.11.0: source URL updated after git.sr.ht relocation caused 404 errors. (#28407)

Compatibility and Releases

  • lwt 5.9.2, ocaml-ffmpeg 1.2.6, ocaml-github 4.5.0, mirage-crypto 2.0.2: release updates merged. (#28384, #28401, #28390, #28382)
  • pgn_parser, lichess_api, chess_com_api 1.0.0: new chess PGN parsing and API client packages merged. (#28404)

ocsigen/js_of_ocaml

Permalink

Fixes

js_of_ocaml (effects backends): reverts an incorrect caml_compare purity annotation that broke function-value comparison under --effects=cps and --effects=double-translation. Merged 2025-08-28; fixes #2089.

js_of_ocaml (Wasm runtime): fixes Unix.times in the Wasm backend. Merged 2025-08-31 (#2096).

js_of_ocaml (Wasm backend): corrects call-graph analysis to stay coherent with call-site generation in the Generate pass. Merged 2025-08-29 (#2093).

Features

js_of_ocaml (Wasm strings, ongoing): open PR to optionally represent OCaml strings as JavaScript strings in the Wasm runtime, skipping ASCII conversions and using I16 arrays. Rebased on master 2025-08-27 (#1772).

js_of_ocaml (lambda lifting, ongoing): open PR adds more aggressive lambda lifting in double translation, placed behind a flag; measured ~1.45× speedup on a Bonsai benchmark. Updated 2025-09-08 (#1886).

js_of_ocaml (build-fs, open question): issue asking how to preserve the original directory structure when passing multiple paths to build-fs, ideally compatible with a Dune source_tree option. Opened 2025-08-26 (#2091).

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml): Merged fix suppressing spurious Undefined probe name errors caused by probe/typer-cache interaction. #181

Features

  • Merlin (oxcaml): Open PR adds locate-type-multi command returning a tree of identifier locations for complex types, enabling richer VSCode "Go to Type Definition" for the oxcaml toolchain. #148
  • Merlin (oxcaml): Closed without merge; proposed moving query types to query_protocol_kernel for JSOO-compatible VSCode extension use. #149

oxcaml/opam-repository

Permalink

Features

  • Oxcaml opam-repository: PR #8 (opened 2025-08-26) adds patched odoc and eio packages to support the Oxcaml documentation driver. Also patches ocaml-lsp-server for odoc-parser compatibility, extending the experimental compiler's toolchain.

Compatibility and Releases

  • Oxcaml opam-repository: PR #9 (opened 2025-08-27) updates the mdx patch for newer Oxcaml. Both PRs were still open at the end of the reporting interval.

oxcaml/oxcaml

Permalink

Features

  • OxCaml shrink-wrapping (prologue duplication): new experimental pass that duplicates function prologues across CFG branches to free hot paths from prologue/epilogue overhead. PR #4579 opened 2025-08-26; companion PR #4616 (stop shrink-wrapping when all paths need a prologue) opened 2025-08-29. Validator tests merged in #4585.

  • OxCaml [@regalloc] attribute: per-function register allocator selection (ls, irc, gi, cfg, default) as an alternative to the global -regalloc flag. PR #4583 opened 2025-08-26; a follow-up refactoring PR #4633 was opened after the interval.

  • OxCaml #syntax metaprogramming directive: new #syntax metaprogramming on|off directive and -metaprogramming / -no-metaprogramming flags to toggle lexer tokens ($, <[, ]>) for runtime metaprogramming, disabled by default. PR #4608 opened 2025-08-28.

  • OxCaml phantom variable DWARF: propagates optimized-away (phantom) variables from Cmm through CFG and Linear to DWARF emission, enabling debuggers to display reconstructed values. PR #4595 opened 2025-08-27; depends on Flambda2 phantom-binding support in #3937.

  • OxCaml cfg_tool.exe: new auxiliary tool for inspecting .cmir-cfg-regalloc artifacts; supports list and extract commands with dominator and loop display. PR #4596 opened 2025-08-27.

Fixes

  • OxCaml flambda2 affine switches: recognises affine switch patterns (e.g. A→0, B→2, C→4, D→6) so the middle end no longer forces a table lookup and blocks the later affine optimisation. Merged 2025-08-26 in PR #4571; closes issue #4474.

  • OxCaml mode error hints: introduces a structured hint system for the mode (layout) type-checker, replacing ad-hoc error strings with tracked, printable explanations. Merged 2025-08-30 in PR #4471.

Compatibility and Releases

  • OxCaml implicit kinds (ongoing): [@@@implicit_kind: ('var : jkind)] syntax declares default jkinds for type variables in signatures, controlled by -extension implicit-types. PR #4285 remains open with active review; a related [@rec] contractive-parameter proposal (#4400) is also under discussion.
13 repositories · no changes