Thicket thicket
ocaml
REPOS 27
W27.2025 · 30 Jun – 6 Jul

All repository summaries

17 active · 10 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

OCaml 5.2.0minus-11 / ocaml_simd: PR #72 in janestreet/opam-repository was closed unmerged on 2025-07-01 and redirected to oxcaml/opam-repository. The change bumped the compiler tag to 5.2.0minus-11 and added a bytecode-mode build fix for ocaml_simd, making it installable via opam.

ocaml-multicore/eio

Permalink

Fixes

  • Eio posix (PRs #809, #810): Merged fixes for macOS/FreeBSD path-resolution errors tracked in issue #808. #809 wraps openat in spawn_unix to convert Unix.Unix_error to Eio.Io Fs; #810 enables O_RESOLVE_BENEATH on FreeBSD.

Features

  • Eio (issue #811): Open request for a read-write lock (RWLock) to improve concurrent read performance over the existing Mutex.

Compatibility and Releases

  • Eio (issue #791): Closed. Addresses coordination of domain pools when multiple libraries (e.g. cohttp-eio) each spawn independent domains via the domain manager rather than sharing a single executor.

ocaml-multicore/saturn

Permalink

Compatibility

  • Saturn: Open issue reports dscheck_htbl test failures with a new OCaml release on Ubuntu, affecting amd64, arm64, ppc64el, and s390x. Saturn version is 1.0.0. (#187)

ocaml/RFCs

Permalink

Features

  • OCaml RFC 54 (transparent ascription): Open proposal by clementblaudeau, updated 2025-07-05. Proposes transparent ascription in the signature language and restricts static aliasing (==) to persistent, toplevel-accessible modules. Link

  • OCaml RFC 44 (primitive aliases): Open proposal by nmatschke, updated 2025-07-04. Proposes syntax to re-bind an external primitive under a new identifier without repeating its full type, attributes, and symbol list. Link

ocaml/dune

Permalink

Features

  • Dune watch mode (proposal): dune pkg lock auto-locking in watch mode is proposed behind an --auto-lock flag, updating only changed dependencies and prompting for manual re-lock on strong upgrades. #11614 (open, updated 2025-07-03).

  • Dune RPC / dune fmt (feature request): Running dune fmt or dune rpc fmt concurrently with dune build -w is requested; a prior comment notes dune promote already works but the promotion database lacks synchronization. #11958 (opened 2025-07-02).

Compatibility and Releases

  • dune build -p vs dune build pkg.install: dune build -p pkg implies --release and hides workspace dependencies, so it fails on a fresh clone; the correct target for building a single package is dune build pkg.install. #11948 (closed 2025-07-02).

  • dune pkg and :dev dependencies: dune pkg lock does not resolve :dev-qualified dependencies, so dune utop fails after locking; a workaround uses a separate -dev.opam file. #10973 (open, updated 2025-06-30).

Fixes

  • Dune TUI: Tab characters in build messages crashed the TUI via a Notty Invalid_argument exception; the issue was closed the same day it was filed. #11979 (closed 2025-07-06).

  • dune pkg outdated: A runtime Invalid_argument("filter_deps") crash in the vendored opam filter was resolved; the issue was closed 2025-07-04. #11188.

  • dune rpc status: Output rendered one token per line instead of a readable table; the issue was closed 2025-07-01. #11950.

  • Dune language version error: A misleading "Supported versions of this extension" message appeared when (lang dune X) exceeded the installed version; PR #11934 was opened to reword it. #11932 (open, updated 2025-07-02).

ocaml/merlin

Permalink

Features

  • Merlin (PR #1948): proposes a refactoring-extract-region protocol command that extracts an expression into a fresh let binding. Open; not yet merged. Link

Compatibility and Releases

  • Merlin (PR #1938): ongoing OCaml 5.4 upgrade. A comment during this interval notes two commits broke type-recovery; the fix reapplies patches to refactored typecore code. Link

Fixes

  • Merlin (issue #1949): hovering a function reports type 'a -> 'b -> 'b, but hovering the 'b variable reports 'a. Inconsistent display; open, no fix yet. Link

ocaml/ocaml

Permalink

Features

  • OCaml stdlib: adds Set.S.is_singleton and Map.S.is_singleton to test whether a set or map holds exactly one element. Merged. #14118
  • OCaml stdlib: proposes String.take, String.drop, String.span and their r* reverse variants for splitting strings by magnitude. Open. #14125
  • OCaml tooling: proposes generating UIDs for functor parameters and first-class module unpackings so Merlin can resolve occurrences and renames for those items. Open. #14120

Performance

  • OCaml stdlib: proposes replacing Set.cardinal s = 0 checks with Set.is_empty s in internal Set/Map access paths. Open. #14119

Fixes

  • OCaml stdlib: List.take and List.drop no longer raise Invalid_argument on negative arguments; they return [] instead. Merged for 5.4. #14124
  • OCaml compiler: fixes a spurious "Destructive substitutions are not supported for constrained types" error on non-destructive with type constraints. Merged. #14117
  • OCaml compiler: fixes ignored module and type constraints during signature approximation of recursive modules, which produced incorrect approximated signatures. Merged. #14100

Compatibility and Releases

  • OCaml language: opens a discussion on whether the evaluation order of fields in { t with b = ... } record updates should change to avoid surprising interactions with mutable fields. Open. #14129

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp (PR #1534): Merged 2025-07-03 ahead of the OCaml 5.4 release. Removes Tuple and Variant from the Json type; requires Yojson 3.

Features

  • ocaml-lsp (discussion #1542): Ongoing discussion on reusing the LSP library for other language servers. Related issue #1541 closed 2025-06-30; no library extraction merged.

Fixes

  • ocaml-lsp (issue #1543): Open report of error discrepancy between dune build and ocaml-lsp for ppx_blob filepath expressions. No fix merged in this interval.

ocaml/ocaml.org

Permalink

Fixes

  • OCaml Cookbook: fixes invalid syntax in both ppx_yojson_conv JSON serialise and deserialise recipes. Corrects = assignment and the yojson deriving generator name. (#3196, #3197, #3194, #3195)

Features

  • OCaml.org blogs: adds blog feeds for tmcgilchrist and yawaramin to the site's blog listing. (#3199, #3192)

  • OCaml Cookbook: opens a recipe for securing a web route with basic authentication, using a mock authorised-user list. Still in review. (#3201)

  • OCaml Cookbook: opens a recipe for starting a web server with dream and cohttp to render HTML templates. Reviewers flag unescaped template strings as an injection risk. (#3185)

  • OCaml.org success stories: opens a VCAST case study for the success-stories section. (#3198)

  • OCaml.org package docs: PR to rebuild the package documentation area with odoc 3 output (global sidebar, breadcrumbs, source-code pages, URL redirections) was under active review during this interval. Merged 2025-07-14. (#3124)

ocaml/odoc

Permalink

Features

odoc latex backend: adds --shorten-beyond-depth flag to use abbreviated submodule names beyond a given nesting depth, reducing verbosity in generated LaTeX. Also fixes a page-URL/anchor collision and missing label definitions for inlined pages. #1337, merged 2025-07-04 by @Octachron.

odoc Markdown: proposal to support blockquotes (lines starting with >, including nested) in documentation. #1360, opened 2025-07-04 by @MisterDA; still open.

Compatibility and Releases

odoc OCaml 5.4: updates the odoc model for labelled and bivariant type parameters and the loader for the OCaml 5.4 AST. One test case now rejected by 5.4 (module shadowing) is adjusted. #1355, merged 2025-06-30 by @Octachron.

odoc build system: replaces the dune format-dune-file CLI call with the built-in (format-dune-file) action (Dune ≥ 3.18), which honours the project's Dune language version and avoids a future CLI break. #1338, merged 2025-07-04 by @nojb.

Fixes

odoc type rendering: adds missing parentheses around (_ as 'a) in type expressions, so type 'a t = ([> ty] as 'a) Resource.t no longer renders as invalid syntax. #1358, merged 2025-07-02 by @Julow.

odoc Markdown: removes a spurious extra quote character inserted after inline images, fixing broken rendering of badge rows in README files. #1357, merged 2025-06-30 by @dlesbre; closes issue #1356.

odoc latex backend: heading labels now use the full module path (e.g. Module_name-s_name) instead of the bare label, matching the reference form and eliminating broken cross-references. #1332, merged 2025-07-04 by @Octachron.

odoc HTML output: CSS fix addressing a rendering issue. #1361, merged 2025-07-07 by @jonludlam.

ocaml/opam

Permalink

Releases

  • opam 2.4.0~rc1: First release candidate. Binaries and archive are signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). Release notes

Features

  • opam solver: Draft proposal to make builtin-0install the default solver, replacing builtin-mccs+glpk, for performance and to reduce C++ dependencies. Not yet merged. #6586

Compatibility

  • opam build dependencies: download-if-missing dependencies upgraded to dune 3.19.1, opam-file-format 2.2.0, spdx_licenses 1.4.0, and patch 3.0.0. #6580
  • opam-core API: OpamSystem gains copy_dir_except_vcs and get_files_except_vcs; OpamLocal.fetch_repo_update no longer copies VCS directories. Release notes

Fixes

  • opam switch create: opam switch create <version> now selects an avoid-version compiler when it is the only one available for that version. #6571
  • opam update performance: Local non-VCS repositories no longer copy VCS directories during opam update, reducing unnecessary I/O. #6575
  • opam --deps-only: Open bug: packages installed via --deps-only are not respected by a subsequent opam install, causing unnecessary downgrades. Reproduced on 2.2–2.4. #6578

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format 2.2.0: Stable release published 2025-07-03; no changes since 2.2.0~alpha1. Pins to the stable tag now resolve to this version. Release

ocaml/opam-repository

Permalink

opam-repository #28065: Ongoing policy discussion on automatic removal of old package versions (e.g. dune 3.15.3) from the main repository. The Rocq/Coq Platform pins specific dune versions for reproducibility; removal forces workarounds such as vendoring package definitions or adding the legacy archive. A companion PR (#28112) restores the affected version. Maintainers indicate removal is release-based rather than time-based and that pinned versions referenced by stable URLs can be retained. Issue remains open. Issue

ocsigen/js_of_ocaml

Permalink

Compatibility and Releases

  • js_of_ocaml 6.1.0: Released 2025-07-04. Drops OCaml 4.12, adds initial OCaml 5.4 support, rewrites the inlining pass, and adds the --empty-sourcemap flag. Release notes
  • js_of_ocaml 6.1.0: Runtime uses TextEncoder/TextDecoder for UTF-8/UTF-16 conversion and DataView for float-bit representation. Wasm output is written directly as binary modules. Release notes

Fixes

  • js_of_ocaml code generation: Merged PR removes quadratic behaviour in the expression queue, cutting codegen time by up to 60% on large inputs such as fiat-crypto. #2066
  • js_of_ocaml reserved keywords: Merged PR updates the keyword list to current ECMAScript, removing entries reserved only through ES3 and a duplicate this entry. #2071
  • js_of_ocaml effects: Open bug report notes that raising an effect inside Sys_js.set_channel_filler triggers Stdlib.Effect.Unhandled at toplevel rather than being caught. #2068

Features

  • js_of_ocaml Intl.RelativeTimeFormat: Open PR adds the Intl.RelativeTimeFormat API to the JSOO standard library, per the ECMAScript 402 specification. #2070
  • js_of_ocaml Wasm number unboxing: Open PR skips boxing numbers within a function when the boxed value is never used, improving microbenchmark performance. #2069

oxcaml/merlin

Permalink

Fixes

  • Merlin go-to-definition (PR #147): Open fix for punned record patterns. In let f { a; b } = …, requesting the definition of a currently reports the pattern location instead of the label definition. Updated 2025-07-01; still open.

Compatibility and Releases

  • Merlin 5.2.0minus-14 (PR #156): Merged 2025-06-30. Updates Merlin to track OCaml 5.2.0minus-14; no merge conflicts.

Features

  • Merlin renaming downstream (PR #155): Opened 2025-06-30 by liam923 as a CI-triggering duplicate of #152, which was closed 2025-07-03 in its favour. The renaming work remains in progress.

  • Merlin granular marshal (PR #143): Closed 2025-06-30 without merging. The untested cherry-pick of granular marshal changes was abandoned.

oxcaml/opam-repository

Permalink

Fixes

  • oxcaml/opam-repository: Merged PR #6 updates the compiler tag and ocaml_simd version, making the SIMD package installable. Also removes set -euo pipefail from ppxlib_ast to resolve a dune sandboxing failure on WSL/Ubuntu.

oxcaml/oxcaml

Permalink

Fixes

OxCaml (Flambda2): closes a mutable-unboxing bug triggered by for-loops (#2123). The Flambda2 pass previously miscompiled code combining mutable unboxed values with for-loop constructs.

Compatibility and Releases

OxCaml build: a SEGV in simdgen.exe during opam switch create on Ubuntu 24.04 / Intel Xeon E5-1680 v2 is reported (#4267). The fault occurs in the runtime's vector-allocation path; the issue was opened 2025-07-05 and remains unresolved within this interval.

10 repositories · no changes