Releases
Features
-
opam – Bash environment setup: PR #6603 (open) writes the opam environment incantation to
~/.bashrcinstead 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
opamignoringdependsfields on pinned packages duringopam install --dry-runsimulations. 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.0as a selectable version in the official install scripts.