Skip to content

Commit

Permalink
Merge pull request #4498 from OCamlPro/chg21beta4
Browse files Browse the repository at this point in the history
Flush Changelog for 2.1.0~beta4
  • Loading branch information
AltGr authored Jan 13, 2021
2 parents 724330c + 0ee95a1 commit 7ded8b8
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 73 deletions.
51 changes: 51 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,57 @@ repositories (changes that are automatically handled by the format upgrade tools
are not marked). Those prefixed with "(+)" are new command/option (since
2.1.0~alpha2).

2.1.0~beta4:
* (*) Implemented CLI version compatibility layer [#4385 @rjbou]
* (*) Return code 31 (`Sync_error`) instead of code 40
(`Package_operation_error`) when all failures happend during fetching
[#4416 @rjbou - fix #4214]
* (+) Add `--download-only` flag [#4071 @Armael @rjbou - fix #4036]
* (+) Provide `opam update --depexts` to request an update of the system package manager databases [#4379 @AltGr - fix #4355]
* Set OPAMCLI=2.0 during package action commands [#4492 @kit-ty-kate]
* Fix sandbox check on first `opam init` [#4370 @rjbou - fix #4368]
* Print shell-appropriate eval command on `opam init` [#4427 @freevoid]
* Fix init script check in csh [#4482 @gahr]
* The stdout of `pre-` and `post-session` hooks is now propagated to the user [#4382 @AltGr - fix #4359]
* `post-install` hooks are now allowed to modify or remove installed files [#4388 @lefessan]
* Add support for switch-specific pre/post sessions hooks [#4476 @rjbou - fix #4472]
* Ensure we don't advertise upgrades to hidden versions [#4477 @AltGr - fix #4432]
* Fix `opam remove --autoremove <PKG>` to not autoremove unrelated packages [#4369 @AltGr - fix #4250 #4332]
* Fix cases where `opam remove -a` could trigger conflicts in the presence of orphan packages [#4369 @AltGr - fix #4250 #4332]
* Fix `--update-invariant` when removing or changing package name [#4360 @AltGr - fix #4353]
* Fix updates of the invariant with `--update-invariant` [#4431 @AltGr]
* Fix cleanup of build dirs for version pinned packages [#4436 @rjbou - fix #4255]
* Fix opamfile format upgrade on pinning [#4366 @rjbou - fix #4365]
* Fix `pin --show` actually pinning [#4367 @rjbou - fix #4348]
* When several pins are needed, do their fetching in parallel [#4399 @rjbou - fix #4315]
* Don't cleanup VCS pin source directories [#4399 @rjbou]
* Fix `--working-dir` with local switches [#4433 @rjbou]
* Add package variable `opamfile-loc`, containing the location of installed package opam file [#4402 @rjbou]
* Fix `arch` detection when using 32bit mode on ARM64 [#4462 @kit-ty-kate]
* Fix `arch` detection of i486 [#4462 @kit-ty-kate]
* Skip loading the switch state for variable lookup when possible [#4428 @rjbou]
* Fix package variables display when no config file is found [#4428 @rjbou]
* Fix `opam option depext-bypass-=["XXX"]` [#4428 @rjbou]
* Lint: add a check that strings in filtered package formula are booleans or variables [#443 @rjbou - fix #4439]
* Fix handling of filename-encoded pkgname in opam files [#4401 @AltGr - fix ocaml-opam/opam-publish#107]
* Don't recompile when modifying the package flags [#4477 @AltGr]
* Add depext support for NetBSD and DragonFlyBSD [#4396 @kit-ty-kate]
* Fix depexts on OpenBSD, FreeBSD and Gentoo: Allow short names and full name paths for ports-based systems [#4396 @kit-ty-kate]
* Handle the case where `os-family=ubuntu` as `os-family=debian` [#4441 @alan-j-hu]
* Update opam's opam files to 2.0 [#4371 @AltGr]
* Makefile: Add rule `custom-libinstall` for `opam-custom-install` use [#4401 @AltGr]
* Use the archive caches when running `opam admin cache` [#4384 @AltGr - fix #4352]
* Fix explosion of `opam admin check --cycles` on repositories with huge cliques [#4392 @AltGr]
* Much improved format-preserving printer [#4298 #4302 @rjbou - fix #3993]
* Fix missing conflict message when trying to remove required packages [#4362 @AltGr]
* Fix the Z3 backend for upgrades [#4393 @AltGr]
* Fix cases where opam would wrongly complain about action cycles [#4358 @AltGr - fix #4357]
* Fix permission denied fallback for openssl [#4449 @Blaisorblade - fix #4448]
* Add debug & verbose log for patch & subst applications [#4464 @rjbou - fix #4453]
* Be more robust w.r.t. new caches updates when `--read-only` is not used [#4467 @AltGr - fix #4354]
* Improved and extended tests [#4375 #4395 #4428 #4385 #4467 #4475 #4483 @emillon @rjbou @AltGr @freevoid @dra27]
* Switched to Github actions [#4463 @rjbou]

2.1.0~beta2:
* Reduced startup times, in particular for `opam exec` [#4341 @altgr]
* Fixed the sandboxing check on fresh inits [#4342 @altgr]
Expand Down
92 changes: 19 additions & 73 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,28 @@ Possibly scripts breaking changes are prefixed with ✘.
New option/command/subcommand are prefixed with ◈.

## Version
* Bump version to `2.1.0~beta3` [#4351 @AltGr]
* Bump to version `2.1.0~beta4` [#4413 @rjbou - fix #4408]
*

## Global CLI
* Fix hooks broken by 371963a6b [#4386 @lefessan]
* CLI versioning usage [#4385 @rjbou]
* Set OPAMCLI=2.0 by default during the build/install/remove phases [#4492 @kit-ty-kate]
*

## Init
* Fix sandbox check with not yet set opam environment variables [#4370 @rjbou - fix #4368]
* Sandboxing check: use configured temp dir and cleanup afterwards [#4467 @AltGr]
* Print shell-appropriate eval command on `opam init` [#4427 @freevoid]
* Fix non-existing file check in csh [#4482 @gahr]
*

## Config Upgrade
*

## Install
* The stdout of `pre-` and `post-session` hooks is now propagated to the user [#4382 @AltGr - fix #4359]
* `post-install` hooks are allowed to modify or remove installed files, the but not add new ones. Those changes are integrated in changes file [#4388 @lefessan]
* ◈ Add `--download-only` flag [#4071 @Armael @rjbou - fix #4036]
* Run switch pre/post sessions hooks [#4476 @rjbou - fix #4472]
* Ensure we don't advertise upgrades to hidden versions [#4477 @AltGr - fix #4432]
*

## Remove
* Fix `opam remove --autoremove <PKG>` to not autoremove unrelated packages [#4369 @AltGr - fix #4250 #4332]
* Fix cases where `opam remove -a` could trigger conflicts in the presence of orphan packages [#4369 @AltGr - fix #4250 #4332]
*

## Switch
* Fix `--update-invariant` when removing or changing package name [#4360 @AltGr - fix #4353]
* Fix updates of the invariant with `--update-invariant` [#4431 @AltGr]
* Add a message to advise update if not done since 3 weeks [#4415 @rjbou - fix #4377]
*

## Pin
* Clean version pinned build dir [#4436 @rjbou - fix #4255]
* Url pin: fix opamfile format upgrade [#4366 @rjbou - fix #4365]
* Don't save the pin with `--show` [#4367 @rjbou - fix #4348]
* When several pins are needed, do their fetching in parallel [#4399 @rjbou - fix #4315]
* Don't cleanup vcs pin source directory [#4399 @rjbou]
* Working dir: fix exclude local switch path [#4433 @rjbou]
*

## List
*
Expand All @@ -52,31 +34,21 @@ New option/command/subcommand are prefixed with ◈.
*

## Var
* Add `opamfile-loc` as a package variable, containing the location of installed package opam file [#4402 @rjbou]
* Fix `arch` detection when using 32bit mode on ARM64 [#4462 @kit-ty-kate]
* Fix `arch` detection of i486 [#4462 @kit-ty-kate]
* Don't load switch for some variable looking [#4428 @rjbou]
* Fix package variables display when no config file is found [#4428 @rjbou]
*

## Option
* Fix `depext-bypass` removal (`-=`) [#4428 @rjbou]
*

## Lint
* W66: check strings in filtered package formula are booleans or variables [#443 @rjbou - fix #4439]
*

## Lock
*

## Opamfile
* Fix handling of filename-encoded pkgname in opam files [#4401 @AltGr - fix ocaml-opam/opam-publish#107]
* Make sure modifying the (currently existing) flags don't cause recompilation [#4477 @AltGr]
*

## External dependencies
* Add support for NetBSD and DragonFlyBSD [#4396 @kit-ty-kate]
* Fix OpenBSD, FreeBSD and Gentoo: Allow short names and full name paths for ports-based systems [#4396 @kit-ty-kate]
* Handle the case where `os-family=ubuntu` as `os-family=debian` [#4441 @alan-j-hu]
* ◈ Provide `opam update --depexts` to request an update of the system package manager databases [#4379 @AltGr - fix #4355]
* Call `brew list --formula` instead [#4488 @smorimoto]

## Sandbox
*
Expand All @@ -88,18 +60,13 @@ New option/command/subcommand are prefixed with ◈.
*

## Build
* Update opam file to 2.0 [#4371 @AltGr]
* Makefile: Add rule `custom-libinstall` for `opam-custom-install` use [#4401 @AltGr]
* opam-client lib: fix dependency constraints for cmdliner, extlib [#4410 @AltGr]
* Makefile: Fix missing spaces between `DUNE_ARGS` and `DUNE_PROMOTE_ARG`. [#4458 @nbraud - fix #4457]
* advertise make compiler in configure if no compiler is found [#4451 @dra27]
*

## Infrastructure
*

## Admin
* Use the archive caches when running `opam admin cache` [#4384 @AltGr - fix #4352]
* Fix explosion of `opam admin check --cycles` on repositories with huge cliques [#4392 @AltGr]
*

## Opam installer
*
Expand All @@ -108,43 +75,22 @@ New option/command/subcommand are prefixed with ◈.
*

# Opam file format
* Update opam-format lib to opam-file-format end position and new type definition [#4298 @rjbou]
* `with_preserved_format` preserves in fields also, don't drop comments, etc. [#4302 @rjbou - fix #3993]
*

## Solver
* Fix missing conflict message when trying to remove required packages [#4362 @AltGr]
* Fix the Z3 backend for upgrades [#4393 @AltGr]
* Increase the minimal requirement for the 0install backend to opam-0install-cudf >= 0.4 [#4398 @kit-ty-kate]
*

## Client
*

## Internal
* ActionGraph: removal postponing, protect against addition of cycles [#4358 @AltGr - fix #4357]
* Initialise random [#4391 @rjbou]
* Fix CLI debug log printed without taking into account debug sections [#4391 @rjbou]
* Internal caches: use size checks from Marshal [#4430 @AltGr]
* openssl invocation: Fix permission denied fallback [#4449 @Blaisorblade - fix #4448]
* If all action error are fetching failure, return code 31 (`Sync_error`) instead of code 40 (`Package_operation_error`) [#4416 @rjbou - fix #4214]
* Add debug & verbose log for patch & subst application [#4464 @rjbou - fix #4453]
* Be more robust w.r.t. new caches updates when `--read-only` is not used [#4467 @AltGr - fix #4354]
*

## Test
* Ensure that a cold `dune runtest` works [#4375 @emillon]
* Use dune "expected" convention for patcher test [#4395 @emillon]
* Add var/option test [#4428 @rjbou]
* Add cli versioning test [#4385 @rjbou]
* Add opam file 1.2 -> 2.0 upgrade test [#4467 @rjbou]
* patcher: fix local [#4467 @AltGr]
* Add github actions [#4463 @rjbou]
* Add reftests to github actions [#4467 @rjbou]
* Fix MacOS upgrade CI test using OS-specific opam 1.2 cache [#4475 @freevoid - fix #4474]
* Fix mingw32/mingw64 AppVeyor testing [#4483 @dra27]
*

## Shell
* Update completion scripts with `opam var` instead of `opam config list` [#4428 @rjbou]
*

## Doc
* Change `opam config list` into `opam var [--package]` [#4428 @rjbou]
* Update maintainer name [#4456 @nbraud]
* Specify url syntaxe in usage/opam pin [#4460 @rjbou - fix #4459]
*

0 comments on commit 7ded8b8

Please sign in to comment.