Thicket thicket
ocaml
REPOS 27
W07.2026 · 9–15 Feb

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/meio

Permalink

Compatibility and Releases

  • Meio: merged update to require Eio 0.14 or later (#72, merged 2026-02-11). Rebased work originally by patricoferris. Users pinning Eio below 0.14 will need to upgrade.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #59: Open proposal for val declarations in structures, enabling type annotations in .ml files without a separate .mli. Shadowing semantics for val bindings remain under discussion. (PR)

ocaml/dune

Permalink

Features

  • Dune 3.22 (melange): Melange build rules are now sandboxed by default. Merged 2026-02-14. (#13619)
  • Dune 3.22 (test stanzas): All test stanza variants are sandboxed, not only expect tests. Merged 2026-02-12. (#13617)
  • Dune (odoc): Generates and installs odoc-config.sexp files for multi-package documentation builds. Merged 2026-02-10. (#13476)
  • Dune (CLI): dune describe workspace gains a --no-recursive flag. Merged 2026-02-09. (#13590)
  • Dune (JSoO): Open proposals for incremental builds: on-demand archive rule generation, per-.cmo compilation to JavaScript, and shared standalone runtimes across executables. (#13611, #13612, #13621)

Fixes

  • Dune (install): dune build @install -p pkg no longer fails when cram tests are present in the target directory. Merged 2026-02-14. (#13581)
  • Dune (memo): Resolves a deadlock when dependency-cycle nodes are encountered during rule evaluation. Merged 2026-02-14. (#13625)

Compatibility and Releases

  • Dune 3.21.1: Released 2026-02-11. Fixes NetBSD/OpenBSD builds via ocaml-lmdb update, corrects melange.emit package masking with -p, and stops the RPC server on dune promote. (release)

ocaml/ocaml

Permalink

Features

OCaml GC: merged an Idle phase for the major GC, reducing CPU usage when the heap is nearly empty. Cherry-picked to the 5.5 branch. (#14365)

OCaml stdlib: merged String.drop_prefix and String.drop_suffix, returning Some t when the string starts or ends with the given prefix/suffix. (#14487)

OCaml stdlib: open proposal for an Atomic.Array module providing get, set, exchange, compare_and_set, and fetch_and_add on unboxed atomic arrays. (#14380)

Fixes

OCaml compiler: merged a change that prints GADT equations as hints when error messages reference variables introduced by those equations, e.g. Hint: "$0" is a type variable introduced in the equation "a M.t" = "$0 M.t". (#14142)

OCaml compiler: merged a fix so inclusion-check errors reference the original source file rather than a ppx intermediate (e.g. foo.ml instead of foo.pp.ml). (#14205)

OCaml toplevel: merged a fix for Load_path.remove_dir destroying auto_include_callback, which caused open Str to fail after a prior #remove_directory. (#14551)

OCaml bytecode: open fix for the PUSHENVACC4 opcode never being emitted due to a n < 4 vs n <= 4 off-by-one in the peephole pass. (#14534)

OCaml s390x: open fix replacing PLT calls with GOT-indirect calls to prevent the dynamic linker trampoline from corrupting the OCaml fiber stack when using libasmrun_shared.so. (#14547)

ocaml/ocaml-lsp

Permalink

Features

ocaml-lsp: Merged PR #1581 adds OCAMLLSP_PROJECT_BUILD_SYSTEM, OCAMLLSP_PROJECT_ROOT, and OCAMLLSP_PROJECT_ROOT_MARKERS environment variables for pointing at an arbitrary merlin configuration server. Falls back to existing .merlin / dune ocaml-merlin behaviour when unset.

Compatibility and Releases

ocaml-lsp: Issue #857 requesting web-worker support was closed on 2026-02-11. No comments record the resolution.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org I18n: Ongoing PR adds a language frontmatter field and selector for multi-lingual tutorial pages. Includes an initial Japanese translation of the installation guide. (#3238)
  • ocaml.org planet scraper: Merged change adds structured commit messages and PR bodies listing scraped posts and feed errors. CLI accepts --commit-file and --report-file flags. (#3503)
  • ocaml.org module docs: Open issue proposes a clickable table of contents listing all functions in a module, similar to Rust documentation. (#3506)

Compatibility and Releases

  • Neocaml 0.1: Announced via OCaml Planet as "Ready for Action" by bbatsov. New Emacs mode for OCaml development. (#3510)
  • Wasm_of_ocaml: New optimisations announced via OCaml Planet by tarides. (#3504)

Fixes

  • ocaml.org tutorials: Merged corrections fix ~100 typos across 41 files, including Option.fold → Option.bind and String.compare return type. Also resolves 469 markdown lint violations. (#3491, #3492)
  • ocaml.org scrape workflows: Merged fix adds an if condition so scheduled scraping runs only in ocaml/ocaml.org, not forks. Manual dispatch remains available on forks. (#3508)
  • ocaml.org Emacs tutorial: Open PR removes Merlin references from the editor setup page, recommending Eglot and ocamllsp instead. Author notes caml-mode is abandonware. (#3509)

ocaml/ocamlfind

Permalink

Features

  • ocamlfind issue #44: Closed 2026-02-11. Requested more flexible Fl_dynload API for build-time plugin path resolution under Dune; the supplied data contains no comments explaining the closure outcome. Link

ocaml/odoc

Permalink

Fixes

  • odoc PR #1400: open fix for issue #930, updated 2026-02-09; no comments or merge recorded in the interval, so the specific in-interval change is not established. PR

ocaml/opam

Permalink

Features

  • opam shell hook (PR #6859, open): The env hook registered by opam init will update the switch bin directory in place in PATH rather than prepending it, preserving the switch's relative precedence among other directories. Does not affect eval $(opam env). Fixes #6815. (#6859)

  • opam update depexts check (PR #6489, open): Runs a depexts status check during opam update so stale system-dependency state is detected without a separate command. Active review in progress; fixes #6461 and #4172. (#6489)

  • opam update speedup (PR #6283, open, WIP): Subsequent empty opam update calls drop from ~3.5 s to ~0.4 s (8×) by caching repository metadata. Still marked work-in-progress; not yet mergeable. (#6283)

Fixes

  • opam switch link (issue #6857, open): Running opam switch link on an already-existing _opam switch silently corrupts it with no error message. A maintainer notes the symptom matches #6449, fixed in opam 2.4.0; the reporter's version is unconfirmed. (#6857)

Compatibility and Releases

  • opam README (PR #6858, merged 2026-02-13): Corrects the ./configure instruction to mention --with-vendored-deps when OCaml dependencies are not pre-installed. (#6858)

ocaml/opam-repository

Permalink

Features

dune 3.21.1: Merged patch release fixing NetBSD/OpenBSD builds and melange.emit package masking; dune promote no longer starts an RPC server. #29374

js_of_ocaml 6.3.0: Open PR adding WASM number unboxing, reference unboxing, js-parser decorator support, and numerous Dom_html binding fixes. #29348

windtrap 0.1.0: Open PR for a new all-in-one testing framework unifying unit, property-based, snapshot, and expect tests with a PPX for inline expect tests. #29387

Compatibility and Releases

trace 0.11: Merged with breaking changes: collector reworked to use open sum types, no global state required, user_data/span_flavor now use poly variants. #29345

opam-repository: Merged archival of all available: false packages and all packages with x-maintenance-intent: ["(none)"], primarily tezos/octez. #29360, #29363

mkernel 0.0.1: First public release of a unikernel using Miou for I/O on Solo5/Unikraft. Merged. #29361

bogue 20260208: New SDL2-based GUI library with animations, theming, and Hi-DPI support. Merged with dependency constraint updates. #29351

utcp 0.0.1: Initial public release of a TCP implementation in OCaml. Merged. #29359

ocsigen/js_of_ocaml

Permalink

Features

  • Js_of_ocaml variable coalescing: open PR merging variables with disjoint lifespans in generated JavaScript. Reduces V8 register count by 74–91% and gzip size by 10–16% on benchmarks. (#2166)
  • Js_of_ocaml onbeforeunload fix: open PR correcting Dom.handler so a handler returning Js._true no longer triggers the browser "Leave page?" confirmation dialog. (#2159)
  • Js_of_ocaml WASI runtime: open PR adding wasm_of_ocaml --enable wasi to produce WASI binaries executable under wasmtime or the Wizard engine. (#1831)
  • Js_of_ocaml compiler subst speedup: open PR targeting build-time reduction in the compiler's substitution pass. (#2185)
  • Js_of_ocaml block sharing: open PR preserving sharing of OCaml blocks in generated code to avoid unnecessary duplication. (#2184)
  • Js_of_ocaml bigstring optimizations: open PR adding word-at-a-time memcmp, memchr, and strncmp implementations for the Wasm backend. (#2144)

Compatibility and Releases

  • Js_of_ocaml 6.3.2: fixes installation of shell completion files. Released 2026-02-15. (release)
  • Js_of_ocaml 6.3.1: fixes completion file installation in monorepo (dune workspace) builds, working around dune bugs. Released 2026-02-13. (release)

oxcaml/merlin

Permalink

Fixes

  • Merlin (oxcaml): cherry-picks compiler changes from #5398 to fix verbose kind hovers without waiting for the next compiler roll. Merged 2026-02-09. (#218)
  • Merlin (oxcaml): hover now displays <default> instead of an empty string when all modes are legacy. Merged 2026-02-11. (#219)
  • Merlin (oxcaml): signature help no longer loops over parameters once the parameter list is exhausted. Downstreams #2023. Merged 2026-02-10. (#214)

Features

  • Merlin (oxcaml): proposes suggesting optional arguments in signature help. Marked draft; the fix is being developed upstream at #2032. Open. (#216)
  • Merlin (oxcaml): proposes triggering signature help on unfinished let ... in bindings. Downstreams #2009. Open; the underlying fix is not yet resolved. (#215)

oxcaml/opam-repository

Permalink

Compatibility and Releases

  • oxcaml/opam-repository: Merged #31 (art-w) updates the jsoo package to track the latest oxcaml branch of js_of_ocaml, replacing individual patches. This resolves parameterised-lib issues blocking incremental compilation with jsoo in dune (ocaml/dune#13414).

oxcaml/oxcaml

Permalink

Features

  • OxCaml type-level eval: proposes Teval as a predefined unary type constructor for evaluating target-stage types into the meta stage in runtime metaprogramming. For concrete types t, <[ t ]> eval = t via head expansions. #5402 (opened)

  • OxCaml abstract kinds: merges basic abstract kind declarations and kind aliases into the type system. Kind manifests are stored as const lr kinds; module-level with kind_ = ... constraints follow in a subsequent PR. #5071 (merged)

  • OxCaml SIMD on arm64: translates vec256 to a pair of vec128 at the lambda level, splitting loads and stores into two 128-bit operations. Enables 256-bit SIMD tests on arm without AVX intrinsics. #5291 (merged)

  • OxCaml unboxed int indexing: adds int8/int16 storage and signed-index primitives for arrays, strings, and bigstrings. New %caml_bytes_geti8 / %caml_bytes_geti16 primitives return sign-extended values. #4779 (merged)

  • OxCaml manual module init: adds -manual-module-init to ocamlopt linking, suppressing automatic initialization. C functions caml_init_module and caml_init_module_exn trigger on-demand initialization of a module and its dependencies. #5395 (merged)

Compatibility and Releases

  • OxCaml register allocation: adds -regalloc-param BIT_MATRIX_THRESHOLD:k to select a bit-matrix interference graph for functions with fewer than k registers. Default remains the hash-table-based PairSet. #5296 (merged)

  • OxCaml expect tests: merges [%%expect_asm] support, enabling tests to assert on generated assembly with architecture-specific expectations (currently X86_64). Adds a only-default-codegen test action. #5350 (merged)

  • OxCaml chamelon: proposes dune-project integration for the minimizer, parsing dune build --debug-dependency-path and dune show rules -r to minimize a failing target and its dependencies. #5423 (opened)

13 repositories · no changes