Thicket thicket
ocaml
REPOS 27
W40.2025 · 29 Sep – 5 Oct

All repository summaries

14 active · 13 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio PR #575: proposes a Eio_unix.Sockopt module for setting and getting socket options on Eio_unix.Fd.t values, including Linux-specific options. Still open as a draft; interface under discussion.

Compatibility and Releases

  • Eio PR #747: proposes reordering Eio.Pool.use so the optional never_block argument precedes required ones, making omission detectable at compile time. Still open; no released change.

ocaml-multicore/meio

Permalink

No user-facing features, fixes, compatibility changes, or releases are recorded for this interval. The only merged change in ocaml-multicore/meio is a routine CI configuration update (#70, merged 2025-10-01), which does not alter observable behaviour.

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring (PR #130, open): proposes a private int type for file descriptors in the io_uring layer, eliminating raw-integer fd handling on Linux. Discussion covers integration with Eio's existing fd abstraction and cross-platform implications. Link

  • ocaml-uring (PR #129, open): alternative to #130 that wraps fd retrieval in a typed accessor, at the cost of an extra C call per syscall returning a descriptor. On hold pending resolution of the #130 design discussion. Link

Fixes

  • ocaml-uring (PR #128, open): moves AT_FDCWD handling into the C stubs, removing the need for Obj.magic and a runtime probe in OCaml code. No change to the allocation profile at call-sites. Link

ocaml/RFCs

Permalink

Features

  • OCaml RFCs PR #57: Open proposal for labeled and 0-indexed unlabeled tuple projections (e.g. x.tuple, x.3). Updated 2025-09-30; discussion covers row-polymorphic tuples and labeled-tuple projection semantics. Link

ocaml/dune

Permalink

Features

  • Dune (dune tools env): Open. New command prints shell commands to add installed dev tools to PATH, enabling terminal editors to invoke tools like ocamllsp without prefixing every call. #12521
  • Dune (OxCaml parameters): Open. Adds a (parameters ...) field to the library stanza for OxCaml parameterized libraries, requiring the -parameter compiler flag per parameter. #12336
  • Dune (pkg dev tools): Merged. dune-release and opam-publish are now installable via dune tools install, providing a release workflow for dune pkg projects. #12522

Compatibility and Releases

  • Dune (pkg dependency sharing): Open. Stores project and dev-tool build artifacts in a shared directory keyed by a package slug, preventing redundant rebuilds when both depend on the same package version. #12526

Fixes

  • Dune (promoted files): Merged. Files promoted to the source tree via (mode promote) are now set read-only. Dune restores write permission when it needs to overwrite a file. #12519
  • Dune (pkg null builds): Merged. Two changes reduce null-build time for dune pkg projects from roughly 8 s to 1 s by eliminating redundant comparisons and expensive hash computations. #12517, #12518
  • Dune (toolchain cache): Merged. Replaces Digest.generic with a stable hash for toolchain directory names, preventing spurious toolchain directory creation when reusing cached compilers. #12495
  • Dune (include_qualified): Merged. Adds a missing alias dependency to module groups, fixing a build failure when combining include_qualified with subdirectories. #12530

ocaml/merlin

Permalink

Features

  • Merlin locate_type_multi: New query returning a tree of identifier locations within a type expression, enabling richer "Go to Type Definition" in editors. Merged in v5.6-504. (#1951)
  • Merlin typer cache flag: Adds -use-typer-cache option (default true) to disable the typedtree cache. Merged 2025-10-03. (#1972)
  • Merlin inlay hints: Open PR replaces ghost-location heuristics with the [@merlin.hide] attribute for more consistent hint placement; removes the avoid-ghost-location option. (#1894)
  • Merlin refactoring-extract-region: Open PR adds a protocol command to extract an expression into a fresh let binding for editor refactoring workflows. (#1948)

Fixes

  • Merlin Vim plugin: Fixes a crash in :MerlinOccurrencesProjectWide when text-preview indices are stale. Merged in v5.6-504. (#1970)

Compatibility and Releases

  • Merlin v5.6-504: Adds OCaml 5.4 support via upgraded vendored typer. Also fixes merlin_reader on OpenBSD and improves recovery of mutually recursive definitions. (Release)
  • Merlin v5.6-503: Release for the 5.3 compatibility branch; same feature and fix set as v5.6-504. (Release)

ocaml/ocaml-lsp

Permalink

Features

  • OCaml LSP 1.24.0: adds OCaml 5.4 support. Note: ocamlformat and bisect_ppx were not yet released for 5.4 at merge time. Release / #1559
  • OCaml LSP .mlx formatting: open PR to format .mlx files via ocamlformat-mlx. Requires a companion change in vscode-ocaml-platform. #1528

Fixes

  • OCaml LSP 1.23.1: fixes hover on method calls not showing the type. Fixes the unsupported file extension error when opening .mll files in NeoVim. Release / #1557
  • OCaml LSP 1.23.1: ensures compatibility with both yojson 2.0 and 3.0. Release

ocaml/ocaml.org

Permalink

Features

OCaml Planet: adds an RSS feed button to the Planet page, resolving issue #3232. Merged in #3338.

OCaml.org Getting Started: adds Neovim LSP setup instructions covering both nvim-lspconfig and vim.lsp (Neovim ≥ 0.11). Merged in #3322, closing issue #3319.

OCaml Cookbook: merges a recipe for starting a web server with dream and cohttp that renders an HTML template. Merged in #3185.

OCaml Cookbook: merges three recipes for parsing command-line arguments using Sys.argv, the Arg module, and cmdliner. Merged in #2573.

Fixes

OCaml.org security page: adds a direct link to the GitHub private security reporting mechanism. Merged in #3335.

OCaml Planet: stops storing full blog post bodies in the repository and removes them from the Planet RSS feed, reducing feed size. Merged in #3125, closing issue #3120.

Compatibility and Releases

OCaml.org build system: #3281 migrates the build from an opam switch to Dune Package Management (dune pkg). Still open; contributors must use dune >= 3.20 and run make instead of the old opam workflow.

OCaml Changelog: announces the Security Response Team, with a follow-up rename of the announcement file to correct the date. Merged in #3337 and #3341.

ocaml/opam

Permalink

Features

opam update (PR #6614, merged): Loads only changed .opam files instead of reloading the entire repository. Reduces update I/O from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. Closes #5824.

opam repo show (PR #6720, opened): New subcommand to display the URL and rank of a repository. Supports --all to list values across every switch. Related to #6235.

Compatibility and Releases

MSys2 symlinks (issue #6712, opened): Documents that MSys2's default winsymlinks:deepcopy mode produces symlinks incompatible with Cygwin and native Windows tools. Notes that opam could set MSYS=winsymlinks:native in the future.

Reproducible release archive (PR #6706, open): Switches tarball generation to git archive so the opam-full-*.tar.gz checksum is stable across builds. Addresses #6619.

OPAMAUTOANSWER (PR #6709, open, ready to merge): Adds an internal OPAMAUTOANSWER environment variable for non-interactive confirmation prompts. Marked internal-use only; full menu support tracked in #6718.

Fixes

opam update on Windows (PR #6715, merged): Eliminates a false-positive "mismatching extra-files" debug warning triggered by nested extra-files directories. Merged 2025-10-03.

Build constraint (PR #6707, merged): Adds a constraint to avoid cmdliner 2.0.0, which is incompatible with the current opam build. Merged 2025-10-03.

build-env ordering (PR #6713, opened): Reorders environment variable application so build-env is applied after setenv, fixing cases where CAML_LD_LIBRARY_PATH set via build-env was overwritten. Fixes #6574.

ocaml/opam-repository

Permalink

Features

cmdliner 2.0.0: Merged to opam-repository. Removes prefix-based command and option matching (set CMDLINER_LEGACY_PREFIXES=true to restore); adds Arg.Conv, Arg.Completion, and a cmdliner install tool. Follow-up PRs added upper bounds on ocamlformat, alcotest, and mirage-runtime. PR

Raven 1.0.0~alpha1: Merged (11 packages). Adds Talon (DataFrame processing), Saga (NLP and tokenization), and Fehu (reinforcement learning) alongside existing Nx, Rune, and Kaun libraries. PR

New packages: mosaique (libvips bindings, open), gl-legacy (OpenGL immediate-mode, merged), handlebars-ml (templating, merged), ppx_minidebug (debug logging, merged), proton (ClickHouse driver, merged), emoji (merged), conf-vips (merged), conf-binaryen (merged), b0/odig (merged). mosaique gl-legacy handlebars-ml ppx_minidebug proton b0/odig

Fixes

ppxlib 0.36.2: Merged. Fixes Ast_builder to generate correct pvb_constraint from pattern and expression arguments; fixes pprintast output for Ppat_constraint nodes. PR

Compatibility and Releases

OCaml 5.4.0 RC1: First release candidate merged. One TSAN fix and one changes-entry fix since beta2; final release expected the following week. PR

moonpool 0.9: Merged with a breaking change: requires OCaml 5. Removes the preprocessor requirement, makes forkjoin mandatory, and deprecates moonpool.sync and moonpool_io. PR

Merlin v5.6-504 / ocaml-lsp-server 1.24.0: Merged. Adds locate-types command to merlin; fixes hover on method calls and .mll file opening in ocaml-lsp. PR

lwt 6.0.0~beta00: Open PR for the major 6.0 beta. A companion PR merged incompatibility constraints for dependent packages. PR constraints

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: PR opened by vouillon proposing an Oxcaml backend. No implementation details or timeline provided yet. #2105

  • js_of_ocaml – Wasm Stack Switching effects: Ongoing PR generating Wasm effects via the Stack Switching proposal. Requires dev Binaryen (or v124) and wasm_of_ocaml --enable wasi. #1832

Compatibility and Releases

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml): Merged PR #190 adds the merlin.ppx_template_generated attribute, exposing whether an identifier was produced by ppx_template. The implementation mirrors the existing [@@deprecated] attribute handling. (by liam923)

oxcaml/opam-repository

Permalink

Compatibility and Releases

  • oxcaml/opam-repository: Merged fix for uutf.1.0.3 package definition to resolve incompatibility with Cmdliner 2.0, copying the relevant constraint from the upstream ocaml/opam-repository. #16

oxcaml/oxcaml

Permalink

Features

  • OxCaml runtime quotations: introduces staged computation via <[, ]> brackets and $ splicing, with a stage notion added to the type system. Quotations are represented as an AST in camlInternalQuote; opening modules inside quotations is rejected. (#4395)

  • OxCaml untagged int arrays: adds int8#, int16#, and int# arrays and iarrays with a new tag-encoding scheme (tags 4–7 encode element width). char# arrays follow from the shared layout with int8#. (#4643)

  • OxCaml slambda IR: introduces a new intermediate representation with a single SLquote constructor wrapping lambda, plus a static evaluator. The -dslambda flag prints slambda before evaluation; the transl phase now outputs slambda. (#4776)

  • OxCaml prototype ikind system: new subsumption and mode-crossing algorithms behind -extension ikinds, targeting performance issues that block mode crossing for polymorphic variants and GADTs. Marked not ready for production use. (#4675)

  • OxCaml staticity mode axis: adds a static < dynamic axis to the mode system, with monadic-axes-of-closures now uniformly interpreted as legacy. Mode checking for staticity is deferred to follow-up PRs. (#4799, #4798)

  • OxCaml mixed modules: lifts the value-only restriction on module fields, threading a module_representation through typing, lambda, and flambda2 to support non-value elements in module blocks. Sort variables are resolved only after typing completes. (#4020)

  • OxCaml match-in-match analysis: exposes the n-way join's per-variable definitions (SSA phi equivalents) in the downward env so simplify can access continuation-handler parameter information. Currently unused; intended to enable a more precise match-in-match heuristic. (#4821)

Fixes

  • OxCaml block index typing: merged changes disallow idx_mut to [@atomic] fields and require the element type of a block index to a flattened float to have an unboxed version, preventing unsound writes through private aliases. Block indices are moved to the stable API. (#4824, #4826, #4827)
13 repositories · no changes