Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
foreign_stubsandforeign_libraryaccept(language asm), recognising.s/.S/.asmsources and passing them to the platform assembler. Closes #3342. (#16849, merged) -
dune clean PATHnow accepts source directories and the project root, removing the corresponding_build/<context>/<path>artifacts. Previously only build-directory paths were valid. Closes #2288. (#15305, merged) -
New
DUNE_CONFIG__ACTIONS_NICEsetting (0–19, defaultnone) controls niceness of spawned Unix build actions. A follow-up PR sets the default to +5, favouring Dune's coordinator over child processes for CPU. (#16957, #16963, merged)
Compatibility and Releases
- 3.25.0~alpha1 released 2026-11-03. Notable breaking changes: actions no longer see
_build/install/<context>/{bin,lib,lib/stublibs}onPATH/OCAMLPATHunless they declare(deps (package …)); generated files are read-only regardless of language version;:is rejected in context names. (release)
Fixes
-
Merlin configurations now include the hidden CMI directory (
BH) for libraries withprivate_modules, restoring typing, completion, and navigation for public aliases of private modules. Closes #16531. (#16629, merged) -
dune cache clearanddune cache trimnow recognise and remove pre-3.22 legacy cache files under$DUNE_CACHE_ROOT. Closes #15060. (#16899, merged) -
RPC build clients now receive the actual memo error message and stack trace instead of crashing with a generic exception. (#16878, #16879, merged)
-
Dune's own GC now sets
small_heap_limitto 16 777 216 work units on OCaml 5.5+, delaying major marking. Measured ~9% reduction in no-op build wall time on AArch64. (#16913, merged)
ocaml/merlin
PermalinkFixes
- v5.9.1-505 resolves a caching issue that left inconsistent units stale. v5.9.1-505
- v5.9.1-505 fixes a regression in the "pointing indexes" mechanism and an issue with absolute output paths for the indexer. v5.9.1-505
Compatibility and Releases
- v5.9.1-505 released 2026-11-04. v5.9.1-505
Ongoing
- PR #2146 (open, updated 2026-11-09): collects UIDs of type extensions for occurrences, addressing issue #853.
ocaml/ocaml-lsp
PermalinkFeatures
- Release 1.28.1 (2026-11-04): Adds
ocamllsp/completePrefixAtPos, Topiary formatter,ocp-indentformatting, interactive completion snippets, and Dune RPC trace notifications. - Release 1.26.1 (2026-11-06): Backports
ocamllsp/completePrefixAtPosfor OCaml 5.4; consumed by Emacs via ocaml-eglot. - Release 1.28.1: Supports
textDocument/onTypeFormattingvia the persistentocp-indent-rpchelper; reports Dune build progress through LSP trace notifications. - Release 1.28.1: Adds a code action to open the closest Dune file for the current document.
ocaml/ocamlfind
PermalinkCompatibility and Releases
- PR #122 (open, updated 2026-11-06, by dra27): proposes OCaml 5.5 support and relocatable builds for ocamlfind. Not yet merged.
- The proposal extends
findlib.confto interpret relative paths (relative to the conf file or its containing directory), changing existing configuration semantics. - It adds
configuresupport for relocatable installs via a relative-sitelibpath, so two prefixes for the same compiler yield byte-identical trees. - Implements the fix for #115: reading the relative paths OCaml 5.5+ writes into
ld.conf. - Uses
Unix.realpathon resolved paths to prevent duplicateld.confentries on systems where ocamlfind rewrites that file. - CI changes target GNU make only (POSIX make unsupported) and verify byte-identical ocamlfind across two switches on Linux, macOS, and Windows.
ocaml/odoc
PermalinkFeatures
-
Strikethrough markup (
{~ text}) added to the Odoc parser; backends render it as--text--in man pages. PR opened by Leonidas-from-XIV. #1515 -
Tags such as
@raiseand@sincenow accept a{...}delimiter, allowing multi-paragraph content including code blocks within a single tag. PR opened by jonludlam. #1517 -
Code-block metadata tags (e.g.
@ocaml server[...]) are emitted as CSS classes (tag-server) on the<pre>element in HTML output, enabling custom styling. PR opened by jonludlam. #1518 -
A new scoping model limits cross-library module resolution to the compilation dependency cone, preventing name clashes from unrelated libraries. Canonical paths gain a
/library/Moduleprefix form. PR opened by jonludlam; includes #1511, #1503, #1502. #1516
Fixes
Compatibility and Releases
- Odoc is rebased against the newly released
oxcaml.5.4.0+ox9compiler, adding new functionality beyond the version bump. PR opened by avsm. #1520
ocaml/opam
PermalinkFeatures
- cmdliner-based shell completion (bash, zsh, PowerShell) replaces the existing static scripts with dynamic completions generated from argument definitions. Adds a new PowerShell completion script. Open, updated 2026-11-03. #6869
- The companion PR adding completion functions to
opamClientargument definitions was closed without merge on 2026-11-03; its changes are folded into #6869. #6868 - macOS 27 support in
make coldby upgrading the bundled OCaml to 4.14.5. Open, created 2026-11-06. Backport to the 2.6 branch in #7233. #7232
Fixes
opam --cli=2.6was rejected with "not supported" despite--helpadvertising 2.6 as default. The supported-versions list was not extended at release. Opened 2026-11-02; merged 2026-11-16 (outside this interval). Backported to 2.6 in #7242. #7229opam upgradeprinted a misleading "you may upgrade these packages" message when the switch was already up-to-date modulo invariants. Open, created 2026-11-06. #7230opam unpinof a pin-depend and its reverse-dependency in one command raised a rawNot_foundexception (exit 99). Open, updated 2026-11-02. #7223
Compatibility and Releases
opam upgrade(no arguments) did not update dev-pin sources, whileopam upgrade <pkg>did. Open design discussion on whetheropam upgradeshould fetch from the network. Created 2026-11-06. #7231opam list --depends-on=X --latests-onlyshowed packages whose latest version no longer depends on X. Closed 2026-11-02 as a duplicate of the broader selector-ordering issue #6387. #7221
ocsigen/js_of_ocaml
PermalinkFixes
-
Fixed Wasm
--opt 2compilation of hinted ocamlc that consumed >8 GB due to unbounded functor-like inlining of open recursion through records. Merged. #2599 -
Fixed Wasm
RuntimeError: illegal castfor programs using objects; array element types are now derived from the array type rather than global flow analysis, which missed constant blocks. Merged. #2596 -
Fixed separate compilation runtime failure (
runtime.alias is not a function) when a unit calls a primitive defined in a non-builtin runtime file by its//Aliasname. Merged. #2604 -
Fixed
Int32.of_string/Nativeint.of_stringerror messages,%hformatting (precision 0, ties-to-even rounding, sign for infinities/NaNs), and Marshal header size to match the C runtime. Merged. #2602
Features
-
Performance page regenerated with Wasm_of_ocaml data; added compressed-size and compile-time charts.
make docnow copies manual images next to odoc pages for direct viewing. Merged. #2565 -
Wasm compilation units now export their shapes (arity, purity) for separate compilation;
shapes.sexpwas previously always empty for Wasm. Merged. #2587 -
Proposal to signal exceptions via a sentinel return value in the JS backend instead of
throw; ocamlc benchmark 16.5 s → 8.9 s, boyer 6.0 s → 0.61 s. Enabled by default with--effects=disabled;--disable exn-sentinelrestores previous output. Open. #2582 -
Avoids holey arrays in V8 by using 0 for dead fields and packed allocation in the runtime; ocamlc 2–4 % faster, peak memory 4 % lower, fannkuch_redux −17 %. Opened. #2609