Skip to content

Latest commit

 

History

History
185 lines (128 loc) · 6.32 KB

File metadata and controls

185 lines (128 loc) · 6.32 KB

Working version changelog, used as a base for the changelog and the release note. Prefixes used to help generate release notes, changes, and blog posts:

  • ✘ Possibly scripts breaking changes
  • ◈ New option/command/subcommand
  • [BUG] for bug fixes
  • [NEW] for new features (not a command itself)
  • [API] api updates 🕮 If there is changes in the API (new non optional argument, function renamed or moved, etc.), please update the API updates part (it helps opam library users)

Version

  • Bump version to 2.6.0alpha1dev [#6749 @rjbou]

Global CLI

  • Update Kate's email address [#6808 @kit-ty-kate]

Plugins

Init

  • ✘ Display an appropriate error message when the file given to opam init --config does not exist or is in a VCS. This changes the behaviour for VCS local urls that was previously retrieved. [#5979 @kit-ty-kate - fix #5971]

Config report

Actions

Install

Build (package)

Remove

UI

  • Read full lines when asking for user input when TERM=dumb [#6829 @arvidj - fix #6828]

Switch

Config

Pin

List

Show

  • Improve performance of opam show by reading switch selection only once instead of once per package-version [#6818 @dra27]

Var/Option

Update / Upgrade

  • Fixed the bug occuring on version-equivalent package rename (i.e pkg.00 -> pkg.0) leading to the package being completely removed. [#6774 @arozovyk fix #6754]

Tree

Exec

Source

Lint

Repository

Lock

Clean

Env

Opamfile

  • The url file now only supports the legacy opam 1.2 fields [#6827 @kit-ty-kate]

External dependencies

Format upgrade

  • Fix switch and repo format upgrade on Windows. A block occurred because the global lock fd was reopened instead of using the one already opened. [#6839 @rjbou]

Sandbox

  • Allow the macOS sandbox to write in the /var/folders/ and /var/db/mds/ directories as it is required by some of macOS core tools [#4797 @kit-ty-kate - fix #4389 #6460]

VCS

Build

  • opam no longer depends on cmdliner [#6755 @kit-ty-kate - fix #6425]
  • Clean variables before calling make on different projects to avoid clashes [#6769 @kit-ty-kate]
  • Add the upcoming OCaml 5.5 (trunk) support when using dune's dev profile [#6670 @kit-ty-kate]
  • Update the download-if-missing patch to 3.1.0 [#6772 @kit-ty-kate]
  • Harden the Makefile's inline shell scripts [#6751 @kit-ty-kate]

Infrastructure

Release scripts

  • Fix the placement of the vendored archives in the release tarball [#6765 @kit-ty-kate - fix #6762]
  • Fix the Windows build [#6769 @kit-ty-kate]
  • Harden the Makefile's inline shell scripts [#6751 @kit-ty-kate]

Install script

  • Add 2.5.0~alpha1 to the installers [#6748 @kit-ty-kate]
  • Add 2.5.0~beta1 to the installers [#6795 @kit-ty-kate]
  • Add 2.5.0~rc1 to the installers [#6802 @kit-ty-kate]
  • Fix apparmor profile remplacement option [#6760 @rjbou]
  • Use install instead of mv+chmod+chown [#6760 @rjbou]
  • Clean apparmor temporary file [#6760 @rjbou]
  • Use variables instead of plain paths [#6760 @rjbou]
  • Reword apparmor message when user need to check the profile [#6760 @rjbou]
  • Add 2.5.0 to the installers [#6817 @kit-ty-kate]
  • Fix the AppArmor support when installing in /usr/bin [#6823 @kit-ty-kate - fix #6820]

Admin

Opam installer

State

Opam file format

Solver

Client

Shell

Internal

  • Improve cache-loading performance when using OCaml >= 5.4 by using Gc.ramp_up [#6515 @dra27]
  • Make OpamStd.String.compare_case allocation free [#6515 @dra27]

Internal: Unix

Internal: Windows

Test

Benchmarks

  • Add an even larger real-world diff to benchmark opam update [#6567 @kit-ty-kate]

Reftests

Tests

  • Add test cases to update.test for version-equivalent renames [#6774 @arozovyk fix #6754]
  • Fix a failure when two hashes start with the same two characters [#6793 @kit-ty-kate]
  • Add a test showing the behaviour of opam init --config when the file given does not exist [#5979 @kit-ty-kate @rjbou]

Engine

Github Actions

  • Add OCaml 5.4 to the test matrix [#6732 @kit-ty-kate]
  • Ensure curl's exit status to be non-zero on failure [#6684 @kit-ty-kate]
  • Add OCaml trunk to the test matrix [#6684 #6670 @kit-ty-kate]
  • Rename the hygiene script for shell/install.sh to install-check [#6768 @kit-ty-kate]
  • Remove the unconditional Windows binary uploads on PRs [#6771 @kit-ty-kate]
  • Bump the actions/checkout to version 6 [#6811 @kit-ty-kate]
  • Bump actions/cache to version 5 [#6835 @kit-ty-kate]
  • Regenerate the cache when OPAM_TEST_REPO_SHA is changed [#6832 #6821 @kit-ty-kate]

Doc

  • Add spacing between two words in --locked man section [#6806 @yosefAlsuhaibani]
  • Update the Install page with the new opam 2.5.0 release [#6821 @kit-ty-kate]

Security fixes

API updates

opam-client

opam-repository

opam-state

  • OpamRepositoryState.load_opams_from_diff track added packages to avoid removing version-equivalent packages [#6774 @arozovyk fix #6754]
  • OpamGlobalState.all_installed_versions: was added [#6818 @dra27]
  • OpamGlobalState.installed_versions: was removed [#6818 @dra27]
  • OpamStateTypes.global_state: add field lock that contains the global lock (not config one) [#6839 @rjbou]

opam-solver

opam-format

  • OpamFile.Descr was moved to OpamFile.Descr_legacy and a simpler OpamFile.Descr module was created only containing non-IO functions removing the outdated descr file support [#6827 @kit-ty-kate]
  • OpamFile.URL was moved to OpamFile.URL_legacy and a simpler OpamFile.URL module was created only containing non-IO functions removing the outdated url file support [#6827 @kit-ty-kate]
  • OpamFile.Descr.of_legacy: was added [#6827 @kit-ty-kate]
  • OpamFile.URL.of_legacy: was added [#6827 @kit-ty-kate]

opam-core

  • OpamCmdliner was added. It is accessible through a new opam-core.cmdliner sub-library [#6755 @kit-ty-kate]
  • OpamUrl: rename and expose local_path as looks_like_local_path [#5979 @kit-ty-kate]
  • OpamCompat.Gc.ramp_up: was added [#6515 @dra27]
  • OpamCompat.Int.min: was added [#6515 @kit-ty-kate]
  • OpamStd.String.compare_case: is now allocation free [#6515 @dra27]
  • OpamVersionCompare.{compare,equal}: are now allocation free [#6515 @dra27]
  • OpamCompat.Map.add_to_list: was added [#6818 @dra27]