Thicket thicket
ocaml
REPOS 9

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

W05.2026 · 26 Jan – 1 Febocaml/dune

Features

  • Dune --pkg flag: New CLI option --pkg enabled|disabled overrides the pkg field in dune-workspace to 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 mdx action 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 in dune-workspace files, not just dune-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.sexp from :with-doc dependencies, 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 via dune promote.