Thicket thicket
ocaml
REPOS 27
W25.2026 · 15–21 Jun

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/domainslib

Permalink

Compatibility and Releases

  • fib_par.exe test hangs indefinitely on single-CPU systems (e.g. Debian sbuild VMs with nr_cpus=1), causing the build to be killed after 60 minutes. Suggested workaround: skip the test when only one CPU is detected. Open issue, no resolution yet. #135 (opened by sanvila, 2026-06-17)

ocaml-multicore/eio

Permalink

Features

  • chmod support added to Eio_linux and Eio_posix (#785, merged 2026-06-18). Closes #764.

  • Eio.Process fork-action failures now raise typed exceptions (Argument_list_too_long, Executable_not_found, Permission_denied, Executable_format_error) instead of Failure (#854, merged 2026-06-16). Closes #556; supersedes #561.

Fixes

  • eio_posix now waits for a FIFO to become readable before resuming the opening fiber, matching ordinary blocking semantics; eio_linux also receives an explicit wait (#857, merged 2026-06-18). Fixes #856.

  • eio_posix now opens cwd-confined paths in non-blocking mode, consistent with fs-opened paths (#855, merged 2026-06-15).

Compatibility and Releases

  • Code matching on Failure "execve: Argument list too long" must now handle Eio.Process.Argument_list_too_long (#854). The old Failure string is no longer raised.

ocaml-multicore/meio

Permalink

Fixes

  • Open PR by patricoferris titled "Fixes" (#76), opened 2026-06-17. No description, labels, or comments are present; the specific changes are not described in the supplied data.

ocaml-multicore/ocaml-uring

Permalink

Features

  • PR #153 (open, by avsm; opened 2026-06-06, active during this interval) proposes replacing the bigarray/cstruct buffer type with plain bytes in the uring I/O API. Discussion includes a potential Iovec.to_cstruct constructor sharing underlying memory to avoid copies.

Compatibility and Releases

  • Issue #156 (open, by glondu, opened 2026-06-16) requests a build option to link against system liburing rather than the vendored copy. A maintainer notes vendoring pins a specific liburing version for testing; Debian unstable currently ships that same version.

ocaml/dune

Permalink

Features

  • Action runners with bubblewrap sandboxing (--action-runner, --sandbox-actions). Eligible actions run in a bwrap-wrapped worker that cannot write to the shared cache. Merged in #14240. A Landlock backend is proposed in #15231 (open).

  • Per-module library dependency filtering reduces unnecessary recompilation: a consumer module's compile rule sees only artefacts of libraries it references. Open in #14492; fixes #4572.

  • Shell command completion for bash, zsh, and PowerShell via dune completion <shell>. Provides subcommand, flag, and suggestion completion. Open in #14779.

  • env_vars alias added as an underscore-spelled alternative to the env-vars field in (env ...) stanzas. Merged in #15187.

Fixes

  • Cram output sanitization now handles project paths containing spaces. Previously BUILD_PATH_PREFIX_MAP rewriting failed because the path tokenizer split on spaces. Merged in #15017; fixes #14943.

  • Fuzzy offset matching re-enabled for patches applied by dune pkg, restoring compatibility with opam packages whose patches require fuzz. Merged in #15146.

Compatibility and Releases

  • Dune 3.24.0 released (2026-06-21). Directory targets promoted to GA; relocatable compiler enabled by default for package management; %{pkg:<pkg>:<section>:<path>} pform added. See release notes.

  • Breaking: %{bin:NAME} resolution changed. Now resolves to the build-artifact path with a ./ prefix instead of the install-staging path. Rules with %{bin:...} deps get a per-rule .binaries directory on PATH. Requires dune 3.24. Merged in #15156, backported in #15229.

  • Breaking: (lang coq) removed. Projects using (using coq <version>) must migrate to (using rocq <version>). The Rocq (stdlib ...) field is replaced by (no_corelib) in Rocq language 0.14. Shipped in 3.24.0.

ocaml/merlin

Permalink

Fixes

  • Merlin in Emacs (merlin.el) displays only the final line of multi-line compiler error messages on OCaml 5.04. The LSP client discards diagnostic footnote content. Opened by @gasche. #2080

Features

  • Proposed LRU cache to bound indexer memory, replacing unbounded hashtable growth. Also stores small values alongside their parent and relativises filenames to the indexer CWD. Opened by @voodoos; supersedes #2050. #2079

ocaml/ocaml

Permalink

Features

  • OCaml 5.5.0 released (2026-06-19): module-dependent functions, polymorphic functions as arguments, relocatable compiler, generalized local definitions, String.search_*/String.replace_* substring functions, external types, GC improvements, ~60 new stdlib functions. Release notes

  • Dynarray.unsafe_get / Dynarray.unsafe_set proposed: skip bounds checking for ~2.5× faster reads and ~1.4× faster writes. Open PR with extended safety documentation. #14864

  • Configurable domain stack size via new OCAMLRUNPARAM S setting (e.g. S=50M). Addresses segfaults from deep C stack usage in spawned domains. Open PR, Windows support in progress. #14860

Fixes

  • OCaml 4.14.4 released (2026-06-15): security fix for size-overflow in caml_ba_reshape (CVE-2026-34353) and for filename quoting in Filename.quote_command on Windows. Release notes

  • Cross-compilation BINDIR override merged: make installcross for *-pc-windows targets now sets the correct -launch-method for bytecode programs. Cherry-picked for 5.5.0. #14869

  • promote-menhir target merged: switched from menhir --suggest-menhirLib to menhir --dump-menhirLib after Menhir changed its library installation format. Requires Menhir ≥ 2023. #14862

Compatibility

  • 5.5.0 build failure on Windows (opam): ocaml-compiler.5.5.0 fails during tools/opam/generate.ml clone with a Sys_error on toplevel:stdlib.cmi. Open, no fix yet. #14871

  • Gc.compact memory leak on Linux: when vm.max_map_count is exceeded, munmap returns ENOMEM; the runtime ignores the error, leaving memory mapped but marked free. A madvise(MADV_DONTNEED) fallback is proposed. Open. #14865

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • Merged: #1608 replaces Stdune.Pid with a plain int for process IDs, matching the Dune API change in ocaml/dune@39d8a28. No user-facing option or workflow change; internal type alignment only. (anmonteiro)

ocaml/ocaml.org

Permalink

Compatibility and Releases

  • OCaml 5.5.0 release page merged to ocaml.org (#3688). The page documents new features including String.includes, external types, and a GC idle phase. Merged 2026-06-19 by Octachron.
  • OCaml 4.14.4 release page and changelog entry merged (#3684). Corresponding opam PR: ocaml/opam-repository#30054. Merged 2026-06-17 by Octachron.

Fixes

  • Documentation for patricia-tree 0.13.0 and 0.14.0 is absent from ocaml.org; earlier versions render correctly (#3685). Opened 2026-06-15 by dlesbre; possibly related to #3437 or #3451. No fix merged in this interval.

ocaml/odoc

Permalink

Fixes

  • odoc driver: link path restricted to a unit's declared library dependencies (closed, unmerged). The driver previously added every library in a package to each unit's -L path; the proposal builds the path from lib_deps only, matching the existing -I behaviour. This would prevent wrong-module resolution when sibling libraries (e.g. eliom.server / eliom.client) share module names such as Content.Html. Closed without merge on 2026-06-20. #1449 — balat.

ocaml/opam

Permalink

Features

  • opam lint currently supports promoting warnings to errors via --warnings @N but offers no mechanism to demote a default error to a warning. A proposal to add this (e.g. for Error 46 in opam-repository policy) is open. #6964
  • An open PR adds root and rootexec sections to .install files, allowing install steps to run with elevated privileges. Not yet merged. #6938

Fixes

  • opam upgrade reinitialises the root without preserving a previously set --no-sandbox option, re-enabling sandboxing on systems where it was disabled. Reported 2026-06-19; open. #6968
  • opam switch create 5.5.0~rc1 fails with a version conflict when the relocatable repository is active, while the same command succeeds on a different user account with the same opam 2.5.1. Workaround: pin ocaml-variants explicitly. Open. #6965
  • opam install aborts with exit code 99 when the target directory is a git repository owned by a different user (common in CI), because git ls-files fails. Expected behaviour is to fall back to path-pinning as when no git directory is present. Open. #6963

ocaml/opam-repository

Permalink

Features

  • OCaml 5.5.0 official release merged: adds ocaml-compiler.5.5.0, ocaml-base-compiler.5.5.0, ocaml-variants.5.5.0+options, ocaml-system.5.5.0, and ocaml-src.5.5.0. Dev branch moves to 5.5.1+trunk. (#30075)

  • dune 3.24.0 (18 packages) is open with a breaking change: %{bin:NAME} now resolves to the build artifact path instead of the install staging path. CI reports breakage in cppo, camomile, and lablgtk3. (#30092)

  • js_of_ocaml 6.4.0 (8 packages) is open with breaking changes: mediaElement.play returns unit Promise.t; SVG 1.1 getTransformToElement and Gecko MouseScrollEvent bindings removed. Adds WASI 0.1, OxCaml, and quickjs-ng support. (#30088)

  • New packages merged: deepseek.0.1.0 (local LLM inference), ktdeque.0.2.0 (machine-checked persistent deque), baby.20260620 (BST-based sets/maps), xdge.1.1.0 (XDG dirs for Eio), melange-edn.0.4.0, melange-transit.0.1.0. par.0.4.8 (agent runtime) is open. (#30053, #30060, #30084, #30070, #30073, #30050, #30086)

Fixes

  • conf-pkg-config on OpenBSD: the package referenced pkgconf, which no longer exists as a separate port since OpenBSD 7.8 (now pkg-config in base). A fix adding the correct depext is under review. (#30080, #30082)

  • OCaml 5.5.0 ocaml-compiler package was accidentally shipped without the relocatable compiler enabled. Restored and verified locally. (#30085)

Compatibility and Releases

  • OCaml 4.14.4 bugfix release merged: two security fixes in the standard library, an ARM64 compilation fix, and various build fixes. Adds ocaml-base-compiler.4.14.4, ocaml-system.4.14.4, ocaml-variants.4.14.4+options. (#30054)

  • lstar-rocq 2.0 merged with breaking API changes: both L* and KV signatures now require passing fuel via the Teacher module rather than at the learner-loop call site. (#30061)

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml 6.4.0 released (2026-06-21). Adds OCaml 5.5 support, WASI 0.1 target, Promise/Fetch/Abort modules, OxCaml backend, quickjs-ng support, and dynlink/toplevel on Wasm. (release)

  • Breaking changes in 6.4.0: mediaElement.play returns unit Promise.t; SVG 1.1 getTransformToElement removed; Gecko MouseScrollEvent/_DOMMouseScroll bindings dropped; event_listener return type is now bool t optdef; Intl.Collator.compare returns Js.number_t; several method names renamed (Typed_array._BYTES_PER_ELEMENT_, WebGL._MAX_RENDERBUFFER_SIZE_, canvasElement.toDataURL_compression). (release)

  • Dom_svg aligned with SVG 2 (#2256). Adds graphicsElement/geometryElement parents, SVGFE* filter primitives, markerElement; every SVG element is now an event target. Several properties retyped to opt/optdef (breaking).

  • Cosmetic minification in compact mode (#2257). !0/!1 booleans, stripped leading zeros in fractions, normalised exponents, backtick strings when they reduce escapes. --pretty output unchanged.

  • Faster variable-naming and free-variable passes (#2321). Byte-identical output; ~20% speedup on the coloring phase for deeply-nested code.

Fixes

  • Lib binding corrections (#2350). CSS.Angle now parses "45deg"; Regexp.replace_first preserves all flags except g; EventSource onopen/onerror receive a plain Dom.event; IntersectionObserver.takeRecords wrapped in Js.t.

  • Deriving_Json round-trips non-finite floats (#2365). Writer emits NaN/Infinity/-Infinity matching the reader. Lwt_file read functions raise on error instead of hitting assert false; Lwt_js_events.request_animation_frame is now cancellable.

Compatibility and Releases

  • Documentation: opam package mapping (#2366). Each module page now states its providing opam package; a drift-guard test fails if api.mld falls behind. Closes #607. Broken odoc cross-references and stale published URLs also fixed (#2362).

oxcaml/merlin

Permalink

No user-facing features, fixes, compatibility changes, or releases are recorded for this interval. The sole merged change (#241) removes a leftover appveyor.cmd file; it is routine CI cleanup with no effect on the Merlin toolchain, its API, or its configuration.

oxcaml/oxcaml

Permalink

Features

  • Merged: new Allocation mode axis (noalloc_strict < noalloc < alloc) for the zero_alloc static analysis; basic modes print on function arguments and returns. (#6269)
  • Merged: box type operator; structural, reduces with unboxed types (t# box = t), and type aliases of foo box gain an unboxed version t# = foo. (#5342)
  • Open (draft): UIC (unique-implies-uncontended) bit threaded through mode crossing; uses a sound-but-imprecise approximation because the exact lattice is non-distributive. (#6265)
  • Open (draft): with-bound relevance now uses axis_lattice masks so middle-element modalities (e.g. shared, corruptible) survive normalization and mode crossing. (#6272)
  • Open: mode subsumption operation for moregen, determining whether one mode variable is more general than another; part of the mode-polymorphism series. (#6279)
  • Open: new stdlib effect API requiring a local yielding Handler.t phantom to perform effects, preventing effect execution from unyielding contexts. (#6281)
  • Open: emits an ocaml_eff ELF notes section recording branch offsets for fiber transitions, replacing hard-coded offsets in magic-trace. (#6274)
  • Merged: flambda2 terms now carry a Poison constant; variant unboxing emits poison instead of dummy values, with a follow-up planned for precise type-level handling. (#6273)
12 repositories · no changes