Thicket thicket
ocaml
REPOS 27
W13.2026 · 23–29 Mar

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Eio (ocaml-multicore/eio): Eio.Path.load has a race condition (stat-then-read) and silently returns an empty string for /proc files, which the kernel reports as size 0. Issue #835, opened by vog, proposes using the file size only as an initial buffer hint and making the function equivalent to Eio.Path.with_open_in path Eio.Flow.read_all. Still open as of the reporting interval.

ocaml/dune

Permalink

Features

  • Dune 3.23: the diff action now accepts directory arguments, enabling comparison of entire directory trees. Requires (lang dune 3.23); gated by #13932.
  • Dune 3.23: dune promote foo now promotes all descendants of foo/, not just the single file. The previous single-file behaviour is available via --file. Merged in #13876.
  • Dune 3.23: sandboxed actions can now emit .corrected files, enabling promotions without declaring explicit targets. Merged in #13813.
  • Dune 3.23: dune build prints a hint when the target directory is excluded by a (dirs ...) stanza, showing the stanza location. Merged in #13919.

Fixes

  • Dune 3.22.1: restores bootstrap on Windows 7 by falling back to GetSystemTime when GetSystemTimePreciseAsFileTime is unavailable. Backported via #13905.
  • Dune 3.23: fixes a spurious dependency cycle when a library uses enabled_if with %{read:...} and a (package ...) directive is present. Merged in #13833.
  • Dune 3.22.1: dune runtest crashes with an internal error when no default context is configured. Fix in progress via #13930; regression from 3.22.0.

Compatibility and Releases

  • Dune main: CI now builds against OCaml 5.6 trunk, resolving a String.drop_prefix signature mismatch introduced by the stdlib. Merged in #13950.

ocaml/merlin

Permalink

Features

  • Merlin indexer (PR #2050, open): Proposes replacing the unbounded index hashtable with an LRU cache to bound memory usage. Reviewers are discussing eviction policy, naming, and whether to track per-entry memory footprint. Link

  • Merlin ocaml-index (PR #2051, open): Adds support for pointing index files to an existing on-disk index, reducing index file size and write operations. Reviewers flag a safety concern: a pointing index may reference a removed or updated target. Link

Compatibility and Releases

  • Merlin build tooling (PR #2047, merged 2026-03-27): Upgrades the codebase to ocamlformat 0.29.0. Labeled "no changelog"; no user-facing API change documented. Link

  • Merlin LSIF request (issue #1017, closed 2026-03-23): The feature request for precomputed LSP data (definitions, references, hover) in LSIF format was closed. No merged implementation or stated rationale is present in the record. Link

ocaml/ocaml

Permalink

Features

OCaml class types: Merged rebased class type system improvements (rebase of #12150 by @lpw25). Affects typechecking of class and class type declarations. #14680

OCaml modular explicits: Merged support for partial-application, over-application, and unused-argument warnings on module-dependent functions. Previously these warnings were suppressed for functions taking a packed module argument. #14667

OCaml record update syntax: Proposal to allow unparenthesized function applications in { expr with ... }, e.g. Gc.set { Gc.get () with space_overhead = 100 }. Open for review. #14692

Compatibility and Releases

OCaml typechecker "Keep expansion": Opened a 5.4 rebase of the long-running typechecker rewrite (#11648) for ecosystem testing. The change alters how type abbreviations are tracked and may reject previously accepted code with ambiguous GADT types. #14673

OCaml x86 runtime: Merged change to always emit the prefetchw instruction on x86 and x86_64. Reversible via ./configure CFLAGS=-mno-prfchw for pre-2015 Intel processors. #14665

Fixes

OCaml GC ephemeron: Reverted the ephemeron-marking optimisation from #14657, which introduced a data race causing the major GC to loop indefinitely in multi-domain programs. A corrected version is proposed in #14688. #14682

OCaml bigarray: Adds overflow checking to caml_ba_reshape, fixing an out-of-bounds read on 4.14 and an incorrect Out_of_memory exception on 5.x when user-supplied dimensions overflow. #14691

OCaml Power backend: Merged DWARF CFI emission for the Power backend, restoring backtraces and debugger support on ppc64le. This was the last native backend missing CFI. #14482

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp: Reverts the signature_help line-break formatting introduced in #1580. Editors render the LSP label field as a single line, ignoring inserted line breaks, making the change unusable. #1598 (open, by Lucccyo).

ocaml/ocaml.org

Permalink

Compatibility and Releases

  • OCaml 5.4.1 release data: merged PR adds data/releases/5.4.1.md, making 5.4.1 appear on the front page alongside 4.14.3 (LTS). The per-version file was previously missing. (#3576)
  • Dune 3.22: announcement merged to ocaml.org, marking the release and publication of dune 3.22. (#3570)

Fixes

  • ocaml.org docs: merged fix adds a note that opam update is required to see new compiler versions, and corrects formatting in the opam-path direnv section. By penelopeysm. (#3574)

Features

  • Dune Project Structure tutorial: open PR adds a guide covering file-to-module mapping, dune-project vs dune files, stanzas, wrapping, and the distinction between (depends ...) and (libraries ...). (#3582)
  • dune pkg tutorial: open PR covers the full dune pkg workflow (lock, build, update, add/remove deps) and its interaction with opam switches. (#3581)
  • Reading OCaml Errors tutorial: open PR adds a systematic guide to type mismatches, unbound identifiers, pattern matching, and module errors, verified against OCaml 5.x output. (#3583)
  • LLM Coding Agents tutorial: open PR covers agent configuration files, MCP server integration, and project structure practices that improve agent productivity with OCaml. (#3584)
  • opam-path tutorial rewrite: open PR expands the 99-line guide into a ~210-line reference covering platform-specific eval $(opam env) syntax, opam exec -- vs direnv, and LLM agent environment setup. (#3580)

ocaml/odoc

Permalink

Features

  • odoc (issue #1405): requests display of [@atomic] annotations on mutable record fields, a feature introduced in OCaml 5.4. Opened 2026-03-24; no implementation yet.

  • odoc (PR #1406, draft): adds OCaml 5.5 support for external types (rendered as abstract types) and module arrows. Module-argument paths currently render as unresolved links. Opened 2026-03-25.

Fixes

  • odoc (PR #1404, draft): fixes missing parentheses around polymorphic parameters in OxCaml rendering. Depends on PR #1399; the feature is expected in OCaml 5.5. Updated 2026-03-23.

Compatibility and Releases

  • odoc (issue #1401): OCaml 5.5 support tracking issue, updated 2026-03-25. PR #1406 is referenced as in progress; an undated comment notes addition to opam-alpha-repository.

ocaml/opam

Permalink

Features

  • opam (Nushell support): Open PR adds opam env JSON output and shell-config hooks for Nushell, continuing work from #6330. Active review addresses quoting, config paths, and parse-time source evaluation. (#6873)

Compatibility and Releases

  • opam (source cache size): Long-running WIP PR, updated within this interval, proposes storing only dev-package sources in .opam-switch/sources to reduce disk usage. Not yet mergeable. (#6440)

Fixes

  • opam (file:// symlink handling): Open PR replaces lstat with stat in the repository diff path so opam update no longer rejects file:// repos containing symlinks. Fixes #6410; affects Linux, macOS, and Windows. (#6874)

  • opam 2.5.0 (incremental repo loading): Reported bug: load_opams_from_diff scans all subdirectories from the repository root instead of restricting to packages/, so packages outside that tree appear on update but not on initial add. (#6872)

  • opam (repo diff loading): Open PR restructures the diff-loading path to skip unrelated files and handle nested packages/ layouts, addressing the bug above. (#6871)

ocaml/opam-repository

Permalink

Features

  • OCaml 5.5.0 third alpha: adds ocaml-variants.5.5.0~alpha3 and related packages to opam. Fixes relocatable-compiler bootstrap tagging; includes code-generation, type-system, and Float.Array standard-library fixes. Beta planned for early April. #29600

  • utop 2.17.0: adds OCaml 5.5 and neocaml support; marks utop.0.2.16.0 incompatible with 5.5.0. #29604

  • ocaml-option-llvm (proposal): new marker package to select the LLVM/Clang toolchain cross-platform (CC=clang-cl on Windows, CC=clang elsewhere). Extensible to lld-link, llvm-ar, etc. as upstream OCaml support lands. Open, under discussion. #29582

Compatibility and Releases

  • ppxlib 0.38.0: adds OCaml 5.5 support, 5.4 bivariant type parameters, labeled tuples, and effect-pattern utilities. Fixes an infinite loop on duplicate attributes and a Location.none insertion bug. #29563

  • core v0.17.2: Jane Street's standard-library alternative; fixes compilation on OCaml 5.5. #29596

  • fstar 2026.03.24: new release; removes the OCaml 5.4.0 build constraint and switches to Ppxlib.Ast_builder.Default for compiler-AST insulation. #29595

Fixes

  • opam-repository Windows CI: replaces manual opam/MSYS2 setup with ocaml/setup-ocaml@v3 and git+file:// repository scheme. The old workflow did not use --cygwin-internal-install, so it no longer matched downstream user builds. #29614

  • MSYS2 depext gaps: four open issues flag missing os-distribution = "msys2" depexts in conf-m4, conf-perl, conf-findutils, and a hardcoded msys2-mingw64 dependency in conf-mingw-w64-gcc-x86_64 (UCRT64 now recommended). Filed by @smorimoto while adding MSYS2 support to setup-ocaml. #29575 #29576 #29577 #29578

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (Wasm dynlink): PR #2187 adds dynlink and toplevel support for the Wasm backend. Still open and under review as of 2026-03-26.
  • js_of_ocaml (OCaml 5.5): PR #2195 introduces initial compiler and runtime support for OCaml 5.5. Still open as of 2026-03-26.

Fixes

  • js_of_ocaml (Wasm closures): PR #2207 allocates a distinct global per empty closure so == comparisons between distinct closures work correctly. Open, not yet merged.
  • js_of_ocaml (Wasm codegen): PR #2208 guards direct W.Call emission against closures eliminated by dead-code analysis, falling back to indirect calls. Open, not yet merged.

oxcaml/merlin

Permalink

Fixes

  • Merlin: adds -linscan to the list of ignored compiler flags, resolving a gap present since the flag was introduced nine years ago. Merged by liam923. #226

oxcaml/oxcaml

Permalink

Features

OxCaml abstract kinds: with kind_ constraints complete the abstract kinds feature set, enabling kind-level parametricity analogous to type-level with bounds. Open PR by ccasin. Link

OxCaml mode polymorphism: Level-relation operations (update-level, generalize, instantiate) integrate into type inference under -extension mode_polymorphism_alpha. Open PR by ainageorges. Link

OxCaml write/writing modes: New modes make visibility and statefulness axes partial-ordering diamonds; write permits mutation without reading, writing closes over such values. Open PR by nmatschke. Link

OxCaml unique implies uncontended: Experimental jkind/ikind axis tracks whether @ unique upgrades to @ uncontended, disabled by @@ aliased modalities. Open draft PR by julesjacobs. Link

OxCaml preemption: Initial effects-based runtime preemption allows user schedulers to preempt domains at GC poll points without explicit yielding. Open PR by glittershark. Link

OxCaml generalized unboxed reprs: Constructor-level [@repr null], [@repr immediate], [@repr pointer], and [@repr value] annotations enable allocation-free variant encodings. Open draft PR by julesjacobs. Link

OxCaml x86 peephole pass: New -x86-peephole-optimize flag enables rewrite rules eliminating dead-register MOVs, redundant CMPs, and combining adjacent addq RSP sequences. Open PR by ttebbi-janestreet. Link

OxCaml optimization fuel: OPT_FUEL_RECORD and OPT_FUEL_THRESHOLD environment variables enable binary-searching which optimization step causes a miscompilation. Open PR by ttebbi-janestreet. Link

15 repositories · no changes