Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
- Dune
--pkgflag: New CLI option--pkg enabled|disabledoverrides thepkgfield indune-workspaceto toggle package management per invocation. Merged in #13458. - Dune 3.22 sandboxed tests: Test execution now runs in sandboxes starting from lang 3.22, consistent with preprocessing and inline tests. Merged in #13510.
- Dune mdx sandboxing: The
mdxaction now runs in a sandbox starting from mdx version 0.5. Merged in #13504. - Dune OxCaml workspace support:
(using oxcaml 0.1)is now accepted indune-workspacefiles, not justdune-project. Merged in #13395.
Fixes
- Dune cram promotion: Fix a spurious rename error when converting a single-file cram test to a directory test of the same name. Closes #4067; merged in #13516.
- Dune sandboxed promotions: Promotions from failed diff actions inside sandboxes are now copied to the staging area before cleanup, preventing data loss. Merged in #13520.
Compatibility and Releases
- Dune odoc config generation: Open #13476 would generate and install
odoc-config.sexpfrom:with-docdependencies, enabling cross-package documentation linking. - Dune
patch_back_source_tree: Open #13495 introduces a sandbox mode letting linters modify dependencies; changes are registered as promotions applied viadune promote.
ocaml/merlin
PermalinkFeatures
- Merlin
enclosingcommand (proposal): PR #2029 proposes a-stopflag so editor extensions can select a specific enclosing expression by index rather than always receiving the first match. Affectslocate-types,annotate-type, and related LSP actions. Still open; maintainer has not yet reviewed the logic.
Fixes
-
Merlin signature help: PR #2023 (merged 2026-01-27) stops the signature-help response from looping over parameters after the parameter list is exhausted. Affects in-editor parameter hints.
-
Merlin
type-enclosingReason output: Issue #2019 reported thatocamlmerlin single type-enclosingreturned OCaml syntax instead of Reason syntax under OCaml ≥ 5.3. Closed 2026-02-01 as not reproducible onmainwith OCaml 5.4; no code change made.
ocaml/ocaml-lsp
PermalinkFeatures
-
ocaml-lsp (merged): Adds a custom LSP request for destruct (case analysis), letting ocaml-eglot trigger pattern-matching generation directly instead of via a code action. Merged 2026-01-28. #1583
-
ocaml-lsp (proposal): Introduces a
merlin-locate-typescustom request returning a compact set of reachable types. Protocol design discussion is ongoing; not yet merged. #1584 -
ocaml-lsp (RFC): Proposes
OCAMLLSP_PROJECT_BUILD_SYSTEMandOCAMLLSP_PROJECT_ROOTenvironment variables to configure an arbitrary merlin config server, falling back to current behaviour when unset. Open, not merged. #1581
Fixes
- ocaml-lsp (proposal): Applies
ocamlformattosignature_helpoutput so long function signatures render with proper line breaks in editors. Open, not yet merged. #1580
ocaml/odoc
PermalinkFeatures
-
Odoc (PR #1398, merged): Adds
%{ocaml-config:ox}support for detecting the OxCaml compiler via dune 3.21. Renamesempty.tcram tests because dune 3.20 now validates the@emptyalias. Link -
Odoc (PR #1399, open): Rebase of OxCaml patches from
oxcaml/odoconto the main tree, building on #1398. Usescppoconditionals to handle multiple OCaml AST versions. Link
Fixes
- Odoc (PR #1400, open): Proposes a fix for issue #930, a crash (
Invalid_argumentinList.fold_left2) triggered when substituting the same type name at different arities across nestedinclude ... with typemodule type signatures. Link
Compatibility and Releases
- Odoc (PR #1398, merged): Requires dune ≥ 3.21 for OxCaml detection; the
@emptyalias check introduced in dune 3.20 forbids cram test files namedempty.t. Link
ocaml/opam
PermalinkFeatures
-
opam (PR #6854): Open PR by WardBrian adds source-level compatibility with cmdliner 2.0 while retaining the vendored 1.3.0. Enables future upgrades to 2.1.0+ and completion-handler support. Link
-
opam (PR #6841): Open PR adds
licenseas a queryable field inopam listoutput. Useful for automated license-auditing workflows. Link -
opam (issue #6853): Open feature request for PowerShell tab-completion, dependent on the cmdliner 2.0 upgrade tracked in #6854. Would extend Windows shell integration. Link
-
opam (issue #6852): Open proposal to print the source repository name when a package exists in multiple opam repositories. Affects
opam install,opam remove, andopam upgradeoutput. Link
Fixes
-
opam (issue #6848 / PR #6851): After a failed default-switch build,
opam initsilently skips switch creation on retry. Open PR #6851 would print a workingopam switch create default 'ocaml>=4.05.0'command in the error note. Issue · PR -
opam (issue #6850):
opam remove --forceon an uninstalled package does not clear its entry from the switch-staterootslist, soopam install --restorekeeps retrying it. No fix merged yet. Link
Compatibility and Releases
- opam (issue #6849): The vendored cmdliner copy (1.3.0) is missing upstream fixes including dbuenzli/cmdliner#191. Maintainers confirmed no formal upgrade plan but are open to contributions. Link
ocsigen/js_of_ocaml
PermalinkFeatures
js_of_ocaml Wasm runtime: exposes the JavaScript eval function to Wasm-compiled code. Merged by vouillon, 2026-01-30. #2108
js_of_ocaml: adds a CI job testing the internal JavaScript parser against the test262 suite. Merged by hhugo, 2026-01-26. #2149
js_of_ocaml: rewrites the user manual, consolidating bindings and library pages into a single JavaScript interop guide; adds quickstart and error-handling pages. Merged by hhugo, 2026-01-30. #2150
js_of_ocaml: opens a draft PR experimenting with static evaluation in the compiler. By vouillon, 2026-01-30. #2153
Fixes
js_of_ocaml: fixes miscompilation of loops placed at the start of exception handlers. Merged by vouillon, 2026-01-30. #2151
Compatibility and Releases
js_of_ocaml 6.3: release-preparation PR opened by hhugo, 2026-01-30; lists pending decisions on several open PRs and a TODO to re-export runtime_value into Js_of_ocaml.Js. #2152