Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
- Dune
(dir ..)field: New(dir ..)field indune-projectdesignates a single directory per package. Stanzas inside that directory are restricted to the package; stanzas outside cannot attach to it. Merged in #12614, fixes #3255. - OxCaml parameterized libraries: Open #12561 adds instantiation of parameterized libraries via
(my_lib arg1 arg2 :as new_name)in library and executable dependencies. Requires OxCaml compiler support; not yet merged. - Dune pkg lock output: Open #12620 changes
dune pkg lockoutput for portable lockdirs to group packages by platform, separating common dependencies from platform-specific ones. Addresses confusion in #11868.
Compatibility and Releases
Fixes
- Dune self-pinning: Merged #12583 makes
dune pkg lockpin the running dune version, preventing selection of packages requiring a newer dune language version. Fixes #12381. - dune init absolute paths: Merged #12601 fixes a crash when
dune init projectis given an absolute directory path. Fixes #7806. - include_subdirs qualified resolution: Merged #12607 corrects module resolution so the nearest same-named module wins under
include_subdirs qualified, matching bootstrap behaviour. - Merlin multi-executable config: Open #12621 fixes
dune ocaml-merlinreturning the wrong.eobjsdirectory when multiple executables share a folder. Fixes #12611.
ocaml/merlin
PermalinkMerlin (issue #1980): ocamlmerlin single locate -look-for implementation returns the declaration position instead of the implementation for values inside recursive modules. Open, reported by trefis.
Merlin (issue #1977): ocamlmerlin single complete-prefix returns no entries for inlined record fields in sum-type constructors (e.g. Constr of { some_lbl: int }). Works when the record type is named separately. Open, reported by trefis.
ocaml/ocaml-lsp
PermalinkFeatures
-
ocaml-lsp (PR #1567, merged 2025-10-23): adds a
for_nested_bindingsoption (defaultfalse) to CodeLens settings, letting users opt in to lenses on internal let-bindings. Resolves #1561. -
ocaml-lsp (PR #1564, open): proposes autocompletion for labelled arguments on variants and records. Excludes primitives like
intandbool. Awaiting review.
Fixes
-
ocaml-lsp (PR #1565, merged 2025-10-23): replaces
Unix.timewithUnix.gettimeofdayinview-metrics, so thedurfield reports sub-second request durations instead of always showing 0. -
ocaml-lsp (issue #1560, open):
textDocument/documentSymbolfails in v1.23.0 with "selectionRange must be contained in fullRange" on some modules. Regression from v1.22.0; suspected link to PR #1529. No fix merged yet.
ocaml/ocamlfind
PermalinkFixes
- ocamlfind Windows builds: Open PR by dra27 fixing build failures with OCaml 5.0+ on Cygwin and MSYS2. Addresses
findlib.confmisgeneration and an incorrectMETA.pkgcheck inocamlfind install. #112
Compatibility and Releases
- ocamlfind OCAMLPATH ordering: Open proposal by kit-ty-kate to place site-lib before the OCaml stdlib in the default
OCAMLPATH. A comment from dra27 notes the opam site-lib should not override compilerMETAfiles. #106
ocaml/odoc
PermalinkFixes
- odoc: Open issue reports that long lines in code blocks force horizontal scrolling of the entire page; suggests enabling text wrapping or a sub-scrollbar. #1389
ocaml/opam
PermalinkFeatures
- opam 2.5.0~alpha1:
opam updatenow loads only changed opam files incrementally, reducing repository update time. This is the headline performance change in the release. (release) - opam 2.5.0~alpha1: shell hooks write to
.bashrcinstead of.profilefor bash; csh no longer double-sets variables. The installer now applies an AppArmor profile where configured. (release) - opam repo show (PR #6720): proposes
opam repo show <reponame>to display a repository's URL and rank. Supports--allfor all switches. (PR)
Fixes
- opam 2.5.0~alpha1: fixes
opam remove --forceexecuting in the wrong directory andopam install --depext-onlyreturning exit code 0 instead of 20. (release) - opam 2.5.0~alpha1: a minor regression from incremental loading preserves syntactic version differences (e.g.
00vs0) acrossopam update. (issue #6754)
Compatibility and Releases
- opam 2.5.0~alpha1: first alpha of the 2.5 series; breaking API changes include removed
OpamSwitchState.filesand changedOpamRepository.updatereturn type. See the changelog. (release) - opam cmdliner vendoring (PRs #6755, #6756, #6757): proposes vendoring cmdliner 1.3.0 as
OpamCmdlinerto decouple from cmdliner 2.0.0. Backports target the 2.4 and 2.5 branches. (#6755, #6756, #6757) - opam 2.5.0~alpha1:
./configure --enable-staticproduces a fully static binary on OpenBSD (LLVM-based architectures). The release archive is now reproducible. (release)
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml – Oxcaml support: Open PR proposing Oxcaml as a backend. Updated 2025-10-24; no merged changes yet. #2105
-
js_of_ocaml – Runtime value access: Open PR to let users directly access values exported in the JS runtime, addressing LexiFi/gen_js_api#177. Currently works only with whole-program compilation. #2086
-
js_of_ocaml – Wasm
evalaccess: Open PR exposing the JavaScriptevalfunction to the Wasm runtime. Updated 2025-10-21; not yet merged. #2108
Compatibility and Releases
Developer Experience
-
js_of_ocaml –
ppx_optcomp_light: Open PR refining theppx_optcomp_lightcompiler plugin. Review comments discuss matching on signatures rather than individual items. #2117 -
js_of_ocaml – Exit-code propagation: Open PR propagating the return code of
mainsoexitpicks it up, replacing scatteredexitcalls in error branches. #2118