Thicket thicket
ocaml
REPOS 27
W46.2025 · 10–16 Nov

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #823): proposes Eio_unix.Stdenv.with_env to update individual fields of an Eio_unix.Stdenv.t environment without reconstructing the full record. Open, not yet merged. Link

ocaml/dune

Permalink

Features

Dune pkg (portable lockdirs): Portable lock directories are now the default format. Non-portable lockdirs remain supported; dune auto-detects the format. Closes #11476 and #12694. (#12680)

Dune pkg (autolocking): With (pkg enabled) in dune-workspace, dune build resolves and installs dependencies without a prior dune pkg lock. An existing lockdir is still honoured if present. Closes #11614 and #12098. (#12653)

Dune rules (%{cmt}, %{cmti}): New artifact variables %{cmt} and %{cmti} allow rules to reference compiled interface files directly. %{cmti} falls back to the .cmt for modules without a separate .cmti. Closes #12633. (#12634)

Dune (@unused-libs alias): New @unused-libs alias errors when a library or executable links a dependency that is never referenced. An allow_unused_libraries field suppresses the check per stanza. Closes #650. (#12623)

Coq/Rocq (_CoqProject generation): Adding (generate_project_file) to a coq.theory stanza emits a _CoqProject file per theory, enabling editor stepping through Coq sources. Incompatible with per-module flags and multiple theories in one directory. (#11752)

Dune (dune describe tests): New dune describe tests subcommand lists unit, cram, and inline test stanzas with name, source dir, package, enabled status, and actionable build target. Closes #12030. (#12545)

Dune (%{ppx:} pform): New pform %{ppx:lib1+..+libn} references a ppx driver executable produced by dune, simplifying ppx test stanzas. (#12711)

Fixes

Coq/Rocq (modules_flags): (modules_flags ...) now accepts multiple modules in a single coq.theory stanza. The fix is gated behind coq lang 0.11; older lang versions retain the previous single-module restriction. Closes #12638. (#12733)

ocaml/merlin

Permalink

Fixes

Merlin: non-exhaustive lambda-pattern matching is now reported as an error. Issue #1517 closed 2025-11-14; regression test merged in #1995.

Merlin 4.7-413: opam install merlin fails on Ubuntu 25.04 with OCaml 4.13.1 due to a snprintf truncation error in ocamlmerlin.c. Issue #1993 is open; full build log requested.

Proposals

Merlin -short-paths: #1994 (open) adds tests covering the -short-paths flag and .merlin configuration. Reviewer suggests using the flag directly instead of a .merlin file.

Merlin: #1996 (open) adds a test confirming that let a : type b. 'a as b list = [] no longer crashes Merlin, though incoherent errors may still appear from parsing recovery.

ocaml/ocaml

Permalink

Features

  • OCaml trunk (stdlib): String.{take,drop,cut}_{first,last} merged to trunk, providing magnitude-based string splitting. #14352
  • OCaml trunk (stdlib): String.{drop,take,cut}_{first,last}_while proposed for predicate-based string splitting. #14362
  • OCaml trunk (compiler): -typing-recovery flag proposed; the typer continues past the first error and reports all type errors in a file. #14241
  • OCaml trunk (compiler): Spellchecking hints for module signature mismatches proposed, suggesting close-name matches for missing items. #14330

Fixes

  • OCaml trunk (runtime): Debug assertion Has_status_val failure in orph_ephe_list_verify_status reported on trunk; suspected interaction with recent GC pacing changes. #14349
  • OCaml trunk (type checker): Inclusion check fails when a type abbreviation is not expanded during the occurs check, rejecting valid signatures. #14343
  • OCaml trunk (runtime): Atomic accesses to the class cache proposed to eliminate a data race visible under TSan. #14333
  • OCaml trunk (build): C dependency generation in otherlibs fixed; a regression from 5.1.0 caused unnecessary recompilation. #14356

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp (issue #1572): closed 2025-11-13. The ppx_yojson_conv_lib upper bound on yojson was already relaxed in the opam repository; the reporter was using an outdated OCaml 5.2.1 switch. ocaml-lsp-server 1.23.1 and 1.24.0 install alongside yojson 3.0.0 without conflict.

  • ocaml-lsp (issue #1209): open since 2023. After fixing a type error in a .ml file, the LSP retains a spurious Unbound module diagnostic in a dependent file until the server is restarted. A 2025-11-16 comment requests reproduction on macOS to narrow the cause to Linux file-notification code.

Compatibility and Releases

  • ocaml-lsp-server 1.23.1 (issue #1571): open. opam install fails during dune build on Lubuntu 25.10 with OCaml 5.3.0. The captured output shows only C warnings from vendored code; the actual compile error is not yet identified.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org: PR #3395 (open, by kit-ty-kate) adds the changelog for opam 2.5.0~beta1 to the site. Not yet merged.

ocaml/odoc

Permalink

Features

  • odoc: Issue opened proposing rendering of parameterized libraries in generated documentation; Dune and oxcaml already support the feature. @art-w is assigned. (#1390)

ocaml/opam

Permalink

Releases

  • opam 2.5.0~beta1: First beta release. Fixes opam switch create --dry-run creating switch directories, version-equivalent rename (pkg.00 → pkg.0) removing packages, and macOS sandbox path restrictions. Drops the cmdliner dependency. Release notes

Documentation

  • opam (PR #6777): Adds documentation for creating a switch with compiler configure-time options such as ocaml-option-flambda. Open, needs update. PR
  • opam (PR #6778): Adds FAQ entry explaining how opam init and opam switch create select the default compiler package. Open, needs update. PR
  • opam (issue #6797): Reports that the opam list --installable manpage does not clarify how uninstalled depexts affect the result. Open. Issue

Features

  • opam (PR #6625, WIP): Proposes reading HTTP repositories as tar.gz in-place instead of untarring, targeting opam update and opam init performance on slow filesystems. PR
  • opam (PR #6489): Proposes checking depexts status during opam update rather than at install time, reducing repeated system checks. PR

Compatibility and Releases

  • opam (PR #6795): Merged. Adds 2.5.0~beta1 to the official install scripts. PR

ocaml/opam-repository

Permalink

Features

  • opam 2.5.0~beta1: eight packages (opam-client, opam-core, opam-devel, opam-format, opam-installer, opam-repository, opam-solver, opam-state) merged into the repository. A companion PR adds an upper bound on opam-format for odoc-driver to resolve a revdep break. #28877, #28890

  • moonpool 0.10: merged with breaking changes: around_task removed from schedulers, moonpool.fib deleted (use picos_std.structured instead), deprecated moonpool-io and moonpool.sync removed, and a new Main module added. #28891

  • binaryen 0.32.0 / 0.33.0 / 0.34.0: three consecutive breaking releases merged, each upgrading the underlying Binaryen C API (v122→v123→v124) and changing the Passes API. Matching libbinaryen packages (122.0.1, 123.0.1, 124.0.1) were also merged. #28880, #28887, #28888

  • crypt 2.0: major version merged, introducing a high-level user API, modern Dune build, and cleaned C stubs. A follow-up crypt.2.1 PR adds a mutex lock, public FFI module, and platform-dependent backends. #28875, #28906

Fixes

  • Melange upper bounds: merged PR adds "5.0.0" as an upper bound on melange for several dependent packages (melange-fest and others) after @mel.send.pipe was removed in Melange 5.0.1-53. #28876

  • alt-ergo source URLs: merged PR updates src URLs for alt-ergo 0.95.2 through 2.3.3 (and related alt-ergo-lib, alt-ergo-parsers) from http to https, resolving curl fetch failures in CI. #28896

Compatibility and Releases

  • ocamlfind 1.9.8 (MSYS2/Cygwin): merged constraint limits ocamlfind.1.9.8 to ocaml < 5.0 on MSYS2 and Cygwin until #112 is released, reducing spurious CI failures for downstream packages. #28897

  • New package submissions: avro-simple.0.1 (pure OCaml Apache Avro), expr (arithmetic expression parser), coq-waterproof.3.1.0+9.1 (Coq proof plugin), and crowbar.0.2.2 (property-based testing with AFL-fuzz) opened as new or initial releases. #28910, #28905, #28903, #28907

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml runtime: merged fix removes spurious node:util references from generated JS when using --target-env browser in the dev profile. Closes #2127 via #2129.

Features

  • Js_of_ocaml Wasm runtime: #2108 proposes exposing the JavaScript eval function to Wasm-compiled code. Still open; pending review comments as of the reporting interval.

oxcaml/merlin

Permalink

Fixes

  • Merlin (PR #196): fixes a crash when parameterized libraries interact with short paths. Merged by riaqn. Link
  • Merlin (PR #197): filters ghost-location nodes from syntax documentation, preventing spurious [@nontail] attribute hints from ppx-generated code. Merged by liam923. Link

Compatibility and Releases

  • Merlin (PR #198): adds afl compiler flags to the ignored-flags list so Merlin does not reject them during fuzz-instrumented builds. Merged by liam923. Link

oxcaml/oxcaml

Permalink

Features

OxCaml mixed modules: #4020 (open) lifts the value-only restriction on module fields, permitting unboxed elements at the top level of modules. New Types.module_representation and Lambda.module_representation types thread mixed-module shape through typing, lambda, and flambda2.

OxCaml scannable axes: #4992 (merged) adds parsing for non_pointer and maybe_pointer annotations on type abbreviations, with warnings for misplaced axes. #5006 (open) extends the layout system with a scannable-axis dimension and basic reasoning logic.

OxCaml slambda IR: #4776 (merged) introduces a slambda intermediate representation with a SLquote constructor wrapping lambda and a static evaluator. The -dslambda flag prints slambda before evaluation to lambda.

OxCaml sharable mode: #4982 (merged) adds a sharable mode to the portability axis; sharable closures capture shared values. The observing mode now implies sharable.

OxCaml mod contended inference: #4929 (open) enables limited inference of mod contended on let-bound variables, allowing specific values to cross contention boundaries. Inference bails out at function calls; pattern variables and annotations are deferred to follow-up work.

OxCaml effect primitives: #4901 (open) refactors %resume to accept the continuation directly rather than unpacked fields, eliminating the Must_not_enter_gc module. This prepares the runtime for a preemption effect carrying per-continuation GC registers.

Fixes

OxCaml jkind normalization: #4995 (open) replaces conservative Jkind.round_up with Tof_jkind substitution for unboxed existentials and Tpolys, fixing a stack overflow on recursive types such as type 'a t = { f : 'b. 'b t }.

Compatibility and Releases

OxCaml SIMD load/store: #4994 (merged) implements all SSE and AVX load/store intrinsics via the new memory-operand path. #4988 (merged) generalizes Simd.Mem.operation with Load and Store constructors, removing prior special-casing.

15 repositories · no changes