Thicket thicket
ocaml
REPOS 27
W32.2026 · 3–9 Aug

All repository summaries

15 active · 12 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio.Path.native is now a Pi backend operation with full Windows path support (NT/verbatim/drive-relative parsing). Merged in #916 (2026-08-05). Closes #762 and supersedes #738.
  • Eio.Path.of_dir added as a convenience constructor, avoiding manual (dir, "") tuples. Merged in #919 (2026-08-05).
  • eio_posix gains mknod support for device nodes beyond FIFOs. Draft PR #911 by avsm, pending BSD CI.

Fixes

  • eio_posix build on 32-bit targets (e.g. i386) fixed: MSG_CMSG_CLOEXEC is now read from C rather than passed through an OCaml int. Merged in #917 (2026-08-03); closes #909.
  • dir_path for cwd and fs standardised to "" across eio_linux and eio_posix, eliminating a ./"" inconsistency in native-path printing. Merged in #920 (2026-08-07).

Compatibility and Releases

  • Windows path handling (absolute, drive-relative, NT \\?\ prefixes) is now exercised by tests running on Linux and macOS via the Pi dispatch layer. See #916.
  • Eio_mock.Dir with POSIX and Windows path syntax is in draft for testing path logic without a real filesystem. See #908.
  • Trace-event allocation (23 words/op when the ring is active) is tracked in #914; a zero-allocation write path is proposed upstream in #14984.

ocaml-multicore/picos

Permalink

Features

No user-facing features, fixes, or compatibility changes are supported by the supplied records.

Compatibility and Releases

No releases or compatibility changes are supported by the supplied records.


The only record in the interval is issue #388 (opened 2026-08-03, still open), which has an empty body, no labels, and no comments. The title "New issue Pico" provides no observable change, API, or workflow detail. Evidence is insufficient to describe a concrete development.

ocaml/RFCs

Permalink

Features

  • RFC 52: Implicit source positions (open, updated 2026-08-05) — Proposes a [%call_pos] attribute on labelled function parameters of type Lexing.position, auto-filled with the call-site position. Intended for monadic bind tracing, test-framework diagnostics, and embedded-language error reporting. Not yet merged. #52 (OlivierNicole)

ocaml/dune

Permalink

Features

  • dune describe workspace and dune describe external-lib-deps now report public names for executables, matching library behaviour. A new --split-public-names flag places private names in name(s) and public names in a separate public_name(s) field. Merged in #15582; fixes #15497.

  • dune shell TARGET opens an interactive session at a prepared rule action boundary, exposing run, show_action, and show_command for debugging individual build steps. Preserves sandbox, environment, and locks. Open PR #15597; closes #3961.

  • Allocation profiling gains the DUNE_TRACE_ALLOC environment variable (rate, stack, top fields) and two new rankings per heap: by_site (youngest frame) and by_frame (all frames in stack). Frames fall back to the nearest symbolized caller. Merged in #15699, #15703, #15710.

Performance

  • Merged null-build improvements: major-heap space overhead raised to 500 (~13% @install, ~11% @check, #15730); batch builds skip Memo dependency storage (~10% @check/@install/@runtest, #15705); command-argument action builders flattened (~6% no-op @check, #15697); manual digest writes buffered in 4 KB (~2.3%, #15731).

Fixes

  • Menhir type inference (ocamlc -i) fails with Unbound module "Stdlib" on macOS when a relocatable compiler is selected via dune pkg lock. The fix declares the compiler stdlib directory as a hidden sandbox dependency. Open PR #15679; fixes #15642.

  • Null builds with %{bin:...} or (package ...) dependencies no longer invalidate and rebuild the .binaries/.packages install layouts, eliminating spurious workspace- and shared-cache misses. Merged in #15678.

  • JSOO archive directories are now preserved for interface-only libraries, stopping repeated rebuilds. Merged in #15427.

Compatibility and Releases

  • Dune 3.24.2 released 2026-08-03. Backports: implicit unix dependency for MDX ≥ 2.6 test executables (#15592); RPC registry rescan on directory mtime change (#15634). See release notes.

  • The (warnings (duplicate_deps ..)) field requires dune >= 3.18 but was introduced in 3.22, producing overly permissive opam bounds. Open PR #15696 corrects the bound.

ocaml/merlin

Permalink

Fixes

  • Occurrences: duplicate result on recovered let binding (#2113, open). The Occurrences query returns a duplicate entry for a recovered let rec binding at EOF. A reproduction test is proposed in #2114 (open).

  • Occurrences: out-of-sync file detection after rename without rebuild (#2115, open, by ikostia). Proposes exposing name-clash information from find_linked_uids so that files whose source size is unchanged after a rename are still flagged as out-of-sync, matching the behaviour of get_external_locs. Affects the accuracy of Occurrences results immediately after a rename before a rebuild.

ocaml/ocaml

Permalink

Features

  • New Uchar.is_ascii, Uchar.ascii_to_char, Uchar.is_latin1, and Uchar.latin1_to_char clarify the boundary between char and Uchar.t. Merged. (#14981)
  • Optional arguments can now carry polymorphic types (e.g. ?f:('a. 'a -> 'a)), encoded as Tpoly under Tarrow. Open. (#14985)

Performance

  • Atomic.exchange and Atomic.compare_and_set emit native instructions (xchg, cmpxchg, amoswap, etc.) instead of C calls when the stored value is statically immediate. Benchmarks show 2–3× speedup on single-domain workloads. Open. (#14980)
  • Weak.Make is reimplemented with open-addressing and linear probing; alt-ergo-free runs 30% faster in one benchmark. Open. (#14979)

Fixes

  • The typechecker no longer assumes abstract types defined in the current module are injective, closing a soundness hole that permitted arbitrary type casts and segfaults. Merged. (#14982)
  • The let-rec size check now classifies generic arrays as dynamic size, preventing a segfault on 32-bit when a flat float array appears in a recursive binding. Merged. (#14993)
  • Weak.get_copy no longer shallow-duplicates continuations, which previously could cause segfaults when two copies shared a fiber. Open. (#14988)

Compatibility and Releases

  • ocamlc will enable -g by default, matching ocamllopt. This disables some lambda Simplif passes in bytecode but improves backtrace quality. Open. (#14971)

ocaml/ocaml-lsp

Permalink

Fixes

  • textDocument/definition (merged): A keyword, builtin type, or name at its own declaration now returns an empty result instead of a RequestFailed error. Eliminates spurious error notifications in editors that query definitions eagerly.

  • textDocument/publishDiagnostics (merged): Now attaches Unnecessary and Deprecated tags when the client advertises tagSupport. Editors can grey out unused values and strike through deprecated ones.

  • Hover at constructor/exception declarations (merged): Hovering a variant constructor or exception where it is declared now returns the constructor type. Previously the iterator skipped those nodes, producing no response.

  • Semantic tokens for module names (merged): Module names in S with module M = N and open in signatures now receive a semantic token. These two positions previously received none.

  • textDocument/foldingRange (merged): Omits character positions when the client sets lineFoldingOnly, omits the kind when Region is absent from foldingRangeKind.valueSet, and truncates to rangeLimit.

  • textDocument/documentSymbol (merged): Falls back to Constructor and Class when the client does not advertise EnumMember or TypeParameter in symbolKind.valueSet.

Proposed

  • Unused-code quick fixes (open): Now match the Warning 33: unused open B. format Merlin emits. Previously only the value case worked, and only with warnings promoted to errors.

  • ocamlformat-rpc startup crash (open): A process that dies during version negotiation now produces an error log and unformatted hover types instead of failing the hover request with an internal error.

ocaml/ocaml.org

Permalink

Features

  • #3713 (merged, @smorimoto): Package version pages now exclude avoided and deprecated versions from the latest-version selection. Versions are grouped with visible labels: Latest, Previous, Avoided by opam, Deprecated by opam, Selected.
  • #3713: Date labels changed to "Added to opam-repository" with UTC ISO dates in time[datetime]. The heading was renamed from "Recommended opam package versions" to a neutral form.
  • #3735 (merged): 14 new OCaml Planet posts from robur.coop covering MirageOS unikernel work: µTCP, Zostera (WireGuard), Mollymawk, MTE, PTT, DNSvizor, MirageVPN, WebAuthn, Conex, QubesOS firewall, TLS 1.3, NetHSM, CalDAV, and reproducible builds.
  • #3733 (merged): OCaml Weekly News (04 Aug 2026) and posts on Tessera/Evidence TAP infrastructure and week-31 notes added to OCaml Planet.
  • #3734 (merged): OCaml Workshop page updated with revised venue and registration information.

ocaml/ocamlfind

Permalink

Features

  • Relocatable ocamlfind builds (proposed, open): PR #122 by dra27 makes installations to different prefixes byte-for-byte identical for the same compiler configuration, per the definition in ocaml/RFCs#53. Relocatable support is implemented for GNU make only.
  • OCaml 5.5 compatibility (proposed, open): The same PR adapts ocamlfind to the relative-path format introduced in OCaml 5.5 ld.conf files, fixing #115.
  • Relative paths in findlib.conf (proposed, open): Paths in findlib.conf and files under findlib.conf.d are interpreted relative to the containing file or directory, enabling prefix-independent configuration.

Compatibility and Releases

  • configure change for relocatable builds (proposed, open): -sitelib now accepts a relative path resolved against -config; the opam file changes from -sitelib lib to -sitelib ... This alters the build invocation for anyone configuring ocamlfind manually.
  • CI verification (proposed, open): CI for OCaml 5.5 creates a second switch, pins ocamlfind in both, and verifies the two installations are identical across Windows, macOS, and Linux.

PR #122 was updated 2026-08-06 and remains open; no merge or release is recorded within this interval.

ocaml/odoc

Permalink

Fixes

  • Cross-referencer now resolves functors reached via module type of redirection, eliminating spurious "Failed to lookup type identifier" warnings in generated documentation. (#1471, merged 2026-08-06, by Leonidas-from-XIV)
  • Replaces hardcoded opam-prefix subpaths with Findlib's own directory-inference logic. Fixes portability on systems where stdlib resides in lib64 rather than lib/ocaml. (#1474, open, by katrinafyi)

Features

  • Adds OCaml 5.6 support. (#1472, open, by jonludlam)

Compatibility and Releases

  • odoc driver cannot locate installed source for Dune include_subdirs qualified intermediate wrapper modules, producing broken source links in generated docs. (#1475, open, by katrinafyi)
  • sherlodoc serve is non-functional because the www/ directory was not migrated into this repository. Maintainers confirm the feature is not intentionally abandoned but no timeline is given. (#1441, open, updated 2026-08-08)

ocaml/opam

Permalink

Fixes

  • OpamCached no longer unconditionally removes an outdated cache file when safe_mode is set; the removal now respects the flag. Fixes a crash for tools linking opam libraries inside sandboxed builds. (#7066, #7067, open)

  • opam init --reinit now regenerates the list of valid switches and their package caches. Invalid switches are dropped; $PWD is added if $PWD/_opam is a valid switch. (#7068, open)

  • opam switch import now sets the switch invariant, which was previously omitted from the export file. Issue closed 2026-08-03. (#6982)

  • opam repo add with a git remote can fail with a maintenance.lock error due to a TOCTOU race with git's background maintenance. A git 2.55 fix is referenced; no opam-side patch yet. (#7031, open)

  • opam init --reinit no longer prompts the user to retry the command when upgrading from a 2.1 root. (#7058, open)

Features

  • A new check warns (or fails in strict mode) when .install root/rootexec target fields begin with another field prefix, catching malformed install scripts earlier. (#7039, open)

  • Repository loading from diff is being homogenised with the initial load path: only packages/ is scanned, and extrafiles in a files/ subdirectory are supported. (#6924, open)

Compatibility and Releases

  • Development version bumped to 2.7.0~alpha1~dev, signalling the start of the 2.7 cycle. (#7064, open)

ocaml/opam-repository

Permalink

Features

  • Eleven new packages merged, including readability_metrics 0.1.0, opam-audit 0.0.1, smaji_glyph_path 0.1.0, floatml 0.1.0, and ravel 1.0.1. (#30449, #30443, #30444, #30437, #30450)
  • prometheus 1.4 (open) splits Lwt into a new prometheus-lwt package and adds synchronous timing helpers to core. Not breaking yet, but prepares for Lwt removal from core. (#30452)
  • html_of_jsx 0.1.0 introduces breaking API changes: JSX.stringf renamed to JSX.format, component children now use JSX.list, and optional booleanish attribute codegen fixed. (#30416)

Fixes

  • mirage-crypto 2.3.0 addresses two security advisories: OSEC-2026-14 (RSA Invalid_argument on short messages) and OSEC-2026-15 (missing bounds check on compressed NIST public keys). (#30436)
  • dune 3.24.2 adds the implicit unix dependency required by MDX 2.6+ test executables and fixes RPC registry rescan on directory mtime change. (#30392)

Compatibility and Releases

  • ppxlib gains an OCaml 5.6-compatible preview; merlin and ocaml-lsp ship 5.6 previews. (#30424, #30382)
  • bisect_ppx 3.0.0 (open) adds OCaml 5.5 support and transfers maintenance to a new maintainer. Awaiting confirmation from the original maintainer. (#30420)
  • The opam-2.0 CI workflows have been removed, eliminating a long-standing source of cyclic-dependency solver failures in CI. (#28952)

ocsigen/js_of_ocaml

Permalink

Compatibility and Releases

  • Open PR – Build with Introcaml (let-def, opened 2026-08-05). Adds stubs and metadata handling so js_of_ocaml compiles against the 5.5.0+introcaml opam switch, an OCaml variant that instruments values for runtime printing. Not yet merged; deployment path for the instrumented switch is unresolved.

oxcaml/opam-repository

Permalink

Compatibility

  • #59 (open, avsm): Proposes relaxing opam guards so dune ≥ 3.24.2, eio ≥ 1.4, and mdx ≥ 2.6.0 install alongside oxcaml. A CI comment flags an unrelated partial-match warning in the wasm runtime.

  • #55 (open, dra27-js): Marks mdx 2.6.0 as OxCaml-compatible, referencing #30305. Opened 2026-07-22; updated within this interval. Comments note dune 3.24.2 merged into the main opam-repository.

Both PRs remain open; no guard changes are released. The work extends the set of upstream packages usable with the experimental oxcaml toolchain.

oxcaml/oxcaml

Permalink

Features

  • Addressable kinds (opened): New addressable kind operator distinguishes kinds whose boxed form is a block (pointer-takeable) from tagged immediates. Enables future pointer-to-box language features. #6712

  • Dox (opened): Live literate programming environment where a Markdown page is also an OxCaml module; code evaluates in-browser with diagnostics and execution data attached to source. #6697

  • Layout polymorphism over any-field records/variants (opened, stacked on #6496): Compiles poly_ bindings over any-field shapes via a transient Splice case in mixed_block_element, instantiated at translation. #6687

  • First-class modalities (draft): Gives t @@ m surface syntax as a writable type with automatic introduction/elimination rules; eliminates hand-rolled Stdlib.Modes wrappers. #6678

  • Atomic block indices (opened): Introduces idx_atomic, a predef type for indices to [@atomic] record fields, with Idx_atomic.get/set in Stdlib_stable. #6667

Fixes

  • Partial GADT match calling-convention soundness (merged): Parameters that partially match a GADT constructor no longer narrow the sorts of later parameters or the return, preventing segfaults from mismatched calling conventions. #6689

  • Polymorphic record field atomics (merged): [%atomic.loc] and mutable block indices to polymorphic record fields are now rejected, closing a soundness hole that permitted Obj.magic-equivalent type confusion. #6688

Compatibility and Releases

  • AVX-512 promoted to simd_beta (merged): 512-bit vector and mask types move from simd_alpha to simd_beta; backend support, array operations, and mask load/store primitives are available under the beta flag. #6676, #6339, #6340, #6708
12 repositories · no changes