Thicket thicket
ocaml
REPOS 1

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

W29.2025 · 14–20 Julocaml/opam

Releases

  • opam 2.4.0: Final release published 2025-07-18. Binaries signed by the opam dev team; see the changelog and blog post for the full change list. (release)

Features

  • opam – Bash environment setup: PR #6603 (open) writes the opam environment incantation to ~/.bashrc instead of ~/.profile, avoiding sourcing loops and duplicate environment variables. Fixes #5819, #4201, #3990.

  • opam – POSIX sh detection: PR #6604 (open) disables bash-specific scripts when the detected shell is POSIX sh, preventing syntax errors on minimal systems. Fixes #2899.

Fixes

  • opam 2.4.0 – opam pin list: Fixes a regression where the command crashed when the source directory of a pinned package did not exist. Merged to the 2.4 branch in #6598; the main-branch fix is still open in #6597.

  • opam – simulated pins: PR #6611 (open) corrects opam ignoring depends fields on pinned packages during opam install --dry-run simulations. A backport to 2.4 is open in #6612.

  • opam – opam install <local>: Issue #6601 (open) reports that declining a local install still writes the pin to disk, leaving a stale pin with no fetched source.

Compatibility

  • opam install scripts: PR #6607 (merged 2025-07-18) adds opam 2.4.0 as a selectable version in the official install scripts.