Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W47.2024 · 18–24 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Fixes

  • Dune: Open discussion reports that implicit_transitive_deps false does not prevent module shadowing from transitive dependencies (e.g. ocaml-compiler-libs). No resolution or workaround identified as of 2024-11-22. Discussion #11141

ocaml/merlin

Permalink

Fixes

  • Merlin: fixes a jump-to-fun crash caused by Typedtree representation changes in OCaml 5.2. Merged 2024-11-21, closing #1862.

  • Merlin: opens a change to type-enclosing deduplication, printing types only at the junction between reconstructed and tree-node enclosings. Merged after the reporting interval. #1864

ocaml/ocaml-lsp

Permalink

Features

  • OCaml LSP – dune formatting: Proposal to expose dune format-dune-file through the LSP protocol so editors other than VS Code can format dune files. Open issue #1396.

Compatibility and Releases

  • OCaml LSP – opam resolution: Upgrading jsonrpc and lsp to 1.19.0 forces an ocaml-lsp-server downgrade to 1.17.0 on OCaml 4.14.2 due to missing version constraints. Open issue #1405.
  • OCaml LSP – release: A new release including URI fragment support is planned; the issue was closed after maintainer confirmation. #1406.

Fixes

  • OCaml LSP – short-paths: -short-paths is forced to true in the server, preventing users from seeing full type paths in diagnostics. Open issue #1395 requests a per-project toggle.
  • OCaml LSP – hover display: Hovering over [@@deriving] on a mutually recursive type shows incorrect information depending on attribute placement. Open issue #1401, reproduced on 1.18.0.

ocaml/odoc

Permalink

Features

  • odoc @short_title tag: Merged. Adds a tag for declaring a page's short title in documentation markup; the value is stored but not yet rendered in output. (#1246)
  • odoc @children_order tag: Merged. Allows authors to specify the display order of child entries via @children_order foo bar dir/ baz. (#1243)
  • odoc sidebar-generate command: Opened. New odoc sidebar-generate subcommand reads an .odoc-index file and emits a smaller .odoc-sidebar (or .json with --json), reducing HTML-generation time. (#1250)
  • odoc unified sidebar: Opened. Replaces separate module/page sidebar inputs with a single hierarchy covering modules, pages, and sources; resolves sidebar/breadcrumb mismatches and monorepo layout conflicts. (#1251)

Compatibility and Releases

  • odoc odoc_index CLI: Closed without merge. Proposed replacing -P/-L flags with --root arguments; superseded by the unified sidebar work in #1251. (#1247)
  • odoc sidebar/index overhaul: Merged. Internal restructuring of sidebar and index data flow; labelled "no changelog" with no user-visible CLI change. (#1244)

Documentation

  • odoc block-ending docs: Merged. Adds per-construct notes on how tags and light-syntax lists are implicitly terminated (blank line or non-nestable block). (#1245)

ocaml/opam

Permalink

Features

  • opam (PR #6308): Opens a proposal to add a GitHub action that auto-submits new OCaml releases to WinGet via microsoft/winget-create. Requires a WINGET_GITHUB_TOKEN repo secret; not merged.

ocsigen/js_of_ocaml

Permalink

Features

Js_of_ocaml 5.9.0: Released 2024-11-22. Finalizes OCaml 5.3 support and adds partial Wasm backend pipeline support via a new Targetint module. Release notes

Js_of_ocaml 5.9.0 source maps: Index source maps are emitted to avoid shifting mappings; sourcemap decoding is deferred until needed. Improves editor integration and reduces build time. Release notes

Js_of_ocaml 5.9.0 build speed: global_flow and global_deadcode passes are sped up on large bytecode. JSON parsing now relies on Yojson.Raw for faster compilation. Release notes

Fixes

Js_of_ocaml 5.9.0 runtime: Fixes unsigned integer parsing (0u2147483648), makes float_of_string stricter, and corrects pos_in after unmarshalling. Release notes

Js_of_ocaml 5.9.0 separate compilation: Fixes missing toplevel primitives and packed-module linking under separate compilation. Enables dynlink of precompiled JS. Release notes

Compatibility and Releases

Js_of_ocaml 5.9.0 backtraces: Backtraces now require explicit opt-in via --enable with-js-error at compile time or OCAMLRUNPARAM=b=1 at startup. Breaking change for programs relying on default backtraces. Release notes

Js_of_ocaml 5.9.0 platform and API: Sys.os_type on Windows returns "Win32" instead of "Cygwin". Typed_array API is modified for WebAssembly compatibility; yojson is no longer optional. Release notes

Js_of_ocaml 5.9.0 toplevel: The toplevel no longer sets globals for initialization. A warning is emitted on use of joo_global_object. Release notes

3 repositories · no changes