Thicket thicket
ocaml
REPOS 27
W29.2025 · 14–20 Jul

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Releases

  • Eio v1.3: Released 2025-07-20. Fixes spawn_unix error wrapping, FreeBSD O_RESOLVE_BENEATH handling, ECONNRESET on close, and Windows stdin broken-pipe. Release notes

Fixes

  • Eio CI: Merged #815 skips test_alloc_fixed_or_wait when no fixed buffers are available, preventing spurious failures under low ulimit -l.

ocaml-multicore/ocaml-uring

Permalink

Fixes

  • ocaml-uring issue #113: Writing to ZFS with fixed io_uring buffers hangs indefinitely on kernel 5.15 (Ubuntu 22.04). An undated comment links a ZFS upstream fix in 2.3.3 and 2.2.8. Issue remains open.

ocaml-multicore/picos

Permalink

picos (ocaml-multicore): Open discussion 373 asks whether a fiber can be auto-cancelled at program exit without pulling in bundle/flock. No response or resolution is present in the supplied data.

ocaml/dune

Permalink

Features

Dune --alias / --alias-rec: New options to dune build provide an alternative to the @-prefixed alias syntax, avoiding PowerShell's @ array-operator conflict on Windows. Closes #5775, resolved via #12043.

Dune (mode cache) proposal: #12044 requests a build mode that keeps targets in the source tree across dune clean, combining fallback and promote semantics for downloaded or generated files.

Dune coq.theory conditional compilation: #12054 proposes adding (optional) and (enabled_if …) fields to the coq.theory stanza, matching the OCaml library stanza behaviour for optional Coq/Rocq dependencies.

Fixes

Dune package management submodules: #11606 closed 2025-07-20. Pinned git packages with submodules were not recursively initialised, causing copy_files failures; the issue is resolved.

Dune dune.exe PATH lookup: #12040 reported that %{bin:dune} failed when the running binary was _boot/dune.exe outside PATH. Closed 2025-07-18 as a duplicate of #10019.

Compatibility and Releases

Dune package management / z3: #10970 remains open. ocamlfind reports a destdir that does not exist after Dune relocates build artifacts, breaking the z3 build under dune pkg lock.

Dune dune describe: #12030 notes that dune describe omits targets defined by test stanzas, limiting its use for build introspection.

Dune git error messages: #10393 updated 2025-07-17 with a reference to #12024 as a first step toward clearer diagnostics when git is absent.

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #1948): adds a refactoring-extract-region protocol command that extracts a selected expression into a fresh let binding. Still open and under active review; not yet merged.

ocaml/ocaml

Permalink

Features

  • OCaml module patterns: PR #14149 (open) distinguishes (module M : S) from (module M) : (module S) in patterns. Prerequisite for the modular-explicits feature in #13275.
  • OCaml error messages: PR #14147 (open) prints row type variables in error messages when they appear as type constructors, e.g. < bar : int; .. as $1>.

Compatibility and Releases

  • OCaml 5.4 symbol names: PR #14143 (merged) restores . as the module separator in symbol names on non-Apple unix systems. Restores perf support for OCaml 5.4 while keeping the $ separator on macOS and Windows.
  • OCaml C++ headers: PR #14139 (merged) moves atomic_uintnat and atomic_intnat definitions into misc.h, fixing C++ compilation failures with GCC 15.1. Closes #14101.
  • OCaml Arm64 memory model: PR #13393 (closed) implementing the branch-after-load scheme was superseded by the merged #14074. The BAL approach reduced monomorphic Array.blit from ~700 ms to ~16 ms on M2.

Fixes

  • OCaml runtime minor heap: PR #14158 (merged) decommits a domain's minor heap when it leaves the STW participant set. Prevents incorrect decommit of uncommitted address ranges on domain respawn.
  • OCaml compiler externals: PR #14146 (merged) replaces an assert false with a proper error message when an external declaration has a non-syntactic arity.
  • OCaml runtime events: Issue #14151 (open) reports inconsistent timing results and Runtime_events: corrupt stream crashes when custom events are emitted faster than the ring buffer is polled.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (draft PR #1546): Replaces the broken extract code action with a proper implementation inside Merlin, corresponding to ocaml/merlin#1948. Still open as a draft; not yet merged.
  • ocaml-lsp (draft PR #1545): Adds a custom query for the extract refactor, corresponding to ocaml/merlin#1948. Still open as a draft; not yet merged.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org package docs: Merged PR #3124 switches package documentation to odoc 3 output, adding a global sidebar, improved breadcrumbs, source code pages, and URL redirections.

  • ocaml.org changelog scraper: Merged PR #2949 adds a tool that detects missing changelog entries by checking project release pages on GitHub.

  • ocaml.org changelog scraper: Opened PR #3217 extends the scraper to automatically open PRs suggesting new releases from OCaml Platform GitHub projects.

  • ocaml.org Cookbook: Open PR #3201 proposes a basic-authentication recipe; reviewers question whether a simplified recipe is appropriate given real-world complexity.

Fixes

  • ocaml.org getting-started docs: Merged PR #3213 clarifies that opam switch create with a plain name uses that name as the compiler unless a version is explicitly given. Fixes #3143.

  • ocaml.org infrastructure: Merged PRs #3218 and #3220 fix broken Planet scraping and prevent the changelog scraper from generating GitHub Actions errors.

  • ocaml.org linting: Merged PR #3222 excludes Planet and changelog content from the site's linting checks.

Compatibility and Releases

  • ocaml.org opam changelog: Opened PR #3223 adds the changelog for opam 2.4.0 to the site.

ocaml/odoc

Permalink

Features

  • odoc 3.1.0: adds OCaml 5.4.0 support. (#1355)
  • odoc 3.1.0: adds --shorten-beyond-depth and --remove-functor-arg-link arguments to the LaTeX generator. (#1337)
  • odoc 3.1.0: introduces an experimental Markdown generator. (#1341)
  • odoc 3.1.0: exposes sherlodoc libraries for use in other projects. (#1349)

Fixes

  • odoc 3.1.0: prevents generation of links to hidden pages, a partial fix for broken cross-package links. (#1370, #1369)

Compatibility and Releases

  • odoc 3.1.0: released 2025-07-15. (release notes)
  • odoc 3.1.0: drops support for OCaml versions below 4.08. Breaking change for older toolchains. (#1300)
  • odoc 3.1.0: removes the cmdliner compatibility layer, no longer needed. (#1328)

ocaml/opam

Permalink

Releases

  • opam 2.4.0: Final release published 2025-07-18. Binaries signed by the opam dev team; see the changelog and blog post for the full change list. (release)

Features

  • opam – Bash environment setup: PR #6603 (open) writes the opam environment incantation to ~/.bashrc instead of ~/.profile, avoiding sourcing loops and duplicate environment variables. Fixes #5819, #4201, #3990.

  • opam – POSIX sh detection: PR #6604 (open) disables bash-specific scripts when the detected shell is POSIX sh, preventing syntax errors on minimal systems. Fixes #2899.

Fixes

  • opam 2.4.0 – opam pin list: Fixes a regression where the command crashed when the source directory of a pinned package did not exist. Merged to the 2.4 branch in #6598; the main-branch fix is still open in #6597.

  • opam – simulated pins: PR #6611 (open) corrects opam ignoring depends fields on pinned packages during opam install --dry-run simulations. A backport to 2.4 is open in #6612.

  • opam – opam install <local>: Issue #6601 (open) reports that declining a local install still writes the pin to disk, leaving a stale pin with no fetched source.

Compatibility

  • opam install scripts: PR #6607 (merged 2025-07-18) adds opam 2.4.0 as a selectable version in the official install scripts.

ocaml/opam-repository

Permalink

Compatibility and Releases

  • opam-repository (dune version policy): Removing old dune versions from the repository breaks existing switches that pin those versions, leaving them unable to update. The issue remains open as a policy discussion. Discussion

  • opam-repository (repo transfer): Maintainer confirmed GitHub redirects preserve package archive URLs after a repo transfer. Recommended workflow: transfer the repo, then update URLs in opam-repo to avoid future breakage. Issue

  • opam-repository (OCaml version caps): A user reported packages capping OCaml at 5.0 while opam show reports higher allowed versions. Suggested merging fixes upstream rather than patching in opam-repo. Closed. Issue

  • conf-openblas 0.2.2 (macOS ARM): Build fails because pkg-config emits -fopenmp, which clang rejects. Workaround: remove the flag from the .pc file or substitute a fake .pc pointing to Apple Accelerate. Issue

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: fs_fake gains a rename implementation (#2080, opened by jonludlam, not yet merged).

Compatibility and Releases

  • js_of_ocaml 6.0.1: caml_string_of_array was replaced by caml_string_of_uint8_array; Brr required a corresponding update (#2081, closed without merge). The fix was applied in Brr rather than restoring the old symbol.

oxcaml/merlin

Permalink

Features

  • Merlin completion order: Merged 2025-07-16. Autocompletion in expression context now prioritizes modules over types, so typing Deferred surfaces the module before Deferred.t. #157

  • Merlin renaming via downstreams: Merged 2025-07-16. Adds rename-refactoring support through the merlin downstreams mechanism, enabling IDEs to request and apply symbol renames. #155

Fixes

  • Merlin CI for fork PRs: Merged 2025-07-15/16. Adds a pull_request workflow trigger so that pull requests from forks run CI without double-firing on pushes to main. #164, #165

oxcaml/oxcaml

Permalink

Features

  • OxCaml (mode analysis): #4314 opens Mode.Crossing.Atom, a per-axis variant of Mode.Crossing. Based on #4436; correctness demonstrated via mode-crossing print utilities. (opened, not merged)

Fixes

  • OxCaml (typer performance): #4323 reports super-linear typing time on main versus OCaml 5.3 and OxCaml 5.2.0minus-2, with a reproducible benchmark script. (opened 2025-07-17)
13 repositories · no changes