Thicket thicket
ocaml
REPOS 27
W16.2025 · 14–20 Apr

All repository summaries

12 active · 15 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

OCaml RFCs: PR #54 "Transparent ascription" (by clementblaudeau) was open during this interval, proposing transparent ascription in the signature language and a redesign of the aliasing mechanism. No dated comments or edits fall within 2025-04-14 to 2025-04-21; the PR was created 2025-04-11 and all discussion comments are undated, so specific in-interval activity cannot be confirmed.

ocaml/dune

Permalink

Fixes

  • Dune 3.18.1: passes pkg-config extra arguments (including --personality) in all pkgconfig invocations, fixing cases where pkgconf could not locate libraries. (#11619, @MisterDA)

ocaml/merlin

Permalink

Merlin: merged fix for renaming-related issues (#1924, by voodoos). The PR body provides no further detail on the specific changes.

ocaml/ocaml

Permalink

Features

OCaml Stdlib: adds missing POSIX signal constants and a signal_to_string function to the Sys module. Merged 2025-04-16. #13843

ocamltest: gains a -color={auto,always,never} flag and honours OCAML_COLOR / NO_COLOR environment variables, passing the corresponding --color option to diff. Merged 2025-04-16. #13964

Fixes

OCaml type checker: the recursive-type occurrence check (occur_rec) now operates on a shared graph instead of a tree, reducing worst-case typing time from exponential to near-linear for deeply nested unifications. Merged 2025-04-16. #13866

OCaml compiler: fixes a compilation failure on nested non-function recursive definitions such as let rec x = let rec y = Some a in y in x. Merged 2025-04-18. #13968

OCaml type checker: removes spurious principality warnings that appeared when a let binding's generalised type was not preserved through pattern typing. Merged 2025-04-18. #13971

OCaml parser: restores effect as a valid attribute identifier ([@@effect), fixing a 5.3 regression that made it a syntax error. Merged 2025-04-15. #13957

OCaml parser: corrects loc_ghost flags for keyword%extension syntax so that ppx tools (e.g. ocamlformat) receive consistent ghost-location information. Merged 2025-04-18. #13854

OCaml build system: fixes sak compilation when the build and target C toolchains differ (e.g. Linux build, Windows target), resolving incorrect object-file extensions. Merged 2025-04-17. #13804

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp: adds a configuration option to limit multi-line Merlin diagnostics to their first line, improving readability in editors. (#1513)
  • ocaml-lsp: adds a combine-cases code action that merges selected one-line match cases into a single pattern, preserving a unique non-empty RHS or inserting a hole. (#1514)

Compatibility and Releases

  • ocaml-lsp: the open related file code action is retained; the removal PR was closed without merging. (#1520)

ocaml/ocaml.org

Permalink

Fixes

  • ocaml.org: Search results can return 404 links when an item belongs to a sub-library (e.g. Core.Buffer in Base). Opened by NicholasLYang, still unresolved. #3066

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc 3.0.0: fails to build against OCaml 5.4 trunk; Typedtree.package_type lost its pack_path field and Tpat_alias now takes five arguments. Issue opened by kit-ty-kate, still open. #1339

ocaml/opam

Permalink

Releases

opam 2.4.0-alpha1: First alpha of the 2.4 series, released 2025-04-18. See the blog post for upgrade instructions and the changelog.

Fixes

opam 2.4.0-alpha1: opam install <local_dir> now updates and stores pinned packages' metadata, closing a long-standing gap.

Compatibility

opam 2.4.0-alpha1: ✘ Patches now use the OCaml patch library; GNU patch and diff are no longer runtime dependencies. Context diffs are unsupported.

opam 2.4.0-alpha1: ✘ Symlinks in repositories are no longer supported. Only unified diffs (including git extensions) are accepted for patch application.

opam 2.4.0-alpha1: ✘ opam admin check removes --ignore-test-doc and now defaults with-test/with-doc to false instead of true.

Features

opam 2.4.0-alpha1: ◈ Stateless depexts support added, enabling Nix as an external dependency provider. apt-rpm/ALTLinux family support also included.

opam 2.4.0-alpha1: ◈ opam pin and opam pin list display the current revision of a pinned repository in a new column.

opam 2.4.0-alpha1: ◈ New OPAMSOLVERTOLERANCE environment variable sets a persistent solver timeout, avoiding repeated hangs on large switches.

ocaml/opam-repository

Permalink

Features

  • opam-repository (PR #27798): Opens a proposal to split the conf-magick-core package into separate version-6 and version-7 conf-files, since Debian 12 still ships ImageMagick 6. The PR is open and unmerged. Link

Compatibility

  • opam-repository (issue #25807): z3 ≥ 4.13.2 re-introduces a python3-distutils depext that is unavailable on Ubuntu 24.04 (Python 3.12+), blocking opam install z3. Updated within this interval; a Z3 upstream PR to move the OCaml binding build from Python to CMake is in progress. Link

Fixes

  • opam-repository (issue #27799): Reports that conf-libclang references the Gentoo system package sys-devel/clang, which has been renamed to llvm-core/clang, breaking depext resolution on Gentoo. Open, no fix merged. Link

Ecosystem

  • opam-repository (issue #27796): Proposes adding a concise, high-level section to the repository README explaining curation, CI rationale, and the publication workflow for package authors. Open, labelled help wanted. Link

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml PR #1935: vouillon opened a rewrite of the inlining pass on 2025-04-14. The PR was still open at the end of the reporting interval; it merged on 2025-05-21. Link

  • js_of_ocaml issue #1930: open feature request for SharedArrayBuffer and Atomics support in the WASM runtime, enabling zero-copy data exchange between OCaml-compiled WASM and JS plugins. Updated during the interval; no resolution recorded. Link

  • js_of_ocaml issue #1777: open request to emit multi-line JSDoc comments (@param, @returns, Provides, Requires) in generated JS for TypeScript type-checking. Updated during the interval; no resolution recorded. Link

Fixes

  • js_of_ocaml issue #1436: open bug report that Dom_html.window##.onbeforeunload set via Dom_html.handler does not work in Chromium, Firefox, or Safari without unsafe JS workarounds. Updated during the interval; no fix merged. Link

  • js_of_ocaml issue #1277: open bug report that requiring js_of_ocaml-generated code in Node.js REPL causes unrelated errors to terminate the process instead of returning to the prompt. Updated during the interval; no fix merged. Link

Compatibility and Releases

  • js_of_ocaml issue #1613: open request for documentation and options governing --source-map behaviour when .byte files are renamed or relocated during a build. Updated during the interval; no change to the flag's behaviour recorded. Link

oxcaml/merlin

Permalink

Fixes

  • Merlin: fixes jump-to-definition resolving to the wrong file when a source file shares its name with a referenced library. The fix corrects compilation-unit name lookup during symbol resolution. (#142, merged 2025-04-17, by liam923)

oxcaml/oxcaml

Permalink

Features

  • Oxcaml CMM code generation: Ongoing audit of bind usage in cmm_helpers.ml to remove unnecessary let-bindings that suppress peephole optimizations for array indexing (int_array_ref, array_indexing). Tracked in issue #3718, updated 2025-04-16.

Fixes

  • Oxcaml Flambda2 unsafe indexing: Opened issue #3889 (2025-04-17) reporting that unsafe indexing by unboxed nativeint or larger types truncates the index instead of segfaulting on out-of-bounds access. Proposed fix: change indexing arguments from Naked_immediate to Naked_nativeint.

  • Oxcaml CMM unboxed conversion: Opened issue #3888 (2025-04-17) noting that unboxed int64 → int conversion emits a redundant inner sign-extension in lsl_int, degrading generated code.

  • Oxcaml build under Clang 18: #3841 closed 2025-04-14. The build failed with -Werror,-Wunused-variable in runtime/unix.c when compiled with --enable-address-sanitizer and CC=clang.

15 repositories · no changes