Thicket thicket
ocaml
REPOS 27
W51.2025 · 15–21 Dec

All repository summaries

13 active · 14 unchanged

Back to weekly digest

ocaml-multicore/picos

Permalink

Features

  • picos (PR #379): proposes a weakly fair FIFO-thread scheduler combining effects and system threads, ensuring no fiber with an infinite loop can starve others. Opened by polytypic on 2025-12-17; still open at interval end.

ocaml/RFCs

Permalink

Features

  • OCaml RFC #57 (labeled tuple projections): Updated 2025-12-19; still open. Proposes dot-notation access for labeled tuple fields, with an unresolved syntax choice between e.l and e.~l (the latter conflicts with existing MetaOCaml parsing). #57

ocaml/dune

Permalink

Features

  • Dune 3.21.0~alpha4: Adds (lang rocq), library_parameter, dune promotion show, DUNE_ROOT, unused-libs alias, and (files) stanza. Breaking: 3.21 no longer overrides default compiler warnings. Release

  • Dune Odoc v3 rules: Proposes unified @doc and @doc-full aliases, hierarchical docs via a documentation stanza, ocaml.org cross-links, and a sherlodoc index. Errors are scoped to the current project. #12995

  • Dune structured logging: Folds _build/log into the trace file, produced by default. Log messages carry structured payloads for scripting. #13015

Fixes

  • Dune nested dune calls: Merged fix resolves dune in package build rules to the running binary and prepends its directory to PATH. Prevents accidental capture of a different dune executable. #12935

  • Dune dune tools: Merged merlin support in dune tools install. An open PR adds a clear error with an install hint when dune tools exec targets an uninstalled tool. #12972, #12978

Compatibility and Releases

  • Dune cache locations: Merged change moves toolchains, git-repo, and rev-store caches under DUNE_CACHE_ROOT (defaulting to $XDG_CACHE_HOME/dune/). Existing cache paths shift; set DUNE_CACHE_ROOT to preserve the old layout. #12858

  • Dune pkg no-op builds: Open bug reports a ~13 s no-op dune build with package management versus ~0.85 s with opam. Target is within 500 ms of the opam baseline. #12693

  • Dune dune clean: Open issue reports that dune clean deletes package management data from _build, removing installed packages and dev tools. A PR to preserve this data was closed without merge. #12976

ocaml/merlin

Permalink

Fixes

  • Merlin: merged PR #2016 corrects a typo in an include directive for <stdcountof.h>, introduced in a prior commit.

Compatibility and Releases

  • Merlin v5.6.1-504: released 2025-12-20; fixes completion for inlined record labels, signature help appearing on function names, and unnecessary buffer indexing. (release)
  • Merlin v4.7.1-413: released 2025-12-19; resolves a build failure that prevented opam install merlin on OCaml 4.13.1. (release)

ocaml/ocaml

Permalink

Features

OCaml trunk (proposal): PR #14427 introduces polymorphic annotations in expression position, e.g. (fun x -> x : 'a. 'a -> 'a). Open for review; targets recursive-expression typing.

OCaml 5.5 (proposal): PR #14381 adds String.find_first_index, String.find_last_index, String.find_first, String.find_last, and String.[r]find_all. Review ongoing; expected to land in 5.5.

Compatibility and Releases

OCaml Windows ports: PR #13416 (merged) removes the winpthreads dependency and implements caml_plat_* concurrency primitives directly on WinAPI SRW locks and condition variables for both MSVC and MinGW-w64.

OCaml libunix: PR #13700 (merged) switches to POSIX-2008 thread-safe functions (getgrnam_r, getpwnam_r, gmtime_r, localtime_r, getlogin_r) and corrects mktime error checking.

OCaml build system: PR #14424 (merged) generates C dependency information as a side-effect of compilation via GCC/Clang -MMD, eliminating separate pre-compilation dependency scans.

Fixes

OCaml 5.4.0 regression: PR #14417 (merged) rewrites pack prefixes to replace dots with the platform separator, fixing -for-pack failures on macOS and Windows. Closes #14415.

OCaml 5.x runtime: Issue #14419 reports that repeated Marshal.from_string in a tight loop triggers Out_of_memory on all 5.x releases; the major GC is never invoked. A patch requesting a major slice from intern.c is under discussion.

OCaml Windows 32-bit: PR #14423 (merged) fixes SetThreadDescription detection in configure.ac for i686, where __stdcall calling convention caused the link test to fail.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp 1.25.0: adds .mlx file support with ocamlformat-mlx formatting and standard LSP features (diagnostics, code actions, hover). Release
  • ocaml-lsp 1.25.0: makes code-lens for nested let bindings configurable via a renamed parameter. Release
  • ocaml-lsp 1.25.0: adds three custom requests—ocamllsp/typeExpression, ocamllsp/phrase, and ocamllsp/locate—enabling identifier-prefix lookup without protocol changes. Merged in #1576, closing issue #1570.

Documentation

  • ocaml-lsp config docs: #1575 (merged) updates config.md to match config_data.ml.

Fixes

  • ocaml-lsp 1.25.0: falls back to .merlin configuration when no dune-project is found and dot-merlin-reader is installed. Release
  • ocaml-lsp 1.25.0: improves precision of the duration field in view-metrics timestamps. Release

Compatibility and Releases

  • ocaml-lsp 1.25.0: released 2025-12-20. Release notes
  • ocaml-lsp 4.14 LTS: #1577 (open) supplants the closed #1574; several fixes require Merlin changes, so the LTS release is deferred.

ocaml/ocaml.org

Permalink

Features

  • OCaml Planet: adds Terrateam's OCaml-focused RSS feed, covering infrastructure, performance, and engineering topics. Merged by @joshpollara. #3424
  • DkML distribution: open PR removes DkML installation instructions following the distribution's announced sunset. #3425

Fixes

  • OCaml.org versions page: documentation links on the /p/ocaml/latest/versions page are broken; issue open since 2025-12-14. #3416
  • Planet feed: issue about a hannes.robur.coop article missing from the planet scraper closed 2025-12-15. #3394

Compatibility and Releases

  • OCaml.org build: ongoing migration from opam-based to Dune Package Management; PR updated 2025-12-18 with performance benchmarks and contributor migration notes. #3281
  • ocaml.nvim docs: open PR updates Neovim plugin installation instructions; discussion covers whether to include lazy.nvim-only or standalone setup. #3421
  • Security team: merged PRs update membership (Boning joining, Maxim leaving) and add a former-members section. #3426, #3427

ocaml/odoc

Permalink

Fixes

  • odoc (PR #1395, open): Proposes fixing URL remapping for page references where the prefix check matched only the directory, not the filename. Also normalizes remap entries at config creation. Discussion suggests a Trie structure over a string list.

  • odoc (issue #1396, open): Reports that odoc compile resolves modules without hashes, so stale odoc files in the path cause the link step to silently fail. Filed by jonludlam.

ocaml/opam

Permalink

Features

  • opam PR #6838 (open): Proposes copying .git/objects instead of invoking git clone file:// to pin local git packages, cutting pin time from ~40 s to under 1 s. Addresses issue #6837. PR

  • opam PR #6836 (open): Adds a --ignore-available-on option to bypass available: constraints for listed packages, enabling cross-platform compatibility testing. Targeted for opam 2.6. PR

  • opam PR #6812 (open): Updates opam env to set XDG_DATA_DIRS and FPATH so bash and zsh shell completion locates opam-provided completions without manual configuration. PR

Fixes

  • opam PR #6839 (merged): Fixes a Windows lock-acquisition failure during switch and repo format upgrades by reusing the already-opened lock file descriptor instead of reopening it. PR

Compatibility and Releases

  • opam PR #6393 (open): Proposes a section-based syntax for the internal repos-config file, requiring a hard upgrade of the opam root with no best-effort read fallback. PR

  • opam PR #6489 (open): Moves the depexts status check to run during opam update rather than at each install, reducing repeated system-package queries. PR

ocaml/opam-repository

Permalink

Features

  • Lwt 6.0.0-beta01: Merged 2025-12-15. Adds lwt_direct, lwt_ppx, and lwt_runtime_events packages alongside the core library. #28894

  • Dune 3.21.0~alpha4: Opened 2025-12-15. Adds (lang rocq), dune promotion show, (files) stanza, DUNE_ROOT variable, and copy-on-write file copying. #29096

  • OCaml 5.5 (relocatable): Merged 2025-12-18. Syncs configure options with upstream trunk, enabling relocatable bytecode binaries and removing the CAML_LD_LIBRARY_PATH workaround. #29089

Fixes

  • cmdliner 2.1.0: Build fails on Windows with system-msvc because the Makefile invokes the binary without .exe. Upstream fix pending in #253. #29121

  • cohttp 6.2.1: Merged 2025-12-20. Fixes a forward-proxy test regression from 6.2.0; a companion PR bounds cohttp-lwt-unix below 6.2 due to a breaking Client interface change. #29100, #29109

Compatibility and Releases

  • atd 3.0.1: Merged 2025-12-18. Restores -j-std implying -j to fix a 3.0.0 breakage and introduces x-maintenance-intent fields. #29055

  • opam-repository new packages: regl 0.1.0, menhir-lsp 0.0.1, secp256k1 0.5.0, smtml 0.17.0, and synchronizer 0.2 merged this week. #29120, #29108, #29095, #29098, #29113

  • DkML archiving: Merged 2025-12-21. Marks unmaintained DkML package versions for archiving per the project sunsetting announcement. #29119

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (Wasm effects): PR #1832 proposes Stack Switching-based effects for Wasm codegen via wasm_of_ocaml --enable wasi. Ongoing; updated 2025-12-20, with a note that the outdated binaryen-bin dependency was removed in PR #2134.

  • js_of_ocaml (WASI runtime): PR #1831 proposes a WASI runtime for wasm_of_ocaml, producing Wasm executable by Wizard or wasmtime. Ongoing; updated 2025-12-20.

  • js_of_ocaml (Oxcaml): PR #2105 proposes Oxcaml support. Ongoing; updated 2025-12-15.

Compatibility

  • js_of_ocaml (number type): Issue #2136 reports that the new number type (from #1650) breaks compilation of existing code. Open; updated 2025-12-19, no migration switch or resolution provided yet.

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin (oxcaml): merges oxcaml 5.2.0minus-25 changes, reverting prior minus-24 adjustments superseded by #5066. Merged 2025-12-16 by liam923. (#203)

oxcaml/oxcaml

Permalink

Features

  • OxCaml dissector: proposes a partition-based linking pass for executables exceeding 2 GB, using intermediate GOT/PLT sections to avoid 32-bit relocation overflow without altering text-section instructions. (#5146, open)
  • OxCaml unboxed keywords: introduces #assert, #if, #while, #for, #when, and #<- as unboxed counterparts to their boxed equivalents, typechecked against unit# and bool#. (#5167, open)
  • OxCaml layout-polymorphic types: adds repr_ syntax and Ptyp_repr/Ttyp_repr AST nodes for kind-polymorphic type declarations; such types are currently uninhabited. (#5068, open)
  • OxCaml scannable axes: merged change tracking nullability and separability during Lambda translation, eliminating unnecessary caml_modify calls for non_pointer types. (#5155, merged)
  • OxCaml reaper alias analysis: open issue proposing a three-step migration from Andersen's to Steensgaard's pointer analysis in the reaper, targeting quasilinear worst-case complexity. (#5138, open)

Fixes

  • OxCaml inlining heuristics: merged fix treating value-kind arguments as non-useful for speculative inlining, restoring the intended behaviour of -flambda2-speculative-inlining-only-if-arguments-useful. (#5093, merged)
  • OxCaml switch cost metrics: merged fix preventing spurious removed-operation counts from %tag_immediate primitives introduced during switch simplification. (#5144, merged)

Compatibility and Releases

  • OxCaml array tags: merged rearrangement of unboxed and untagged array tags to restore backwards compatibility with pre-untagged-array tag assignments. (#5126, merged)
14 repositories · no changes