Thicket thicket
ocaml
REPOS 27
W41.2025 · 6–12 Oct

All repository summaries

16 active · 11 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Fixes

  • opam-repository: Issue #74 (cyclic ppxlib dependency in bonsai.v0.18~preview.130.50+1016) closed 2025-10-10. Cause: two opam repositories (janestreet-bleeding, oxcaml/opam-repository) in one switch. The explanatory comment is undated.

ocaml-multicore/eio

Permalink

Features

  • Eio (PR #821): newly opened proposal for incremental directory reading via with_dir_entries, replacing batch read_dir calls. Benchmarks report 1.46 s → 110 ms on Eio_linux and 2.02 s → 1.58 s on Eio_posix for a 15-level, 20 000-file tree. A reviewer suggests adding Bos-style traversal strategies (skip predicates, mid-walk error handling).

  • Eio (PR #575): ongoing draft (opened 2023, updated 2025-10-07) adding a Eio_unix.Sockopt module for Linux-specific socket options on Eio_unix.Fd.t values. Interface design—single GADT versus separate per-option types—remains open.

ocaml-multicore/ocaml-uring

Permalink

Features

  • ocaml-uring PR #128: Open proposal to handle AT_FDCWD in C stubs, eliminating Obj.magic from the library. Updated 2025-10-08; discussion covers abstracting file-descriptor types across the OCaml/C boundary. Link

  • ocaml-uring PR #130: Open proposal for type-safe wait functions, differentiating unit and int return types and storing real IDs in the heap. Updated 2025-10-07; positioned as a more invasive alternative to PR #129. Link

ocaml/RFCs

Permalink

Compatibility and Releases

  • OCaml RFCs – for...in proposal: closed without merging on 2025-10-08. The RFC proposed a for x in expr do ... done construct as syntactic sugar over higher-order iteration; the author closed it citing limited readability gain over existing List.iter / |> patterns. #56

ocaml/dune

Permalink

Features

Dune (OxCaml) – (parameters ...) library field: New (parameters p_intf q_intf ...) field in the library stanza compiles each module with the corresponding -parameter flag. Requires the OxCaml compiler; standard OCaml does not support this. (#12336, by @art-w)

Dune – dune tools env: New command prints shell-evaluable PATH and environment exports for installed dev tools, so terminal editors can invoke ocamllsp or ocamlformat without a dune prefix. Intended use: eval $(dune tools env). (#12521, by @gridbugs)

Compatibility and Releases

Dune cram – conflict detection: Cram tests now report an error when two commands write to the same output region, making conflicting expectations explicit rather than silently overwriting. Opt-in via a new flag. (#12538, by @rgrinberg)

Dune docs – inline code wrapping: A CSS rule prevents the HTML documentation from breaking inline code spans across lines, improving readability of variable and flag references. (#12541, by @MisterDA)

Fixes

Dune pkg – shared dependency cache: Dev-tool and project builds now share compiled package artifacts via a content-addressed directory name, eliminating redundant compiler rebuilds when running dune tools install. Fixes #12491. (#12526, by @gridbugs)

Dune pkg – no rebuild on lang bump: Package build rules now ignore per-project settings (including dune lang version), so changing the language version in dune-project no longer triggers a full compiler rebuild. Fixes #12131. (#12556, by @rgrinberg)

Dune – dune install --create-install-files overwrite: dune install can now overwrite a read-only .install file it previously generated, resolving build failures for packages (e.g. caqti) whose opam build commands re-invoke dune install. Fixes #12540. (#12542, by @MisterDA)

Dune – skip ocamldep on single-module buildables: Transitive ocamldep runs are no longer generated for buildables containing a single module, reducing unnecessary rule evaluation. (#12555, by @anmonteiro)

ocaml/merlin

Permalink

No user-facing features, fixes, compatibility changes, or releases are recorded in the supplied data for this interval. The single merged pull request (#1975) corrects a misplaced entry in the project's own changelog file and is labelled no changelog; it has no effect on Merlin's behaviour, build, or editor integration.

ocaml/ocaml

Permalink

Releases

  • OCaml 5.4.0: Released 2025-10-09. Adds labelled tuples, immutable arrays, atomic record fields, and modules Pair, Pqueue, Repr, Iarray. Release notes

Features

  • OCaml typing recovery: Open WIP PR upstreams Merlin's error-recovery mechanism behind a -typing-recovery flag, allowing the typer to report multiple errors per file. #14241
  • OCaml pipeline operator: Open PR changes x |> f y to typecheck as (f y x) rather than ((f y) x), avoiding extra closure allocations with labelled arguments. #14286
  • OCaml Hashtbl: Open PR proposes making Hashtbl seeded by default unless OCAMLRUNPARAM=r is set; early review stage. #14291
  • OCaml relocatable builds: Open PR adds -launch-method, -runtime-search, and --enable-suffixing to decouple bytecode executables from absolute install paths. #14245
  • OCaml compiler CRCs: Open PR switches the compiler's internal CRCs from MD5 to Blake128; under active review during this interval. #13913

Fixes

  • OCaml memprof: Merged fix for GC root mishandling in memprof.c; cherry-picked to the 5.4 branch. #14287
  • OCaml toplevel: Open PR proposes reading -init before executing -e scripts, fixing unbound-value errors. #14190

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp v1.23.0: textDocument/documentSymbol fails with "selectionRange must be contained in fullRange" on some modules. The error does not reproduce in v1.22.0. (#1560)

Compatibility and Releases

  • ocaml-lsp v1.23.0: code lenses now appear on internal let-bindings in addition to top-level definitions, cluttering the editor view. A request to add a VSCode setting to disable internal lenses is open. (#1561)
  • ocaml-lsp: discussion proposes making --fallback-read-dot-merlin the default so non-Dune projects work without extra configuration. A comment suggests renaming the flag to --prefer-dot-merlin. (#1522)

Features

  • ocaml-lsp: open PR adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files, enabling dune dialects-based formatting outside Dune. (#1528)

ocaml/ocaml.org

Permalink

Features

  • Backstage OCaml: New content category for unstable and experimental communications, separated from the OCaml Changelog. Merged 2025-10-08. #3278

  • Gospel Ecosystem post: Draft announcement covering Gospel's current state, upcoming breaking changes, and the verification toolkit. Opened 2025-10-08, still in review. #3352

  • Dune Package Management: Ongoing migration of the ocaml.org build from opam to dune pkg. Requires dune >= 3.20; contributors must delete existing opam switches. #3281

Fixes

  • OCaml 5.4.0 changelog: Corrected the release date to October 9, 2025, and fixed a broken link to RFC 39. Merged 2025-10-12. #3368

Compatibility and Releases

  • OCaml 5.4.0: Release page and changelog entry published for the new compiler release. Merged 2025-10-10. #3353

  • opam-publish 2.6.0 and 2.7.0: Changelog entries added for both releases, covering new publishing workflows. Merged 2025-10-10. #3363

  • ppxlib 0.36.2: Maintenance release fixing two bugs related to OCaml 5.2 AST changes for type constraints in let bindings. Merged 2025-10-08. #3345

  • merlin 5.6 and ocaml-lsp-server 1.24.0: Joint release announcements added to the changelog. Merged 2025-10-06. #3347

ocaml/odoc

Permalink

Features

  • odoc @hidden code-block tag (proposal): Open enhancement (#1331) proposing an @hidden info-string tag to suppress code blocks in .mld rendering. Updated 2025-10-09; no implementation merged.

Fixes

  • odoc assert_not_functor crash (open): Assertion failure in odoc link when a functor name collides with a qualified subdirectory under (include_subdirs qualified) (#960). Updated 2025-10-06; a minimal reproduction and maintainer acknowledgment are on file but undated. No fix merged.

ocaml/opam

Permalink

Fixes

  • opam (merged): opam install --depext-only now returns a non-zero exit code when a package conflict is detected, fixing silent failures in CI scripts. #6516 closes #6488.

  • opam (merged): opam install --deps-only now resolves pin-depends fields on simulated pins, restoring behaviour broken in 2.4. #6611 closes #6610.

  • opam (merged): Repository up-to-date checks now inspect git submodule status, preventing stale submodules from being treated as current. #6153.

Features

  • opam (merged): opam option now allows modifying default-invariant after initialisation, removing the need to recreate a switch to change the compiler constraint. #6730 closes #6724.

  • opam (merged): The OPAMAUTOANSWER environment variable is available for internal use, allowing scripted answers to interactive prompts. #6709.

Compatibility and Releases

  • opam (open PR): Sourcing variables.sh is skipped when OPAM_SWITCH_PREFIX is already set, preventing duplicate PATH/MANPATH entries in subshells and fixing broken environments in VS Code terminals. #6729 targets #4649 and #6633.

  • opam (open PR, WIP): HTTP repositories would be read directly from the downloaded tar.gz instead of being untarred, eliminating the 1+ minute extraction step during opam update and opam init. #6625 targets #5741 and related performance issues.

  • opam (open PR): A new opam repo show <reponame> command would display the URL and rank of a repository, with --all to list across all switches. #6720.

ocaml/opam-repository

Permalink

Compatibility and Releases

OCaml 5.4.0: Merged 2025-10-09, adding ocaml-compiler.5.4.0, ocaml-base-compiler.5.4.0, and ocaml-system.5.4.0. Trunk moves to ocaml-variants.5.4.1+trunk. (#28683)

ppxlib 0.36.2: Versions 0.36.0 and 0.36.1 marked avoid-version on 2025-10-07 after AST pretty-printing regressions. The 0.37.0 release PR opened 2025-10-09, pending merge. (#28663, #28686)

camlp5 8.04.00: Merged 2025-10-09 with support for OCaml 5.4.0 syntax and AST changes. Reverse dependencies GT, p5scm, and hol_light require corresponding updates. (#28667)

cmdliner 2.0.0 compatibility: Upper bounds added to sherlodoc, diffast-git-cli, ocamlformat-mlx, and mrmime to prevent build failures. js_of_ocaml-compiler had its bound removed as the constraint was incorrect. (#28656, #28671, #28668, #28689, #28654)

Fixes

base v0.15.1: Patch URL moved to opam-source-archives after the GitHub patch-diff checksum changed, breaking installation. Merged 2025-10-09. (#28676)

visitors 20251010: New release merged 2025-10-10. The prior version 20250212 received a ppxlib upper bound of < 0.36.0 for compatibility. (#28693, #28692)

Features

New packages: oenv 0.1.0, mosaique 0.0.1, synchronizer 0.1, and incremental_cycles 0.1 merged. otp 0.2 and p5scm 0.5.0 opened. (#28698, #28632, #28642, #28563, #28704, #28700)

lwt 6.0.0~beta00: PR still open with lower-bound test failures and segmentation faults on some architectures. Introduces lwt_direct for direct-style control flow alongside the existing promise API. (#28558)

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml (PR #2087): Merged 2025-10-09. Removes CRLF line-ending manipulation on Windows, so generated files retain their original line endings. #2087

  • js_of_ocaml 6.2.0 (issue #2106): Assertion failure in release mode when building an unwrapped library with -linkall. Reported 2025-10-10, closed 2025-10-13; comments link the cause to closure-duplication logic from PR #1935. #2106

Features

  • js_of_ocaml (PR #2070): Open PR adding Intl.RelativeTimeFormat to the standard library, per the ECMA-402 spec. Updated 2025-10-07; not yet merged. #2070

Compatibility

  • js_of_ocaml (PR #2103): Open PR by hhugo testing OCaml 5.4 support. Updated 2025-10-09; not yet merged. #2103

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin (oxcaml/merlin): PR #191 opens a merge of OCaml 5.2.0minus-22, importing CamlinternalQuote as a build dependency and renaming the flambda-backend identifier to oxcaml in the source import script. Opened 2025-10-10; merged 2025-10-14, outside this interval.

oxcaml/opam-repository

Permalink

Compatibility and Releases

oxcaml/opam-repository (zarith): Merged #14 adds zarith.1.14+ox, enabling installation of the latest TLS libraries under the experimental Ox compiler.

oxcaml/opam-repository (release minus-19): Merged #18 publishes the "minus-19" release of the Ox opam-repository.

oxcaml/opam-repository (js_of_ocaml-compiler): #12 closed 2025-10-10; the js_of_ocaml-compiler.6.0.1+ox patch-application failure was attributed to an outdated opam client version.

oxcaml/oxcaml

Permalink

Features

  • OxCaml runtime quotations: PR #4395 (merged) adds <[, ]> syntax with stage tracking in the type system. PR #4874 (merged) enables evaluation via ocaml-jit for runtime metaprogramming.
  • OxCaml name mangling: PR #4850 (open) proposes a reversible scheme reconstructing full module paths, including submodules, from mangled symbols.
  • OxCaml ikind system: PR #4675 (open) adds prototype subsumption and mode-crossing algorithms behind -extension ikinds, targeting polymorphic variant and GADT performance.
  • OxCaml with-bounds: PR #4847 (merged) re-enables with-bounds for polymorphic variants, fixing a fuel-algorithm pathology causing quadratic type expansion.
  • OxCaml block indices: PRs #4827, #4826 (merged) move block indices to stable and type flattened float fields with unboxed element types. PR #4828 adds %unsafe_get_ptr and %unsafe_set_ptr.

Fixes

  • OxCaml CFG terminator: PR #4772 (merged) rewrites unconditional-then-conditional jumps as one conditional. PR #4807 (open) extends this with a known-values map to eliminate redundant for-loop comparisons.
  • OxCaml Multicore.spawn: PR #4875 (merged) requires the resource argument to be contended, fixing a soundness gap in the API.

Compatibility and Releases

  • OxCaml 5.2.0minus-22: PR #4876 (merged) bumps magic numbers. PR #4877 (opened) restores over-expunged toplevel modules such as Float_u and Iarray.
11 repositories · no changes