Thicket thicket
ocaml
REPOS 27
W11.2026 · 9–15 Mar

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio (proposal, issue #831): vog proposes Eio.Stdenv.tmp and Path.open_temp_dir/with_temp_dir for capability-scoped temporary directory creation. patricoferris suggests implementing without Filename and adding an opt-out for cleanup. Still open. Link

  • Eio (PR #833): vog adds a missing_ok parameter to Eio.Path.unlink, mirroring the existing Eio.Path.rmtree behaviour. patricoferris approves; the PR remains unmerged. Link

ocaml/dune

Permalink

Features

  • Dune 3.22.0~alpha1: Released 2026-03-11. Adds DUNE_JOBS env var, dune trace cat, @doc-markdown alias for odoc, dune runtest with individual test args, shell field in cram stanzas, and dune-action-trace public library. See release notes.

  • Dune 3.23 sandboxing: Merged #13805 enables sandboxing for user-defined rules starting at dune lang 3.23. Projects using dune lang 3.22 or earlier are unaffected.

  • Dune multi-line strings: Open PR #13758 adds preservation of | and > block strings when formatting dune files at dune lang >= 3.22. Requires a version bump; for older lang versions, block strings convert to escaped strings or templates.

Compatibility and Releases

  • Dune 3.22.0~alpha1: The release includes a breaking cache path change: the build cache moves to $DUNE_CACHE_ROOT/db. Users can prevent invalidation by moving existing contents into a db/ subdirectory. See release notes.

  • Dune async digests: Merged #13341 computes target digests asynchronously, reducing build-time I/O stalls. Part of a multi-PR series targeting build performance.

Fixes

  • Dune select regression: Merged #13804 restores dune lang 1.0 semantics for (select ..) on non-OCaml files, fixing a build failure in packages like mccs. Closes #13802.

  • Dune ppx cookies: Merged #13737 collects cookies from transitive ppx_rewriter dependencies, not just directly listed ones. Fixes #3426.

  • Dune build-dir lock: Merged #13767 stops dune build from hanging indefinitely when the build directory is locked by a dead process. Closes #12685.

  • Dune trace file path: Merged #13735 places the default trace file at the workspace build root rather than relative to the current working directory. dune trace cat now locates it correctly from subdirectories.

ocaml/merlin

Permalink

Fixes

  • Merlin + OxCaml (issue #2045): An unhandled force_reduction exception in the parser triggers the Emacs Lisp debugger when debug-on-error is enabled. The reporter confirmed the debugger invocation is a local Emacs setting; the underlying parser error remains unexplained. Issue is open.

ocaml/ocaml

Permalink

Fixes

OCaml 5.5: fixes a regression where a local open inside a pipe expression blocked optional-argument elimination, causing spurious type errors. Cherry-picked to the 5.5 branch. (#14638)

OCaml 5.5: fixes a false warning 16 (unerasable-optional-argument) raised when a GADT parameter precedes a first-class module argument in a function signature. (#14626)

OCaml runtime: fixes caml_floatarray_gather so empty results from Float.Array.sub, append, and concat use the canonical Atom(0) block instead of a mis-tagged allocation. Cherry-picked to 5.5. (#14635)

OCaml bytecode interpreter: proposes adding a missing GC root for the continuation in the reperform path, fixing a segfault with nested Effect.perform and Effect.Unhandled. Open PR. (#14647)

OCaml ARM backend: proposes replacing the TBH instruction (16-bit relative offset) with a 24-bit offset sequence to eliminate assembler errors on arm32. Open PR. (#14646)

Compatibility and Releases

OCaml Marshal: proposes bounds checking in Marshal.from_* to prevent buffer over-reads on crafted or truncated input (CVE-2026-28364). Open PR targeting the 4.05 branch. (#14615)

OCaml runtime: proposes inlining the minor-GC promotion fast path to avoid global-variable access, yielding a 2–3% total runtime improvement on allocation-heavy workloads. Open PR. (#14571)

OCaml compiler: replaces hashtable-based Unicode normalization with a match-based implementation, reducing compiler runtime by 4–6% on workloads with non-ASCII identifiers. Merged. (#14618)

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp: Open PR by anmonteiro to fix compilation with Dune 3.22. Not yet merged. #1594

ocaml/ocaml.org

Permalink

Features

  • ocaml.org tutorials: adds references to the ocaml-devcontainer in the Installing OCaml, Configuring Your Editor, and Docker Images pages, offering a pre-configured development environment as an alternative to manual setup. (#3558)
  • OCaml Planet: adds samoht's blog as a new feed source. Merged by the author. (#3561)

Fixes

  • ocaml.org exercises: corrects the display order on /exercises from lexicographic to numeric slug sorting, so exercise 2 now appears before exercise 10. Closes #3552. (#3553)
  • ocaml.org governance data: removes the ppxlib dev meeting entry from the governance data file. (#3560)

Compatibility and Releases

  • ocaml.org scraper infrastructure: introduces a release-scrapers.yml workflow that builds the scraper binary and publishes it as the scraper-latest release; scrape workflows now download this pre-built binary instead of rebuilding from source, removing the OCaml toolchain dependency from CI. (#3556, #3557)

ocaml/odoc

Permalink

Features

  • odoc Markdown backend (PR #1403): Fenced code blocks for OCaml API declarations now carry an ocaml language tag, matching the HTML backend. Verbatim and math blocks remain untagged. PR

Fixes

  • odoc (PR #1400): Fixes a crash in odoc compile when substituting the same type name at different arities across nested include … with signatures. Closes issue #930. PR
  • odoc (PR #1402): Merged two bugfixes described as important for upcoming dune rules. No further detail in the PR body. PR
  • odoc (PR #1395): Fixes URL remapping for page references in generated documentation. The prefix check now includes the filename, so page links are correctly remapped alongside module links. PR

ocaml/opam

Permalink

Features

  • opam admin (proposal, #6865): New add-conflict subcommand requested alongside existing add-constraint and add-hashes. Opened by @raphael-proust on 2026-03-10; still open.

Compatibility and Releases

  • opam env hook (PR #6859, open): The shell hook now updates the opam switch PATH entry in place instead of prepending it, preserving relative PATH precedence. Fixes #6815; flagged as potentially breaking for users who append PATH entries after sourcing opam-init.sh.
  • opam Darcs support (PR #6866, open): Removes the Num library patches fallback for Darcs VCS, eliminating code dating to the 2.10.3 release (2016). Opened by @toastal on 2026-03-12.

Fixes

  • opam Windows build (PR #6862, open): Sets _WIN32_WINNT to the Windows 8.1 constant to resolve MSYS2 build failures where GetCurrentProcessToken is unavailable. Reviewers suggest placing the flag in configure.ac or src/core/dune rather than the C source.

ocaml/opam-file-format

Permalink

opam-file-format: open PR #65 by kit-ty-kate updates the README (fixes #64). Not yet merged.

ocaml/opam-repository

Permalink

Features

  • olint 0.1.0: new OCaml linter package merged. Provides 10 rules for antipatterns, partial-function misuse, and naming conventions; uses compiler-libs on the untyped AST with no .cmi dependency. Requires OCaml ≥ 5.4.0. (#29543)
  • oui 0.1.0: new tool for building standalone installers for OCaml applications, merged. Requires OCaml ≥ 4.13.0. (#29523)
  • libinput 0.1: new OCaml bindings for libinput merged. Requires libinput ≥ 1.26; CI failures accepted on distributions shipping older versions. (#29531)

Fixes

  • tls 2.0.4: fixes an exception in parse_change_cipher_spec on empty input, present since the initial 0.1.0 release. Sponsored by Tarides. (#29532)

Compatibility and Releases

  • relocatable.packages: new virtual package merged. Non-relocatable packages (all compilers < 5.5, all ocamlfind, all ocamlbuild) now conflict with it, enabling switches to require only relocatable packages. (#29451)
  • dune-rpc upper bound: upper bound < 3.22 added to dune-rpc to block a breaking API change identified during the in-progress dune 3.22.0~alpha1 draft. Affects ocaml-lsp-server and other reverse dependencies. (#29544)
  • opentelemetry 0.13: merged with a breaking change: the vendored opentelemetry.ambient-context module is removed; users must depend on the standalone ambient-context 0.2 package and call Ambient_context.set_current_storage explicitly. (#29501)
  • opam-repository immutable policy: policy tightened so that published tarballs must remain immutable; a CI linter already enforces pin-depends presence. Merged after extended discussion. (#29072)

ocsigen/js_of_ocaml

Permalink

Features

js_of_ocaml --build-config: Merged 2026-03-13. wasm_of_ocaml --build-config prints compiler settings as key=value pairs; --apply-build-config overrides them, taking precedence over other flags. Enables coherent compilation when linking units that must share settings. (#2177)

js_of_ocaml shape computation: Merged 2026-03-12. Adds caching and sharing to avoid exponential blowups; uses coinductive computation for cyclic types and computes function-return arities. One user reported a .cma.js compile dropping from over 7 hours to ~200 ms. (#2198)

Compatibility and Releases

js_of_ocaml OCaml 5.5.0~alpha1: Merged 2026-03-12. Adds compiler and runtime support for the OCaml 5.5.0 alpha release. A broader initial-support PR remains open. (#2197, #2195)

Fixes

js_of_ocaml Binaryen check: Merged 2026-03-09. The Wasm runtime build now verifies that Binaryen ≥ 119 is available before invoking wasm-merge, preventing a silent "not found" failure. (#2191)

js_of_ocaml wasm-merge build failure: Issue closed 2026-03-12. Reported by rixed: building wasm_of_ocaml-compiler on Debian bookworm with APT::Install-Recommends "0" fails because wasm-merge is absent from the binaryen package. (#2190)

js_of_ocaml runtime and bug fixes: Two PRs merged 2026-03-09 with no descriptive body. The specific changes are not documented in the supplied records. (#2192, #2194)

oxcaml/oxcaml

Permalink

Features

  • OxCaml mode system (PR #5608): Adds write and observable modes, making visibility and statefulness axes into diamond lattices with partial ordering. Open; implementation uses bit-vector encoding for meet/join. Link

  • OxCaml [@unpacked] attribute (PR #5610): Merged. Flattens unboxed product arguments into separate C parameters on native; bytecode stubs receive the product as a single boxed value. Nested products are recursively flattened. Link

  • OxCaml -O4 flag (PR #5574): Merged. Enables -O3 plus -flambda2-reaper; also adds the [@@ocaml.flambda_o4] attribute for per-module use. Link

  • OxCaml -cfg-merge-blocks pass (PR #5597): Merged. New backend pass that merges equivalent CFG blocks after register allocation, reducing instruction count by ~3% in benchmarks. Disabled by default. Link

  • OxCaml abstract kinds (PR #5629): Adds with kind_ constraints, completing the planned feature set before announcing abstract kinds. Open; parser enforces that the RHS is an lr-kind to avoid keyword conflicts. Link

  • OxCaml slambda fracturing (PR #5544): Open. Splits lambda constructors into slambda (compile-time/runtime halves) as the first pass in the layout-polymorphism pipeline. All primitives are treated as dynamic. Link

  • OxCaml [@zero_alloc] on function arguments (PR #5493): Open. Extends the [@zero_alloc] attribute to higher-order function parameters, requiring explicit arity. Front-end checks that the argument is an identifier or function abstraction. Link

  • OxCaml GADT stage tracking (PR #5607): Open. Stores local constraints keyed by inference stage to prevent leaking type equalities across quote/splice boundaries. Fixes a soundness hole in GADT pattern matching under metaprogramming. Link

15 repositories · no changes