From dc0b9213338e830f5988a302cb65b3b2b2dcf887 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Wed, 1 Apr 2020 14:41:25 +0300 Subject: [PATCH 1/2] Changelogs from 3.2 branch --- Cabal/ChangeLog.md | 50 ++++++++++++++++++++--------------------- cabal-install/changelog | 5 ++--- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/Cabal/ChangeLog.md b/Cabal/ChangeLog.md index 3b5b40db043..54b17108425 100644 --- a/Cabal/ChangeLog.md +++ b/Cabal/ChangeLog.md @@ -1,43 +1,41 @@ -# 3.2.0.0 [Someone](mailto:somewhere@example.com) February 2020 - * `cabal check` verifies `cpp-options` more pedantically, allowing only - options starting with `-D` and `-U`. - * Don’t rebuild world when new ghc flags that affect how error - messages are presented is specified. - * Fix multilib build-depends parsing (#5846) +# 3.2.0.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020 * Change free text `String` fields to use `ShortText` in package description and installed packge info. * Split `Distribution.Types.Flag` and `Distribution.Types.ConfVar` - `Distribution.Types.GenericPackageDescription` + `Distribution.Types.GenericPackageDescription`. * Add GHC-8.10 support, including new extensions to - `Language.Haskell.Extension` - * Use more `NonEmpty` instead of ordinary lists - * Add `Distribution.Utils.Structured` for fingeprinting `Binary` blobs - * Add `null`, `length` and `unsafeFromUTF8BS` to `Distribution.Utils.ShortText` - * Refactor `Distribution.Utils.IOData` module - * Rename `Distribution.Compat.MD5` to `Distribution.Utils.MD5` - * Add `safeHead`, `safeTail`, `safeLast` to `Distribution.Utils.Generic` - * Add `unsnoc` and `unsnocNE` to `Distribution.Utils.Generic` - * Add `Set'` modifier to `Distribution.Parsec.Newtypes` - * Add `Distribution.Compat.Async` - * Add `Distribution.Compat.Process` with `enableProcessJobs` - * Disallow spaces around colon `:` in Dependency (`build-depends` syntax + `Language.Haskell.Extension`. + * Use more `NonEmpty` instead of ordinary lists. + * Add `Distribution.Utils.Structured` for fingeprinting `Binary` blobs. + * Add `null`, `length` and `unsafeFromUTF8BS` to `Distribution.Utils.ShortText`. + * Refactor `Distribution.Utils.IOData` module. + * Rename `Distribution.Compat.MD5` to `Distribution.Utils.MD5`. + * Add `safeHead`, `safeTail`, `safeLast` to `Distribution.Utils.Generic`. + * Add `unsnoc` and `unsnocNE` to `Distribution.Utils.Generic`. + * Add `Set'` modifier to `Distribution.Parsec.Newtypes`. + * Add `Distribution.Compat.Async`. + +# 3.0.2.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020 + * Disallow spaces around colon `:` in Dependency `build-depends` syntax + ([#6538](https://github.com/haskell/cabal/pull/6538)). * Make `configure` accept any `pkg-config --modversion` output + ([#6541](https://github.com/haskell/cabal/pull/6541)). -# 3.0.1.0 TBW - * Add GHC-8.8 flags to normaliseGhcFlags - ([#6379](https://github.com/haskell/cabal/pull/6379)) +# 3.0.1.0 [Herbert Valerio Riedel](mailto:hvr@gnu.org) April 2020 + * Add GHC-8.8 flags to `normaliseGhcFlags` + ([#6379](https://github.com/haskell/cabal/pull/6379)). * Typo fixes - ([#6372](https://github.com/haskell/cabal/pull/6372)) + ([#6372](https://github.com/haskell/cabal/pull/6372)). * Limit version number parts to contain at most 9 digits - ([#6386](https://github.com/haskell/cabal/pull/6386) + ([#6386](https://github.com/haskell/cabal/pull/6386)). * Fix boundless sublibrary depedency parse failure - ([#5846](https://github.com/haskell/cabal/issues/5846)) + ([#5846](https://github.com/haskell/cabal/issues/5846)). * `cabal check` verifies `cpp-options` more pedantically, allowing only options starting with `-D` and `-U`. * Don’t rebuild world when new ghc flags that affect how error messages are presented is specified. * Fix dropExeExtension behaviour on Windows - ([#6287](https://github.com/haskell/cabal/pull/6287) + ([#6287](https://github.com/haskell/cabal/pull/6287)). # 3.0.0.0 [Mikhail Glushenkov](mailto:mikhail.glushenkov@gmail.com) August 2019 * The 3.0 migration guide gives advice on adapting Custom setup diff --git a/cabal-install/changelog b/cabal-install/changelog index ce63b4c9345..bf1f18f9153 100644 --- a/cabal-install/changelog +++ b/cabal-install/changelog @@ -1,6 +1,6 @@ -*-change-log-*- -3.2.0.0 Someone February 2020 +3.2.0.0 Herbert Valerio Riedel April 2020 * `v2-build` (and other `v2-`prefixed commands) now accept the `--benchmark-option(s)` flags, which pass options to benchmark executables (analogous to how `--test-option(s)` works). (#6209) @@ -17,7 +17,7 @@ * `cabal v2-run` works with `.lhs` files (#6134) * `subdir` in source-repository-package accepts multiple entries (#5472) -3.0.1.0 TBW December 2019 +3.0.1.0 Herbert Valerio Riedel April 2020 * Create store incoming directory ([#4130](https://github.com/haskell/cabal/issues/4130)) * `fetchRepoTarball` output is not marked @@ -34,7 +34,6 @@ * Use `hackage-security-0.6` ([#6388](https://github.com/haskell/cabal/pull/6388)) * Other dependency upgrades - * On windows use copy as the default install method for executables 3.0.0.0 Mikhail Glushenkov August 2019 * `v2-haddock` fails on `haddock` failures (#5977) From 55342c21d6a1c1ef92b092e8ad67a459eb8bb839 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Wed, 1 Apr 2020 14:41:53 +0300 Subject: [PATCH 2/2] Add changelogs so far as changelog.d files --- changelog.d/cabal-init | 2 ++ changelog.d/config | 2 ++ changelog.d/documentation | 2 ++ changelog.d/index-state | 3 +++ changelog.d/install-sha256 | 3 +++ changelog.d/issue-6210 | 3 +++ changelog.d/issue-6369 | 4 ++++ changelog.d/issue-6393 | 4 ++++ changelog.d/issue-6432 | 4 ++++ changelog.d/issue-6575 | 4 ++++ changelog.d/others | 1 + changelog.d/public-libs | 2 ++ changelog.d/utf8 | 3 +++ 13 files changed, 37 insertions(+) create mode 100644 changelog.d/cabal-init create mode 100644 changelog.d/config create mode 100644 changelog.d/documentation create mode 100644 changelog.d/index-state create mode 100644 changelog.d/install-sha256 create mode 100644 changelog.d/issue-6210 create mode 100644 changelog.d/issue-6369 create mode 100644 changelog.d/issue-6393 create mode 100644 changelog.d/issue-6432 create mode 100644 changelog.d/issue-6575 create mode 100644 changelog.d/others create mode 100644 changelog.d/public-libs create mode 100644 changelog.d/utf8 diff --git a/changelog.d/cabal-init b/changelog.d/cabal-init new file mode 100644 index 00000000000..3f8e77ca319 --- /dev/null +++ b/changelog.d/cabal-init @@ -0,0 +1,2 @@ +synopsis: `cabal init` defaults to `cabal-version: 2.4` +prs: #6607 diff --git a/changelog.d/config b/changelog.d/config new file mode 100644 index 00000000000..c78b5f5e3f3 --- /dev/null +++ b/changelog.d/config @@ -0,0 +1,2 @@ +organization: haskell +repository: cabal diff --git a/changelog.d/documentation b/changelog.d/documentation new file mode 100644 index 00000000000..b2d67197eee --- /dev/null +++ b/changelog.d/documentation @@ -0,0 +1,2 @@ +synopsis: Documentation updates +prs: #6613 diff --git a/changelog.d/index-state b/changelog.d/index-state new file mode 100644 index 00000000000..ca6a41ba82c --- /dev/null +++ b/changelog.d/index-state @@ -0,0 +1,3 @@ +synopsis: More rich `index-state` syntax. `v2-freeze` saves `index-state`. +packages: cabal-install +prs: #6596 #6581 #6597 diff --git a/changelog.d/install-sha256 b/changelog.d/install-sha256 new file mode 100644 index 00000000000..4fc5d89f0f2 --- /dev/null +++ b/changelog.d/install-sha256 @@ -0,0 +1,3 @@ +synopsis: Check sha256 if `#sha256=...` fragments are given to URIs +packages: cabal-install +prs: #6576 diff --git a/changelog.d/issue-6210 b/changelog.d/issue-6210 new file mode 100644 index 00000000000..92e1d92fa0f --- /dev/null +++ b/changelog.d/issue-6210 @@ -0,0 +1,3 @@ +synopsis: Default to 'NoReports' for remote build reporting +issues: #6210 +prs: #6625 diff --git a/changelog.d/issue-6369 b/changelog.d/issue-6369 new file mode 100644 index 00000000000..65035b4bf13 --- /dev/null +++ b/changelog.d/issue-6369 @@ -0,0 +1,4 @@ +synopsis: Allow cabal v2-install pkgname:exename +packages: cabal-install +prs: #6576 +issues: #6369 diff --git a/changelog.d/issue-6393 b/changelog.d/issue-6393 new file mode 100644 index 00000000000..e2428c4256a --- /dev/null +++ b/changelog.d/issue-6393 @@ -0,0 +1,4 @@ +synopsis: Allow cabal v2-install http:// +packages: cabal-install +prs: #6576 +issues: #6393 diff --git a/changelog.d/issue-6432 b/changelog.d/issue-6432 new file mode 100644 index 00000000000..4b7dd47c903 --- /dev/null +++ b/changelog.d/issue-6432 @@ -0,0 +1,4 @@ +synopsis: Split `KnownRepoType` out of `RepoType` +packages: Cabal +issues: #6432 +prs: #6612 diff --git a/changelog.d/issue-6575 b/changelog.d/issue-6575 new file mode 100644 index 00000000000..24468d63b10 --- /dev/null +++ b/changelog.d/issue-6575 @@ -0,0 +1,4 @@ +synopsis: cabal v2-install prints copy/symlink destination +packages: cabal-install +prs: #6582 #6890 +issues: #6575 diff --git a/changelog.d/others b/changelog.d/others new file mode 100644 index 00000000000..ba586f59f08 --- /dev/null +++ b/changelog.d/others @@ -0,0 +1 @@ +synopsis: other changes diff --git a/changelog.d/public-libs b/changelog.d/public-libs new file mode 100644 index 00000000000..3a172659518 --- /dev/null +++ b/changelog.d/public-libs @@ -0,0 +1,2 @@ +synopsis: Mark public-libs as experimental feature +prs: #6605 diff --git a/changelog.d/utf8 b/changelog.d/utf8 new file mode 100644 index 00000000000..0ceeee84312 --- /dev/null +++ b/changelog.d/utf8 @@ -0,0 +1,3 @@ +synopsis: Better UTF8 handling, parsed ShortText should be valid now +packages: Cabal +prs: #6588