OCaml PR #13806 proposes polymorphic function parameters requiring an explicit annotation, while opam now exports OCAMLPATH in opam env output, fixing cross-switch library contamination on Linux. Odoc adds a header field to @doc-json output for page titles.
Features
- OCaml (PR #13806, proposal): Proposes polymorphic function parameters, enabling types such as
('a. 'a -> 'a list) -> int list. Requires an explicit annotation. (link) - OCaml (PR #13820, proposal): Proposes the
-print-variancecompiler option and+-syntax for bivariant type parameters. Coauthored by @t6s and @garrigue. (link) - odoc (merged): Adds a
headerfield to@doc-jsonoutput, providing the page title without requiring consumers to derive it from breadcrumbs. (#1314) - odoc LaTeX backend (merged): Supports
png,pdf, andjpegimage assets in generated LaTeX documents. No width attribute is exposed on the media tag. (#1297) - ocaml-lsp Nix (merged): Adds OCaml 5.3 to the supported compiler set for Nix-based builds. (#1473, #1477)
Fixes
- odoc-driver (merged): Checks whether command-line packages are installed via
opam listand reports missing ones instead of crashing. Closes #1296. (#1311) - odoc (merged): Propagates the
suppress_warningsflag to all doc strings, not only the first, so suppression applies uniformly. (#1304) - Merlin (issue #1900): Merlin and Dune apply
-openflags in different orders, producing spurious errors in files Dune compiles cleanly. Adding explicit-openflags to the Dune file works around the issue. (link) - opam-repository (issue #27495):
opam envdid not exportOCAMLPATH, causing cross-switch library contamination on Linux. Issue closed; the variable is now included in environment output. (link)
Compatibility and Releases
- ocaml-lsp Nix (merged): Drops OCaml 5.1 from the supported compiler set; Nix builds no longer target 5.1. (#1484)
- wasm_of_ocaml 6.0.1:
Effect.performraisesRuntimeError: illegal castunless the runtime usesnode --experimental-wasm-jspior the build uses--effects=cps. (#1839) - opam (PR #6393, proposal): Proposes section-based syntax for
repos-config, replacing the list format. Requires a hard upgrade of the opam root; no soft-upgrade path. (link)